-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2021-04-14 at 19:14 -0500, J Leslie Turriff wrote:
On 2021-04-14 17:40:37 Carlos E. R. wrote:
|Hi, | |I have one UPS (with an almost dead battery) and I want to at least see it |with NUT. When I connect it, I see in the log:
|... | | |No change, doesn't seem to work at all.
I think that the usbhid-ups driver is the one you want, based on the message | 0003:0665:5161.0005: hiddev97,hidraw2: USB HID v1.00 Device [INNO TECH USB to Serial] on usb-0000:00:14.0-2.2/input0 in your log.
No, that's a red herring. These things do not "talk usb". Somebody designed this with an RS232 interface long ago. When computers stoped having serrial ports, they did not switch to USB; instead, they added a serial to USB converter. Thus the identification we get is that from the USB converter, NOT from the actual machine behind it. You have to talk with the serial port to find out what is there. Anyway, I tried "driver = usbhid-ups". Apr 15 11:30:33 Isengard systemd[1]: Starting Network UPS Tools - power device driver controller... Apr 15 11:30:33 Isengard upsdrvctl[28250]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) Apr 15 11:30:33 Isengard upsdrvctl[28250]: USB communication driver 0.33 Apr 15 11:30:33 Isengard upsdrvctl[28250]: No matching HID UPS found Apr 15 11:30:33 Isengard upsdrvctl[28250]: Driver failed to start (exit status=1) Apr 15 11:30:33 Isengard upsdrvctl[28250]: Network UPS Tools - UPS driver controller 2.7.4 Apr 15 11:30:33 Isengard systemd[1]: nut-driver.service: Control process exited, code=exited status=1 Apr 15 11:30:33 Isengard systemd[1]: Failed to start Network UPS Tools - power device driver controller. Apr 15 11:30:33 Isengard systemd[1]: nut-driver.service: Unit entered failed state. Apr 15 11:30:33 Isengard systemd[1]: nut-driver.service: Failed with result 'exit-code'. - -- Cheers, Carlos E. R. (from openSUSE 15.2 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYHgLgRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV5O4AnRtD2p2HJdSXytvBBT1b mdhLPm5yAJ4mUNPsE6UgXOxNpwxq7uxrqUVyYg== =CMWM -----END PGP SIGNATURE-----