discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] USB Audio Device name


From: Volker Schroer
Subject: Re: [Discuss-gnuradio] USB Audio Device name
Date: Sat, 21 Apr 2012 11:03:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120331 Thunderbird/11.0.1

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:
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




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]