On Sat, 25 Oct 2003, Heiko Rosemann wrote: > Hi everyone, > > I'm not quite sure whether this is exactly the right list to ask, but I > didn't find any better one... > > My problem is as follows: I am developing a USB device (using a Motorola > 68HC908LD64, just for reference). Windows [98|XP] finally is able to detect > the built-in hub and the embedded device (as HID, although not correctly > yet, but that's a different matter). Linux 2.4.[21|22] gives > > Oct 22 22:55:44 x30 kernel: hub.c: new USB device 00:1d.1-1, assigned address 5 > Oct 22 22:55:44 x30 kernel: hub.c: new USB device 00:1d.1-1, assigned address 6 > > which, I suppose, both refer to the hub.
Only partially. They indicate that the hub detected your device was attached, and then the device was assigned two different addresses. Apparently something went wrong and your device didn't accept the first address it was assigned. One major difference between the Windows and Linux USB stacks is that Windows reads the device descriptor before assigning a device address whereas Linux works the other way around. > No other traces at all, on > reconnect it tries to assign the next two addresses (i.e. 7 and 8) but does > not detect the device. It does detect the device, otherwise it wouldn't attempt to assign the addresses. However, something else must be going wrong because the system should then try to read the configuration descriptors. > Any ideas about what could be different between Win and Linux in these early > steps of USB device enumeration? I guess I don't exactly meet the USB > standards somewhere, and Windows is maybe less exact than Linux in that > respect... See above. > Best Regards, Heiko > > P.S: Just in case that could matter: I tried on both Intel 440BX, uhci > module and on Intel 830, uhci module. If you need more information, > please just ask. Try doing your development and running your tests under Linux 2.6.0. Its USB stack is much more robust than the one in 2.4. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
