> Hmm. Can you try 2.6.10 with this attached patch, and see if it > makes any difference? Both with and without "old_scheme_first".
I could detect no difference; without old_scheme first, same result, and the dmesg log looks the same to me, apart from buffer addresses. With old_scheme_first, the device registers as expected. > > > The second experiment requires that you do not use the module parameter; > > > keep things as they used to be. Start out with both uhci_hcd and ehci_hcd > > > unloaded from memory. Plug in the Clipdrive, and then a few seconds later > > > modprobe ehci_hcd. I'm curious to see if that has the same effect as > > > coldplugging. ... > That's also interesting. Can you repeat that experiment with > CONFIG_USB_DEBUG enabled? Assuming you get the same result, > then include the "dmesg" output (starting with "modprobe ehci"), > and the /sys/class/usb_host/usb1/registers fiile. dmesg output ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96 PCI: Found IRQ 11 for device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller ehci_hcd 0000:00:1d.7: reset hcs_params 0x103206 dbg=1 cc=3 pcc=2 ordered !ppc ports=6 ehci_hcd 0000:00:1d.7: reset hcc_params 6871 thresh 7 uframes 1024 64 bit addr ehci_hcd 0000:00:1d.7: capability 0001 at 68 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: irq 11, pci mem 0xd0100000 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: init command 010001 (park)=0 ithresh=1 period=1024 RUN ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004 ehci_hcd 0000:00:1d.7: supports USB remote wakeup usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: default language 0x0409 usb usb1: Product: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller usb usb1: Manufacturer: Linux 2.6.10_x40_usbdebug ehci_hcd usb usb1: SerialNumber: 0000:00:1d.7 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: 6 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 6 chg ffff evt ffff hub 1-0:1.0: port 1, status 0100, change 0000, 12 Mb/s hub 1-0:1.0: port 2, status 0100, change 0000, 12 Mb/s ehci_hcd 0000:00:1d.7: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:1d.7: port 3 high speed ehci_hcd 0000:00:1d.7: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT usb 1-3: new high speed USB device using ehci_hcd and address 2 ehci_hcd 0000:00:1d.7: devpath 3 ep0in 3strikes ehci_hcd 0000:00:1d.7: port 3 full speed --> companion ehci_hcd 0000:00:1d.7: GetStatus port 3 status 003801 POWER OWNER sig=j CONNECT hub 1-0:1.0: port 4, status 0100, change 0000, 12 Mb/s hub 1-0:1.0: port 5, status 0100, change 0000, 12 Mb/s hub 1-0:1.0: port 6, status 0100, change 0000, 12 Mb/s spurious 8259A interrupt: IRQ7. /sys/class/usb_host/usb1/registers file: bus pci, device 0000:00:1d.7 (driver 26 Oct 2004) EHCI 1.00, hcd state 1 structural params 0x00103206 capability params 0x00006871 status 2008 Recl FLR command 010001 (park)=0 ithresh=1 period=1024 RUN intrenable 37 IAA FATAL PCD ERR INT uframe 1e98 port 1 status 001000 POWER sig=se0 port 2 status 001000 POWER sig=se0 port 3 status 003002 POWER OWNER sig=se0 CSC port 4 status 001000 POWER sig=se0 port 5 status 001000 POWER sig=se0 port 6 status 001000 POWER sig=se0 irq normal 0 err 1 reclaim 1 (lost 0) complete 1 unlink 0 > And a third experiment to try: just like #2, but "modprobe uhci_hcd" > instead of "ehci_hcd". This gives an attached readable clipdrive. dmesg: USB Universal Host Controller Interface driver v2.2 PCI: Found IRQ 11 for device 0000:00:1d.0 PCI: Sharing IRQ 11 with 0000:00:02.0 PCI: Sharing IRQ 11 with 0000:02:00.0 uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: irq 11, io base 0x1820 uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: detected 2 ports usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: default language 0x0409 usb usb1: Product: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 usb usb1: Manufacturer: Linux 2.6.10_x40_usbdebug uhci_hcd usb usb1: SerialNumber: 0000:00:1d.0 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: 2 ports detected hub 1-0:1.0: standalone hub hub 1-0:1.0: no power switching (usb 1.0) hub 1-0:1.0: individual port over-current protection hub 1-0:1.0: power on to power good time: 2ms hub 1-0:1.0: local power source is good PCI: Found IRQ 11 for device 0000:00:1d.1 uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 hub 1-0:1.0: state 5 ports 2 chg ffff evt ffff hub 1-0:1.0: port 1, status 0100, change 0000, 12 Mb/s hub 1-0:1.0: port 2, status 0100, change 0000, 12 Mb/s PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: irq 11, io base 0x1840 uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: detected 2 ports usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: default language 0x0409 usb usb2: Product: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 usb usb2: Manufacturer: Linux 2.6.10_x40_usbdebug uhci_hcd usb usb2: SerialNumber: 0000:00:1d.1 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: 2 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: individual port 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 uhci_hcd 0000:00:1d.0: suspend_hc PCI: Found IRQ 11 for device 0000:00:1d.2 PCI: Sharing IRQ 11 with 0000:00:1f.1 uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 hub 2-0:1.0: state 5 ports 2 chg ffff evt ffff uhci_hcd 0000:00:1d.1: port 1 portsc 0093,00 hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: irq 11, io base 0x1860 uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.2: detected 2 ports usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: default language 0x0409 usb usb3: Product: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 usb usb3: Manufacturer: Linux 2.6.10_x40_usbdebug uhci_hcd usb usb3: SerialNumber: 0000:00:1d.2 usb usb3: hotplug usb usb3: adding 3-0:1.0 (config #1, interface 0) usb 3-0:1.0: hotplug hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 hub 3-0:1.0: usb_probe_interface hub 3-0:1.0: usb_probe_interface - got id hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected hub 3-0:1.0: standalone hub hub 3-0:1.0: no power switching (usb 1.0) hub 3-0:1.0: individual port over-current protection hub 3-0:1.0: power on to power good time: 2ms hub 3-0:1.0: local power source is good usb 2-1: new full speed USB device using uhci_hcd and address 2 usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-1: default language 0x0409 usb 2-1: Product: ClipDrive usb 2-1: Manufacturer: BUFFALO usb 2-1: SerialNumber: B1098404451000E3 usb 2-1: hotplug usb 2-1: adding 2-1:1.0 (config #1, interface 0) usb 2-1:1.0: hotplug hub 2-0:1.0: port 2, status 0100, change 0000, 12 Mb/s hub 3-0:1.0: state 5 ports 2 chg ffff evt ffff hub 3-0:1.0: port 1, status 0100, change 0000, 12 Mb/s hub 3-0:1.0: port 2, status 0100, change 0000, 12 Mb/s ub: sizeof ub_scsi_cmd 64 ub_dev 2472 ub 2-1:1.0: usb_probe_interface ub 2-1:1.0: usb_probe_interface - got id uba: device 2 capacity nsec 256000 bsize 512 uba: device 2 capacity nsec 256000 bsize 512 /dev/ub/a: p1 usbcore: registered new driver ub uhci_hcd 0000:00:1d.2: suspend_hc Thanks a lot, Matthew ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
