VirtualBox

Changeset 16044 in vbox


Ignore:
Timestamp:
Jan 19, 2009 12:47:22 PM (16 years ago)
Author:
vboxsync
Message:

Main: attempt to support USB with sysfs on older Linux hosts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/HostHardwareLinux.cpp

    r15776 r16044  
    939939        rc = halFindDeviceStringMatch (dbusConnection.get(), "info.subsystem",
    940940                                       "usb_device", &replyFind);
     941        if (RT_SUCCESS(rc) && !replyFind)  /* "Old" syntax. */
     942            rc = halFindDeviceStringMatch (dbusConnection.get(),
     943                                           "linux.subsystem", "usb_device",
     944                                           &replyFind);
    941945        if (!replyFind)
    942946            halSuccess = false;
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