From: Kay Sievers Date: Mon, 25 Jul 2011 12:34:30 +0000 (+0200) Subject: seat: add another 'Plugable' device id X-Git-Tag: v31~15 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb922d4f822b32e9a046c7052b97f2ed3152e76e;p=systemd seat: add another 'Plugable' device id --- diff --git a/src/71-seat.rules b/src/71-seat.rules index 7c062034..99425adf 100644 --- a/src/71-seat.rules +++ b/src/71-seat.rules @@ -13,7 +13,8 @@ SUBSYSTEM=="input", KERNEL=="input*", TAG+="seat" SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat" SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat" -SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="0001", ENV{ID_AUTOSEAT}="1" +# 'Plugable' USB hub, sound, network, graphics adapter +SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]", ENV{ID_AUTOSEAT}="1" TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p" TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH_TAG}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}"