TI中文支持网
TI专业的中文技术问题搜集分享网站

About the linux usb hotplug issue on AM335X:no usb hotplug msg or event when plugin/plugout usb gadget device

hello,

there is a issue, i can't get any msg or event when plugin/plugout usb gadget device on AM335X;

and the following is some message when i plugin or plugout usb mass storage gadget device;

1. plugin the usb mass storage device in AM335X board, print the following msg:

root@am335x-evm:/media/card# [  227.138070] musb g_mass_storage gadget disconnec

ted.

[  227.894687]  gadget: high-speed config #1: Linux File-Backed Storage

 

2. plugout the usb mass storage device in AM335X board, on any msg is printing:

3. plugin the usb mass storage device in AM335X board again, print the following msg:

root@am335x-evm:/media/card# [  240.147903] musb g_mass_storage gadget disconnec

ted.

[  240.903177]  gadget: high-speed config #1: Linux File-Backed Storage

 

root@am335x-evm:/media/card#

it seems that when plugin usb gadget devce again, it shall disconnect the usb device firstly, and then reconnect the usb device again;

so my question is how can I know whether USB gadget device has been plugged out/in?

thanks in advance!

Yaoming Qin:

请问您是说,通过device接口,接到电脑上,然后插拔sd卡么?

yu zheng:

回复 Yaoming Qin:

AM335X的板子通过USB接上一个PAD(或手机),然后插拔PAD,发现插入时AM335x主板可以识别出来;但是拔掉时,没有任何信息;

Yaoming Qin:

回复 yu zheng:

能不能把全部的demsg发上来看看,另外,请问您用的是ezsdk 什么版本?在ti的板子上能重现吗

赞(0)
未经允许不得转载:TI中文支持网 » About the linux usb hotplug issue on AM335X:no usb hotplug msg or event when plugin/plugout usb gadget device
分享到: 更多 (0)