qubes-linux-utils/udev/udev-qubes-usb.rules

14 lines
422 B
Plaintext
Raw Normal View History

2013-06-07 03:21:41 +00:00
# Expose all USB devices (except block) via Qubes DB
# Handle only USB devices
SUBSYSTEM!="usb", GOTO="qubes_usb_end"
# ignore qemu emulated devices in HVM
ENV{ID_VENDOR}=="QEMU", GOTO="qubes_usb_end"
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"
LABEL="qubes_usb_end"