Changeset 37623 in vbox for trunk/src/VBox/RDP/client
- Timestamp:
- Jun 24, 2011 7:58:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client/vrdp/rdpusb.c
r37224 r37623 888 888 rdpusb_init(void) 889 889 { 890 /** @todo re-use the proxy service code */891 if (USBProxyLinuxCheckDeviceRoot("/dev/vboxusb", true))890 bool fUseUsbfs; 891 if (RT_SUCCESS(USBProxyLinuxChooseMethod(&fUseUsbfs, &g_pcszDevicesRoot))) 892 892 { 893 g_fUseSysfs = true; 894 g_pcszDevicesRoot = "/dev/vboxusb"; 893 g_fUseSysfs = !fUseUsbfs; 894 rdpusb_channel = 895 channel_register("vrdpusb", CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP, 896 rdpusb_process); 897 return (rdpusb_channel != NULL); 895 898 } 896 else 897 { 898 g_fUseSysfs = false; 899 g_pcszDevicesRoot = "/proc/bus/usb"; 900 } 901 rdpusb_channel = 902 channel_register("vrdpusb", CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP, 903 rdpusb_process); 904 return (rdpusb_channel != NULL); 899 return false; 905 900 } 906 901
Note:
See TracChangeset
for help on using the changeset viewer.