naccyde / rpms / systemd

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