You are not logged in.
Pages: 1
I want to set priorities of my usb-devices using rtirq script
I managed to give the ports high priorities but i can't find out wich one is wich.
I need to know wich PID belongs to wich usb port.
top, f.e. only shows me uhci_hcd without the aditional port information:
1256 root -85 0 0 0 0 S 0.7 0.0 0:02.04 0:02 irq/21-uhci_hcd
1251 root -86 0 0 0 0 S 0.0 0.0 0:00.37 0:00 irq/21-uhci_hcd
1260 root -84 0 0 0 0 S 0.3 0.0 0:00.23 0:00 irq/21-uhci_hcd
1263 root -83 0 0 0 0 S 0.3 0.0 0:00.21 0:00 irq/21-uhci_hcd
how can I find this out?
Offline
anybody?
Offline
man pidof ,and try using "htop" you can edit the output as you please....
Last edited by gregor (2011-07-20 19:03:01)
Offline
man pidof ,and try using "htop" you can edit the output as you please....
see output above, I got the PID. there is no way to show the specific port in htop
Offline
"man lsof" or "http://www.noah.org/wiki/Port_to_PID" will this do......
Offline
"man lsof" or "http://www.noah.org/wiki/Port_to_PID" will this do......
?????????
I'm talking about usb-ports
Offline
whow dude.... just open an pfffffffff lets say a picture from a usb-device (duh) and trace it back ,or the usb-devices aren't HDD ?????
or play around with " lsusb " http://www.treshna.com/blog/?p=68
have fun....
Last edited by gregor (2011-07-21 12:16:28)
Offline
I give it up,
even lshw doesn't show it:
*-usb:0
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10
bus info: pci@0000:00:10.0
version: 81
width: 32 bits
clock: 33MHz
capabilities: pm uhci bus_master cap_list
configuration: driver=uhci_hcd latency=32
resources: irq:21 ioport:e000(size=32)
*-usb:1
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.1
bus info: pci@0000:00:10.1
version: 81
width: 32 bits
clock: 33MHz
capabilities: pm uhci bus_master cap_list
configuration: driver=uhci_hcd latency=32
resources: irq:21 ioport:dc00(size=32)
*-usb:2
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.2
bus info: pci@0000:00:10.2
version: 81
width: 32 bits
clock: 33MHz
capabilities: pm uhci bus_master cap_list
configuration: driver=uhci_hcd latency=32
resources: irq:21 ioport:d800(size=32)
*-usb:3
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.3
bus info: pci@0000:00:10.3
version: 81
width: 32 bits
clock: 33MHz
capabilities: pm uhci bus_master cap_list
configuration: driver=uhci_hcd latency=32
resources: irq:21 ioport:d400(size=32)
thanks for trying, Gregor
anybody reading in the future: What I tried to find out is the priority of a specific usb-port. As they are all on one IRQ, wich I can't change, it seams unpossible
Offline
but you can change the "priority" from the different processes running through it ....(right ?)
Last edited by gregor (2011-07-22 07:42:22)
Offline
silly me, it was so easy to find out.....it's an usb-audio-device, simply using it shows up some CPU-usage in htop wich showed me wich priotity it has
Offline
well done
Offline
Pages: 1