[Bug 1072371] Re: Add special keys for Samsung Series 9 laptops

Piotr Plenik piotr.plenik at teamlab.pl
Tue Oct 30 09:48:41 UTC 2012


I have NP900X3C, and I don't see with special function keys in other
types (900X3B and 900X3A).

On fresh Ubuntu 12.10, i don't have key code event for 4 function keys
(i've checking using "/lib/udev/keymap -i input/event3").

I've created files:

# /lib/udev/keymaps/samsung-900x3c
0x97 kbdillumdown        # FN+F9 Keyboard backlight down
0x96 kbdillumup          # FN+F10 Keyboard backlight up
0xB3 silentmode          # FN+F11 Silentmode
0xD5 wlan                # FN+F12 WiFi

# /lib/udev/keymaps/force-release/samsung-900x3c
0x97 # FN+F9 Keyboard backlight down
0x96 # FN+F10 Keyboard backlight up
0xB3 # FN+F11 Silentmode
0xD5 # FN+F12 WiFi

and insert to files:
# /lib/udev/rules.d/95-keymap.rules
ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*900X3*", RUN+="keymap $name samsung-900x3c"

# /lib/udev/rules.d/95-keyboard-force-release.rules
ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*900X3*", RUN+="keyboard-force-release.sh $devpath samsung-900x3c"

After adding this and reboot, FUnctional eksy is recognized correcty by
udev.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1072371

Title:
  Add special keys for Samsung Series 9 laptops

Status in “udev” package in Ubuntu:
  Confirmed

Bug description:
  Please, add the following 3 lines to /lib/udev/keymaps/samsung-other
  ----------------------------
  0x96 kbdillumup # keyboard backlit up
  0x97 kbdillumdown # keyboard backlit down
  0xCE prog1 # system settings
  --------------------------------
  and the following 3 lines to /lib/udev/keymaps/force-release/samsung-other
  ----------------------------
  0x96 # keyboard backlit up
  0x97 # keyboard backlit down
  0xCE # system settings
  -----------------------------------------

  this change should fix support for special function keys for Samsung
  Series 9, 900X3A, 900X3B and 900X3C.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1072371/+subscriptions




More information about the foundations-bugs mailing list