richardphibel / rpms / systemd

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