Hi,

On 03/19/2013 09:11 PM, Pete Batard wrote:
> On 2013.03.19 18:07, Tim Roberts wrote:
>> I'm not sure I buy that argument.
>
> I don't by that argument, but not for the same reason as Tim (though I
> think that's a valid point on its own).
>
> But let's me first start by the most worrying statement of Hans' reply:
>
> On 2013.03.19 07:41, Hans de Goede wrote:
>   > Claiming that it will just work like it works on Windows is wrong too
>   > though, so lets make it 2 different capabilities.
>
> Excuse me, but I must have missed the part where I claimed or even
> remotely implied that LIBUSBX_HAS_HID_ACCESS meant "HID access using a
> native driver and without detach, just like it is done on Windows".

Well, the problem is that under Linux accessing HID devices works just
like any other device, there is nothing special about HID devices under
Linux. Yes you can access them, but you can access *any* device this way,
so I don't see this something which needs advertising through a special
capability.

OTOH on Windows HID devices are handled specially and can be accessed
without messing with the native driver, which whether you like it or not
is a big difference.

To me advertising LIBUSBX_HAS_HID_ACCESS under Linux would make sense if
Linux would have similar special code accessing /dev/hidraw* devices, which
atm it does not.

On second thought I do agree that having 2 separate caps for this is not a
good idea, so I'm back to my initial proposal to simply only advertise this
capability for Windows, since Windows is the only one which has it.

The capability should be renamed to better reflect what it does, but to me
to advertise the same cap for how Windows deals with HID devices under Linux
too is just plain wrong. Sure we will always have subtle platform difference,
but this is not a subtle difference, this is a big difference.

As said the Linux equivalent would be to access hid devices through
/dev/hidraw* nodes. You can argue about this till you see blue, but claiming
that HID access under Linux and Windows is the same thing atm is simply not
true!

<snip lots more arguments about this>

Regards,

Hans

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to