From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: udev: gpio-keys input driver should have class kbd
Date: Sun, 26 Apr 2009 19:54:58 +0000 [thread overview]
Message-ID: <20090426195457.GF32500@bongo.bofh.it> (raw)
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
Is this reasonable?
----- Forwarded message from Frans Pop <elendil@planet.nl> -----
From: Frans Pop <elendil@planet.nl>
To: udev@packages.debian.org
Subject: udev: gpio-keys input driver should have class kbd
clone 524505 -1
reassign -1 udev 0.140-1
retitle -1 udev: gpio-keys input driver should have class kbd
severity -1 wishlist
block 524505 by -1
thanks
With udev 0.140 (or rather: sometime after 0.125) we've lost the
persistent device symlink /dev/input/by-path/platform-gpio-keys-event-
due to the following change in 60-persistent-input.rules which no longer
allows an empty ID_CLASS:
-KERNEL=="event*", ENV{ID_PATH}=="?*", \
+KERNEL=="event*", ENV{ID_PATH}=="?*", ENV{ID_CLASS}=="?*", \
SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{ID_CLASS}"
This means that qcontrol in Debian unstable is now broken (see:
http://bugs.debian.org/524505).
It seems to me that the simplest solution is to let udev define a class
for gpio-keys (kbd seems most logical), for example with the following
change in 60-persistent-input.rules:
-DRIVERS=="atkbd", ENV{ID_CLASS}="kbd"
+DRIVERS=="atkbd|gpio-keys", ENV{ID_CLASS}="kbd"
We can then adjust qcontrol to use the new persistent device link.
If that change is acceptable, please also push it for udev upstream.
Thanks,
FJP
----- End forwarded message -----
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2009-04-26 19:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-26 19:54 Marco d'Itri [this message]
2009-04-27 1:28 ` udev: gpio-keys input driver should have class kbd Kay Sievers
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=20090426195457.GF32500@bongo.bofh.it \
--to=md@linux.it \
--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).