[linux-audio-user] missing snd-usb-audio module in Gentoo

Nigel Henry cave.dnb at tiscali.fr
Tue Aug 9 13:14:13 EDT 2005


Hi. Amazingly after emerging alsa-lib, alsa-utils, and alsa-oss, running 
alsaconf, and pushing up the master volume in alsamixer, the sounds worked 
OOTB. I had to add snd-seq-midi to /etc/modules.autoload.d, as it hadn't 
autoloaded at bootup. The problem is that even though the midi keyboard shows 
up in /proc/bus/usb/devices, it does not show up in Qjackctl's midi connect 
bay. Tried modprobe snd-usb-audio, but it complains that there is no such 
module. As shown below, the kernel config shows snd-usb-audio there, but 
commented out. All relevant info further down. Nigel.

Kernel: Genkernel: Version 2.6.11-gentoo-r9
Alsa version: 1.08
KDE 3.3.2
X11-6.8.2-r1
Audigy2 soundblaster (emu10k1)

Part content from /etc/kernels/kernel-config-x8
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

 USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m

/sbin/lsmod

bash-2.05b$ /sbin/lsmod
Module                  Size  Used by
snd_emu10k1            81540  0
snd_ac97_codec         67576  1 snd_emu10k1
snd_util_mem            3328  1 snd_emu10k1
snd_hwdep               6944  1 snd_emu10k1
snd_pcm_oss            46496  0
snd_pcm                76040  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc          7428  2 snd_emu10k1,snd_pcm
snd_mixer_oss          16128  1 snd_pcm_oss
snd_seq_midi            6432  0
snd_rawmidi            18848  2 snd_emu10k1,snd_seq_midi
snd_seq_midi_event      6016  1 snd_seq_midi
snd_seq                44944  2 snd_seq_midi,snd_seq_midi_event
snd_timer              19460  3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device          6796  4 snd_emu10k1,snd_seq_midi,snd_rawmidi,snd_seq
snd                    44132  10 
snd_emu10k1,snd_ac97_codec,snd_hwdep,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
8139too                19584  0
mii                     3968  1 8139too
sata_via                5636  0
sata_svw                5252  0
sata_sil                6020  0
sata_promise            7812  0
libata                 39172  4 sata_via,sata_svw,sata_sil,sata_promise
dm_mod                 50812  0
sbp2                   20360  0
ohci1394               28676  0
ieee1394               87860  2 sbp2,ohci1394
ohci_hcd               18184  0
uhci_hcd               27664  0
usb_storage            27776  0
usbhid                 30016  0
ehci_hcd               27400  0
usbcore                97400  6 ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd
bash-2.05b$       

                                            bash-2.05b$ 
cat /proc/bus/usb/devices

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.11-gentoo-r9 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S:  SerialNumber=0000:00:07.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.11-gentoo-r9 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S:  SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0a4d ProdID=0066 Rev= 2.52
S:  Manufacturer=Evolution Electronics Ltd.
S:  Product=MK-225C USB MIDI keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 2 Cls=01(audio) Sub=03 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

cat /proc/asound/cards

          0 [Audigy2        ]: Audigy2 - Sound Blaster Audigy2
                     Sound Blaster Audigy2 (rev.4, serial:0x10021102) at 
0xd800, irq 10

cat /proc/asound/devices

  1:       : sequencer
  4: [0- 0]: hardware dependent
  9: [0- 1]: raw midi
  8: [0- 0]: raw midi
 18: [0- 2]: digital audio playback
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

 /etc/hotplug/blacklist. But I don't think there's anything here that could 
cause a problem.                     

              # Listing a module here prevents the hotplug scripts from 
loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first.  Sometimes user
# mode tools can also control driver binding.
#
# Syntax:  driver name alone (without any spaces) on a line. Other
# lines are ignored.
#

# uhci ... usb-uhci handles the same pci class
usb-uhci
# usbcore ... module is loaded implicitly, ignore it otherwise
usbcore

# tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices
de4x5
# At least 2.4.3 and later xircom_tulip doesn't have that conflict
# xircom_tulip_cb
dmfe

#evbug is a debug tool and should be loaded explicitly
evbug


Thats all folks. Any suggestions apart from "Reinstall the OS" welcome.



More information about the Linux-audio-user mailing list