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:
- A cable is plugged into or unplugged from an NIC ( ecm interface ).
- 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