Oliver,

> Ok. So it is not the obvious. Is there anything in the syslog after you
> enable USB debugging?
> And does it work on younger kernels?
> 

Here is the list of what is going on with the usb core when I change the
config from 1 to 2.  I started at poweron and captured the different states.

You will see in Step 5 that there is a uhci failure.  Again, this is 2.6.9.  
I will try moving to a newer kernel now.


-Mike


========================= CUT HERE  ============================


==============================================
Step 1: Just after system boots
==============================================

usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1d.0: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: default language 0x0409
usb usb1: Product: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
usb usb1: Manufacturer: Linux 2.6.9-sti1 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: no power switching (usb 1.0)
uhci_hcd 0000:00:1d.1: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: default language 0x0409
usb usb2: Product: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
usb usb2: Manufacturer: Linux 2.6.9-sti1 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: no power switching (usb 1.0)
uhci_hcd 0000:00:1d.2: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: default language 0x0409
usb usb3: Product: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
usb usb3: Manufacturer: Linux 2.6.9-sti1 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 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: no power switching (usb 1.0)
ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
ehci_hcd 0000:00:1d.7: supports USB remote wakeup
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: default language 0x0409
usb usb4: Product: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
usb usb4: Manufacturer: Linux 2.6.9-sti1 ehci_hcd
usb usb4: SerialNumber: 0000:00:1d.7
usb usb4: hotplug
usb usb4: adding 4-0:1.0 (config #1, interface 0)
usb 4-0:1.0: hotplug
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found



======================================================
Step 2: insmod of my module (usb-remote)
======================================================

usb_remote: Ignoring new-style parameters in presence of obsolete ones
usbcore: registered new driver usb-remote



===============================
Step 3: Hotplug fingerprint reader
==============================

ehci_hcd 0000:00:1d.7: GetStatus port 4 status 001803 POWER sig=j  CSC CONNECT
hub 4-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
hub 4-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
hub 4-0:1.0: port 4 not reset yet, waiting 50ms
ehci_hcd 0000:00:1d.7: port 4 full speed --> companion
ehci_hcd 0000:00:1d.7: GetStatus port 4 status 003801 POWER OWNER sig=j  
CONNECTuhci_hcd 0000:00:1d.1: wakeup_hc
uhci_hcd 0000:00:1d.1: port 2 portsc 0083
hub 2-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
usb 2-2: new full speed USB device using address 2
usb 2-2: skipped 1 descriptor after interface
usb 2-2: new device strings: Mfr=0, Product=2, SerialNumber=0
usb 2-2: default language 0x0409
usb 2-2: Product: Fingerprint Sensor
usb 2-2: hotplug
usb 2-2: configuration #1 chosen from 2 choices
usb 2-2: adding 2-2:1.0 (config #1, interface 0)
usb 2-2:1.0: hotplug
usb-remote 2-2:1.0: usb_probe_interface
usb-remote 2-2:1.0: usb_probe_interface - got id
drivers/usb/core/file.c: looking for a minor, starting at 192
usb 2-2: adding 2-2:1.1 (config #1, interface 1)
usb 2-2:1.1: hotplug
usb-remote 2-2:1.1: usb_probe_interface
usb-remote 2-2:1.1: usb_probe_interface - got id
drivers/usb/core/file.c: looking for a minor, starting at 192



===========================================
Step 4: after reading bConfigurationValue
===========================================

usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver



============================================
Step 5: change bConfigurationvalue to 2nd config with
   echo '2' >bConfigurationValue
============================================

usb 2-2: usb_disable_device nuking non-ep0 URBs
usb 2-2: unregistering interface 2-2:1.0
drivers/usb/core/file.c: removing 192 minor
drivers/usb/core/file.c: release_usb_class_dev - usbremote0
usb 2-2:1.0: hotplug
usb 2-2: unregistering interface 2-2:1.1
drivers/usb/core/file.c: removing 193 minor
drivers/usb/core/file.c: release_usb_class_dev - usbremote1
usb 2-2:1.1: hotplug
uhci_hcd 0000:00:1d.1: uhci_result_control: failed with status 440000
[def70240] link (1ef701e2) element (13922000)
  0: [d3922000] link (13922040) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 
EndPt=0 Dev=2, PID=2d(SETUP) (buf=1f7de4a0)
  1: [d3922040] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 
Dev=2, PID=69(IN) (buf=00000000)




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to