Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-05 Thread Xiaofan Chen
On Fri, May 4, 2012 at 8:47 PM, Xiaofan Chen wrote: > On Thu, May 3, 2012 at 6:56 PM, Pete Batard wrote: >> The issue was that I thought Microsoft mandated the use of an arbitrary >> wIndex with an "interface" recipient when reading the WCID properties, >> and thus were breaking this recommendati

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-04 Thread Xiaofan Chen
On Thu, May 3, 2012 at 6:56 PM, Pete Batard wrote: > On 2012.05.03 02:47, Xiaofan Chen wrote: >> Also Tim's view on this topic in the OSR mailing list / forum. >> http://www.osronline.com/showthread.cfm?link=223812 >> +++ >> One can also argue that this is a security measure.  The USB spec >>

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-03 Thread Hans Petter Selasky
On Thursday 03 May 2012 19:02:35 Tim Roberts wrote: > Hans Petter Selasky wrote: > > In the answers from the Microsoft guy, there were some arguments about > > security. Many kind of device drivers could have been made more secure by > > moving out of the kernel, for example webcam drivers, which i

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-03 Thread Tim Roberts
Hans Petter Selasky wrote: > In the answers from the Microsoft guy, there were some arguments about > security. Many kind of device drivers could have been made more secure by > moving out of the kernel, for example webcam drivers, which is a class of > devices which are especially using a lot o

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-03 Thread Pete Batard
On 2012.05.03 02:47, Xiaofan Chen wrote: > Also Tim's view on this topic in the OSR mailing list / forum. > http://www.osronline.com/showthread.cfm?link=223812 > +++ > One can also argue that this is a security measure. The USB spec > requires that the low byte of wIndex be set to the interfac

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Orin Eman
On Wed, May 2, 2012 at 6:54 PM, Xiaofan Chen wrote: > On Thu, May 3, 2012 at 4:31 AM, Hans Petter Selasky > wrote: > > On Wednesday 02 May 2012 21:15:27 Tim Roberts wrote: > >> Hans Petter Selasky wrote: > >> > Why Microsoft can't use the BSD or Linux USB stack then, which > supports > >> > all

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Xiaofan Chen
On Thu, May 3, 2012 at 4:31 AM, Hans Petter Selasky wrote: > On Wednesday 02 May 2012 21:15:27 Tim Roberts wrote: >> Hans Petter Selasky wrote: >> > Why Microsoft can't use the BSD or Linux USB stack then, which supports >> > all of this. Sounds like very bad internal USB design to me! >> >> Oh, p

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Xiaofan Chen
On Wed, May 2, 2012 at 11:15 PM, Pete Batard wrote: > On 2012.05.02 16:11, Pete Batard wrote: >> Thanks for the info. >> >> On 2012.05.02 06:03, Xiaofan Chen wrote: >>> Q5: When using interface control requests (LIBUSB_RECIPIENT_INTERFACE), >>> WinUSB overrides the low byte of wIndex with the dest

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Hans Petter Selasky
On Wednesday 02 May 2012 21:15:27 Tim Roberts wrote: > Hans Petter Selasky wrote: > > Why Microsoft can't use the BSD or Linux USB stack then, which supports > > all of this. Sounds like very bad internal USB design to me! > > Oh, please. The Microsoft internal USB design is fine, and kernel > dr

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Tim Roberts
Hans Petter Selasky wrote: > Why Microsoft can't use the BSD or Linux USB stack then, which supports all > of > this. Sounds like very bad internal USB design to me! Oh, please. The Microsoft internal USB design is fine, and kernel drivers can do ALL of the things in that post. The restriction

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Orin Eman
On Wed, May 2, 2012 at 9:17 AM, Robert Heller wrote: > > Can't use that pesky open source code -- it might cause a code leak or > something. Or make MS-Windows too much like UNIX or even too POSIX > compliant or something else equally bad. :-) > > Like having to wait two years for a release...

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Robert Heller
At Wed, 2 May 2012 17:18:40 +0200 Hans Petter Selasky wrote: > > On Wednesday 02 May 2012 07:03:59 Xiaofan Chen wrote: > > Reference: http://www.osronline.com/showthread.cfm?link=223812 > > > > In the above thread, Microsoft's Doron Holan (Windows driver > > expert) answered Microsoft's view on

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Hans Petter Selasky
On Wednesday 02 May 2012 07:03:59 Xiaofan Chen wrote: > Reference: http://www.osronline.com/showthread.cfm?link=223812 > > In the above thread, Microsoft's Doron Holan (Windows driver > expert) answered Microsoft's view on the perceived WinUSB > limitations. > > I think this is of good reference

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Pete Batard
On 2012.05.02 16:11, Pete Batard wrote: > Thanks for the info. > > On 2012.05.02 06:03, Xiaofan Chen wrote: >> Q5: When using interface control requests (LIBUSB_RECIPIENT_INTERFACE), >> WinUSB overrides the low byte of wIndex with the destination interface. >> Ref: http://www.lvr.com/forum/index.ph

Re: [Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-02 Thread Pete Batard
Thanks for the info. On 2012.05.02 06:03, Xiaofan Chen wrote: > Q5: When using interface control requests (LIBUSB_RECIPIENT_INTERFACE), > WinUSB overrides the low byte of wIndex with the destination interface. > Ref: http://www.lvr.com/forum/index.php?topic=331 > > A5: this is so you only target y

[Libusbx-devel] Microsoft's view on the perceived WinUSB limitations

2012-05-01 Thread Xiaofan Chen
Reference: http://www.osronline.com/showthread.cfm?link=223812 In the above thread, Microsoft's Doron Holan (Windows driver expert) answered Microsoft's view on the perceived WinUSB limitations. I think this is of good reference to the list member here. Q1. WinUSB cannot be used to send an actua