|
From: Dave H. <DAV...@ni...> - 2007-06-11 14:23:47
|
> -----Original Message-----
> From: lib...@li...=20
> [mailto:lib...@li...] On=20
> Behalf Of Guillaume Dargaud
> Sent: 2007 June 11 15:21
> To: lib...@li...
> Subject: [Libusb-win32-devel] Everything but usb_bulk_read works...
>=20
> Hello all,
> I just took my newly formed USB code for Linux and tried it=20
> on Windows with
> LibUsbWin32.
>=20
> Everything seems to work fine, including the firmware upload and
> usb_bulk_write, but usb_bulk_read returns -22.
>=20
> Strangely i couldn't find a table of possible return error=20
> codes. Any idea ?
Error 22 is an invalid parameter. Input endpoint addresses
have to have the top bit set - this is incompatible with the
Linux version.
Dave
***************************************************************************=
***************************************************************************=
***************************************************************************=
****************
NICE CTI Systems UK Limited ("NICE") is registered in England under company=
number, 3403044. The registered office of NICE is at Tollbar Way, Hedge E=
nd, Southampton, Hampshire SO30 2ZP.
Confidentiality: This communication and any attachments are intended for th=
e above-named persons only and may be confidential and/or legally privilege=
d. Any opinions expressed in this communication are not necessarily those o=
f NICE. If this communication has come to you in error you must take no act=
ion based on it, nor must you copy or show it to anyone; please delete/dest=
roy and inform the sender by e-mail immediately.
Monitoring: NICE may monitor incoming and outgoing e-mails.
Viruses: Although we have taken steps toward ensuring that this e-mail and=
attachments are free from any virus, we advise that in keeping with good c=
omputing practice the recipient should ensure they are actually virus free.
***************************************************************************=
***************************************************************************=
***************************************************************************=
*******************
=20
|