View Single Post
Posts: 21 | Thanked: 9 times | Joined on Feb 2008
#1
There is an issue related to booting from mmc and USB storage access. After MMC boot and plugging in the USB cable, I would get an error and was not able to access the FAT partitions.

The solution was summarized in this post by fanoush, which involves modifying (as root) /usr/sbin/osso-mmc-umount.sh

However, on my n800 running OS2008, the file actually contained different code. It might be related to the OS2008 version (not sure how to figure this out - if someone could let me know I would appreciate it).

I made similar modifications to the file as follows, changing the second line below. It seems to work fine now.

from:

Code:
if [ $? = 0 ]; then
  umount $MP 2> /dev/null
fi
  RC=$?
else
  # it is not mounted
  RC=0
fi

to:
Code:
if [ $? = 0 ]; then
  if [ "$MP" != "/" ] ; then umount $MP 2> /dev/null ; fi
  RC=$?
else
  # it is not mounted
  RC=0
fi
Hope this helps someone. Thanks to Fanoush for the initial solution.
 

The Following 6 Users Say Thank You to rhkuo For This Useful Post: