coreboot-kgpe-d16/src/mainboard/lenovo/x1_carbon_gen1
dalao 56a25a98db mainboard/lenovo: Use the original hardware ids for keyboard/pointing
Currently coreboot is using the compatible ID PNP0303 for all keyboards
and PNP0F13 for all pointing devices, which causes some problems. On
Windows, the touchpad driver can't be automatically matched and
installed through Windows Update. On Linux, there are some strange
issues. So it's better to use the original hardware IDs for each model.
The hardware IDs for the following models can be found By searching for
dmesg logs on vendor BIOS:

T60: https://mail.gnome.org/archives/networkmanager-list/2012-January/msg00110.html
Keyboard: PNP0303 Pointing: IBM0057

R60: https://openbenchmarking.org/system/1202279-AR-COMPRESS715/Lenovo%20R60/dmesg
Keyboard: PNP0303 Pointing: IBM0057

X60: https://github.com/pavelmachek/missy/blob/master/db/notebook/lenovo/thinkpad/x60/pavel/2018.3648803539788/dmesg.out
Keyboard: PNP0303 Pointing: IBM3780

X200: https://ubuntuforums.org/showthread.php?t=1833248&page=2
Keyboard: LEN0010 Pointing: IBM3780

T400: https://github.com/heradon/libreboot-fork/blob/master/docs/future/dumps/logs-t400-bios2.02-ec1.01/dmesg.log
Keyboard: LEN0010 Pointing: IBM3780

T510: https://bbs.archlinux.org/viewtopic.php?id=120287
Keyboard: PNP0303 Pointing: LEN0015

T410: https://forum.ubuntuusers.de/topic/kein-sound-109/
Keyboard: PNP0303 Pointing: LEN0015

T420: https://linux-hardware.org/index.php?probe=e6a094ade5&log=dmesg
Keyboard: PNP0303 Pointing: LEN0015

T420s: https://bbs.archlinux.org/viewtopic.php?id=191510
Keyboard: PNP0303 Pointing: LEN0015

T520: https://bbs.archlinux.org/viewtopic.php?id=195636
Keyboard: PNP0303 Pointing: LEN0015

W520: https://linux-hardware.org/index.php?probe=9306cac54c&log=dmesg
Keyboard: PNP0303 Pointing: LEN0015

T430: https://github.com/farjump/fwtr/blob/master/lenovo/thinkpad-t430/2347ds2/lenovo/g1et73ww-2.09/fwts/20160218_174223/dmesg.log
Keyboard: PNP0303 Pointing: LEN0015

T430s: https://linux-hardware.org/index.php?probe=01545dc8fb&log=dmesg
Keyboard: PNP0303 Pointing: LEN0015

T530: https://forums.fedoraforum.org/showthread.php?316640-Fedora-27-High-CPU
Keyboard: LEN0071 Pointing: LEN0015

W530: https://bugs.freedesktop.org/attachment.cgi?id=115557
Keyboard: LEN0071 Pointing: LEN0015

L520: https://pastebin.com/U6MaBAY3
Keyboard: PNP0303 Pointing: LEN0017

X201: https://linux-hardware.org/index.php?probe=d7085ee4c8&log=dmesg.1
Keyboard: PNP0303 Pointing: LEN0018

X220: https://bbs.archlinux.org/viewtopic.php?id=237669
Keyboard: PNP0303 Pointing: LEN0020

X230: https://forums.bunsenlabs.org/viewtopic.php?id=2460
Keyboard: PNP0303 Pointing: LEN0020

X131e: https://linux-hardware.org/index.php?probe=d765880811&log=dmesg
Keyboard: MSF0001 Pointing: LEN0026

X1 Carbon Gen 1: https://bugzilla.kernel.org/show_bug.cgi?id=85851
Keyboard: LEN0071 Pointing: LEN0030

s230u: https://launchpadlibrarian.net/147231958/dmesg-reboot.txt
Keyboard: PTL0001 Pointing: LEN0031

T540p: https://linux-hardware.org/index.php?probe=da766a30bc&log=dmesg
Keyboard: LEN0071 Pointing: LEN0034

X240: https://linux-hardware.org/index.php?probe=fa7155b0e4&log=dmesg
Keyboard: LEN0071 Pointing: LEN0035

T440p: https://bugzilla.kernel.org/show_bug.cgi?id=91541
Keyboard: LEN0071 Pointing: LEN0036

T440s: https://bugzilla.kernel.org/show_bug.cgi?id=91541
Keyboard: LEN0071 Pointing: LEN0036

T450: https://gist.github.com/kzar/1c38630eb22e4bf5b976
Keyboard: LEN0071 Pointing: LEN200e

Others:
https://github.com/torvalds/linux/blob/master/drivers/input/mouse/synaptics.c

Test result: This can make Windows automatically install the Lenovo
touchpad driver. It also fixes the T440p touchpad issue.

Change-Id: Ifb635da99c5e05f987aaf4f172108d788dcc2932
Signed-off-by: dalao <dalao@tutanota.com>
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36371
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-04-14 09:50:10 +00:00
..
acpi mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
spd mainboard/[g-p]*: Remove copyright notices 2020-03-18 16:44:38 +00:00
acpi_tables.c mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
board_info.txt
cmos.default
cmos.layout mainboard/[g-p]*: Remove copyright notices 2020-03-18 16:44:38 +00:00
data.vbt
devicetree.cb drivers/intel/gma/acpi: Provide default definition for displays 2020-03-29 18:10:50 +00:00
dsdt.asl mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
early_init.c mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
gma-mainboard.ads mb/**/gma-mainboard.ads: Use SPDX for GPL-2.0-only 2020-03-20 09:36:06 +00:00
gpio.c mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
hda_verb.c mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
Kconfig mainboard/lenovo: Use the original hardware ids for keyboard/pointing 2020-04-14 09:50:10 +00:00
Kconfig.name
mainboard.c mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
Makefile.inc mainboard/[g-p]*: Remove copyright notices 2020-03-18 16:44:38 +00:00
smihandler.c mainboard/lenovo: Use SPDX for GPL-2.0-only files 2020-04-04 16:22:40 +00:00
vboot-ro-me_clean.fmd mb/lenovo: Add additional FMAPs for stripped ME 2020-04-14 09:48:55 +00:00
vboot-ro.fmd mb/lenovo/*: Add vboot RO FMAPs on 12MiB devices 2020-04-14 09:48:44 +00:00
vboot-rwab.fmd mb/lenovo/*: Add support for VBOOT on 12MiB devices 2020-03-06 07:54:53 +00:00