I have some USB protocol questions about initial device setup. I'm trying to write my own USB stack for an Atmel AT43USB355E microcontroller (Atmel has a USB library but its binary only....). This chip has 3 Functional Endpoints and 2 Hub ports. I noticed on device plug-in the GET_DESCRIPTOR control message is showing up on the Hub endpoint 0 of the microcontroller, as opposed to function endpoint 0. Is this always what happens when plugging in a device with a hub? Or is my hardware just weird?
Also, the host sends my device a Get Descriptor request initially. As far as I can tell, the device should only respond with the first 8 bytes of the device descriptor (just to get maxPacketLength)? This hardware is giving me fits trying to get past the initial stages, either my linux box says reading the device descriptor timed out, or it read 0 bytes (in hub.c). Thanks. -- James Lamanna ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel