X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=rules%2Frules.d%2F75-tty-description.rules;h=b67c857dfdbd066e0f19eead07ec4c7173232a26;hp=ac868adc0ab5f7195f84dec4a9af8a0c2948729f;hb=12a362be5c1982f80dbfb75bda070208a2c99cdf;hpb=5a92fd9c9b89d8c880e0a93f32555d4aa7bbc6e6 diff --git a/rules/rules.d/75-tty-description.rules b/rules/rules.d/75-tty-description.rules index ac868adc0..b67c857df 100644 --- a/rules/rules.d/75-tty-description.rules +++ b/rules/rules.d/75-tty-description.rules @@ -1,9 +1,9 @@ # do not edit this file, it will be overwritten on update -ACTION!="add|change", GOTO="tty_end" +ACTION=="remove", GOTO="tty_end" SUBSYSTEM!="tty", GOTO="tty_end" -SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p" +SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id" SUBSYSTEMS=="usb", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{program}="usb-db %p" SUBSYSTEMS=="usb", ATTRS{idVendor}!="", ATTRS{idProduct}!="", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}" SUBSYSTEMS=="usb", GOTO="tty_end"