On Sun, Mar 17, 2002 at 11:51:35PM +0000, Robin Cull wrote:
> 1) What does -12 mean when it is returned in purb->status?
According to /usr/include/asm/errno.h, -12 is ENOMEM, out of memory. Cool...
> 3) Have I got the syntax of the call right in the first place? I am
> unsure what goes in purb->setup_packet, purb->transfer_buffer and
> purb->transfer_buffer_length.
setup_packet contains exactly 8 Byte, the length is implicitly given by the
control transfer.
transfer_buffer contains any additional data to write (or to read, depends
on the setup command).
transfer_buffer_length contains the length for the extra data (may be 0).
So your code sends the setupdata twice, but why that should give -ENOMEM is
not very clear...
--
Georg Acher, [EMAIL PROTECTED]
http://www.in.tum.de/~acher/
"Oh no, not again !" The bowl of petunias
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel