On Jun 15, 2012, at 3:59 PM, Pete Batard wrote:

> On 2012.06.15 22:25, Nathan Hjelm wrote:
>> Did you really put that HID junk back in there? This is a bad idea. HID
>> users SHOULD NOT be using libusb and I will not add this IOHID support
>> to the Darwin backend.
> 
> That's fine, we're not going to force you to do something you're not 
> comfortable with.
> 
> For what is worth, HID support has always been readily available on 
> Linux, and is not much of an issue on Windows either. From our last 
> discussions on the subject, it seemed that quite a few users seemed to 
> be of the idea that convenience trumped other concerns, especially given 
> that using HID requires no manual installation on Windows, unlike 
> WinUSB, which is why we think it makes a lot of sense to add it back.

There are two seperate issues here:
 1) whether or not vendors should be abusing the HID interface to bypass 
problems with the Windows driver model, and
 2) whether or not these devices should be accessed with libusb.

Let me address the second issue first as it is the most relevant to the 
discussion. Yes, Linux user's can easily access HID devices through libusb but 
that does not mean we should go out of our way to support the HID model on any 
other platform. As I said I will not add nor support IOHID access for libusb on 
OSX/Darwin thus our users can not expect to write a portable app/library using 
libusb that accesses a HID device. Since I expect a majority of libusb's users 
are looking for portability so all of HID device users should be directed to 
use hidapi.

The first issue is pretty much a religious one. Microsoft screwed up so vendors 
are doing something I consider sub-par (I bought a device-- an ecotech xr30w-- 
that uses fake-HID and I almost returned it. luckily for the vendor USB is a 
secondary feature of the device). Not much can be done but to encourage vendors 
to not use HID and use WinUSB or a dedicated driver. I don't really care if 
this is a PIA. They need to take it up with Microsoft to fix their (one of 
many) broken software models.

-Nathan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to