Hi, > from your logs below, it seems like you're using atmel_usba_udc.c, > right? That driver was merged during v3.17 merge window, how come it was > working for you on v3.12 ? > > Can you try v3.17, when that driver was merged ? It was already in previous versions as I used it in 3.12 and 3.5. >From what I see in 3.17 it has just been moved to drivers/usb/gadget/udc. Before that, all udc drivers were in drivers/usb/gadget. In 3.12 it was working good, I could try to merge my code to intermediate versions. > > <7>[ 275.026000] composite_suspend:2122: g_ether gadget: suspend > > <7>[ 275.141000] composite_suspend:2122: g_ether gadget: suspend > > ... > > what happened during these almost 5 seconds ?? You shouldn't trim log > like that, there might be important information ;-) It was always the same log. It appears in loop because I removed power detection in atmel_usba_udc.c driver for testing. Here is a cleaner log with that power detection when I remove the cable: <7>[ 2540.513000] reset_config:626: g_ether gadget: reset config <7>[ 2540.513000] rndis_disable:616: g_ether gadget: rndis deactivated <7>[ 2549.289000] composite_suspend:2122: g_ether gadget: suspend <6>[ 2549.735000] g_ether gadget: high-speed config #2: RNDIS <7>[ 2549.735000] usba_ep_disable:655: udc: ep_disable: ep3 not enabled <7>[ 2549.735000] rndis_set_alt:560: g_ether gadget: reset rndis <7>[ 2549.735000] usba_ep_disable:655: udc: ep_disable: ep1 not enabled <7>[ 2549.735000] usba_ep_disable:655: udc: ep_disable: ep2 not enabled <7>[ 2549.735000] rndis_set_alt:565: g_ether gadget: init rndis <7>[ 2549.735000] rndis_set_alt:593: g_ether gadget: RNDIS RX/TX early activation ... <7>[ 2549.735000] rndis_open:638: g_ether gadget: rndis_open <7>[ 2549.735000] rndis_set_param_medium:981: rndis_set_param_medium: 0 4259840 <7>[ 2549.735000] rndis_set_param_dev:951: rndis_set_param_dev: <7>[ 2549.736000] rndis_setup:525: g_ether gadget: rndis req21.00 v0000 i0000 l24 <7>[ 2549.736000] rndis_msg_parser:810: rndis_msg_parser: RNDIS_MSG_INIT <7>[ 2549.745000] rndis_setup:525: g_ether gadget: rndis req21.00 v0000 i0000 l24 <7>[ 2549.746000] rndis_msg_parser:810: rndis_msg_parser: RNDIS_MSG_INIT After that there is nothing, it just stop. > unlikely. RNDIS works fine at least on dwc3 and MUSB (though I haven't > tested against windows for a few months) > > > I cannot say from which version it is not working anymore as the > > previous version I used was 3.12. > > and that was an atmel provided kernel ? Are you, now, using an atmel > provided kernel or actual mainline ? Does it work against a Linux host ? > I am using mainline kernel. I just did a test with a Linux host and it seems to work. To be sure, I also test on other Windows hosts and all are having the issue. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html