14 lines
422 B
Plaintext
14 lines
422 B
Plaintext
# 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"
|