Oliver, > > Am Dienstag, 25. Oktober 2005 20:22 schrieb Mike King: > > Usb Gurus, > > > > I am working on a biometric device (fingerprint reader) for Linux. This > > device has 2 configs and I need to use the 2nd config. On initial connect > > to the system usb core selects config #1 and my driver claims the interface. > > I can > > > > cat bConfigurationValue > > > > and see the response of '1' properly. > > > > But, I then do the > > > > echo '2' >/sys/bus/usb/devices/2-2/bConfigurationValue > > > > and when I read the bConfigurationValue it is null. It is not 0 or 1 or 2. > > And my driver is unbound and probe is not called again. Like the device > > is no longer present. > > > > I am running 2.6.9. > > > > Any clues what is happening ? Any ideas on how I can select config #2. > > What is the descriptor of config #2? > > Regards > Oliver >
Device Desc 00000000: 12 01 10 01 ff ff ff 08 ff 08 06 34 21 05 00 02 00000010: 00 02 Config 1 Desc 00000000: 09 02 49 00 02 01 00 a0 32 09 04 00 00 02 ff ff 00000010: ff 00 07 05 81 02 20 00 00 07 05 02 02 08 00 00 00000020: 09 04 01 00 01 03 01 02 00 09 21 00 01 00 01 22 00000030: 32 00 07 05 83 03 03 00 0a 09 04 01 01 01 03 01 00000040: 02 00 07 05 83 03 08 00 0a Config 2 Desc 00000000: 09 02 20 00 01 02 00 a0 32 09 04 00 00 02 ff ff 00000010: ff 00 07 05 81 02 20 00 00 07 05 02 02 08 00 00 Using Greg's (Greg Kroah-Hartman) most excellent usbview you can see that the device has 2 config spaces. The first has 2 interfaces and the second config has only 1 interface. The interface I am interested in is in the second config. -Mike ------------------------------------------------------- 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