a4b143
From 3d2b4b62bfc73a38dce90be5cebdc924db42f63c Mon Sep 17 00:00:00 2001
a4b143
From: Martin Pitt <martinpitt@gnome.org>
a4b143
Date: Mon, 16 Sep 2013 14:25:44 -0500
a4b143
Subject: [PATCH] keymap: Add Samsung Series 5 [Ultra]
a4b143
a4b143
Also consolidate the wlan key into the "all Samsung" rule to avoid repetition.
a4b143
a4b143
Thanks to Mauro Carvalho Chehab!
a4b143
a4b143
https://bugzilla.redhat.com/show_bug.cgi?id=989103
a4b143
---
a4b143
 hwdb/60-keyboard.hwdb | 17 ++++++++++++-----
a4b143
 1 file changed, 12 insertions(+), 5 deletions(-)
a4b143
a4b143
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
a4b143
index 53e83ad..3862b4c 100644
a4b143
--- a/hwdb/60-keyboard.hwdb
a4b143
+++ b/hwdb/60-keyboard.hwdb
a4b143
@@ -882,6 +882,8 @@ keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*
a4b143
  KEYBOARD_KEY_b1=!prog2                                 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice)
a4b143
  KEYBOARD_KEY_b3=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
a4b143
  KEYBOARD_KEY_b4=!wlan                                  # Fn+F9 (X60P)
a4b143
+ KEYBOARD_KEY_c5=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
a4b143
+ KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 wlan/airplane switch
a4b143
  KEYBOARD_KEY_f7=!f22                                   # Fn+F10 Touchpad on
a4b143
  KEYBOARD_KEY_f9=!f23                                   # Fn+F10 Touchpad off
a4b143
 
a4b143
@@ -889,9 +891,18 @@ keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*
a4b143
 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*300E[457]*:pvr*
a4b143
 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*200E[45]*:pvr*
a4b143
  KEYBOARD_KEY_ce=!                                      # Fn+F1  launch control setting
a4b143
- KEYBOARD_KEY_d5=!                                      # Fn+F12 Wi-Fi toggle
a4b143
 
a4b143
 # Series 5
a4b143
+keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*530U*:pvr*
a4b143
+ KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
a4b143
+ KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
a4b143
+ KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off
a4b143
+
a4b143
+keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:pvr*
a4b143
+ KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
a4b143
+ KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
a4b143
+ KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off
a4b143
+
a4b143
 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
a4b143
  KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
a4b143
  KEYBOARD_KEY_a0=!mute                                  # Fn+F6 mute
a4b143
@@ -900,7 +911,6 @@ keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
a4b143
  KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
a4b143
  KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up
a4b143
  KEYBOARD_KEY_b3=!prog3                                 # Fn+F11 fan/cooling mode changer
a4b143
- KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 wlan/airplane switch
a4b143
 
a4b143
 # Series 9
a4b143
 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:pvr*
a4b143
@@ -936,9 +946,6 @@ keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
a4b143
 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:pvr*
a4b143
  KEYBOARD_KEY_ad=leftmeta
a4b143
 
a4b143
-keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn535U*:pvr*
a4b143
- KEYBOARD_KEY_d5=!wlan
a4b143
-
a4b143
 ###########################################################
a4b143
 # SONY
a4b143
 ###########################################################