>could not detach kernel driver from interface 0: Operation not permitted

Does that system have something like udev, upower, devd or some such in
charge of assigning filesystem permissions to USB device nodes - should get
owned by NUT run-time user?

Alternatively, try adding `user=root` line to the driver config section.

Also, NUT v2.7.4 was popular for a few years too many, but now is a few
releases behind modernity. Is it an option for you to build a replacement
from github master branch there (if not packaged yet by vendor)? Note there
was an errata published after 2.8.1, with a one-line fix, so better take
the git master.

Jim


On Mon, Dec 4, 2023, 23:27 Olaf Lendt via Nut-upsuser <
nut-upsuser@alioth-lists.debian.net> wrote:

> Hello,
> I am try to get my "new" UPS running with NUT on my OpenMediaVault device
> but only receive error meassages on several configurations I try.
> Your support is really appreciated for getting it solved.
>
> Best Regards, Olaf
>
>
> *lsusb*
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 003: ID 09ae:3024 Tripp Lite OMNIVSX850
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> config#1 in OMV:
> driver = usbhid-ups
> #driver = tripplite_usb
> port = auto
> #vendorid = 09ae
> #productid=3024
>
> result:
>
> *upsdrvctl start*Network UPS Tools - UPS driver controller 2.7.4
> Network UPS Tools - Generic HID driver 0.41 (2.7.4)
> USB communication driver 0.33
> This TrippLite device (09ae:3024) is not (or perhaps not yet) supported
> by usbhid-ups. Please make sure you have an up-to-date version of NUT. If
> this does not fix the problem, try running the driver with the
> '-x productid=3024' option. Please report your results to the NUT user's
> mailing list <nut-upsu...@lists.alioth.debian.org>.
>
> No matching HID UPS found
> Driver failed to start (exit status=1)
>
> config#2 in OMV:
> driver = usbhid-ups
> #driver = tripplite_usb
> port = auto
> #vendorid = 09ae
> productid=3024
>
> result:
>
> *upsdrvctl start*Network UPS Tools - UPS driver controller 2.7.4
> Network UPS Tools - Generic HID driver 0.41 (2.7.4)
> USB communication driver 0.33
> Can't claim USB device [09ae:3024]: could not detach kernel driver from
> interface 0: Operation not permitted
> Driver failed to start (exit status=1)
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to