I've been seeing a weird problem with the later 2.6 series kernels where a usb device is recognized correctly if present at kernel boot time. However connection (or removal) of a device doesn't seem to generate connect/disconnect interrupts to ohci_hcd according to /proc/interrupts.
Behavior varies with different 2.6 vintages and I haven't preformed any exhaustive version testing. But in general if the device is recognized at boot up, it will perform correctly as long as it is not removed and reconnected.
Hotplug isn't coming into play here as all needed modules are statically built into the kernel. The USB controller is an SiS5595.
This seems like too obvious of a problem to be common. Yet 2.4.* kernels have no problem on the same hardware.
I combed through the mail archives but didn't see anything relevant. Has anyone experienced similar problems?
-- [EMAIL PROTECTED]
# /sbin/lspci -v 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 530 Host (rev 03) Flags: bus master, medium devsel, latency 32 Memory at e8000000 (32-bit, non-prefetchable) [size=64M] Capabilities: [c0] AGP version 2.0
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (pro g-if 80 [Master]) Subsystem: Silicon Integrated Systems [SiS]: Unknown device 5513 Flags: bus master, fast devsel, latency 16 I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at ffa0 [size=16] 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b1) Flags: bus master, medium devsel, latency 0 00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI Flags: medium devsel 00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 11) (prog-if 10 [OHCI]) Flags: bus master, medium devsel, latency 32, IRQ 9 Memory at efffe000 (32-bit, non-prefetchable) [size=4K] 00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (prog-if 00 [ Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: e7e00000-e7efffff Prefetchable memory behind bridge: fec00000-ffcfffff 00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10 MBit (r ev 10) Subsystem: Unknown device 0291:8212 Flags: bus master, medium devsel, latency 32, IRQ 10 I/O ports at da00 [size=128] Memory at efffff80 (32-bit, non-prefetchable) [size=128] Expansion ROM at eff80000 [disabled] [size=256K] Capabilities: [50] Power Management version 1 00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) Subsystem: C-Media Electronics Inc: Unknown device 0111 Flags: bus master, medium devsel, latency 32, IRQ 11 I/O ports at dc00 [size=256] Capabilities: [c0] Power Management version 2 00:0c.1 Communication controller: C-Media Electronics Inc CM8738 (rev 10) Subsystem: C-Media Electronics Inc: Unknown device 0211 Flags: medium devsel, IRQ 10 I/O ports at de00 [size=64] Capabilities: [40] Power Management version 2 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 6306 3D-AGP (rev a3) (prog-if 00 [VGA]) Subsystem: Silicon Integrated Systems [SiS]: Unknown device 6306 Flags: bus master, 66Mhz, medium devsel, latency 32 Memory at ff000000 (32-bit, prefetchable) [size=8M] Memory at e7ef0000 (32-bit, non-prefetchable) [size=64K] I/O ports at cc00 [size=128] Capabilities: [40] Power Management version 1 Capabilities: [50] AGP version 1.0
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.4 ohci_hcd S: Product=OHCI Host Controller S: SerialNumber=0000:00:01.2 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0781 ProdID=0002 Rev= 0.09 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0781 ProdID=0621 Rev= 0.05 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
CPU0 0: 5921687 XT-PIC timer 1: 580 XT-PIC i8042 2: 0 XT-PIC cascade 9: 1651 XT-PIC ohci_hcd 10: 869 XT-PIC eth0 11: 0 XT-PIC cmpci 12: 58 XT-PIC i8042 14: 2729 XT-PIC ide0 NMI: 0 ERR: 0