UPS report descriptor contains elements that hid-tools can't parse
From: upower/upower#30 (comment 2781)
Descriptor in question: hid-recorder.txt
udevadm output of created device:
P: /devices/virtual/misc/uhid/0003:0463:FFFF.0016
L: 0
E: DEVPATH=/devices/virtual/misc/uhid/0003:0463:FFFF.0016
E: SUBSYSTEM=hid
E: DRIVER=hid-generic
E: HID_ID=0003:00000463:0000FFFF
E: HID_NAME=MGE UPS SYSTEMS PROTECTIONCENTER
E: HID_PHYS=usb-0000:00:1a.0-1.1/input0
E: HID_UNIQ=
E: MODALIAS=hid:b0003g0001v00000463p0000FFFF
P: /devices/virtual/misc/uhid/0003:0463:FFFF.0016/hidraw/hidraw4
N: hidraw4
L: 0
E: DEVPATH=/devices/virtual/misc/uhid/0003:0463:FFFF.0016/hidraw/hidraw4
E: SUBSYSTEM=hidraw
E: DEVNAME=/dev/hidraw4
E: MAJOR=242
E: MINOR=4
P: /devices/virtual/misc/uhid/0003:0463:FFFF.0016
L: 0
E: DEVPATH=/devices/virtual/misc/uhid/0003:0463:FFFF.0016
E: SUBSYSTEM=hid
E: DRIVER=hid-generic
E: HID_ID=0003:00000463:0000FFFF
E: HID_NAME=MGE UPS SYSTEMS PROTECTIONCENTER
E: HID_PHYS=usb-0000:00:1a.0-1.1/input0
E: HID_UNIQ=
E: MODALIAS=hid:b0003g0001v00000463p0000FFFF
P: /devices/virtual/misc/uhid/0003:0463:FFFF.0016/hidraw/hidraw4
N: hidraw4
L: 0
E: DEVPATH=/devices/virtual/misc/uhid/0003:0463:FFFF.0016/hidraw/hidraw4
E: SUBSYSTEM=hidraw
E: DEVNAME=/dev/hidraw4
E: MAJOR=242
E: MINOR=4
Here, I would have expected the created device to have vendor and product IDs, which the upower rules would match (or could match, as I think that the upower rules need updating too).
Edited by Bastien Nocera