Commit 7d31aab8 authored by Philippe De Swert's avatar Philippe De Swert

[usb-moded] Detect rndis automagically in Windows Vista and later

Signed-off-by: default avatarPhilippe De Swert <>
parent e59063b4
......@@ -79,6 +79,8 @@ void android_init_values(void)
write_to_file("/sys/class/android_usb/f_rndis/ethaddr", text);
g_free((char *)text);
/* For rndis to be discovered correctly in M$ Windows (vista and later) */
write_to_file("/sys/class/android_usb/f_rndis/wceis", "1");
/* Set a charging mode for the android gadget
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment