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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,287 次查看
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,173 次查看
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,173 次查看
karangajjar
Senior Contributor II

Hi SJA,

Have you fixed your issue?

Regards,

Karan Gajjar

0 项奖励
回复