]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
HID: i2c-hid: override HID descriptors for certain devices
authorJulian Sax <jsbc@gmx.de>
Wed, 19 Sep 2018 09:46:23 +0000 (11:46 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit10705ddeb7c20ccd90d08c281e5a9354b5b8c263
tree535687775863375c586358dde1340d57932d04d9
parente4161522693b18d89a037a2dee9c10b28c30bdfb
HID: i2c-hid: override HID descriptors for certain devices

BugLink: https://bugs.launchpad.net/bugs/1838349
[ Upstream commit 9ee3e06610fdb8a601cde59c92089fb6c1deb4aa ]

A particular touchpad (SIPODEV SP1064) refuses to supply the HID
descriptors. This patch provides the framework for overriding these
descriptors based on DMI data. It also includes the descriptors for
said touchpad, which were extracted by listening to the traffic of the
windows filter driver, as well as the DMI data for the laptops known
to use this device.

Relevant Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1526312

Cc: Hans de Goede <hdegoede@redhat.com>
Reported-and-tested-by: ahormann@gmx.net
Reported-and-tested-by: Bruno Jesus <bruno.fl.jesus@gmail.com>
Reported-and-tested-by: Dietrich <enaut.w@googlemail.com>
Reported-and-tested-by: kloxdami@yahoo.com
Signed-off-by: Julian Sax <jsbc@gmx.de>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/hid/i2c-hid/Makefile
drivers/hid/i2c-hid/i2c-hid-core.c [new file with mode: 0644]
drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c [new file with mode: 0644]
drivers/hid/i2c-hid/i2c-hid.c [deleted file]
drivers/hid/i2c-hid/i2c-hid.h [new file with mode: 0644]