diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-04-06 19:53:20 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-04-06 19:53:20 +0200 |
commit | 0809c264e9878cdd1c61d9fb0e077972bc596ef8 (patch) | |
tree | 323c616e0a99843f055d944e7601eec225ce9437 /etc/udev/rules.d/60-persistent-input.rules | |
parent | 019d6669076f52994cca199fbbae6eefbb96aeb8 (diff) |
default rules: add libata compat links
Diffstat (limited to 'etc/udev/rules.d/60-persistent-input.rules')
-rw-r--r-- | etc/udev/rules.d/60-persistent-input.rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/udev/rules.d/60-persistent-input.rules b/etc/udev/rules.d/60-persistent-input.rules index 4bc034ce1a..623eb7d24c 100644 --- a/etc/udev/rules.d/60-persistent-input.rules +++ b/etc/udev/rules.d/60-persistent-input.rules @@ -14,7 +14,8 @@ DRIVERS=="psmouse", ENV{ID_CLASS}="mouse" ATTRS{name}=="*dvb*|*DVB*|* IR *", ENV{ID_CLASS}="ir" ATTRS{modalias}=="input:*-*a[068],*|input:*-*a*,[68],*m*", ATTRS{modalias}!="input:*-*k*14A,*r*", ENV{ID_CLASS}="joystick" -ENV{ID_SERIAL}=="", ENV{ID_SERIAL}="noserial" +# fill empty serial number +ENV{ID_CLASS}=="?*", ENV{ID_SERIAL}=="", ENV{ID_SERIAL}="noserial" # by-id links KERNEL=="mouse*", ENV{ID_BUS}=="?*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_CLASS}" |