All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Pitt <martin.pitt@ubuntu.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Samsung 90X3A Fn Keys
Date: Tue, 18 Oct 2011 04:48:39 +0000	[thread overview]
Message-ID: <20111018044839.GB2842@piware.de> (raw)
In-Reply-To: <CAD6YvxT8M6mR-2HuoetQ9BnowJgVSG2YXBRFhg-t1dAoR9TAyA@mail.gmail.com>

Hello Ian,

Ian Coleman [2011-10-17 15:10 +1100]:
> I am trying to get the Fn+F7 and Fn+F8 keys working on my Samsung
> laptop, model 90X3A. These map to 'keyboard illumination down' and
> 'keyboard illumination up', which sets the brightness of the LEDs
> behind the keyboard.

Thanks for the data. I'll commit this to udev as soon as I get write
permissions back.

> I have managed to get the scan code (0x96 and 0x97) to respond with
> the correct key code (kbdillumup and kbdillumdown) when I run
> /lib/udev/keymap -i input/event4
> 
> However the keyboard backlight level still does not change when these
> buttons are pressed.

I can't test these myself as I don't have an illuminated keyboard, but
gnome-settings-daemon's "media-keys" plugin has code to react to
these:

  http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/media-keys/gsd-media-keys-manager.c#n1549

Can you please ensure that X.org actually knows about these? Please
run "killall gnome-settings-daemon", then "xev", move the pointer into
the white window and press Fn+F7/F8. Do you see keyboard events for
XF86KbdBrightnessUp/XF86KbdBrightnessDown in the terminal?

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

  parent reply	other threads:[~2011-10-18  4:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17  4:10 Samsung 90X3A Fn Keys Ian Coleman
2011-10-17 18:00 ` Greg KH
2011-10-17 18:55 ` Victor Engmark
2011-10-17 18:59 ` Greg KH
2011-10-18  4:41 ` Martin Pitt
2011-10-18  4:48 ` Martin Pitt [this message]
2011-10-18  7:26 ` Victor Engmark
2011-10-18  7:41 ` Victor Engmark
2011-10-18  7:48 ` Ian Coleman
2011-10-18 14:12 ` Greg KH
2011-10-24 17:20 ` Tomasz Chmielewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111018044839.GB2842@piware.de \
    --to=martin.pitt@ubuntu.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.