<div dir="auto"><div>><span style="font-size:12.8px">could not detach kernel driver from interface 0: Operation not permitted</span><br><br>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?</div><div dir="auto"><br></div><div dir="auto">Alternatively, try adding `user=root` line to the driver config section.</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Jim</div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Dec 4, 2023, 23:27 Olaf Lendt via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div>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.</div><div>Your support is really appreciated for getting it solved.</div><div><br></div><div>Best Regards, Olaf</div><div><br></div><div><br></div><div><i>lsusb</i><br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 003 Device 003: ID 09ae:3024 Tripp Lite OMNIVSX850 <br>Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br></div><div><br></div><div>config#1 in OMV:</div><div>driver = usbhid-ups<br>#driver = tripplite_usb<br>port = auto<br>#vendorid = 09ae<br>#productid=3024<br></div><div><br></div><div>result:</div><div><i>upsdrvctl start<br></i>Network UPS Tools - UPS driver controller 2.7.4<br>Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br>USB communication driver 0.33<br>This TrippLite device (09ae:3024) is not (or perhaps not yet) supported<br>by usbhid-ups. Please make sure you have an up-to-date version of NUT. If<br>this does not fix the problem, try running the driver with the<br>'-x productid=3024' option. Please report your results to the NUT user's<br>mailing list <<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank" rel="noreferrer">nut-upsuser@lists.alioth.debian.org</a>>.<br><br>No matching HID UPS found<br>Driver failed to start (exit status=1)<br></div><div><br></div><div><div>config#2 in OMV:</div><div>driver = usbhid-ups<br>#driver = tripplite_usb<br>port = auto<br>#vendorid = 09ae<br>productid=3024<br></div><div><br></div><div>result:</div></div><div><i>upsdrvctl start<br></i>Network UPS Tools - UPS driver controller 2.7.4<br>Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br>USB communication driver 0.33<br>Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted<br>Driver failed to start (exit status=1)<br></div></div>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div></div></div>