You are not logged in.

#1 2008-12-28 21:53:43

AdeBe
Member
From: Warsaw
Registered: 2008-12-28
Posts: 8

Function keys ( Fn ) not working [SOLVED]

Hi everyone!
I've got some problems with special keys on my Asus F3F laptop.
The only keys that are working flawlessly are the brightness ones. All other, including especially volume keys are not...
More interesting, they aren't even noticed by showkey or xev! But they work on latest Ubuntu.
I've got asus-laptop module loaded, acpid running, and no idea what to do...
The only thing that I noticed is, volume keys were working on openSUSE 11.0 (kernel .25) and stopped working on OS 11.1 (kernel .27) (but i didn't checked if they are seen by xev).
Am I missing something, or should I file a bug report suggesting regression?
P.S. On .28 there's also no change sad

EDIT: or maybe there is some other way to make it work, additional deamon or smth?

Last edited by AdeBe (2008-12-28 23:37:45)

Offline

#2 2008-12-28 22:46:21

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: Function keys ( Fn ) not working [SOLVED]

i don't know about asus, but on my thinkpad, the function keys are handled by acpid, which needs to be running.  they also need to have functions defined in /etc/acpi/handler.sh in order to do anything.  acpid comes with acpi_listen which will show you acpi events as they happen and help you write handlers for them.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#3 2008-12-28 23:16:27

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: Function keys ( Fn ) not working [SOLVED]

after pressing these keys, look at "dmesg |tail" to see if the keys are seen by the kernel, if so you can bind them with "setkeycodes" (there's a very good wiki article about the matter)

Last edited by john_schaf (2008-12-28 23:17:02)

Offline

#4 2008-12-28 23:37:14

AdeBe
Member
From: Warsaw
Registered: 2008-12-28
Posts: 8

Re: Function keys ( Fn ) not working [SOLVED]

kludge, your advice was perfect!
I've tried already with setkeycodes, but it didn't work. Now I understand why.

When I'll finish with this handlers.sh file, I'll try to update wiki.

EDIT: All that I had to do is unpack the debian acpi-support package into apropiate directories (mainly for scripts in /etc/acpi and for acpi_fakekey in /usr/bin). I think the best way would be just to put this package into AUR.

Last edited by AdeBe (2008-12-29 15:26:35)

Offline

#5 2008-12-28 23:42:33

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: Function keys ( Fn ) not working [SOLVED]

glad i can help!  i decided to check the wiki (you did that, right?), and found this page:

http://wiki.archlinux.org/index.php/HCL/Laptops/Asus

which mentions something called 'acpi4asus'.  no idea what that is, but it might be worth checking out.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

Board footer

Powered by FluxBB