Magellan Linux

Diff of /tags/udev-166-r2/udev-persistent-input.rules.magellan

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

revision 717 by niro, Mon Dec 22 20:31:37 2008 UTC revision 760 by niro, Fri Apr 24 14:19:13 2009 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.5 2008-12-22 20:31:37 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-persistent-input.rules.magellan,v 1.6 2009-04-24 14:19:13 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 23  SUBSYSTEM!="input", GOTO="persistent_inp Line 23  SUBSYSTEM!="input", GOTO="persistent_inp
23  KERNEL=="input[0-9]*", GOTO="persistent_input_end"  KERNEL=="input[0-9]*", GOTO="persistent_input_end"
24    
25  # usb devices  # usb devices
26  SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export"  SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export %p"
27  SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01", ENV{ID_CLASS}="kbd"  SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01", ENV{ID_CLASS}="kbd"
28  SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02", ENV{ID_CLASS}="mouse"  SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02", ENV{ID_CLASS}="mouse"
29    
# Line 44  KERNEL=="event*", ENV{ID_BUS}=="?*", ENV Line 44  KERNEL=="event*", ENV{ID_BUS}=="?*", ENV
44    
45  # by-path  # by-path
46  IMPORT{program}="path_id %p"  IMPORT{program}="path_id %p"
47  ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"  ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"
48  ENV{ID_PATH}=="?*", KERNEL=="event*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{ID_CLASS}"  ENV{ID_PATH}=="?*", KERNEL=="event*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{ID_CLASS}"
49    
50  LABEL="persistent_input_end"  LABEL="persistent_input_end"
51    

Legend:
Removed from v.717  
changed lines
  Added in v.760