For Samsung X360 I have prepared study to show what keys works, and what
keys do not work. And what are their scancodes, and how their work if
one will attach proper keycodes to them (with setkeycodes or HAL fdi).


---  Keys that do not work, because have no key-release events: ----

#fn Up     # brightness up
setkeycodes e008 225
# 225 + 8 = 233
# from xmodmap -pke
# keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp NoSymbol 
XF86MonBrightnessUp
# works, changes brightness, but no key-realese

#fn Down   # brightness down
setkeycodes e009 224
# 224 + 8 = 232
# from xmodmap -pke
# keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown NoSymbol 
XF86MonBrightnessDown
# works, changes brightness, but no key-realese


#fn F2     # battery symbol
setkeycodes e003 236
# 236 + 8 = 244
# from xmodmap -pke
# keycode 244 = XF86Battery NoSymbol XF86Battery NoSymbol XF86Battery
# works in Ubuntu, shows batery status, but no key-realese


#fn F4     # external monitor
setkeycodes e002 227
# 227 + 8 = 235
# from xmodmap -pke
# keycode 235 = XF86Display NoSymbol XF86Display NoSymbol XF86Display
# works in Ubuntu, but it changes monitors 5 times per second, constantly 
blinking, no key-realese

(I have no idea why I have to add 8 to all keycodes to match behaviour
with xmodmap? I found out it with reverse engineering.)


---  Keys that do not work, because I don't know what they are, possibly have 
key-release problems, etc: ----


#fn F5     # backlight on/off
setkeycodes e004 ???
# I don't now what xmodmap event to match to this scancode.
# May have key-release problems?


#fn F7     # first aid kit
setkeycodes e031 ???
# I don't now what xmodmap event to match to this scancode
# May have key-release problems?


#fn F8     # running man
setkeycodes e033 ???
# I don't now what xmodmap event to match to this scancode
# May have key-release problems?


#fn F9     # wifi sign
setkeycodes e006 ???
# does not work. No wifi LED change, wifi state does not change, card allways on
# I don't know how to turn off bluetooth also.
# It is energy consuming bug, and annoying.


# fn F12   # scroll lock
# looks like scroll lock, but does not turn the led on/off
# does not have scancode reported in dmesg


Keys that works out of the box in 9.04:
(maybe have no key-release problems? Or works differently)

#fn Right   # volume up
#fn Left    # volume down
#fn ESC     # suspend
#fn F6      # volume mute
#fn F10     # touchpad on/off
#fn F11     # numlock

#fn F3      # EURO sign
places some strange characters in terminal, xev says that it is a: 
Alt_L + sequence of press and release of KP_Insert, KP_End, KP_Down, KP_Up
in keycodes, they are:
64 + 90, 87, 88, 80


# To find out what are the scancodes I have monitored "dmesg | tail" after 
pressing a key.
# To see what scancodes or keycodes are pressed, I have used showkey, showkey -s
# other usefull tools are dumpkeys, dumpkeycodes and xmodmap, xmodmap -pk

-- 
samsung x360 fn-keys work incorrectly
https://bugs.launchpad.net/bugs/399911
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to