From: Paul Fox <pgf@laptop.org>
To: linux-hotplug@vger.kernel.org
Subject: keymap rule selection for non-DMI platforms
Date: Thu, 11 Aug 2011 18:23:40 +0000 [thread overview]
Message-ID: <3483.1313087020@foxharp.boston.ma.us> (raw)
hi --
OLPC's latest laptop (the 1.75 model) is ARM-based. this means the
current keymap rule in rules.d/95-keymap.rules:
ENV{DMI_VENDOR}="OLPC", ATTR{[dmi/id]product_name}="XO", \
RUN+="keymap $name olpc-xo"
won't trigger -- there's no DMI information.
any thoughts on how non-PC hardware should be identifying itself
to udev? are there other examples of how this might be done?
i'm sure we could come up with something, based on examining some
other sysfs attribute, or perhaps running a command which identifies
our laptop(s), but i suspect this issue has come up before.
paul
=---------------------
paul fox, pgf@laptop.org
next reply other threads:[~2011-08-11 18:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-11 18:23 Paul Fox [this message]
2011-08-16 18:54 ` keymap rule selection for non-DMI platforms Paul Fox
2011-08-16 19:34 ` Kay Sievers
2011-08-16 20:09 ` Daniel Drake
2011-08-16 20:30 ` Kay Sievers
2011-08-16 20:39 ` Daniel Drake
2011-08-16 20:49 ` Paul Fox
2011-08-16 21:47 ` Greg KH
2011-08-16 22:27 ` Kay Sievers
2011-08-16 22:34 ` Kay Sievers
2011-08-16 22:37 ` Kay Sievers
2011-08-16 22:54 ` Daniel Drake
2011-08-16 23:35 ` Prarit Bhargava
2011-08-17 2:09 ` Karl O. Pinc
2011-08-17 3:32 ` Paul Fox
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=3483.1313087020@foxharp.boston.ma.us \
--to=pgf@laptop.org \
--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;
as well as URLs for NNTP newsgroup(s).