Active Topics

 


Reply
Thread Tools
Posts: 175 | Thanked: 41 times | Joined on Mar 2010
#1
As the tittle sujests really.

After i updated to PR1.3 i can no longer use my phone in mass storage mode.

If the phone is on it always says 'device in use'

If its off it just doesnt do anything.

I have tried a thousand restarts and no joy.

It will always detect the SD card though!

please help
 
sutaburosu's Avatar
Posts: 79 | Thanked: 47 times | Joined on Oct 2010 @ Devon, UK
#2
To my mind it would make sense that if any applications have open file handles on the MyDocs partition then it wouldn't be unmounted and exported as USB mass storage.

You can list the open files on that partition by entering the following command in an Xterm:
Code:
lsof +d /home/user/MyDocs/
If you get no output there are no open files, and my guess is incorrect.
 

The Following 2 Users Say Thank You to sutaburosu For This Useful Post:
Posts: 175 | Thanked: 41 times | Joined on Mar 2010
#3
Hi thanks for the reply.

i did exactly as you said, when i pressed enter it stalled for a second then just dropped down aline.

No output i guess?

I hope to get this sorted

Craig
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#4
Have you tried to take off battery for couple of minutes and then restart phone? Have you installed any stuff from testing & devel repositories?
__________________
TMO links: [iSpy] - [Power search] - [Most thanked] - [Cordia - Maemo5 UI on top MeeGo Core] - [CommunitySSU]
 
Posts: 248 | Thanked: 240 times | Joined on Mar 2010 @ Wiltshire, UK
#5
I'm getting the same thing on Ubuntu 10.04.

Laptop recognises my other phone and it's SD card, but only the SD card of my N900. Tried searching for a workaround from an Ubuntu perspective, but suspect this may be an N900 issue.

I did not have this problem prior to PR1.3 - anyone have any ideas?
 
sutaburosu's Avatar
Posts: 79 | Thanked: 47 times | Joined on Oct 2010 @ Devon, UK
#6
Mass storage mode is working fine for me on PR1.3 (flash method, not OTA).
@CraigRobbo: That's correct: no output, suggesting there are no open files. Does any USB activity work correctly for you? Things like Ovi Suite? I'm worried perhaps your N900's USB port is starting to fail.

After choosing mass storage this command should also give no output:
mount | grep MyDocs

For reference when I connect and select mass storage mode dmesg on the N900 shows:
[79336.038452] musb_hdrc periph: enabled ep1in for bulk IN, maxpacket 512
[79336.038482] musb_hdrc periph: enabled ep1out for bulk OUT, maxpacket 512
[79336.038513] g_file_storage gadget: high speed config #1

