OpenBSD 6.1/amd64 nut-2.7.4p0 (from OpenBSD package) UPS: Tripp-Lite OMNI1500LCDT
I cannot get the driver for the UPS to load without error. Here are the commands, with the output, and the config files: ======================================================= # 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 No matching HID UPS found - check permissions on /dev/ugen* and /dev/usb* Driver failed to start (exit status=1) # ls -al /dev/usb* crw-rw---- 1 root wheel 61, 0 May 11 15:45 /dev/usb0 crw-rw---- 1 root wheel 61, 1 May 11 15:45 /dev/usb1 crw-rw---- 1 root wheel 61, 2 May 11 15:45 /dev/usb2 crw-rw---- 1 root wheel 61, 3 May 11 15:45 /dev/usb3 crw-rw---- 1 root wheel 61, 4 May 11 15:45 /dev/usb4 crw-rw---- 1 root wheel 61, 5 May 11 15:45 /dev/usb5 crw-rw---- 1 root wheel 61, 6 May 11 15:45 /dev/usb6 crw-rw---- 1 root wheel 61, 7 May 11 15:45 /dev/usb7 [/dev/ugen* has the same permissions as above] # grep _ups /etc/group wheel:*:0:root,_ups # upsdrvctl -D start Network UPS Tools - UPS driver controller 2.7.4 0.000000 Starting UPS: usb Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Using subdriver: TrippLite HID 0.82 libusb_get_interrupt: Function not implemented # upsdrvctl -DD start Network UPS Tools - UPS driver controller 2.7.4 0.000000 If you're not a NUT core developer, chances are that you're told to enable debugging to see why a driver isn't working for you. We're sorry for the confusion, but this is the 'upsdrvctl' wrapper, not the driver you're interested in. Below you'll find one or more lines starting with 'exec:' followed by an absolute path to the driver binary and some command line option. This is what the driver starts and you need to copy and paste that line and append the debug flags to that line (less the 'exec:' prefix). 0.000323 Starting UPS: usb 0.000360 1 remaining attempts 0.000378 exec: /usr/local/bin/usbhid-ups -a usb Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Duplicate driver instance detected! Terminating other driver! [about a 20 second delay] Using subdriver: TrippLite HID 0.82 libusb_get_interrupt: Function not implemented # /usr/local/bin/usbhid-ups -a usb Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Using subdriver: TrippLite HID 0.82 libusb_get_interrupt: Function not implemented # cat ups.conf # Network UPS Tools: example ups.conf [usb] driver = usbhid-ups port = auto desc = "Example USB UPS" # cat upsd.conf # Network UPS Tools: example upsd configuration file # cat upsd.users # Network UPS Tools: Example upsd.users [admin] password = mypass actions = SET instcmds = ALL ======================================================= If I run upsdrvctl with -D flags, it appears to loop. I can make available that extensive output, if needed. What should I try next? thanks. _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser