[Nut-upsuser] Trouble getting Roline/Powercom UPS recognized

Patrick M. Hausen pmh at hausen.com
Tue Jul 16 08:52:19 BST 2019


Hi all,

I’m new to NUT and have some trouble getting my new UPS to work.
Since the HCL listed Powercom UHID models as „green“ I thought buying
a Roline (German rebranded Powercom) model would be a good idea.

The OS is FreeBSD:

FreeBSD freenas-pmh.local 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+6aad246318c(HEAD): Mon Jun 24 17:25:47 UTC 2019     root at nemesis:/freenas-releng/freenas/_BE/objs/freenas-releng/freenas/_BE/os/sys/FreeNAS.amd64  amd64

This is the device:

ugen0.6: <POWERCOM Co.,LTD HID UPS Battery> at usbus0
uhid0 on uhub0
uhid0: <POWERCOM Co.,LTD HID UPS Battery, class 0/0, rev 1.10/0.02, addr 5> on usbus0

This is the driver version:

root at freenas-pmh[~]#  /usr/local/libexec/nut/usbhid-ups -V
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33

Came bundled with the FreeNAS installation.

ups.conf:

root at freenas-pmh[~]# cat /usr/local/etc/nut/ups.conf 
[roline]
    driver = usbhid-ups
    port = /dev/uhid0
    desc = “"

Debug output:

root at freenas-pmh[~]#  /usr/local/libexec/nut/usbhid-ups -DD -a roline
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
   0.000000	debug level is '2'
   0.000746	upsdrv_initups...
   0.001256	Checking device (0D9F/0004) (/dev/usb//dev/ugen0.6)
   0.193552	- VendorID: 0d9f
   0.193573	- ProductID: 0004
   0.193579	- Manufacturer: unknown
   0.193582	- Product: unknown
   0.193586	- Serial Number: unknown
   0.193589	- Bus: /dev/usb
   0.193592	- Device release number: 0002
   0.193598	Trying to match device
   0.193608	Device matches
   0.261466	Unable to get HID descriptor (Unknown error)
   0.261487	HID descriptor length 996
   0.328756	Unable to get Report descriptor: Input/output error
   0.328821	Checking device (05E3/0610) (/dev/usb//dev/ugen0.5)
   0.330192	- VendorID: 05e3
   0.330204	- ProductID: 0610
   0.330209	- Manufacturer: unknown
   0.330214	- Product: USB2.0 Hub
   0.330217	- Serial Number: unknown
   0.330221	- Bus: /dev/usb
   0.330224	- Device release number: 3298
   0.330229	Trying to match device
   0.330238	Device does not match - skipping
   0.330256	Checking device (0557/2419) (/dev/usb//dev/ugen0.4)
   0.330301	- VendorID: 0557
   0.330307	- ProductID: 2419
   0.330310	- Manufacturer: unknown
   0.330314	- Product: unknown
   0.330317	- Serial Number: unknown
   0.330321	- Bus: /dev/usb
   0.330324	- Device release number: 0100
   0.330327	Trying to match device
   0.330333	Device does not match - skipping
   0.330347	Checking device (0557/7000) (/dev/usb//dev/ugen0.3)
   0.330385	- VendorID: 0557
   0.330390	- ProductID: 7000
   0.330394	- Manufacturer: unknown
   0.330397	- Product: unknown
   0.330400	- Serial Number: unknown
   0.330404	- Bus: /dev/usb
   0.330407	- Device release number: 0000
   0.330411	Trying to match device
   0.330416	Device does not match - skipping
   0.330430	Checking device (05E3/0610) (/dev/usb//dev/ugen0.2)
   0.331621	- VendorID: 05e3
   0.331633	- ProductID: 0610
   0.331637	- Manufacturer: unknown
   0.331640	- Product: USB2.0 Hub
   0.331643	- Serial Number: unknown
   0.331646	- Bus: /dev/usb
   0.331650	- Device release number: 3298
   0.331653	Trying to match device
   0.331659	Device does not match - skipping
   0.331677	Checking device (0000/0000) (/dev/usb//dev/ugen0.1)
   0.331733	- VendorID: 0000
   0.331741	- ProductID: 0000
   0.331745	- Manufacturer: 0x8086
   0.331748	- Product: XHCI root HUB
   0.331752	- Serial Number: unknown
   0.331755	- Bus: /dev/usb
   0.331758	- Device release number: 0100
   0.331762	Trying to match device
   0.331767	Device does not match - skipping
   0.331780	No appropriate HID device found
   0.331789	No matching HID UPS found

I’m a bit puzzled by the fact that it probes all ugen devices when the
device to use (uhid0) is explicitly configured …

Any help greatly appreciated.

Thanks,
Patrick


More information about the Nut-upsuser mailing list