* create persistent links for PCI input devices
@ 2010-03-14 11:12 Marco d'Itri
0 siblings, 0 replies; only message in thread
From: Marco d'Itri @ 2010-03-14 11:12 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
This is needed to create links for e.g. the IR receivers of PCI DVB
cards.
--
ciao,
Marco
[-- Attachment #2: pci-persistent-input.diff --]
[-- Type: text/x-diff, Size: 755 bytes --]
--- rules/rules.d/60-persistent-input.rules~ 2009-12-03 13:45:03.000000000 +0100
+++ rules/rules.d/60-persistent-input.rules 2010-03-14 12:03:22.725004917 +0100
@@ -27,7 +27,7 @@
SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-if$attr{bInterfaceNumber}"
# by-path
-SUBSYSTEMS=="usb|platform", IMPORT{program}="path_id %p"
+SUBSYSTEMS=="pci|usb|platform", IMPORT{program}="path_id %p"
ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{.INPUT_CLASS}"
ENV{ID_PATH}=="?*", KERNEL=="event*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{.INPUT_CLASS}"
# allow empty class for platform and usb devices; platform supports only a single interface that way
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-14 11:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-14 11:12 create persistent links for PCI input devices Marco d'Itri
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).