On my desktop dmesg gives:
[5433091.628648] hub 1-0:1.0: state 7 ports 10 chg 0000 evt ff80
[5433091.628666] ehci_hcd 0000:00:02.1: GetStatus port 7 status 001403 POWER sig=k CSC CONNECT
[5433091.628674] hub 1-0:1.0: port 7, status 0501, change 0001, 480 Mb/s
[5433091.654957] ehci_hcd 0000:00:02.1: GetStatus port 7 status 001002 POWER sig=se0 CSC
[5433091.758023] hub 1-0:1.0: debounce: port 7: total 125ms stable 100ms status 0x100
[5433091.758031] hub 1-0:1.0: state 7 ports 10 chg 0000 evt f880
[5433091.971241] hub 1-0:1.0: state 7 ports 10 chg 0000 evt ff80
[5433091.971267] ehci_hcd 0000:00:02.1: GetStatus port 7 status 001403 POWER sig=k CSC CONNECT
[5433091.971274] hub 1-0:1.0: port 7, status 0501, change 0001, 480 Mb/s
[5433092.075023] hub 1-0:1.0: debounce: port 7: total 100ms stable 100ms status 0x501
[5433092.126289] ehci_hcd 0000:00:02.1: port 7 high speed
[5433092.126295] ehci_hcd 0000:00:02.1: GetStatus port 7 status 001005 POWER sig=se0 PE CONNECT
[5433092.177028] usb 1-7: new high speed USB device using ehci_hcd and address 37
[5433092.228261] ehci_hcd 0000:00:02.1: port 7 high speed
[5433092.228266] ehci_hcd 0000:00:02.1: GetStatus port 7 status 001005 POWER sig=se0 PE CONNECT
[5433092.292761] usb 1-7: default language 0x0409
[5433092.293129] usb 1-7: udev 37, busnum 1, minor = 36
[5433092.293131] usb 1-7: New USB device found, idVendor=0421, idProduct=01c7
[5433092.293133] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[5433092.293135] usb 1-7: Product: N900 (Storage Mode)
[5433092.293136] usb 1-7: Manufacturer: Nokia
[5433092.293138] usb 1-7: SerialNumber: <redacted for security reasons>
[5433092.293269] usb 1-7: usb_probe_device
[5433092.293273] usb 1-7: configuration #1 chosen from 2 choices
[5433092.294006] usb 1-7: adding 1-7:1.0 (config #1, interface 0)
[5433092.294146] libusual 1-7:1.0: usb_probe_interface
[5433092.294151] libusual 1-7:1.0: usb_probe_interface - got id
[5433092.294163] usb-storage 1-7:1.0: usb_probe_interface
[5433092.294167] usb-storage 1-7:1.0: usb_probe_interface - got id
[5433092.294244] scsi20 : usb-storage 1-7:1.0
[5433097.295819] scsi 20:0:0:0: Direct-Access Nokia N900 031 PQ: 0 ANSI: 2
[5433097.296302] scsi 20:0:0:1: Direct-Access Nokia N900 031 PQ: 0 ANSI: 2
[5433097.296750] sd 20:0:0:0: Attached scsi generic sg6 type 0
[5433097.297512] sd 20:0:0:1: Attached scsi generic sg7 type 0
[5433097.300417] sd 20:0:0:0: [sde] Attached SCSI removable disk
[5433097.301038] sd 20:0:0:1: [sdf] Attached SCSI removable disk
[5433133.939544] sd 20:0:0:0: [sde] 56631296 512-byte logical blocks: (28.9 GB/27.0 GiB)
[5433133.939915] sd 20:0:0:0: [sde] Assuming drive cache: write through
[5433133.941168] sd 20:0:0:0: [sde] Assuming drive cache: write through
[5433133.941173] sde:
[5433135.952288] sd 20:0:0:1: [sdf] 15659008 512-byte logical blocks: (8.01 GB/7.46 GiB)
[5433135.960282] sd 20:0:0:1: [sdf] Assuming drive cache: write through
[5433135.992271] sd 20:0:0:1: [sdf] Assuming drive cache: write through
[5433135.992274] sdf: sdf1 sdf2
 
Posts: 175 | Thanked: 41 times | Joined on Mar 2010
#7
Okay guys, i think i have it working for now.

I left the battery out for about 30 minutes, plugged her in and so far so good!

What is odd is that, i have done this before and it never worked!

Ill see how its going and keep you guys updated!
 

The Following User Says Thank You to CraigRobbo For This Useful Post:
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#8
Don't forget that if the tracker is scanning a mounted partition, then it can't be unmounted to allow the host PC to access it via usb. Always wait after a reboot until the tracker has finished running before attempting to usb mount your N900 from a host PC.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.

Last edited by fnordianslip; 2010-11-14 at 22:58.
 

The Following 2 Users Say Thank You to fnordianslip For This Useful Post:
Posts: 175 | Thanked: 41 times | Joined on Mar 2010
#9
Originally Posted by fnordianslip View Post
Don't forget that if the tracker is scanning a mounted partition, then it can't be unmounted to allow the host PC to access it via usb. Always wait after a reboot until the tracker has finished running before attempting to usb mount you N900 from a host PC.
Noob qeustion alert:

Whats a tracker?

Craig
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#10
Originally Posted by CraigRobbo View Post
Noob qeustion alert:

Whats a tracker?

Craig
Infamous background system process that indexes at least music, video, images and (please correct me if I´m wrong) e-mail, sms&im, contacs, calendar? Some info:
http://forums.internettablettalk.com...ad.php?t=61960
More with power search.

It normally works but well has habit to sometimes get in loop.
__________________
TMO links: [iSpy] - [Power search] - [Most thanked] - [Cordia - Maemo5 UI on top MeeGo Core] - [CommunitySSU]

Last edited by slender; 2010-11-14 at 23:03.
 
Reply


 
Forum Jump


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