summaryrefslogtreecommitdiffstats
path: root/debian/virtualbox.udev
diff options
context:
space:
mode:
Diffstat (limited to 'debian/virtualbox.udev')
-rw-r--r--debian/virtualbox.udev4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/virtualbox.udev b/debian/virtualbox.udev
new file mode 100644
index 00000000..156358d8
--- /dev/null
+++ b/debian/virtualbox.udev
@@ -0,0 +1,4 @@
+SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
+SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
+SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"