You are not logged in.

#1 2008-08-02 10:30:01

gyo
Member
From: France
Registered: 2007-04-14
Posts: 19

[SONY] Fn keys on Vaio PCG-K115B (Solved)

Hi,

I own a Sony VAIO PCG-K115B, almost everything works but Fn keys (aka hotkeys).
I use sony-laptop module to make them work and it reports me that it uses 2 input devices :

# modprobe sony-laptop debug=1
sony-laptop: Sony Notebook Control Driver v0.6.
sony-laptop: method: name: GBRT, args 0
sony-laptop: method: name: SBRT, args 1
sony-laptop: method: name: GPBR, args 0
sony-laptop: method: name: SPBR, args 1
sony-laptop: method: name: GCMI, args 1
sony-laptop: method: name: SCMI, args 1
sony-laptop: method: name: CSXB, args 1
sony-laptop: method: name: STCS, args 1
sony-laptop: method: name: GHKE, args 0
input: Sony Vaio Keys as /class/input/input15
input: Sony Vaio Jogdial as /class/input/input16
sony-laptop: Found brightness_default getter: GPBR
sony-laptop: Found brightness_default setter: SPBR
sony-laptop: Found fnkey getter: GHKE
sony-laptop: Found CMI getter: GCMI
sony-laptop: Found CMI setter: SCMI

As you can see hotkeys are attached to input15 and input15 is mapped to event6 device (ls /sys/class/input/input15/ tells me)

Then I want to look if hotkeys are handled, 2 solutions :

# cat /dev/input/event6

or

# cat /proc/acpi/event

Nothing happens, when I hit any hotkeys.

Here what reports kernel log :

Aug  2 12:01:13 vagyo atkbd.c: Unknown key pressed (translated set 2, code 0xf7 on isa0060/serio0).
Aug  2 12:01:13 vagyo atkbd.c: Use 'setkeycodes e077 <keycode>' to make it known.
Aug  2 12:01:13 vagyo atkbd.c: Unknown key released (translated set 2, code 0xf7 on isa0060/serio0).
Aug  2 12:01:13 vagyo atkbd.c: Use 'setkeycodes e077 <keycode>' to make it known.
Aug  2 12:01:13 vagyo atkbd.c: Unknown key pressed (translated set 2, code 0xf7 on isa0060/serio0).
Aug  2 12:01:13 vagyo atkbd.c: Use 'setkeycodes e077 <keycode>' to make it known.
Aug  2 12:01:14 vagyo atkbd.c: Unknown key released (translated set 2, code 0xf7 on isa0060/serio0).

The strangest thing, is that I've got the fnkey  file in /sys/devices/platform/sony-laptop/ and when I press some hotkeys value changes into this file :

# ls /sys/devices/platform/sony-laptop/
CMI                 driver/             power/              
brightness_default  fnkey               subsystem/          
bus/                modalias            uevent

(Changing LCD brightness works via echo into the /sys/class/backlight/sony/brightness)

So, what the matter?
Please help.

Last edited by gyo (2008-08-16 13:23:24)

Offline

#2 2008-08-15 12:23:24

gyo
Member
From: France
Registered: 2007-04-14
Posts: 19

Re: [SONY] Fn keys on Vaio PCG-K115B (Solved)

Up?

Offline

#3 2008-08-16 13:22:50

gyo
Member
From: France
Registered: 2007-04-14
Posts: 19

Re: [SONY] Fn keys on Vaio PCG-K115B (Solved)

I get it to work finally.
I had to use the tools fsfn that ones can found on AUR as fsfn-svn (and install it with yaourt)…

Offline

Board footer

Powered by FluxBB