diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-02-26 17:05:58 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-02-26 17:05:58 +0100 |
commit | 7e827bcde81cc702f232a53d84506cf065274ded (patch) | |
tree | 933031d9fe7b0144dad9be82ecd373ecf6ee14dd /rules | |
parent | 45a1dbba490a6ccb4fffb0fe1286c7afedeb25d9 (diff) |
usb_id: add ID_USB_INTERFACES=:0e0100:0e0200:010100:010200:
Diffstat (limited to 'rules')
-rw-r--r-- | rules/rules.d/60-persistent-input.rules | 2 | ||||
-rw-r--r-- | rules/rules.d/60-persistent-serial.rules | 2 | ||||
-rw-r--r-- | rules/rules.d/60-persistent-v4l.rules | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/rules/rules.d/60-persistent-input.rules b/rules/rules.d/60-persistent-input.rules index 7a4b23c630..fff766fb1c 100644 --- a/rules/rules.d/60-persistent-input.rules +++ b/rules/rules.d/60-persistent-input.rules @@ -5,7 +5,7 @@ SUBSYSTEM!="input", GOTO="persistent_input_end" KERNEL=="input[0-9]*", GOTO="persistent_input_end" # usb devices -SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export" +SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export %p" SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01", ENV{ID_CLASS}="kbd" SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02", ENV{ID_CLASS}="mouse" diff --git a/rules/rules.d/60-persistent-serial.rules b/rules/rules.d/60-persistent-serial.rules index df10606e07..6d09506dec 100644 --- a/rules/rules.d/60-persistent-serial.rules +++ b/rules/rules.d/60-persistent-serial.rules @@ -10,7 +10,7 @@ ENV{ID_PORT}=="", GOTO="persistent_serial_end" IMPORT="path_id" ENV{ID_PATH}=="?*", SYMLINK+="serial/by-path/$env{ID_PATH}-port$env{ID_PORT}" -IMPORT="usb_id --export" +IMPORT="usb_id --export %p" ENV{ID_SERIAL}=="", GOTO="persistent_serial_end" SUBSYSTEMS=="usb", ENV{ID_IFACE}="$attr{bInterfaceNumber}" ENV{ID_IFACE}=="", GOTO="persistent_serial_end" diff --git a/rules/rules.d/60-persistent-v4l.rules b/rules/rules.d/60-persistent-v4l.rules index fb961b79e0..8415cd059b 100644 --- a/rules/rules.d/60-persistent-v4l.rules +++ b/rules/rules.d/60-persistent-v4l.rules @@ -3,7 +3,7 @@ ACTION!="add|change", GOTO="persistent_v4l_end" SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end" -SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export" +SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export %p" KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}" # check for valid "index" number |