Dear all

my apologies for answering too quickly without doing my homework.

I double checked, and in fact, EP1 is an out endpoint (meaning from host to the 
device), while EP2 is an IN endpoint.
This means that the behavior under Windows is correct. 

Any other ideas what could be wrong here?

Another question: if kernel attach and detach only has effect in Linux, why 
does libusb_kernel_driver_active(handle,0)
return true on Windows? Shouldn't it return false then?

best regards

Wim


-----Original Message-----
From: Xiaofan Chen [mailto:xiaof...@gmail.com] 
Sent: vrijdag 15 februari 2013 15:47
To: libusbx-devel@lists.sourceforge.net
Subject: [SPAM] - Re: [Libusbx-devel] [SPAM] - Re: opening generic device EP in 
bulk transfer - difference between Linux and Windows - Email found in subject - 
Email found in subject - Email found in subject

On Fri, Feb 15, 2013 at 10:21 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Fri, Feb 15, 2013 at 10:17 PM, Wim De Kimpe 
> <wim.deki...@medecbenelux.be> wrote:
>> but on Windows, it does not work with nEndpoint = 0x81
>
> You need to know your device better. Please post the output of "lsusb 
> -vvv" result of your device under Linux.

You need to make sure whether it is true that "EP1 is in,
EP2 is out". Take note that USB is host centric, the "IN"
or "OUT" is from the host point of view.

Ref: http://www.usbmadesimple.co.uk/ums_3.htm

--
Xiaofan

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 and get the 
hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to