The following information outlines how to configure and load the Linux gadget modules to setup a simple USB CDC-ECM portocol network using Belcarra's freely available evaluation version of USBLAN for Windows.
Firstly,take a Linux kernel and reconfigure it as follows:
- Add the following line if not present
CONFIG_USB_NET=m
- Remove the following lines if present
CONFIG_USB_ETH_RNDIS=y
CONFIG_USB_ETH_EEM=y
Then run the configuration tool again to get a consistent set of configuration values. The lines that were removed above will re-appear, but preceded by # so that they have no effect..
This has the effect of building the module g_ether so that it offers the ECM protocol. To use it
modprobe g_ether idVendor=0x15ec idProduct=0xd041
The preceding is for a module installed into the root filesystem.
If you have not done but that want to use a local module binary then the procedure
insmod g_ether.ko idVendor=0x15ec idProduct=0xd041
where the module binary needs to be in the current working directory.
To determine if a module is running type:
lsmod
To remove module g_ether from the running kernel:
rmmod g_ether
This operation is blocked if the module is built into the kernel:
CONFIG_USB_NET=y
If you see the above in the configuration, change y to m
For more information please refer to the Belcarra USBLAN OEM Manual
Specializing in the design, implementation and support of high performance USB networking solutions for today's intelligent devices. Belcarra's many years of expertise in Windows driver development, USB and networking can ensure successful integration with networking your USB Device to Microsoft Windows systems.
Favourites
-
Belcarra, announces the availability of USBLAN-FN, a CDC-ECM client solution, which provides an essential component for WinCE based USB peri...
-
Year end review of the Windows Update program that enabled end users to simply and silently install Belcarra USBLAN deemed it as a success. ...
-
Belcarra supports an environment for testing USB Networking protocols. This paper , is the first in a series and will provide an overview o...
-
November 2019 Update NOW AVAILABLE - High Speed USBLAN PIC32MZ Implementation https://github.com/Belcarra/pic32mz_usblan_harmony3_...
-
USBLAN for Mac OS/X Belcarra’s new Virtual Driver for Networked USB devices greatly improves the end user experience for interfacing smart...
-
Belcarra’s evaluation version of USBLAN for Windows is not available directly from Windows Update for a Windows 8 user at this time, but it...
-
USBLAN 2.4.0 release provided support for CDC-NCM and Microsoft NDIS 6. USBLAN 2.4.1 now adds support for the Microsoft RNDIS protocol. ...
-
The new version of Belcarra's USB Class Driver for Windows is available through the Microsoft DDC. To use the USBLAN 2.4 evaluation dr...