gentoo-ebuilds/app-emulation/virtualbox-kvm/files/10-virtualbox.rules
Viorel Munteanu aa9637bdc0
app-emulation/virtualbox-kvm: new package, add 7.0.14_pre20240208, 9999
This is a prerelease, add it unkeyworded.  Not production ready.

Closes: https://bugs.gentoo.org/924123
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-02-10 18:30:47 +02:00

7 lines
576 B
Text

# 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"