Stephen J. Gowdy wrote:
Was /proc/interrupts showing an increasing number for those devices?
The ehci_hcd driver gets a single interrupt when I reattach a device,
but nothing happens on the ochi_hcd device. I recompiled a 2.6.11-rc2
kernel with CONFIG_USB_DEBUG on and here is the logs:
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 23
ACPI: PCI interrupt :00:02.1[B] - GSI 23 (level, low) - IRQ 23
ehci_hcd :00:02.1: EHCI Host Controller
ehci_hcd :00:02.1: reset hcs_params 0x10148a dbg=1 cc=1 pcc=4 !ppc
ports=10
ehci_hcd :00:02.1: reset portroute 0 0 0 0 0 0 0 0 0 0
ehci_hcd :00:02.1: reset hcc_params a082 caching frame 256/512/1024
ehci_hcd :00:02.1: capability 0001 at a0
PCI: Setting latency timer of device :00:02.1 to 64
ehci_hcd :00:02.1: irq 23, pci mem 0xf0106000
ehci_hcd :00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd :00:02.1: reset command 080002 (park)=0 ithresh=8
period=1024 Reset HALT
PCI: cache line size of 64 is not supported by device :00:02.1
ehci_hcd :00:02.1: init command 010009 (park)=0 ithresh=1 period=256 RUN
ehci_hcd :00:02.1: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
ehci_hcd :00:02.1: supports USB remote wakeup
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: default language 0x0409
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.11-rc2-usbdbg ehci_hcd
usb usb1: SerialNumber: :00:02.1
usb usb1: hotplug
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: hotplug
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: ganged power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
hub 1-0:1.0: state 5 ports 4 chg 001e evt 001f
hub 1-0:1.0: port 1, status 0100, change , 12 Mb/s
hub 1-0:1.0: port 2, status 0100, change , 12 Mb/s
hub 1-0:1.0: port 3, status 0100, change , 12 Mb/s
hub 1-0:1.0: port 4, status 0100, change , 12 Mb/s
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 22
ACPI: PCI interrupt :00:02.0[A] - GSI 22 (level, low) - IRQ 22
ohci_hcd :00:02.0: OHCI Host Controller
PCI: Setting latency timer of device :00:02.0 to 64
ohci_hcd :00:02.0: irq 22, pci mem 0xf0104000
ohci_hcd :00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd :00:02.0: resetting from state 'reset', control = 0x600
ohci_hcd :00:02.0: OHCI controller state
ohci_hcd :00:02.0: OHCI 1.0, with legacy support registers
ohci_hcd :00:02.0: control 0x683 RWE RWC HCFS=operational CBSR=3
ohci_hcd :00:02.0: cmdstatus 0x0 SOC=0
ohci_hcd :00:02.0: intrstatus 0x0004 SF
ohci_hcd :00:02.0: intrenable 0x800a MIE RD WDH
ohci_hcd :00:02.0: hcca frame #0003
ohci_hcd :00:02.0: roothub.a 0100020a POTPGT=1 NPS NDP=10
ohci_hcd :00:02.0: roothub.b PPCM= DR=
ohci_hcd :00:02.0: roothub.status 8000 DRWE
ohci_hcd :00:02.0: roothub.portstatus [0] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [1] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [2] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [3] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [4] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [5] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [6] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [7] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [8] 0x0100 PPS
ohci_hcd :00:02.0: roothub.portstatus [9] 0x0100 PPS
ohci_hcd :00:02.0: supports USB remote wakeup
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: default language 0x0409
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.11-rc2-usbdbg ohci_hcd
usb usb2: SerialNumber: :00:02.0
usb usb2: hotplug
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: hotplug
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: no power switching (usb 1.0)
hub 2-0:1.0: global over-current protection
hub 2-0:1.0: power on to power good time: 2ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: no over-current condition exists
ohci_hcd :00:02.0: created debug files
hub 2-0:1.0: state 5 ports 10 chg 07fe evt 07ff
hub 2-0:1.0: port 1, status 0100, change , 12 Mb/s
hub 2-0:1.0: port 2, status 0100, change , 12 Mb/s
hub 2-0:1.0: port 3, status 0100, change , 12 Mb/s