VirtualBox

Changeset 36417 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Mar 24, 2011 10:49:51 PM (14 years ago)
Author:
vboxsync
Message:

Installer/Linux and Main: USB enumeration: fix detection of USB via sysfs/usb_device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxdrv.sh.in

    r36293 r36417  
    205205    if ! $MODPROBE vboxnetadp > /dev/null 2>&1; then
    206206        failure "modprobe vboxnetadp failed. Please use 'dmesg' to find out why"
     207    fi
     208    # Create the /dev/vboxusb directory if the host supports that method
     209    # of USB access.  The USB code checks for the existance of that path.
     210    if grep -q usb_device /proc/devices; then
     211        mkdir -p -m 0640 /dev/vboxusb 2>/dev/null
     212        chown root:vboxusers /dev/vboxusb 2>/dev/null
    207213    fi
    208214    succ_msg
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette