From b4d5d4640abedb7cc629a36f34ee8cef8f56b512 Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Mar 10 2015 13:17:28 +0000 Subject: Buttons on Lenovo X6* tablets broken (#1198939) --- diff --git a/0027-hwdb-fix-ThinkPad-X-Tablet-special-keys.patch b/0027-hwdb-fix-ThinkPad-X-Tablet-special-keys.patch new file mode 100644 index 0000000..2db450f --- /dev/null +++ b/0027-hwdb-fix-ThinkPad-X-Tablet-special-keys.patch @@ -0,0 +1,45 @@ +From 39addb81b660dd7af7d21be941d8de6497abbdbf Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Wed, 18 Feb 2015 21:02:01 +0100 +Subject: [PATCH] hwdb: fix ThinkPad X* Tablet special keys + +ThinkPad tablet firmware has DMI product name and version reversed: + +Handle 0x0001, DMI type 1, 27 bytes +System Information + Manufacturer: LENOVO + Product Name: 7762AS1 + Version: ThinkPad X61 Tablet + Serial Number: LKZCDH2 + UUID: 6ADBC681-4FC9-11CB-844F-B47CB9210BE2 + Wake-up Type: Power Switch + SKU Number: Not Specified + Family: ThinkPad X61 Tablet +--- + hwdb/60-keyboard.hwdb | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb +index 1b7d871..2cb9769 100644 +--- a/hwdb/60-keyboard.hwdb ++++ b/hwdb/60-keyboard.hwdb +@@ -586,7 +586,6 @@ keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:pvr* + KEYBOARD_KEY_f3=f21 + + # Thinkpad X200_Tablet +-keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X2*Tablet*:pvr* + keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet* + KEYBOARD_KEY_5d=menu + KEYBOARD_KEY_63=fn +@@ -596,7 +595,7 @@ keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet* + KEYBOARD_KEY_6c=direction # rotate screen + + # ThinkPad X6 Tablet +-keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X6*:pvr* ++keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet* + KEYBOARD_KEY_6c=direction # rotate + KEYBOARD_KEY_68=leftmeta # toolbox + KEYBOARD_KEY_6b=esc # escape +-- +2.1.0 + diff --git a/systemd.spec b/systemd.spec index 7e0d957..8cf6ab1 100644 --- a/systemd.spec +++ b/systemd.spec @@ -13,7 +13,7 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 219 -Release: 8%{?gitcommit:.git%{gitcommit}}%{?dist} +Release: 9%{?gitcommit:.git%{gitcommit}}%{?dist} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: A System and Service Manager @@ -64,6 +64,7 @@ Patch0023: 0023-journal-fix-Inappropriate-ioctl-for-device-on-ext4.patch Patch0024: 0024-sd-daemon-replace-VLA-with-alloca-to-make-llvm-happy.patch Patch0025: 0025-tmpfiles-quietly-ignore-ACLs-on-unsupported-filesyst.patch Patch0026: 0026-shared-util-assume-ac-when-sys-class-power_supply-is.patch +Patch0027: 0027-hwdb-fix-ThinkPad-X-Tablet-special-keys.patch # kernel-install patch for grubby, drop if grubby is obsolete @@ -884,6 +885,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd /usr/lib/firewalld/services/* %changelog +* Tue Mar 10 2015 Jan Synáček - 219-9 +- Buttons on Lenovo X6* tablets broken (#1198939) + * Tue Mar 3 2015 Zbigniew Jędrzejewski-Szmek - 219-8 - Reworked device handling (#1195761) - ACL handling fixes (with a script in %%post)