2013-06-07 03:21:41 +00:00
|
|
|
# Expose all USB devices (except block) via Qubes DB
|
2013-03-20 05:27:32 +00:00
|
|
|
|
|
|
|
# Handle only USB devices
|
|
|
|
SUBSYSTEM!="usb", GOTO="qubes_usb_end"
|
|
|
|
|
2017-08-07 21:00:53 +00:00
|
|
|
# ignore qemu emulated devices in HVM
|
|
|
|
ENV{ID_VENDOR}=="QEMU", GOTO="qubes_usb_end"
|
|
|
|
|
2015-11-26 21:18:03 +00:00
|
|
|
ACTION=="add", IMPORT{program}="/usr/lib/qubes/udev-usb-add-change"
|
|
|
|
ACTION=="change", IMPORT{program}="/usr/lib/qubes/udev-usb-add-change"
|
|
|
|
ACTION=="remove", RUN+="/usr/lib/qubes/udev-usb-remove"
|
2013-03-20 05:27:32 +00:00
|
|
|
|
|
|
|
LABEL="qubes_usb_end"
|