Hi,
Thanks dad for posting your notes. They were helpful in getting Xoscope working under Ubuntu 10.10 for me.
Ubuntu 10.10 does not ship with OSS. This means there is no /dev/dsp as required by Xoscope. To get OSS working, I installed a recompiled kernel from
http://vanvalkinburgh.org/blog/3153
There are compiled kernels available at that page, for 64-bit AMD and for 32-Bit i386 type processors. To compile the kernel yourself, the page notes:
Quote:
if you need it, you’ll have to compile your own kernel. And in the menuconfig, set: Device Drivers > Sound Card Support > Advanced Linux Sound Architecture > OSS PCM (digital audio) API to M.
|
I elected to try one of the precompiled kernels. In Ubuntu 10.10, if you download the kernel and then double click it, it will launch the Ubuntu Software Center. Click 'Install' and authenticate.
You also need GNOME ALSA Mixer. Other packages may work but that is what I have used successfully. I actually installed GNOME ALSA Mixer first, because I was trying to use various 'wrappers' or 'interpreters' (padsp and aoss) without having to resort to an altered kernel. It should be fine to install it while installing the new kernel.
After the kernel has been installed, you will need to reboot. On my system, the GRUB menu came up with the new kernel selected by default. If your system does not boot from the new kernel, you can use this menu to select the default kernel, and then you can remove the non-working kernel and try compiling your own.
Once the system has restarted, open GNOME ALSA Mixer. On my system it always displays an error when launched, but everything seems to work ok. Scroll over all the way to the right and select the box that says 'Rec' under the 'Capture' option. You may also need to select 'Rec' or 'Mute' options under the 'Line' or 'Mic' controls. In my current setup, 'Line' is set so that 'Mute' is not selected, and 'Rec' is selected.
Open a Terminal (Applications -> Accessories -> Terminal) and type 'sudo modprobe snd-pcm-oss'. You need to authenticate the sudo request, the system will process for a moment, and the process should exit without any further display. If you get a 'no module found' notification, it means the current kernel does not have OSS. Try verifying your kernel compile settings if you are compiling your own kernel.
Now you can launch Xoscope. Try feeding a standard audio signal before attempting to read any DC voltages. Make sure that Soundcard is the selected source input. You should see a waveform displayed. Huzzah!
There are probably other ways to accomplish this but these methods worked for me. If you have problems, or find other solutions, please post your results so that others may assist (or find assistance from) your efforts.
Thanks to 'dad', LinuxQuestions.org, 'vanvalkinburgh.org, Xoscope authors, and all Linux contributors! There is some additional useful information here:
http://code.rancidbacon.com/LearningAboutXoscope