[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libusb-devel
Subject:    Re: [Libusb-devel] HID APIs, but mostly kernel driver management
From:       "Segher Boessenkool" <segher () kernel ! crashing ! org>
Date:       2011-01-31 2:37:21
Message-ID: 64558.94.211.195.167.1296441441.squirrel () gate ! crashing ! org
[Download RAW message or body]

>> As for kernel driver management in libusb, you can't remove it, but
>> perhaps
>> it should be deprecated...
>
> You can not remove it because many existing codes are using it. To
> deprecate it and to discourage the use may be a good idea. But
> sometimes backward compatibility trumps other things.
>
> The thing is how to replace the functionality? You can use
> udev rules to detach the kernel driver. How to dynamically
> detach/reattach the kernel driver using udev rules? Since
> with the udev rules to detach the kernel driver, you can
> not even get the original driver back by unplug and plug it
> back in.

The only reason to get rid of it is because other OSes do not
support it.  But that is fine; it should be documented though.


Segher


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Libusb-devel mailing list
Libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic