-
-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Labels
USBservice/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/DebugGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Description
Hi all,
I tried to connect my new Eaton Ellipse Pro 1200 with the standard installation of Nut.
(UPS driver controller 2.7.4, Generic HID driver 0.41, USB communication driver 0.33) on a raspberry 4 (latest bullseye armhf version)
lsusb shows:
Bus 001 Device 004: ID 0463:ffff MGE UPS Systems UPS
The ups.conf is configured very simple:
[eaton1]
driver = usbhid-ups
port = auto
desc = "Eaton Ellipse Pro 1200"
vendorid = "0643"
productid = "FFFF"
serial = "xxxxxxxxxx"
The problem is (guessing) already somewhere in the mapping:
/usr/local/ups/bin $ sudo ./usbhid-ups -u root -DD -a eaton1
... .034188 [D2] Checking device 3 of 6 (0463/FFFF)
0.430337 [D2] - VendorID: 0463
0.430417 [D2] - ProductID: ffff
0.430480 [D2] - Manufacturer: EATON
0.430539 [D2] - Product: Ellipse PRO
0.430601 [D2] - Serial Number: G361M36084
0.430660 [D2] - Bus: 001
0.430719 [D2] - Device: unknown
0.430772 [D2] - Device release number: 0100
0.430825 [D2] Trying to match device
0.430883 [D2] match_function_subdriver (non-SHUT mode): matching a device...
0.431076 [D2] match_function_regex: failed match of VendorID: 463
0.431137 [D2] Device does not match - skipping
Looks like he tries to map the VendorID: 0463 against the VendorID 463 - which is not the same (from a string perspective).
And the output of upsdrvctl is:
pi@raspberrypi:/etc/nut $ 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)
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)
When I run the lsusb on the appropriate port I get the following:
pi@raspberrypi:~ $ sudo lsusb -D /dev/bus/usb/001/008
Device: ID 0463:ffff MGE UPS Systems UPS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0463 MGE UPS Systems
idProduct 0xffff UPS
bcdDevice 1.00
iManufacturer 1 EATON
iProduct 2 Ellipse PRO
iSerial 4 G361M36084
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 1145
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 20
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
Whats my mistake ?
Thanks Peter
Metadata
Metadata
Assignees
Labels
USBservice/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/DebugGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug