AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Radioshark linux11/19/2022 ![]() Woke up a bit early this morning and started pounding on it. Luckily, I have a computer with both USB 3 and USB 1.x/2.x buses.įriend gave me a RadioShark v1 and a challenge (get it working on a current Linux distro). Update: The above does not work with USB 3.0 interfaces. To make the above permanent, add the following to the end of /etc/pulse/defalt.pa: Click it to unmute the stream.Ģ) If there's no "Radio SHARK" entry in the PulseAudio Volume Control's "Playback" tab, run the following as your user: Another button should show up (this is the mute button). If the volume control is greyed out, hover your mouse to the left of the button with the lock on it. Under "Input devices", you should see an entry for "Radio SHARK Analog Stereo", with a moving level meter underneath it. Run the following to see if you have control over the device:ġ) If you hear nothing (not even static), open your PulseAudio volume control. By default, the blue LEDs on the RadioShark should come on when you plug in the device. #RADIOSHARK LINUX INSTALL#Note: you may need to run "apt-get install pkg-config" before using dpkg, and "apt-get -f install" afterwards.ĥ) Untar the tarball and cd to shark-1.0/bin/linux/i686. Both will spit up errors about configuration but the libraries get installed. The third is not needed, unless you plan on using Python to control the RadioShark (and I doubt that it'll work in any case).ģ) Use dpkg to install (first) the libhid0 file, then the libhid-dev files. #RADIOSHARK LINUX CODE#The bad news is that the provided source code still will not compile.įollowing are the employed steps, just in case you're interested.ġ) Grab libhid-dev_0.2.15+2006.325-2.2ubuntu1_, which is attached to the forum post at: Ģ) Create a working folder, move the tarball into it, and untar the tarball. I use this because it gives me a starting point at which I can sniff USB traffic and reverse engineer what needs to be sent to the RadioShark to control it. It relies heavily on the fact that people included compilied binaries with their code (as always, run at your own risk). Getting the RadioShark v1 working on Ubuntu 16.04.1 turned out to be a happy accident on my part. In my case, the code for the inherited RadioShark is no longer compilable (even though the kernel recognizes the device and loads the proper kernel module for it). Since libhid was considered legacy, support for it was removed from Ubuntu.įor us not-really-a-good-programmer types, this can be a problem. In this case, libhidapi (the replacement for libhid) is non-functional on Ubuntu (there's too many issues with using it). It doesn't matter that their solution is non-universal. There's always someone that comes along, claiming that they have a "new and improved" method for performing a specfic task. I noticed a worthwhile improvement in file size by configuring lame's lowpass filter at 15kHz.One of the problems with Linux is that people cannot leave well enough alone. Stereo FM broadcasts are band limited to 15kHz, and this ALSA input shows significant noise above that frequency. I am sampling at 48kHz and encoding as mp3, and audio quality is as good as I expect. But maybe any other FM radio in the same position would have the same problem. A couple of times it has been accidentally pushed against the wall at the back of the desk, and the reception really suffers. The only inconvenience is that the reception quality does seem to be quite sensitive to position. It provides an ordinary ALSA input device which I have been using to record scheduled broadcasts using arecord, scheduled by cron. Once set up it has been largely problem-free. A quick google suggests this hasnt improved. I needed to compile the small application used for setting frequencies, which needed a very new version of libhid from subversion. Software support in linux was tricky to get started. #RADIOSHARK LINUX OFFLINE#Ive been using a radioshark for offline recording. ![]()
0 Comments
Read More
Leave a Reply. |