[Nut-upsuser] UPS/NUT with openSUSE 13.1

Charles Lepple clepple at gmail.com
Tue Sep 8 22:52:59 UTC 2015


On Sep 8, 2015, at 4:48 PM, Rob Groner <rgroner at RTD.com> wrote:
> 
>   0.005927	Device matches
>   0.005940	failed to claim USB device: Device or resource busy
>   0.005954	failed to detach kernel driver from USB device: No such file or directory

Rob,

this is a bit of a tough one to track down.

The "Device or resource busy" message can either come from a kernel driver (usbhid, etc.) or from another userspace program. The simplest thing is to check for other copies of usbhid-ups (at the point when you run '<driver> -k', it is expected that most processes will have terminated).

If it isn't that, you may need to verify whether you are compiling against libusb-0.1.x, or libusb+libusb-compat. In theory, it shouldn't make any difference, but in practice, there might be subtle differences in error messages that could help narrow things down.

Also, what does 'dmesg' say around the time that you run the driver?

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list