Sorry, you need to enable JavaScript to visit this website.

USB Mouse not mount

Unsolved
4 posts / 0 new
jordanairbusds's picture
jordanairbusds
Junior(0)
USB Mouse not mount

Hi,

I just finished to build all files for boot Linux (Linaro) on my Zedboard. When Linaro is booting up the USB mouse is not mount. I have this message :
ALSA device list:
#0: HDMI monitor
#1: ZED ADAU1761
EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
EXT4-fs (mmcblk0p2): Errors on filesystem, clearing orphan list.
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.

I should have :

ALSA device list:
#0: HDMI monitor
#1: ZED ADAU1761
input: DELL DELL USB Laser Mouse as /devices/amba.1/e0002000.usb/zynq-ehci.0/usb1/1-1/​1-1:1.0/input/input0
hid-generic 0003:046D:C063.0001: input,hidraw0: USB HID v1.10 Mouse [DELL DELL USB Laser Mouse] on usb-zynq-ehci.0-1/input0
random: nonblocking pool is initialized
EXT4-fs (mmcblk0p2): 2 orphan inodes deleted
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.

Thanks

Jo

hockeyman1972's picture
hockeyman1972
Junior(11)
File System Issues?

Jo,
  Is this repeatable?  I've seen these types of errors on occasion, but generally if you restart from power-up, it works.  I'm speculating here, but I've seen this type of behavior when some transient error occupies the CPU and another process (USB device init in this case) times out and never gets set up correctly.  You can also try unplugging and re-plugging the mouse to a different USB port on the board to see if it gets picked up.  Is the keyboard working correctly, or are all USB devices unavailable?
In this case it looks like the transient error is a problem with the file system.   Note that since the file system is persistent on the microSD partition, when you shut down the Linux desktop you should take care to shutdown correctly and not simply power off the board.   That can cause inconsistencies in the persistent file system due to writes being interrupted before they are completed.  If you can't get the USB to work at all, something you can try is to reinstall the file system from the Linaro image to the ext4 partition.
Power down the Ubuntu system by shutting it down from the desktop as you would a real PC system, or use the shutdown now -h command from the root console.
Ron

jordanairbusds's picture
jordanairbusds
Junior(0)
Thanks for your answer.

Thanks for your answer.
The problem appear for all USB devices. The problem is not due to Linaro, I tried with a device tree file and a uImage file already build which are included in zip file delivered with the tutorial and it works. I don't know why it doesn't work when I build my own files. Have you and idea ?
Jo

jordanairbusds's picture
jordanairbusds
Junior(0)
Problem solved.

Problem solved.
In the .dts file I added : dr_mode="host" (in the USB node) in order to put the USB in host mode.
Jo