jhtwu / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

Problem mounting usb-stick #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Insert a 512MB usb stick

What version of the product are you using? On what operating system?
Problem seems to occur since RC3

See attached for the lines from the system log.

Original issue reported on code.google.com by bob...@gmail.com on 27 Apr 2011 at 5:29

Attachments:

GoogleCodeExporter commented 9 years ago
I had to switch USB slots. I originally had the USB stick in port 1. When the 
2130 could not see it, I switched to port 2, rebooted, and then switched back 
to port 1. By clicking on 'refresh devices" in the USB menu, I was able to see 
and access the drive again.

This was with a 2GB Hama thumb drive.

Original comment by eri...@gmail.com on 27 Apr 2011 at 5:22

GoogleCodeExporter commented 9 years ago
There is a "Mount Fail!!!" Message in usb-storage.
You can try to mount the device manually as /sbin/usb-storage.

mount /dev/${node} ${mnt} -o noatime,nodiratime,uid=65534,gid=65
534,umask=0,iocharset=utf8 

where ${node} is sda1, ${mnt} is /mnt/usb_sda1
check it in your log

Then check the error message.

Original comment by jht...@gmail.com on 27 Apr 2011 at 10:00

GoogleCodeExporter commented 9 years ago
Gives this as a result:
# mount /dev/sda1 /mnt/usb_sda1 -o noatime,nodiratime,uid=65534,gid=65
mount: mounting /dev/sda1 on /mnt/usb_sda1 failed: No such file or directory

After a reboot it doesn't even detect the usb device anymore. As I'm off-site 
currently I'm unable to re-plug the usb-stick.

Original comment by bob...@gmail.com on 28 Apr 2011 at 5:45

GoogleCodeExporter commented 9 years ago
After a reboot of the device without usb-stick and then inserting it, it seems 
to work as it should. Attached the log.

Original comment by bob...@gmail.com on 28 Apr 2011 at 4:39

Attachments:

GoogleCodeExporter commented 9 years ago
I can provide a method to power on/off the usb port

Power off the usb hub
echo "clear" > /proc/gpio/GPIOA4

Power on the usb hub 
echo "set" > /proc/gpio/GPIOA4

Original comment by jht...@gmail.com on 29 Apr 2011 at 4:32

GoogleCodeExporter commented 9 years ago
Please try V1.5.1 RC4. Thanks.

Original comment by vincent....@gmail.com on 4 May 2011 at 1:58