Ubuntu On Sony Vaio FW Series

Tips & Tricks related to Sony Vaio FW series laptops

AV Mode media key patch for 9.10 (Karmic Koala)

with 6 comments

I have made a patch for latest sony-laptop module in 2.6.31 kernel to fix broken AV Mode key handling.

If you want to apply this patch please follow fourth step in Finally a brightness How To post but apply this new patch instead of old one.

From: Anton Veretenenko <anton@veretenenko.ru>
Subject: [PATCH] UBUNTU: sony-laptop: Sony Vaio FW series media keys: AV Mode key support broken

Bug: #502751

AV Mode media key support broken on sony-laptop kernel module.

Signed-off-by: Anton Veretenenko <anton@veretenenko.ru>
---
 drivers/platform/x86/sony-laptop.c |    2 ++
 1 file changed, 2 insertions(+)
--- /usr/src/linux-2.6.31/drivers/platform/x86/sony-laptop.c	2010-01-03 23:21:05.000000000 +0500
+++ drivers/platform/x86/sony-laptop.c	2010-01-04 03:32:20.000000000 +0500
@@ -868,6 +868,8 @@ static struct sony_nc_event sony_100_eve
 	{ 0x10, SONYPI_EVENT_ANYBUTTON_RELEASED },
 	{ 0x91, SONYPI_EVENT_PKEY_P2 },
 	{ 0x11, SONYPI_EVENT_ANYBUTTON_RELEASED },
+	{ 0xA1, SONYPI_EVENT_PKEY_P3 },
+	{ 0x21, SONYPI_EVENT_ANYBUTTON_RELEASED },
 	{ 0x81, SONYPI_EVENT_FNKEY_F1 },
 	{ 0x01, SONYPI_EVENT_FNKEY_RELEASED },
 	{ 0x82, SONYPI_EVENT_FNKEY_F2 },

Bugreport on lanuchpad.net.

Advertisements

Written by egaistek

January 22, 2010 at 14:29

Posted in Vaio

Tagged with , , , ,

6 Responses

Subscribe to comments with RSS.

  1. You have a in the patch that you probably do not want there 😉

    Maxim

    January 25, 2010 at 20:22

    • yea, thanks =)

      egaistek

      January 25, 2010 at 20:27

  2. Thanks, working fine on my FW-290. Will this patch be accepted into the kernel trunk soon?
    Having to repatch every time the kernel gets updated can get tiresome!

    Also note that the howto page refers to modules in ./drivers/misc but in Karmic this has changed to ./drivers/platform/x86/

    t-bon3

    February 11, 2010 at 10:32

  3. Thanks for the great site, BTW.

    I am just hoping that someone can translate this patch into a step-by-step for non computer geniuses such as myself. I would really appreciate it.

    aruba

    February 16, 2010 at 04:59

  4. This works on my VGN-FW373J

    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/546201/comments/33

    >>>>>

    Ugly but this makes me able to change brightness on VGN-FW41ZJ:
    echo 76 | sudo dd of=/proc/acpi/video/VGA/LCD/brightness

    To get allowed values, use:
    cat /proc/acpi/video/VGA/LCD/brightness

    Egg

    May 19, 2010 at 07:28

  5. Im wondering anyone got the zoom buttons working.

    Ru Sh

    May 22, 2010 at 19:01


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: