A brief analysis of USB CDC ACM drive under Linux __linux

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.