[Nut-upsdev] Re: [nut-commits] svn commit r801 - in

Charles Lepple clepple at gmail.com
Thu Feb 22 00:40:47 CET 2007


On 2/21/07, Alexander I. Gordeev <lasaine at lvk.cs.msu.su> wrote:
> We simply cannot determine whether the current device is supported or not having
> only vendorid and productid. There is a solution however. We don't need to claim
> the device to use 'get_string_simple' function, am I right?

You might not need to claim the device, but if a kernel driver (i.e.,
usbhid) has claimed it, you might get an error with get_string_simple.
Claiming a device is sort of like advisory locking, but the kernel has
precedence.

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list