Magellan Linux

Diff of /tags/udev-162-r1/udev-persistent-input.rules.magellan

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1016 by niro, Tue Apr 6 23:46:22 2010 UTC revision 1088 by niro, Wed Aug 18 02:24:13 2010 UTC
# Line 1  Line 1 
1  # /etc/udev/rules/60-persistent-input.rules:  device naming rules for udev  # /etc/udev/rules/60-persistent-input.rules:  device naming rules for udev
2  # $Header: /root/magellan-cvs/src/udev/udev-persistent-input.rules.magellan,v 1.9 2010-04-06 23:46:22 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-persistent-input.rules.magellan,v 1.10 2010-08-18 02:24:12 niro Exp $
3  #  #
4  # There are a number of modifiers that are allowed to be used in some  # There are a number of modifiers that are allowed to be used in some
5  # of the different fields. They provide the following subsitutions:  # of the different fields. They provide the following subsitutions:
# Line 18  Line 18 
18  # file that can be run before this one.  # file that can be run before this one.
19  #  #
20    
21  ACTION!="add|change", GOTO="persistent_input_end"  ACTION=="remove", GOTO="persistent_input_end"
22  SUBSYSTEM!="input", GOTO="persistent_input_end"  SUBSYSTEM!="input", GOTO="persistent_input_end"
23  KERNEL=="input[0-9]*", GOTO="persistent_input_end"  KERNEL=="input[0-9]*", GOTO="persistent_input_end"
24    
# Line 45  SUBSYSTEMS=="usb", ENV{ID_BUS}=="?*", KE Line 45  SUBSYSTEMS=="usb", ENV{ID_BUS}=="?*", KE
45    SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-if$attr{bInterfaceNumber}"    SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-if$attr{bInterfaceNumber}"
46    
47  # by-path  # by-path
48  SUBSYSTEMS=="usb|platform", IMPORT{program}="path_id %p"  SUBSYSTEMS=="pci|usb|platform", IMPORT{program}="path_id %p"
49  ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{.INPUT_CLASS}"  ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{.INPUT_CLASS}"
50  ENV{ID_PATH}=="?*", KERNEL=="event*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{.INPUT_CLASS}"  ENV{ID_PATH}=="?*", KERNEL=="event*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{.INPUT_CLASS}"
51  # allow empty class for platform and usb devices; platform supports only a single interface that way  # allow empty class for platform and usb devices; platform supports only a single interface that way

Legend:
Removed from v.1016  
changed lines
  Added in v.1088