|
Zbigniew Jędrzejewski-Szmek |
794d16 |
From 6381c0c4adc2d637ad53dd81cfeb73d7b4a2cbcb Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
From: Martin Pitt <martinpitt@gnome.org>
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
Date: Wed, 9 Oct 2013 16:05:15 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
Subject: [PATCH] keymap: Fix Samsung 900X[34]C
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
It appears that it's not really the 900 vs. 940 or the X3 vs X4, but the
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
A/B/C/D suffix after that which makes the difference between the keymaps. On a
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
NP900X3C-A04RU you get
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
MODALIAS=dmi:bvn*:bvr*:bd*:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X4C/900X4D:*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
So change the matches to use AB vs. CDG as the differentiator.
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
Thanks to Anatoly Markov for reporting and testing!
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
hwdb/60-keyboard.hwdb | 3 ++-
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
index 20d398f..b497f92 100644
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
--- a/hwdb/60-keyboard.hwdb
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
+++ b/hwdb/60-keyboard.hwdb
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
@@ -904,6 +904,7 @@ keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
KEYBOARD_KEY_a9=! # Fn Lock - Function lock off
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
+keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][CDG]*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
KEYBOARD_KEY_a0=!mute # Fn+F6 mute
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
@@ -915,7 +916,7 @@ keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
# Series 9
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
-keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34]*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
+keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][AB]*:pvr*
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
KEYBOARD_KEY_ce=! # Fn+F8 keyboard backlight up
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
KEYBOARD_KEY_8d=! # Fn+F7 keyboard backlight down
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
KEYBOARD_KEY_96=! # Fn+F1 performance mode (?)
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
--
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
1.8.4.652.g0d6e0ce
|
|
Zbigniew Jędrzejewski-Szmek |
794d16 |
|