teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0028-hwdb-fix-ThinkPad-X-Tablet-special-keys.patch

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