Changeset 36958 in vbox for trunk/src/VBox/RDP
- Timestamp:
- May 4, 2011 2:50:32 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71554
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client/vrdp/rdpusb.c
r36409 r36958 888 888 rdpusb_init(void) 889 889 { 890 PCUSBDEVTREELOCATION pcLocation = USBProxyLinuxGetDeviceRoot(false); 891 g_fUseSysfs = pcLocation->fUseSysfs; 892 g_pcszDevicesRoot = pcLocation->szDevicesRoot; 890 /** @todo re-use the proxy service code */ 891 if (USBProxyLinuxCheckDeviceRoot("/dev/vboxusb", true)) 892 { 893 g_fUseSysfs = true; 894 g_pcszDevicesRoot = "/dev/vboxusb"; 895 } 896 else 897 { 898 g_fUseSysfs = false; 899 g_pcszDevicesRoot = "/proc/bus/usb"; 900 } 893 901 rdpusb_channel = 894 902 channel_register("vrdpusb", CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP,
Note:
See TracChangeset
for help on using the changeset viewer.