Comment 26 for bug 29987

Revision history for this message
Toufik (toufik2) wrote : Re: [sonypi] Not work Fn keys on Sony VAIO VGN-FS*

I confirm that this bug is still present in Gusty fresh install (tested also with kernel 2.6.23.1) on a Vaio VGN-FS315B

By the way, here are some strange behaviour I've seen:

Extract of dmesg:
...
[ 21.196000] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[ 21.196000] apm: overridden by ACPI.
[ 21.396000] sonypi: Sony Programmable I/O Controller Driver v1.26.
[ 21.400000] sonypi: please try the sony-laptop module instead and report failures, see also http://www.linux.it/~malattia/wiki/index.php/Sony_drivers
[ 21.400000] sonypi: detected type3 model, verbose = 0, fnkeyinit = off, camera = off, compat = off, mask = 0xffffffff, useinput = on, acpi = on
[ 21.400000] sonypi: enabled at irq=11, port1=0x1080, port2=0x1084
[ 21.400000] sonypi: device allocated minor is 63
[ 21.436000] input: Sony Vaio Jogdial as /class/input/input8
[ 21.480000] input: Sony Vaio Keys as /class/input/input9
[ 21.532000] sonypi command failed at /build/buildd/linux-source-2.6.22-2.6.22/drivers/char/sonypi.c : sonypi_call1 (line 652)
[ 21.580000] sonypi command failed at /build/buildd/linux-source-2.6.22-2.6.22/drivers/char/sonypi.c : sonypi_call2 (line 663)
[ 21.628000] sonypi command failed at /build/buildd/linux-source-2.6.22-2.6.22/drivers/char/sonypi.c : sonypi_call2 (line 665)
[ 21.676000] sonypi command failed at /build/buildd/linux-source-2.6.22-2.6.22/drivers/char/sonypi.c : sonypi_call1 (line 652)
[ 21.724000] sony-laptop: Sony Notebook Control Driver v0.5.
[ 21.724000] input: Sony Vaio Keys as /class/input/input10
[ 21.724000] input: Sony Vaio Jogdial as /class/input/input11
[ 21.932000] Failure registering capabilities with primary security module.
[ 24.832000] [drm] Initialized drm 1.1.0 20060810
[ 24.836000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 24.836000] [drm] Initialized i915 1.6.0 20060119 on minor 0
...

sonypi and sony-laptop are both loaded. However, a kernel message seems to tell that sonypi is deprecated in favour of sony-laptop. In fact they are both loaded via /etc/init.d/hotkey-setup. I suspect this is a bug since the new inputs (Sony Vaio Keys and Sony Vaio Jogdial) are created twice which might confuse xorg. Indeed, adding a new section in xorg.conf to capture the new inputs (as referenced in http://www.linux.it/~malattia/wiki/index.php/Sony-laptop ) makes xorg crash. If removing sonypi, xorg starts normally. Unfortunately, the FN keys don't work and pressing one of them results in a message in dmesg:

...
[12438.196000] atkbd.c: Unknown key pressed (translated set 2, code 0xf5 on isa0060/serio0).
[12438.196000] atkbd.c: Use 'setkeycodes e075 <keycode>' to make it known.
[12438.256000] atkbd.c: Unknown key released (translated set 2, code 0xf5 on isa0060/serio0).
[12438.256000] atkbd.c: Use 'setkeycodes e075 <keycode>' to make it known.
...

sony_acpi worked on my laptop (from dapper to feisty), as sony_laptop has replaced sony_acpi, this is a regression.