In ubuntu gnome, under System->Preferences->Sound
I had something like this:
In an unrelated effort, I had only recently discovered an important linux command - lsmod
The command list modules will display information about all loaded kernel modules. Kernel modules are dynamically loaded kernel functions, such as a device driver.
When I looked through the list of loaded kernel modules on my system:
lsmod | lessI found this:
snd_ens1370 21536 0
gameport 16776 1 snd_ens1370
snd_ak4531_codec 9856 1 snd_ens1370
snd_pcm 80388 5 snd_ens1370,snd_intel8x0,snd_ac97_codec
There was no doubt in my mind - I needed to stop the kernel from loading the module snd_ens1370.
I had considered just deleting it all together:
$ locate 1370
/lib/modules/2.6.22-14-generic/kernel/sound/pci/snd-ens1370.ko
/usr/src/linux-headers-2.6.22-14-generic/include/config/snd/ens1370.h
/usr/share/alsa/cards/ENS1370.conf
But it turns out there is a more elegant way.
To disable hardware in ubuntu - blacklist the module.
Take a look at, /etc/modprobe.d/blacklist
To disable my Ensoniq sound card in ubuntu - I added the following lines:
# disable my PCI ensoniq sound cardthen just reboot...
blacklist snd_ens1370