Hello All, I am testing USB RNDIS module on SMDK2440 using linux kernel 2.6.28.
First using modprobe g_ether command to load the module and then connect the USB cable to my Winxp host. Winxp can find the device (I am using the usb.inf in linux-2.6.28\Documentation\usb folder), however Winxp reports the "code 10" error message during the driver installation process. I cannot use the RNDIS adapter on Winxp. I have tested the g_file_storage module using the same environment successfully. It seems that there is a problem with the g_ether module. Below is the debug log after I define DEBUG in etehr.c file. Any suggestions will be appreciated arm:~# dmesg -c g_ether gadget: setup complete --> 0, 16/18 g_ether gadget: reset config g_ether gadget: rndis deactivated usb0: gether_disconnect g_ether gadget: full speed config #2: RNDIS g_ether gadget: init rndis ctrl 0 g_ether gadget: init rndis g_ether gadget: RNDIS RX/TX early activation ... usb0: qlen 2 g_ether gadget: rndis_close rndis_set_param_medium: 0 0 rndis_set_param_dev: g_ether gadget: non-core control req21.00 v0000 i0000 l24 g_ether gadget: rndis req21.00 v0000 i0000 l24 rndis_msg_parser: REMOTE_NDIS_INITIALIZE_MSG g_ether gadget: non-core control reqa1.01 v0000 i0000 l1025 g_ether gadget: rndis reqa1.01 v0000 i0000 l1025 g_ether gadget: non-core control req21.00 v0000 i0000 l28 g_ether gadget: rndis req21.00 v0000 i0000 l28 gen_ndis_query_resp: OID_GEN_SUPPORTED_LIST g_ether gadget: non-core control reqa1.01 v0000 i0000 l1025 g_ether gadget: rndis reqa1.01 v0000 i0000 l1025 g_ether gadget: setup complete --> 0, 16/18 g_ether gadget: reset config g_ether gadget: rndis deactivated usb0: gether_disconnect g_ether gadget: full speed config #2: RNDIS g_ether gadget: init rndis ctrl 0 g_ether gadget: init rndis g_ether gadget: RNDIS RX/TX early activation ... usb0: qlen 2 g_ether gadget: rndis_close rndis_set_param_medium: 0 0 rndis_set_param_dev: g_ether gadget: non-core control req21.00 v0000 i0000 l24 g_ether gadget: rndis req21.00 v0000 i0000 l24 rndis_msg_parser: REMOTE_NDIS_INITIALIZE_MSG g_ether gadget: non-core control reqa1.01 v0000 i0000 l1025 g_ether gadget: rndis reqa1.01 v0000 i0000 l1025 g_ether gadget: non-core control req21.00 v0000 i0000 l32 g_ether gadget: rndis req21.00 v0000 i0000 l32 gen_ndis_set_resp: OID_GEN_CURRENT_PACKET_FILTER 00000000 g_ether gadget: non-core control reqa1.01 v0000 i0000 l1025 g_ether gadget: rndis reqa1.01 v0000 i0000 l1025
