i.MX23 / lsusb on Min profile returns none device

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

i.MX23 / lsusb on Min profile returns none device

661 Views
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

Tags (1)
0 Kudos
2 Replies

524 Views
FranzTrierweile
Contributor I

Muito obrigado, Rogerio.

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

0 Kudos

524 Views
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 Kudos