[...]

> I see a lot of kernel warnings because there are two processes that
> access the device like this:
>   usbfs: process 19727 (usbhid-ups) did not claim interface 0 before use
>   usbfs: process 19862 (hald-addon-usbh) did not claim interface 0 before
> use
> My question: is this due to my kernel version, the version of my libusb
> (libusb-0.1.12-5.1), or do I need a more up-to-date version of
> drivers/libusb.c?

No, it is due to the fact that you can run either 'usbhid-ups' *or*
'hald-addon-usbhid-ups', but not concurrently. Apparently you missed the
'packaging' part in 'docs/nut-hal.txt' that mentions:

    "The HAL support in NUT must currently be packaged separatly (ie in a
     specific nut-hal package) and must conflict with the classic nut
     packages."

Both drivers will attempt to (re)claim the USB device but only one driver
can attach to the USB device at the same time.

Best regards, Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57


_______________________________________________
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to