开发者

Discover where are my USB speakers (device)

I'm running Debian Sid and I want to know where are my USB speakers in system. For example: When I plug my pen drive, dmesg shows where it is (sda, sdb, etc). But when I plug my USB Speakers, it doesn't show anything:

[12032.284042] usb 2-2: new full speed USB device using ohci_hcd and address 2
[12032.497098] usb 2-2: New USB device found, idVendor=0d8c, idProduct=0103
[12032.497103] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12032.497107] usb 2-2: Product: USB Sound Device        
[12032.497109] usb 2-2: Manufacturer: C-Media INC.
[12032.497266] usb 2-2: configuration #1 chosen from 1 choice

开发者_如何学GoHow could I discover where it is? Is there a command to show devices connected? Thank you.


It's added as the next available ALSA card.

cat /proc/asound/cards


The easiest way is to diff the listing of /dev before and after the device is connected.


(Oops, I see that I probably misunderstood the question. Sorry. I'll leave my answer in case it's remotely useful).

Try lsusb. It gives you an overview of USB devices connected.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