VirtualBox

Changeset 15465 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Dec 14, 2008 2:31:14 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40917
Message:

Main and Devices, USB: use hal, DBus and sysfs on Linux if usbfs is not available. Currently disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstHostHardwareLinux.cpp

    r15401 r15465  
    130130        }
    131131    }
     132    VBoxMainHotplugWaiter waiter;
     133    RTPrintf ("Waiting for hotplug events.  Note that DBus often seems to deliver duplicate events in close succession.\n");
     134    RTPrintf ("Waiting for a hotplug event for five seconds...\n");
     135    waiter.Wait (5000);
    132136    RTPrintf ("Waiting for a hotplug event, Ctrl-C to abort...\n");
    133     VBoxMainHotplugWaiter waiter;
    134     waiter.Wait();
     137    waiter.Wait(RT_INDEFINITE_WAIT);
    135138#endif  /* VBOX_USB_WITH_SYSFS */
    136139    return 0;
Note: See TracChangeset for help on using the changeset viewer.

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