* Hänel-Baas, Alexander | 2013-08-27 14:54:35 [+0000]: >Hello rt-community, Hi, >i use the kernel 3.10.4 with the 3.10.4-rt-1 patch >and the usb RNDIS connection to a windows pc. So you use an x86 based UDC/machine if you are using v3.10.4-rt1 here. >In the kernelconfig i set the low-latency desktop with CONFIG_PREEMPT_LL=y and the usb Ethernet gadget works fine. > >Now i change the kernelconfig to CONFIG_PREEMPT_RT_FULL=Y and now it is not possible to get a working usb gadget connection. Is a different gadget working? Say usb-storage against Windows oder g_ncm against Linux? >In both situation i see that windows detect the RNDIS device in the device manager. > >The next step was to enable the USB gadget debugging messages to see what is going on. >At this time I see many usb-gadget outputs: > >#dmesg >[ 84.085953] gen_ndis_query_resp: RNDIS_OID_GEN_RCV_NO_BUFFER >[ 84.093266] g_ether gadget: rndis reqa1.01 v0000 i0000 l4096 >[ 84.093621] g_ether gadget: rndis req21.00 v0000 i0000 l36 >[ 84.101284] g_ether gadget: rndis reqa1.01 v0000 i0000 l4096 >[ 84.101680] g_ether gadget: rndis req21.00 v0000 i0000 l36 >[ 84.109265] g_ether gadget: rndis reqa1.01 v0000 i0000 l4096 >[ 84.109663] g_ether gadget: rndis req21.00 v0000 i0000 l36 >[ 84.109782] gen_ndis_query_resp: RNDIS_OID_GEN_RCV_NO_BUFFER >... > >But I can't find a difference between the working config (low-latency) >and the full-rt configuration. > >What can I do to get a working fully pre-emptible usb gadget? Try to enable lock debuging and see if the kernel complains about something. So after enabling debug you don't see a difference in the communication? Can you try against Linux RNDIS and see if that is working? If that also fails then you get a chance to debug. > >kind regards >Alexander Haenel-Baas Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html