Skip to content

Commit b009aa3

Browse files
VogtinatorJiri Kosina
authored andcommitted
HID: Add quirk to ignore the touchscreen battery on HP ENVY 15-eu0556ng
Like various other devices using similar hardware, this model reports a perpetually empty battery (0-1%). Join the others and apply HID_BATTERY_QUIRK_IGNORE. Signed-off-by: Fabian Vogt <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 8f02139 commit b009aa3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@
425425
#define I2C_DEVICE_ID_HP_SPECTRE_X360_13T_AW100 0x29F5
426426
#define I2C_DEVICE_ID_HP_SPECTRE_X360_14T_EA100_V1 0x2BED
427427
#define I2C_DEVICE_ID_HP_SPECTRE_X360_14T_EA100_V2 0x2BEE
428+
#define I2C_DEVICE_ID_HP_ENVY_X360_15_EU0556NG 0x2D02
428429

429430
#define USB_VENDOR_ID_ELECOM 0x056e
430431
#define USB_DEVICE_ID_ELECOM_BM084 0x0061

drivers/hid/hid-input.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ static const struct hid_device_id hid_battery_quirks[] = {
409409
HID_BATTERY_QUIRK_IGNORE },
410410
{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_HP_SPECTRE_X360_14T_EA100_V2),
411411
HID_BATTERY_QUIRK_IGNORE },
412+
{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_HP_ENVY_X360_15_EU0556NG),
413+
HID_BATTERY_QUIRK_IGNORE },
412414
{}
413415
};
414416

0 commit comments

Comments
 (0)