----- Original Message -----
From: "Renato" <rennabh(a)gmail.com>
To: "Clemens Ladisch" <clemens(a)ladisch.de>
Cc: "linux-audio-user" <linux-audio-user(a)lists.linuxaudio.org>
Sent: Tuesday, August 16, 2011 5:55:52 PM
Subject: Re: [LAU] setting up hardware priority
On Tue, 16 Aug 2011 17:34:40 +0200
Clemens Ladisch <clemens(a)ladisch.de> wrote:
> Renato wrote:
> > Hello, I'm trying to find out if plugging my USB soundcard in
> > different USB ports of my laptop makes any difference. If I got
> > it
> > right, I should choose the one with the lowest IRQ. So, with
> > "lspci
> > -v" I can see I have 4 "USB Controller" devices, each with
their
> > own IRQ (lowest one is 16 which seems to be shared by video
> > card...) - but how do I know which one my sound card is plugged
> > into?
In /sys/devices/pciXXXXX, try:
for i in `find|grep usb|grep product`; do echo $i; cat $i; done
I only have /sys/devices/pci0000:00 here.
It gives the name of the product, maybe it can help.
Try other files too. For my usb key, I see:
/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3> ls
1-3:1.0 bDeviceSubClass configuration idProduct remove
authorized bmAttributes descriptors idVendor serial
avoid_reset_quirk bMaxPacketSize0 dev manufacturer speed
bcdDevice bMaxPower devnum maxchild subsystem
bConfigurationValue bNumConfigurations devpath power uevent
bDeviceClass bNumInterfaces driver product urbnum
bDeviceProtocol busnum ep_00 quirks version
Also, run 'dmesg' when you plug your audio card and see what it says
(if it says something).
HTH