USB Audio Device name

Hello Group;

I am trying to use an external USB Audio DAC.

According to the documentation in the audio source block, if I leave the
device name

blank, the block will use the default alsa audio device.

My question is, how do I find out what the name of the USB device is ??

Typing lsusb -v produced the following:

Bus 002 Device 004: ID 041e:3042 Creative Technology, Ltd

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 1.10

bDeviceClass 0 (Defined at Interface level)

bDeviceSubClass 0

bDeviceProtocol 0

bMaxPacketSize0 64

idVendor 0x041e Creative Technology, Ltd

idProduct 0x3042

bcdDevice 1.00

iManufacturer 1 Creative Technology

iProduct 2 SB X-Fi Surround 5.1

iSerial 0

bNumConfigurations 1

----- snip ------

Can anybody help here ??

Thanks;

Bill

Hello Bill

ls -l /proc/asound

shows the names of the cards.
On my system I get

dr-xr-xr-x 3 root root 0 21. Apr 10:56 card0
dr-xr-xr-x 4 root root 0 21. Apr 10:56 card1
dr-xr-xr-x 4 root root 0 21. Apr 10:56 card2
dr-xr-xr-x 3 root root 0 21. Apr 10:56 card3
-r–r--r-- 1 root root 0 21. Apr 10:56 cards
-r–r--r-- 1 root root 0 21. Apr 10:56 devices
lrwxrwxrwx 1 root root 5 21. Apr 10:56 HDMI -> card3
-r–r--r-- 1 root root 0 21. Apr 10:56 hwdep
lrwxrwxrwx 1 root root 5 21. Apr 10:56 M44 -> card1
-r–r--r-- 1 root root 0 21. Apr 10:56 modules
-r–r--r-- 1 root root 0 21. Apr 10:56 pcm
lrwxrwxrwx 1 root root 5 21. Apr 10:56 SB -> card2
dr-xr-xr-x 2 root root 0 21. Apr 10:56 seq
-r–r--r-- 1 root root 0 21. Apr 10:56 timers
lrwxrwxrwx 1 root root 5 21. Apr 10:56 V10 -> card0
-r–r--r-- 1 root root 0 21. Apr 10:56 version

V10 for instance is the funcube dongle.
As the sequence of cards differs on different boots, I put

pcm.V10_card {
type hw
card V10
}
ctl.V10_card {
type hw
card V10
}

pcm.FCD {
type plug
slave.pcm V10_card
}
into the .asoundrc file in my home directory.

Now I can adress the funcube dongle by using FCD as device name in the
fcd block or in an audio source.

Volker

Am 20.04.2012 18:52, schrieb William Pretty Security:

I have the same audio device. If you use the command line alsamixer,
you can get card information from the F2 menu. /proc/asound/devices
contains information for each card. I use hw:3,0 (my sequence of sound
cards as I have two PCI sound cards and two USB cards) for both capture
and playback on my XFI USB device. It works without problems for me.
If the USB card is the only one you have then the device will be the
default alsa device otherwise, it will be hw:*,0. You can also do aplay
-l and get a list of alsa devices and their addresses.

Hope this helps!

Fred

On 04/21/2012 03:19 PM, William Pretty Security wrote:

Bill
The card number determines the hardware device, for example, card 0
Good Luck! Let me know how it goes.

Cheers,

Fred

--------------- snip --------

Great! It’s a fairly good sound card. Low noise figure, etc. I
haven’t been able to set the sample rate higher than 48 KHz though.
Have fun!

Cheers,

Fred

Bill,
Sent this yesterday, maybe it got lost in the shuffle. I saw that
someone else also responded to your question though. I hope that you
have resolved your sound card issue. If not, then this may help as
well.

I have the same audio device. If you use the command line alsamixer,
you can get card information from the F2 menu. /proc/asound/devices
contains information for each card. I use hw:3,0 (my sequence of sound
cards as I have two PCI sound cards and two USB cards) for both capture
and playback on my XFI USB device. It works without problems for me.
If the USB card is the only one you have then the device will be the
default alsa device otherwise, it will be hw:*,0. You can also do aplay
-l and get a list of alsa devices and their addresses.

Hope this helps!

Fred