<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><span style="color: rgb(85, 85, 85); font-family: Roboto, Arial,
Helvetica, sans-serif; font-size: 14.3px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
250); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">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. <br>
</span></p>
<p><span style="color: rgb(85, 85, 85); font-family: Roboto, Arial,
Helvetica, sans-serif; font-size: 14.3px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
250); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">Here is the
response of Raspberry 3b + to some commands.<br>
</span></p>
<p><span style="color: rgb(85, 85, 85); font-family: Roboto, Arial,
Helvetica, sans-serif; font-size: 14.3px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
250); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">pi@raspberrypi:~
$ lsusb<br>
Bus 001 Device 004: ID 0d9f:0004 Powercom Co., Ltd <br>
Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp. <br>
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB
2.0 Hub<br>
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB
2.0 Hub<br>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
<br>
pi@raspberrypi:~ $ lsusb -v<br>
<br>
Bus 001 Device 004: ID 0d9f:0004 Powercom Co., Ltd <br>
Couldn't open device, some information will be missing<br>
Device Descriptor:<br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 1.10<br>
bDeviceClass 0 (Defined at Interface level)<br>
bDeviceSubClass 0 <br>
bDeviceProtocol 0 <br>
bMaxPacketSize0 8<br>
idVendor 0x0d9f Powercom Co., Ltd<br>
idProduct 0x0004 <br>
bcdDevice 0.02<br>
iManufacturer 3 <br>
iProduct 1 <br>
iSerial 2 <br>
bNumConfigurations 1<br>
Configuration Descriptor:<br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 34<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0 <br>
bmAttributes 0xa0<br>
(Bus Powered)<br>
Remote Wakeup<br>
MaxPower 100mA<br>
Interface Descriptor:<br>
bLength 9<br>
bDescriptorType 4<br>
bInterfaceNumber 0<br>
bAlternateSetting 0<br>
bNumEndpoints 1<br>
bInterfaceClass 3 Human Interface Device<br>
bInterfaceSubClass 0 No Subclass<br>
bInterfaceProtocol 0 None<br>
iInterface 0 <br>
HID Device Descriptor:<br>
bLength 9<br>
bDescriptorType 33<br>
bcdHID 1.00<br>
bCountryCode 0 Not supported<br>
bNumDescriptors 1<br>
bDescriptorType 34 Report<br>
wDescriptorLength 996<br>
Report Descriptors: <br>
** UNAVAILABLE **<br>
Endpoint Descriptor:<br>
bLength 7<br>
bDescriptorType 5<br>
bEndpointAddress 0x81 EP 1 IN<br>
bmAttributes 3<br>
Transfer Type Interrupt<br>
Synch Type None<br>
Usage Type Data<br>
wMaxPacketSize 0x0008 1x 8 bytes<br>
bInterval 100<br>
<br>
pi@raspberrypi:~ $ sudo upsdrvctl start<br>
Network UPS Tools - UPS driver controller 2.7.4<br>
Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br>
USB communication driver 0.33<br>
No matching HID UPS found<br>
Driver failed to start (exit status=1)</span></p>
<p><span style="color: rgb(85, 85, 85); font-family: Roboto, Arial,
Helvetica, sans-serif; font-size: 14.3px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
250); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">And this is
in the "ups.conf" file<br>
</span></p>
<p><span style="color: rgb(85, 85, 85); font-family: Roboto, Arial,
Helvetica, sans-serif; font-size: 14.3px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(250, 250,
250); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">maxretry = 3<br>
[SPIDER]<br>
driver = usbhid-ups<br>
port = auto<br>
desc = "Powercom SPIDER"<br>
<br>
<br>
</span></p>
<pre class="moz-signature" cols="72">--
С уважением
Зайчиков В А</pre>
</body>
</html>