first, the hardware platform: TI am335x Chip
Second, the software platform: Ubuntu 10.04
introduction of USB CDC ACM Drive
The CDC class of USB is the abbreviation of USB Communication device Class (Communication Device Class). CDC class is a type of USB subclass that is defined by a USB organization to be used by a variety of communication devices (telecommunications and medium-speed network communication devices).
Linux Kernel native to the province with the USB CDC ACM Class drive module function, users can use the kernel of the graphical compiler tool Menconfig to add the driver to the kernel module.
Step One: go to your downloaded kernel directory, run command make Menuconfig, and show the menu main interface as shown in Figure 1.
Figure 1 menuconfig Menu Main interface
Step two: in Figure 1, select the "Device Driver" option and go to the device driver interface through "Select", as shown in Figure 2.
Figure 2 Device Driver interface
Step Three: in the device-driven interface shown in Figure 2, select the "USB support" option, select the "select" option, and then go to the USB driver interface shown in Figure 3.
Figure 3 USB Driver Interface
Step four: select "USB Modem (CDC ACM support)" option, the left side of the option "<>", the default is empty, press "SPACEBAR" to toggle the selection, select the "*" number.
For an option inside the angle bracket, if empty, there is no selection;
If "*", indicates that the corresponding option is compiled into the kernel;
If "M", the corresponding option is compiled into a module.
Step Five: When the USB settings are complete, select the "Exit" option in Figure 3, and then exit. After exiting, you will go to the Figure 2 option and continue to select Exit. Then go to the Figure 1 interface and continue to choose Exit. At this point, you will see whether you want to save the Modify interface, as shown in Figure 4. Select the Yes option.
Figure 4 Whether to save the configuration interface
Step Six: recompile the kernel, and then add the USB CDC ACM drive to the driver.