aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/v2-onexplayer.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-10-18 20:22:01 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-10-18 20:22:01 +0200
commit8ebb3f2e42c7a924df906c87f677436cec979e71 (patch)
tree953c594f2c97288967b24d7f6c574dac4f7b8991 /SOURCES/v2-onexplayer.patch
parentd4a54e18ca707d4bf2ab7732fce591d598a7c15e (diff)
downloadkernel-fsync-8ebb3f2e42c7a924df906c87f677436cec979e71.tar.gz
kernel-fsync-8ebb3f2e42c7a924df906c87f677436cec979e71.zip
kernel 6.11.3
Diffstat (limited to 'SOURCES/v2-onexplayer.patch')
-rw-r--r--SOURCES/v2-onexplayer.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/SOURCES/v2-onexplayer.patch b/SOURCES/v2-onexplayer.patch
index f1a191e..8acdabb 100644
--- a/SOURCES/v2-onexplayer.patch
+++ b/SOURCES/v2-onexplayer.patch
@@ -25,15 +25,15 @@ diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index c9094a4f281e..455e2fd4cec3 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
-@@ -417,6 +417,8 @@ static const struct hid_device_id hid_battery_quirks[] = {
- HID_BATTERY_QUIRK_IGNORE },
+@@ -385,6 +385,8 @@
+ HID_BATTERY_QUIRK_AVOID_QUERY },
{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_CHROMEBOOK_TROGDOR_POMPOM),
HID_BATTERY_QUIRK_AVOID_QUERY },
+ { HID_I2C_DEVICE(USB_VENDOR_ID_NOVATEK, I2C_DEVICE_ID_ONEXPLAYER_X1),
+ HID_BATTERY_QUIRK_IGNORE },
- {}
- };
-
+ /*
+ * Elan I2C-HID touchscreens seem to all report a non present battery,
+ * set HID_BATTERY_QUIRK_IGNORE for all Elan I2C-HID devices.
--
2.46.2