From: Maxim Levitsky <maximlevitsky@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: keymap for acer aspire 5720
Date: Tue, 22 Sep 2009 00:50:32 +0000 [thread overview]
Message-ID: <1253580632.3535.21.camel@maxim-laptop> (raw)
Hi,
I have created a keymap for few missing keys on my notebook.
Here there are:
0x84 bluetooth # bluetooth module missing
0x92 media # acer arcade
0xD4 bluetooth # bluetooth on
0xD9 bluetooth # bluetooth off
0x84 is sent when bluetooth button is clicked, but in fact the module is
missing, as the can in my laptop.
However there is a 'hack' to make the EC think that bluetoth module is
enabled. Then pressing the button enables the blue led, and sends
0xD4/0xD9
For general information, the EC reg 0xBB control that behavier:
BB.0 WLAT - wireless enabled - toggles both led state and rfkill, reflects current hw state
BB.1 BTAT - bluetooth enabled - toggles that led, and probably toggles bluetooth rfkill
BB.2 WLEX - wireless present - if unset, button doesn't work, rfkill always enabled
BB.3 BTEX - bluetooth present, same as above, and here unset by default
My laptop model is 'Aspire 5720G', however dmidecode, shows just
Aspire 5720
Following udev rule works:
ENV{DMI_VENDOR}="Acer*", ATTR{[dmi/id]product_name}="Aspire 5720*", RUN+="keymap $name acer-aspire_5720g"
Best regards,
Maxim Levitsky
reply other threads:[~2009-09-22 0:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1253580632.3535.21.camel@maxim-laptop \
--to=maximlevitsky@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox