-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 17 October 2003 11:20 pm, David Brownell wrote:
> Minor experiment:  Pad out that descriptor by tagging another
> descriptor at the end, maybe a vendor descriptor, less than
> 16 bytes (maxpacket) long.  This can rule out strangeness caused
> in the "expect to write a ZLP" codepaths.  Leaving, I'd hope,
> only strangeness caused by set_address ... and nothing else!

Right, here's what happens now. There is no ZLP in this instance. I've added 
some debugging printks to make things clear.

<7>udc: USB suspend
<6>lab: Please plug in the cable.
<7>udc: USB resume
<7>udc: USB reset start
<7>udc: USB reset done, gadget driver 'char'
<7>udc: SETUP 00.05 v0019 i0000 l0000
Broken hardware! USB_REQ_SET_ADDRESS
<7>udc: SETUP 80.06 v0100 i0000 l0008
GChar_setup: 6
DONE: ep0->request 8/8 - code 0
<7>udc: SETUP 80.06 v0100 i0000 l0012
GChar_setup: 6
DONE: ep0->request 18/18 - code 0
<6>lab: Please plug in the cable.
<7>udc: SETUP 80.06 v0200 i0000 l0008
GChar_setup: 6
DONE: ep0->request 8/8 - code 0
<7>udc: SETUP 80.06 v0200 i0000 l0022
GChar_setup: 6
DONE: ep0->request 34/34 - code 0

PC-side, everythign is just fine, though it's obvious here that there's no set 
configuration.

With my new ZLP hacks:
<7>udc: SETUP 80.06 v0100 i0000 l0008
GChar_setup: 6
DONE: ep0->request 8/8 - code 0
<7>udc: SETUP 80.06 v0100 i0000 l0012
GChar_setup: 6
DONE: ep0->request 18/18 - code 0
<6>lab: Starting LAB [Linux As Bootloader]
<6>lab: Attempting to connect using USB...
<6>lab: Please plug in the cable.
<7>udc: SETUP 80.06 v0200 i0000 l0008
GChar_setup: 6
DONE: ep0->request 8/8 - code 0
<7>udc: SETUP 80.06 v0200 i0000 l0020
GChar_setup: 6
DONE: ep0->request 32/32 - code 0
<6>lab: Please plug in the cable.

Still no set config.

I'd WBM about people not testing code before committing it (or at least not 
testing it on all possible hardware configurations, even the most obscure :P) 
but I couldn't do it any better :P

> - Dave
/j

- -- 
Joshua Wise | www.joshuawise.com
GPG Key     | 0xEA80E0B3
Quote       | <lilo> I akilled [EMAIL PROTECTED] by mistake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/kLgpPn9tWOqA4LMRAi9nAKCqnQCP0Vp4PpBA7t8yMyLOUIxqrwCgj5zE
+yZzHXZXJqIImfVy9KhIXxI=
=6Na4
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to