i.MX23 / lsusb on Min profile returns none device

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

i.MX23 / lsusb on Min profile returns none device

892件の閲覧回数
FranzTrierweile
Contributor I

Hello,

 

I have juste generated a i.MX233 Linux image with LTIB (Min profile + usbtools package).

When typing lsusb I get no device whereas a USB device is connected.

 

I tried to see what happened with strace but now way to see something clear:

 

open("/sys/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3

getdents(3, /* 1 entries */, 32768)     = 152

getdents(3, /* 0 entries */, 32768)     = 0

close(3)                                = 0

io_submit(0x1, 0x946c0, 0x8 <unfinished ... exit status 1>

Process 2125 detached

 

Never got such a weird behaviour with the i.MX25 3-stack.

 

I suspect an issue in the USB directory (/sys/bus, /proc/bus, /dev/bus ?).

 

Any idea ?

 

Apple92

タグ(1)
0 件の賞賛
返信
2 返答(返信)

755件の閲覧回数
FranzTrierweile
Contributor I

Muito obrigado, Rogerio.

I will try to recompile lsusb and will keep the community informed.

0 件の賞賛
返信

755件の閲覧回数
RogerioNunes
NXP Employee
NXP Employee

I believe it's probably a missmach between kernel version/configuration and lsusb tool. I had the same problem with iMX53 and fixed by compiling a more recent version of the tool... it's also possible to enable a deprecated option in the kernel as well. I don't have it in mind right now to be more precise. And you are right, it has to do with content changes under /sys, /proc, and where lsusb looks for information.

0 件の賞賛
返信