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
Muito obrigado, Rogerio.
I will try to recompile lsusb and will keep the community informed.
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.