chiark / gitweb /
remove mknod() logic and rely on 'devtmpfs'
[elogind.git] / rules / rules.d / 75-tty-description.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION=="remove", GOTO="tty_end"
4 SUBSYSTEM!="tty", GOTO="tty_end"
5
6 SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
7 SUBSYSTEMS=="usb", IMPORT{builtin}="usb-db"
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", IMPORT{builtin}="pci-db"
12 SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}"
13
14 LABEL="tty_end"