imx6ul usb gadget connect/disconnect/suspend/resume events ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ul usb gadget connect/disconnect/suspend/resume events ?

1,496 Views
SJA
Contributor II

Using g_ether USB gadget with imx6ul under linux.

We can disconnect USB cable and reconnect with no problems.

Link goes and comes back just fine.

But how do I get an hotplug type event (kernel or udev trigger) when the

USB cable is disconnected and then reconnected ??


We do not see an disconnect activity in kernel log.

And we see "g_ether gadget: high-speed config #1: CDC Ethernet (ECM)"

when the cable is plugged back in.

/sys/class/udc/ci_hdrc.0/state shows "configured" when the cable is plugged in

and "suspended" when the cable is unplugged.

Labels (1)
0 Kudos
Reply
2 Replies

1,382 Views
karangajjar
Senior Contributor II

Hi SJA,

Can you let us know below things:

- Yocto or Linux version that you are using?

- g_ether as built-in driver or module?

- steps to reproduce the issue

Regards,

Karan Gajjar

0 Kudos
Reply

1,382 Views
karangajjar
Senior Contributor II

Hi SJA,

Have you fixed your issue?

Regards,

Karan Gajjar

0 Kudos
Reply