Build: FreeNAS-8.1-r7885-amd64
Platform AMD A4-3300 APU with Radeon(tm) HD Graphics
UPS: Powercom Black Knight Pro
So it seems that I have to set Port to /dev/ugen2.2
Done
Port : /dev/uhid0 - the same.
P.S. On the NUT page i found that there is 2 kind of Black Knight : serial and USB. I Have the USB one.
So I should use "usbhid-ups (experimental)" driver. Nonexperimental does not work for me
Sep 29 19:07:34 freenas freenas: Network UPS Tools - Generic HID driver 0.34 (2.4.1)
Sep 29 19:07:34 freenas freenas: USB communication driver 0.31
Sep 29 19:07:34 freenas freenas: No matching HID UPS found
Sep 29 19:07:34 freenas freenas: Driver failed to start (exit status=1)
Sep 29 19:07:34 freenas freenas: Network UPS Tools - UPS driver controller 2.4.1
Platform AMD A4-3300 APU with Radeon(tm) HD Graphics
UPS: Powercom Black Knight Pro
Code:
Sep 29 01:54:25 freenas kernel: ugen2.2: <POWERCOM Co.,LTD> at usbus2 (disconnected) Sep 29 01:54:25 freenas kernel: uhid0: at uhub2, port 2, addr 2 (disconnected) Sep 29 01:54:29 freenas kernel: ugen2.2: <POWERCOM Co.,LTD> at usbus2 Sep 29 01:54:29 freenas root: Unknown USB device: vendor 0x0d9f product 0x00a6 bus uhub2 Sep 29 01:54:30 freenas kernel: uhid0: <POWERCOM Co.,LTD product 0x00a6, class 0/0, rev 1.10/0.01, addr 2> on usbus2
So it seems that I have to set Port to /dev/ugen2.2
Done
Code:
Sep 29 01:54:51 freenas freenas[1928]: Executing: /bin/pgrep -F /var/db/nut/upsd.pid upsd Sep 29 01:54:56 freenas freenas[1928]: Executing: /usr/sbin/service ix-ups quietstart Sep 29 01:54:56 freenas freenas[1928]: Executing: /usr/sbin/service nut restart Sep 29 01:54:56 freenas freenas: nut not running? (check /var/db/nut/upsd.pid). Sep 29 01:54:56 freenas freenas: tcgetattr(/dev/ugen2.2): Inappropriate ioctl for device Sep 29 01:54:56 freenas freenas: Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1) Sep 29 01:54:56 freenas freenas: Driver failed to start (exit status=1) Sep 29 01:54:56 freenas freenas: Network UPS Tools - UPS driver controller 2.4.1
Port : /dev/uhid0 - the same.
P.S. On the NUT page i found that there is 2 kind of Black Knight : serial and USB. I Have the USB one.
So I should use "usbhid-ups (experimental)" driver. Nonexperimental does not work for me
Sep 29 19:07:34 freenas freenas: Network UPS Tools - Generic HID driver 0.34 (2.4.1)
Sep 29 19:07:34 freenas freenas: USB communication driver 0.31
Sep 29 19:07:34 freenas freenas: No matching HID UPS found
Sep 29 19:07:34 freenas freenas: Driver failed to start (exit status=1)
Sep 29 19:07:34 freenas freenas: Network UPS Tools - UPS driver controller 2.4.1