[Nut-upsuser] NUT on Raspberry PI 3b+
Vladimir Zaitchikov
zaitchikk at gmail.com
Thu May 2 22:07:48 BST 2019
I was able to make NUT and my Powercom SPIDER UPS (USB port) work under
the Raspberry Pi Desktop (Debian). Everything works in VMware
Workstation 15 Player. But my Raspberry Pi 3b + (with raspbian) doesn’t
work with the same UPS, and with same NUT configuration. Raspberry sees
the UPS, but the driver does not cling.
Here is the response of Raspberry 3b + to some commands.
pi at raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 0d9f:0004 Powercom Co., Ltd
Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi at raspberrypi:~ $ lsusb -v
Bus 001 Device 004: ID 0d9f:0004 Powercom Co., Ltd
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0d9f Powercom Co., Ltd
idProduct 0x0004
bcdDevice 0.02
iManufacturer 3
iProduct 1
iSerial 2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 996
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 100
pi at raspberrypi:~ $ 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
No matching HID UPS found
Driver failed to start (exit status=1)
And this is in the "ups.conf" file
maxretry = 3
[SPIDER]
driver = usbhid-ups
port = auto
desc = "Powercom SPIDER"
--
С уважением
Зайчиков В А
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20190503/ad2e38ad/attachment.html>
More information about the Nut-upsuser
mailing list