Comment 39 for bug 251665

Revision history for this message
ws (wstrepp) wrote :

Hi,

i have a Sony Vaio VGN-SR19XN, running Debian Lenny, and
had problems very similar to the problems of some of the posters above:
some function keys are working, such as Vol. up/down (Fn-F3/F4) or Mute (Fn-F2),
but some others dont work: Brightness up/down (Fn-F5/F6) or Hibernate (Fn-F12).
I examined all i could, using xev, starting acpid with "-l -d", listening to /dev/input/eventxy,
and so on, but did not find any sign of life of those keys.
Just before giving up, i found the following list in sony-laptop.c:

>/* SNC-only model map */
>static const struct dmi_system_id sony_nc_ids[]

Since in my DSDT there shows up only the SNC-device (SNY5001), and not this
SPIC-device (SNY6001), i added the following entry (without really knowing what im doing):
> {
> .ident = "Sony Vaio SR Series",
> .callback = sony_nc_C_enable,
> .driver_data = sony_C_events,
> .matches = {
> DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
> DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR"),
> },
> },

compiled the module, and now the keys work fine :-)
So this might be the solution for some others here having the same problems.