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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,288件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,174件の閲覧回数
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 件の賞賛
返信

1,174件の閲覧回数
karangajjar
Senior Contributor II

Hi SJA,

Have you fixed your issue?

Regards,

Karan Gajjar

0 件の賞賛
返信