USB audio

Albert Solana txena at menta.net
Tue Mar 1 18:30:30 UTC 2005


Hi,

On dt, 2005-03-01 at 19:43 +0900, toyfactory wrote:
>Thanks for explaining, that'll come in useful later!  At the moment I
>only have /dev/dsp, which corresponds to my on-board sound (which works
>fine).  How do I get the system to create another device corresponding
>to my USB device?  (I thought maybe sudo MAKEDEV update, but it doesn't
>seem to do very much).

Every USB device I plug into my laptop is detected and it creates a
corresponding device due to the hotplug system.

You should have the correct option enabled in your kernel. I am using
Ubuntu Hoary and my options are:
$ cat /boot/config-2.6.10-4-386 | grep -i snd_usb
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m

And in Ubuntu Warthy:

$ cat config-2.6.8.1-3-386 | grep -i snd_usb
CONFIG_SND_USB_AUDIO=m

So, I think you also have them enabled.

Your USB sound device should be listed in lsusb command:

$ lsusb
(..)
Bus 001 Device 003: ID 0d8c:0001 C-Media Electronics, Inc.
(..)

Also, whenever an usb device is connected, it is reported in kernel and
system log. If I search into my kern.log I can find this:

$ tail -n 200 | less /var/log/kern.log
(...)
Mar  1 18:03:39 localhost kernel: usb 1-1: new full speed USB device
using uhci_hcd and address 3
Mar  1 18:03:39 localhost kernel: usbcore: registered new driver
snd-usb-audio
(...)

As you can see, my kernel detect the usb device and mount the correct
driver.


Hope it helps,
-- 
********************************* 
** Albert Solana - aka - Txena ** 
********************************* 





More information about the ubuntu-users mailing list