chiark / gitweb /
ac868adc0ab5f7195f84dec4a9af8a0c2948729f
[elogind.git] / rules / rules.d / 75-tty-description.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION!="add|change", GOTO="tty_end"
4 SUBSYSTEM!="tty", GOTO="tty_end"
5
6 SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p"
7 SUBSYSTEMS=="usb", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{program}="usb-db %p"
8 SUBSYSTEMS=="usb", ATTRS{idVendor}!="", ATTRS{idProduct}!="", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}"
9 SUBSYSTEMS=="usb", GOTO="tty_end"
10
11 SUBSYSTEMS=="pci", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{program}="pci-db %p"
12 SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}"
13
14 LABEL="tty_end"