Re: ioctl for HID Power devices (UPS) always returning 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 30/09/18 à 13:59, Laurent Bigonville a écrit :
Hello,

For quite some time, upower is not properly displaying the information from my Eaton UPS, looking at this it seems that the kernel is not returning the correct information.

OK, the issue comes from 67ddbb3e6568fb1820b2cc45b00c50702b114801 (adding HID_QUIRK_NOGET for these devices, which I'm partially responsible of as I was seeing a 10s delay back then)

If I revert the commit, I can see the values as expected, but I still see a delay of 3 sec between the moment the USB device is seen by the kernel and the HID driver is initialized:

[  343.392860] usb 6-1: new low-speed USB device number 3 using uhci_hcd
[  345.456954] usb 6-1: New USB device found, idVendor=0463, idProduct=ffff, bcdDevice= 1.00
[  345.456958] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[  345.456960] usb 6-1: Product: Ellipse ECO
[  345.456963] usb 6-1: Manufacturer: EATON
[  345.456965] usb 6-1: SerialNumber: 000000000
[  348.782970] hid-generic 0003:0463:FFFF.000A: hiddev4,hidraw6: USB HID v10.10 Device [EATON Ellipse ECO] on usb-0000:00:1d.0-1/input0

An idea what should be done here?




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux