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