I installed a fresh Ubuntu 14.04 64bit on my 2 years old laptop (Fujitsu Lifebook PH521) it is an AMD E-450 powered laptop.
Everything is working right, except the "home" (fn+pgup) and "end" (fn+pgdn) button on the keyboard that is half working.
Right after logging in to desktop (unity), it only works ONCE for both keys.
For Example: I opened up a terminal with (Ctrl-Alt-t) then type something on the prompt. And then hit fn+pgup (home) and the cursor would jump to the beginning of the line. Then I hit fn+pgdn (end) and the cursor would jump to the end of the line. After that, I hit fn+pgup (home) again, and the cursor would not move anymore.
After spending 2 days googling and scouring the forums, I've tried these before asking this question on askubuntu.com:
run
xev
and the fn+pgup, fn+pgdn doesn't produce any event.run
showkey
as root, and the fn+pgup would produce press event with 102 code, but no release event. the fn+pgdown would produce press event with code 107, and no release event as well.Hit
Ctrl-Alt+F1
to open non-X console to test the key, and both fn+pgup and fn+pgdn works flawlessly there.Add hwdb.d config (
fujitsu-keyboard.hwdb
) to synthesize the release event for the fn+pgup and fn+pgdn in /etc/udev/hwdb.d/ with this content:# Lifebook PH521 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*LIFEBOOK*PH521*:pvr* KEYBOARD_KEY_66=!home KEYBOARD_KEY_6b=!end
then runudevadm hwdb --update
as root and rebooted.
Much thanks.