diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-16 13:45:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-16 13:45:59 +0000 |
commit | 87b2b18d465c0adbd4afe3be4dd6101a8946a89c (patch) | |
tree | 40e762c67da3d5b0e5e451bcae6d41b235237cb9 /app-emulation/virtualbox-bin/files/10-virtualbox.rules | |
parent | 979e027140c679b4b4016babd45d3d222351d84c (diff) |
app-emulation/virtualbox-bin : revive
Diffstat (limited to 'app-emulation/virtualbox-bin/files/10-virtualbox.rules')
-rw-r--r-- | app-emulation/virtualbox-bin/files/10-virtualbox.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-bin/files/10-virtualbox.rules b/app-emulation/virtualbox-bin/files/10-virtualbox.rules new file mode 100644 index 00000000..014c164a --- /dev/null +++ b/app-emulation/virtualbox-bin/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" |