summaryrefslogtreecommitdiff
path: root/rules/75-tty-description.rules
blob: 11277b7d6fa0a97d569fd4b704018d075d8403cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="tty_end"
SUBSYSTEM!="tty", GOTO="tty_end"

SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
SUBSYSTEMS=="usb", GOTO="tty_end"

SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}"
SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci"

LABEL="tty_end"