On Mon, 4 Nov 2002, Boris Dainson wrote:

>in com.ibm.jusb.UsbOperationsImp.setInterface
>
>/*correct*/ Request request =
>getRequestImpFactory().createSetInterfaceRequest(wValue,
>wIndex);
>
>/*incorrect*/ Request request =
>getRequestImpFactory().createSetInterfaceRequest( wIndex,
>wValue );
>
>With this change Roger's code to set alternate setting is
>working fine.

yep, the order is wrong.  I don't know why Mike decided to switch the 
order for some of those, while keeping it consistent for others...

anyway, the order of params (I think) should always be consistent with the 
USB defined order; bmRequestType, bRequest, wValue, wIndex.  I'll 
double-check the operations class.


-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
javax-usb-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to