diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-11-25 22:18:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-11-25 22:18:25 +0000 |
commit | 7aba9a6840ddbcc6454a1451193554d68d182b48 (patch) | |
tree | 7c5e50fdcb56635b76625075c75b86e84b4e47b0 /app-emulation/virtualbox/files/10-virtualbox.rules | |
parent | 8c860d0b7120d4df5c90d9442e710a817788770f (diff) |
vbox OSE 5.1.8
Diffstat (limited to 'app-emulation/virtualbox/files/10-virtualbox.rules')
-rw-r--r-- | app-emulation/virtualbox/files/10-virtualbox.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/files/10-virtualbox.rules b/app-emulation/virtualbox/files/10-virtualbox.rules new file mode 100644 index 00000000..014c164a --- /dev/null +++ b/app-emulation/virtualbox/files/10-virtualbox.rules @@ -0,0 +1,7 @@ +# create second tree of USB devices according to +# http://www.virtualbox.org/ticket/7759#comment:5 + +SUBSYSTEM=="usb_device", ACTION!="remove", RUN="%UDEVDIR%/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb", ACTION!="remove", ENV{DEVTYPE}=="usb_device", RUN="%UDEVDIR%/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb_device", ACTION=="remove", RUN="%UDEVDIR%/VBoxCreateUSBNode.sh --remove $major $minor" +SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="%UDEVDIR%/VBoxCreateUSBNode.sh --remove $major $minor" |