This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ethernet RNDIS gadget hangs all Linux consoles

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hello,

I have a device with OMAP-L138 processor running under control of TI's Linux 3.3.0 with g_ether module loaded. The device has a USB type D connector which is linked to a Windows PC (tested on XP and 8.1). This is to provide the RNDIS network interface between the PC and the device.

Two console sessions were open - one via RS-232 and one via SSH. After plugging in the cable, everything worked as expected but unplugging made both the sessions completely hang. Kernel debug messages were not visible as well. Then after plugging in the sessions resumed. The characters typed in the console during the freeze were preserved and interpreted when it resumed.

The g_ether module compiled without RNDIS support (USB_ETH_RNDIS = n) causes no such problem, but obviously eliminates the important functionality.

Regards,

Marcin