Hi,
I have the aforementioned gyroscope sensor device handled by the
usbhid driver. I find that it uses a considerable amount of power
(relatively). When I look in powertop it shows a 40% use after a cold
boot, and after I awake from suspend-to-ram, it shows 100% usage at
around 700mw. That's roughly a tenth of the typical battery drain on
my laptop.
Is there any way I can try and diagnose this and
1. Find out what the typical power use should be?
2. How I can fix the 100% stuck power-usage on resume-from-suspend?
I'm on kernel 4.14.65.
Thanks!
Luciano
Bus 001 Device 003: ID 048d:8350 Integrated Technology Express, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x048d Integrated Technology Express, Inc.
idProduct 0x8350
bcdDevice 10.17
iManufacturer 1
iProduct 2
iSerial 0
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
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.12
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 2532
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 0x0040 1x 64 bytes
bInterval 1