Link state changes in USB ECM driver

Jan 08, 2010 0 Replies

Hi, am currently working on USB ECM driver and created couple of ECM interfaces. I was unable to figure out how the ECM driver ( f_acm.c ) handles the following cases.



Here are a few common cases that may lead to a link state change:



  1. A cable is plugged into or unplugged from an NIC ( ecm interface ).
  2. The device at the other end of the cable is powered down or disabled.

From a NIC driver perspective we poll the driver and figure out from the status register and determine whether the carrier is on or off.


But how does a USB ethernet i/f comes to know that carrier is off due to some error case.


Kindly let me know your inputs.



Regards, Sandeep


--------------------------------------- This message was sent using the comp.arch.embedded web interface on

formatting link



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required