<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Samsung 700G series keyboard is not matched by keymap rules"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72311">72311</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Samsung 700G series keyboard is not matched by keymap rules
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dpisklov@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=90226" name="attach_90226" title="Patch for Samsung 700G Fn keys mapping">attachment 90226</a> <a href="attachment.cgi?id=90226&action=edit" title="Patch for Samsung 700G Fn keys mapping">[details]</a></span>
Patch for Samsung 700G Fn keys mapping
I'm using udev-208 on Gentoo. I found that some of my Fn keys are not working,
namely - keyboard backlit up/down, fan control and settings.
$ cat /sys/class/dmi/id/product_name
700G7C
After some googling I found that I need to look into this file:
/lib/udev/hwdb.d/60-keyboard.hwdb
I found plenty of Samsung models in there, but not mine. I actually managed to
add my model by changing this:
# Series 5
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
KEYBOARD_KEY_a0=!mute # Fn+F6 mute
KEYBOARD_KEY_ae=!volumedown # Fn+F7
KEYBOARD_KEY_b0=!volumeup # Fn+F8
KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard
backlight down
KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard
backlight up
KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling
mode changer
KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane
switch
to that:
# Series 5
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700G*:pvr*
KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
KEYBOARD_KEY_a0=!mute # Fn+F6 mute
KEYBOARD_KEY_ae=!volumedown # Fn+F7
KEYBOARD_KEY_b0=!volumeup # Fn+F8
KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard
backlight down
KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard
backlight up
KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling
mode changer
KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane
switch
So first thing is - can you add this line in the repo?
Second - "Series 5" comment is indeed misleading for 700XXX series laptops...
Third thing:
few lines down in the file, there's a block:
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
KEYBOARD_KEY_ba=ejectcd
KEYBOARD_KEY_96=keyboardbrightnessup
KEYBOARD_KEY_97=keyboardbrightnessdown
Apparently, this simply doesn't work, at least 2 last lines, as (it seems)
keyboardbrightnessup/down is not correct key. I tried changing the blocks above
from kbdillumdown/up to keyboardbrightnessdown/up and found that udev simply
ignores those rules and doesn't apply these codes. So I guess this block can be
removed altogether to avoid confusion.
PS I now got my keys recognized by X correctly as
XF86KbdBrightnessUp/XF86KbdBrightnessDown but they are not doing anything - I
wonder if someone happens to know how to fix that?..</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>