How to use CDC Composite Device (Ethernet and ACM)

Table of Contents

Kernel Configuration

CDC Composite Gadget Kernel Config

On Embedded Platform

Insmod Drivers

After that, you will see a new ethernet adapter and a serial node named ‘/dev/ttyGS0’.

Connect Target to Host with a USB cable

You will see Windows notice found a new hardware and try to search and install driver.

CDC Composite Gadget Driver installing

On Host Platform

Because there is no associated device driver on Windows, so we use a virtual PC to validate it.

Connect it to Virtual PC

Netchip CDC Composite on VMware

And you will see kernel print on virtual PC such as

On embedded platform, kernel may print such as

Then you can test it.

Reference

  • http://kaoru.tech/archives/1508
  • http://kaoru.tech/archives/1509

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.