teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0044-hwdb-fix-ThinkPad-X-Tablet-special-keys.patch

923a60
From 61d5dff976f33ec7189eae58641c49088e166479 Mon Sep 17 00:00:00 2001
923a60
From: Lubomir Rintel <lkundrak@v3.sk>
923a60
Date: Wed, 18 Feb 2015 21:02:01 +0100
923a60
Subject: [PATCH] hwdb: fix ThinkPad X* Tablet special keys
923a60
923a60
ThinkPad tablet firmware has DMI product name and version reversed:
923a60
923a60
Handle 0x0001, DMI type 1, 27 bytes
923a60
System Information
923a60
        Manufacturer: LENOVO
923a60
        Product Name: 7762AS1
923a60
        Version: ThinkPad X61 Tablet
923a60
        Serial Number: LKZCDH2
923a60
        UUID: 6ADBC681-4FC9-11CB-844F-B47CB9210BE2
923a60
        Wake-up Type: Power Switch
923a60
        SKU Number: Not Specified
923a60
        Family: ThinkPad X61 Tablet
923a60
923a60
(cherry picked from commit 39addb81b660dd7af7d21be941d8de6497abbdbf)
923a60
---
923a60
 hwdb/60-keyboard.hwdb | 3 +--
923a60
 1 file changed, 1 insertion(+), 2 deletions(-)
923a60
923a60
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
923a60
index 1b7d87101a..2cb976923d 100644
923a60
--- a/hwdb/60-keyboard.hwdb
923a60
+++ b/hwdb/60-keyboard.hwdb
923a60
@@ -586,7 +586,6 @@ keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:pvr*
923a60
  KEYBOARD_KEY_f3=f21
923a60
 
923a60
 # Thinkpad X200_Tablet
923a60
-keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X2*Tablet*:pvr*
923a60
 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*
923a60
  KEYBOARD_KEY_5d=menu
923a60
  KEYBOARD_KEY_63=fn
923a60
@@ -596,7 +595,7 @@ keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*
923a60
  KEYBOARD_KEY_6c=direction                              # rotate screen
923a60
 
923a60
 # ThinkPad X6 Tablet
923a60
-keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X6*:pvr*
923a60
+keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet*
923a60
  KEYBOARD_KEY_6c=direction                              # rotate
923a60
  KEYBOARD_KEY_68=leftmeta                               # toolbox
923a60
  KEYBOARD_KEY_6b=esc                                    # escape