diff options
author | René Neumann <rene.neumann@in.tum.de> | 2011-07-27 11:17:03 +0200 |
---|---|---|
committer | René Neumann <rene.neumann@in.tum.de> | 2011-07-27 11:17:03 +0200 |
commit | 675bc5621523438c6b52e05705fa83f70ddf7b96 (patch) | |
tree | ea9aed39461837a18018329f13d172588cf88985 /app-emulation/virtualbox/files/10-virtualbox.rules | |
parent | ea3a8574128fde8ca35ebe312e28f8a56d77b583 (diff) | |
parent | 170b287049b19503d00cdf98e6a04ba65c60161e (diff) | |
download | overlay-675bc5621523438c6b52e05705fa83f70ddf7b96.tar.gz overlay-675bc5621523438c6b52e05705fa83f70ddf7b96.tar.bz2 overlay-675bc5621523438c6b52e05705fa83f70ddf7b96.zip |
Merge remote branch 'origin'
Diffstat (limited to '')
-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 0000000..8efff24 --- /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="/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb", ACTION!="remove", ENV{DEVTYPE}=="usb_device", RUN="/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor" +SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor" |