[Nut-upsdev] <APC> <Back-UPS 950> not supported by driver <usbhid-ups>
Carsten Burkhardt
c.burkhardt at b-c-s.de
Mon May 6 17:53:48 BST 2019
Hello Mathias,
maybe the driver is still running?
ps -aux|grep usbhid
nut 1905 0.1 0.0 17224 356 ? Ss 18:02 0:03 /lib/nut/usbhid-ups -a mge
pstree -p|grep usbhid
|-usbhid-ups(1905)
please try
/lib/nut/usbhid-ups -u nut -a USV -D
Grüße
Carsten
On 06.05.19 15:40, Mathias Passow wrote:
> Hi, I cant get it working.
> Here is my terminal output:
>
> root at debian-jessie-final:~# lsusb -d 051d:0002
> Bus 001 Device 010: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
>
> root at debian-jessie-final:~# ls -l /dev/bus/usb/001/010
> crw-rw-r-- 1 root nut 189, 9 Mai 6 15:35 /dev/bus/usb/001/010
>
> root at debian-jessie-final:~# sudo 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
> Can't claim USB device [051d:0002]: could not detach kernel driver from interface 0: No route to host
> Driver failed to start (exit status=1)
>
> Any help for me?
>
> Kind regards
> Mathias Passow
>
> Am 6. Mai 2019 um 15:07 schrieb Charles Lepple <clepple at gmail.com>:
>
>> On May 2, 2019, at 4:08 PM, Mathias Passow wrote:
>>>
>>> Hi, the following UPS isnt supported by the driver „usbhid-ups“.
>>>
>>> Manufacturer: APC
>>> Model: Back-UPS 950 (https://www.apc.com/shop/de/de/products/APC-BACK-UPS-950VA-230V-AVR-Schuko-Sockets/P-BX950U-GR)
>>>
>>> Config:
>>> [USV]
>>> driver = usbhid-ups
>>> port = auto
>>> desc = "USV"
>>> …
>>>
>>> MODE=standalone
>>>
>>> Terminal:
>>> root at debian-jessie-final:~# sudo upsd -u root
>>> Network UPS Tools upsd 2.7.4
>>> fopen /var/run/nut/upsd.pid: No such file or directory
>>> listening on 127.0.0.1 port 3493
>>> listening on ::1 port 3493
>>> Can't connect to UPS [USV] (usbhid-ups-USV): No such file or directory
>>
>> "upsd" is just one of several components of NUT. The "No such file or directory" refers to the Unix domain socket that the NUT driver creates. The nut-server init script in the Debian package will start the driver, upsd, and upsmon. (You also don't need the "-u root" flag if the /dev node is already in the NUT group.) Please try again and let us know how it works (051d:0002 devices should be supported by NUT).
>>
>> Thanks for providing the Linux distribution and NUT version info.
>
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5528 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20190506/f0333d0a/attachment.bin>
More information about the Nut-upsdev
mailing list