Active Topics

 


Reply
Thread Tools
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#41
Originally Posted by Zas View Post
Maybe something is accessing the memory card.
Try [...] and "ls -lR /proc/ | grep mmc1> tmp;clear; cat tmp;rm tmp"
My God, why would redirect the output to a file only to cat the file to stdout again and then delete that file, that is absolutely horrible, you barbarian

I see what you were trying to do, you wanted to get rid of the error messages, but there is a easier, quicker and cleaner way to do that, just redirect the error messages straight to /dev/null e.g. "ls -lR /proc/ 2>/dev/null | grep mmc1"
 

The Following 2 Users Say Thank You to retsaw For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#42
Originally Posted by impeham View Post
Before connecting the usb cable and activating mass storage mode:
"lsof | grep mmc1" returns empty

Output of:
"ls -lR /proc/ | grep mmc1> tmp;clear; cat tmp;rm tmp" is empty also:
that's simply rubbish;
this command will never return anything, ever

Originally Posted by impeham View Post
/proc/irq/86/mmc1:
[root ~]#

Output of:
"lsof /dev/media/" is "lsof: status error on /dev/media: No such file or directory"[...]
apologies on that one; command should be
Code:
lsof /media/mmc1
(for micro SD)

respectively
Code:
lsof /home/user/MyDocs
for the internal storage

Last edited by misterc; 2012-04-05 at 22:10. Reason: added code for MyDocs
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#43
Nevertheless, i still have this problem - command shows nothing for the mmc, and still, i'm unable to connect it.

Any other ideas?
 
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#44
Originally Posted by impeham View Post
Nevertheless, i still have this problem - command shows nothing for the mmc, and still, i'm unable to connect it.

Any other ideas?
Well, as far as I can say, you still dit not try unmounting the mmc folder ON N900 BEFORE connecting the phone to the PC, or did you?

Code:
umount -l /wherever/mmc/is
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#45
Originally Posted by sup View Post
Well, as far as I can say, you still dit not try unmounting the mmc folder ON N900 BEFORE connecting the phone to the PC, or did you?

Code:
umount -l /wherever/mmc/is
i did. umount works well - no errors and the files in /media/mmc1 disappears after i run it and still - connecting the cable afterwards + activating mass storage gives me the error.
 
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#46
Originally Posted by impeham View Post
i did. umount works well - no errors and the files in /media/mmc1 disappears after i run it and still - connecting the cable afterwards + activating mass storage gives me the error.
Hm, then I have no idea. I would check with different computers (various OSs) if you did not do it already. But I doubt it would change anythingm but you never know.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:24.