VirtualBox

Changeset 36417 in vbox for trunk/src/VBox/Main/src-server


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/Main/src-server/linux/USBGetDevices.cpp

    r36350 r36417  
    14431443                && !pcBestSysfs
    14441444                && RTPathExists(s_aTreeLocations[i].szDevicesRoot))
    1445             {
    1446                 PUSBDEVICE pDevices;
    1447 
    1448                 pDevices = getDevicesFromSysfs(s_aTreeLocations[i].szDevicesRoot,
    1449                                                true);
    1450                 if (pDevices)
    1451                 {
    1452                     pcBestSysfs = &s_aTreeLocations[i];
    1453                     deviceListFree(&pDevices);
    1454                 }
    1455             }
     1445                pcBestSysfs = &s_aTreeLocations[i];
    14561446        }
    14571447    if (pcBestUsbfs && !fPreferSysfs)
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