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?
To see which bus belongs to which PCI device, run:
ls -l /sys/bus/usb/devices/usb*
mmh, the output isn't very clear to me:
renato@acerarch ~ $ ls -l /sys/bus/usb/devices/usb*
lrwxrwxrwx 1 root root 0 Aug 16 14:25 /sys/bus/usb/devices/usb1 ->
../../../devices/pci0000:00/0000:00:1d.7/usb1
lrwxrwxrwx 1 root root 0 Aug 16 14:25 /sys/bus/usb/devices/usb2 ->
../../../devices/pci0000:00/0000:00:1d.0/usb2
lrwxrwxrwx 1 root root 0 Aug 16 14:25 /sys/bus/usb/devices/usb3 ->
../../../devices/pci0000:00/0000:00:1d.1/usb3
lrwxrwxrwx 1 root root 0 Aug 16 14:25 /sys/bus/usb/devices/usb4 ->
../../../devices/pci0000:00/0000:00:1d.2/usb4
lrwxrwxrwx 1 root root 0 Aug 16 14:25 /sys/bus/usb/devices/usb5 ->
../../../devices/pci0000:00/0000:00:1d.3/usb5
so on which pci device is my sound card (Native Instruments RigKontrol2) attached
if this is the output of lsusb?
renato@acerarch ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046
Bluetooth)
Bus 003 Device 003: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 001 Device 008: ID 17cc:1969 Native Instruments RigKontrol2
Bus 003 Device 004: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass)
Bus 003 Device 005: ID 0a5c:2148 Broadcom Corp. BCM92046DG-CL1ROM Bluetooth 2.1 Adapter
Bus 002 Device 002: ID 09e8:007c AKAI Professional M.I. Corp.
cheers,
renato