I have a Tiny4412 board in witch when I plug a USB device and run lsusb it does not show anything. It does not matter what kind of device I plugged in. I've tried some USB Flashes, 3G USB Modem, USB Wifi Adapter and so on. Although those devices are working fine. It's just lsusb does not show anything and I want to know kernel message when I plug in a device.
lsusb does not show anything
Exactly what happen when you type lsusb? Is anything displayed? Just as a test type lsusb -v do see a long list of options that you should choose? (as lsusb -v is not a valid option)
Nothing happens. To be more clear this is the output of the terminal when I run lsusb : [root@FriendlyARM /]# lsusb [root@FriendlyARM /]# AS you see nothing happens. Since lsusb uses libusb (to be specific it uses libusb-0.1.so.4) I kind of blame libusb for this considering I'm having another problem with libusb at the moment (to use it with usb_modeswitch) What am I supposed to do ?
I forgot to mention that lsusb -v shows nothing either: [root@FriendlyARM /]# lsusb -v [root@FriendlyARM /]# Like I said the problem is more complicated and I'm quiet sure it's because of the libusb but I don't know what to do.
My first guess was that you didn't have lsusb enabled in Busybox (or USBUTILS_LSUSB), but then I would have expected an error: command not found Try typing something at the command prompt that is nonsense, ie testxyz and see what is returned.
Yeah dmesg works fine otherwise I had no idea what kernel is doing. But I still wonder what were friendlyARM guys thinking with themselves when they built root file system for this board. You know, they should have checked it before sell it, Right? And as I said before my main problem is with another tool that uses libusb and libusb keeps reporting Segmentation fault and I'm afraid I wont be able to use any tools that uses libusb (which there are lots of them) for the rest of my life!
Right. I think even the mini2440 came with USB working and your board is years newer. Maybe, a thread with Tiny4412 in it might get someones attention who has one. Also, the Odroid U3 uses the same family of Samsung uP. Maybe, a search on their site might turn up something useful. Is your a new board?
I have a Mini2440 too and lsusb doesn't work on that either! It returns "Segmentation fault" when I ran lsusb on Mii2440 which is a big deal error! Yes the board is new. Ok I will take a look at Odroid U3 see if there is anything useful.
OK, I see the words "segmentation fault" have creep in over the last few exchanges. You said you earlier that nothing happened. So, when you type lsusb on the command line you get an error message returned (segmentation fault). Lets start with the mini2440 ... which distro are you running on that machine? Do other common commands work: ls, ps, df, date Just for interest type lsmod. Are you compiling your own custom kernel and applications?
No, with Tiny4412 I said nothing happens. You mentioned Mini2440 and I said that I have a Mini2440 too and in Mini2440 I see "segmentation fault" . I mean both of them suck! Mini2440 runs kernel 2.6.3 and and for rootfile system Qtopia is installed by default. I never changed anything. Yes all the other commands run fine. lsmod is working. Like I said it's all because of the libusb library that both boards don't report lsusb cause it's the only command that uses libusb.
OK. 2.6.3 is ancient. I think that was on the early boards. I have had my mini2440 for 3-4 years and it had 2.6.32.2 on it I am sure if you upgraded the mini2440 to the latest on the downloads page USB will work. As far as the Tiny4412, I am sure that if there was a problem with the software there would be lots of threads on here about it. Check the andahammer site as well.
I don't remember the kernel version of Mini2440 exactly but I think it was 2.6.32 (not sure the number after .32). I did download the kernel from download page and built it several times. Well Tiny4412 is a pretty much new platform and I think that's why you don't see a lots of threads about it. andahammer site is all about the ancient Mini2440 !!