You are not logged in.

#1 2015-11-11 06:39:57

sumt
Member
Registered: 2015-09-22
Posts: 4

Asus eeePC 1215B trying to get fn+f7 to work

Hello!

I have Asus eeePC 1215B netbook. All fn keys work expect fn+f7 to turn off the display. xev reports nothing for it and showkey -s neither, but showkey -k shows keycode 431.

fn keys for this model are handled in module eeepc-wmi and it is loaded by default.

When I unload it the fn+f7 starts to work, the screen is turning off. Other fn keys stop working expect brightness up/down fn keys.

What could I do to get the fn+f7 key to work in eeepc-wmi?

Loaded modules for eeepc-wmi:

> sudo modprobe eeepc_wmi -v
insmod /lib/modules/4.2.5-1-ARCH/kernel/drivers/acpi/video.ko.gz use_native_backlight=0 brightness_switch_enabled=0 
insmod /lib/modules/4.2.5-1-ARCH/kernel/drivers/platform/x86/wmi.ko.gz 
insmod /lib/modules/4.2.5-1-ARCH/kernel/drivers/input/sparse-keymap.ko.gz 
insmod /lib/modules/4.2.5-1-ARCH/kernel/drivers/platform/x86/asus-wmi.ko.gz 
insmod /lib/modules/4.2.5-1-ARCH/kernel/drivers/platform/x86/eeepc-wmi.ko.gz 

Last edited by sumt (2015-11-11 07:28:19)

Offline

#2 2015-11-14 02:20:22

Awebb
Member
Registered: 2010-05-06
Posts: 6,311

Re: Asus eeePC 1215B trying to get fn+f7 to work

Have you iterated through the usual acpi_osi= kernel lines?

The 1215B and 1015PEM used to run like a charm until a kernel update in mid 2014. I have had trouble with the Fn keys since then. I'm sorry I can't be of more help, I don't have them anymore.

Offline

#3 2015-11-15 09:46:45

sumt
Member
Registered: 2015-09-22
Posts: 4

Re: Asus eeePC 1215B trying to get fn+f7 to work

Thank you for your reply! I did not find any difference between different acp_osi kernel parameters.

I think that the fn+7 (turn off screen) button is BIOS controlled, and the eeepc-wmi module doesn't take this into account for this model.

acpi_listen gives this output when pressing fn+f7:

$ acpi_listen 
 PNP0C14:00 000000d2 00000000

and showkey:

$ showkey -k
keycode 431 press
keycode 431 release

I have not yet learned how could I use the above information to make this fn+f7 to turn screen off.

Offline

#4 2015-11-15 10:29:53

Awebb
Member
Registered: 2010-05-06
Posts: 6,311

Re: Asus eeePC 1215B trying to get fn+f7 to work

See what kind of a story xev is telling you, maybe there already is a legal keycode you can bind a command to turn off the screen with xbindkeys or in the key bindings of your window manager.

Offline

#5 2015-11-16 07:15:53

sumt
Member
Registered: 2015-09-22
Posts: 4

Re: Asus eeePC 1215B trying to get fn+f7 to work

xev doesn't output anything when pressing fn+7. I contacted the maintainers of the eeepc-wmi module. I will wait for their response.

Offline

Board footer

Powered by FluxBB