Re: [LAU] setting up hardware priority

From: Cedric Roux <sed@email-addr-hidden>
Date: Wed Aug 17 2011 - 10:59:40 EEST

----- Original Message -----
> From: "Renato" <rennabh@email-addr-hidden>
> To: "Clemens Ladisch" <clemens@email-addr-hidden>
> Cc: "linux-audio-user" <linux-audio-user@email-addr-hidden>
> 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@email-addr-hidden> 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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Aug 17 12:15:03 2011

This archive was generated by hypermail 2.1.8 : Wed Aug 17 2011 - 12:15:03 EEST