maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 not recognizing microSDHC cards. (Back cover open) (https://talk.maemo.org/showthread.php?t=38739)

shinkamui 2009-12-29 21:23

N900 not recognizing microSDHC cards. (Back cover open)
 
I can't get my N900 to recognize SDHC cards. At first I thought I could actually have 3 bad microSDHC cards, but once I combed through the logs better I discovered its the back cover. It apparently is never detected as closed. I read in another thread that the cover is detected magnetically, and the inaccessibility of the drive is forced in the kernel. At this point, I dont see ANYthing in my back cover that looks like a metal or magnetic lead. Can someone post a high resolution picture of the inside of their cover? And even better, if you know where this switch is, please circle it so I can inspect my unit. Its brand new, so I need to get on asking for a replacement ASAP, im really hoping Ill just need a replacement back cover if anything..

-Sean-

MohammadAG 2009-12-29 22:20

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
I think the magnet is inside the device, there's a shiny black metal part on the battery cover, near to the camera slider

shinkamui 2009-12-29 23:23

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
good and bad news. I was able to find the region of the N900 where the magnet should be by using an actual magnet. on my case, there is nothing there. Im off to radioshack to buy some magnetic tape...

shinkamui 2009-12-29 23:36

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
great news, I took the magnet from a pouch and was able to get it working. Im gonna upload some pics for anyone else with this problem shortly, hopefully nokia will just replace theback cover for me, but at least I can use my cards now.

shinkamui 2009-12-30 02:04

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
http://farm3.static.flickr.com/2490/...411cfc4d67.jpg

Hopefully this is helpfull to someone else. THe red circle on the cover appears to be what should fit in the gap, it does not even when the N900 is closed flush. The Red circle on the phone shows the magnet from a magnetic mouse pouch that I cut out and glued on the phone. It does not interfere with the closing of the top, and has had no other impact on the device. I can however as a side benefit, use the cards while the back is off. (WHy would anyone even do that? ;-p)

Inacurate 2009-12-30 02:26

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
Quote:

Originally Posted by shinkamui (Post 446103)
I can however as a side benefit, use the cards while the back is off. (WHy would anyone even do that? ;-p)

Cause they want to check / format the card before tentatively putting the fragile feeling back cover back on?

I was going nuts since I knew my 8GB Sandisk worked, just pulled it out of the N82 and cleared it out!

Rebooting N900 now, seems you can't hotswap either! Hopefully it is seen when powered on again...

Inacurate 2009-12-30 02:37

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
Nope....no joy. Still not seeing my MicroSD card. Very odd. It looks like there is a magnet there on my back cover, wish I had a picture to confirm.

Going to have to find a magnet now and check, haha.

shinkamui 2009-12-30 02:40

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
:) Well, I blew 2 days on this, so I hope that this helps you. check your dmesg log it will tell you if the card is just corrupt, or if its the same magnetic problem. dmesg |grep mmc and look for the line about the cover open.

slavikko 2009-12-30 14:45

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
Another thing to note is that if your card was encrypted on the other phone, the N900 will not recognize it even with a re-format on the other phone. You have to remove the encryption from it 1st.

Milhouse 2009-12-30 14:53

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
Or check dmesg when removing the back cover - you should see the following dmesg entries if your cover magnet is working correctly:

Code:

mmc0: cover is open, card is now inaccessible
...
mmc0: cover is closed, card is now accessible


Inacurate 2009-12-31 14:22

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
slavikko guessed it!

I spent an hour last night trying to rememeber what my password was, LOL. After first trying to figure out why I couldn't read it from two PCs using three different interface methods but I knew it worked cause my N82 recognized it!! haha

Finally hit me, didn't I put a password on this so my GF couldn't look at it? :D

All good now, though have my eyes on an 16GB card.

Dancairo 2009-12-31 14:47

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
Is this related? read ossipena's post about halfway down...

http://talk.maemo.org/showthread.php?t=38868

some on this post think it is to do with the battery under the kickstand....

sljonson 2009-12-31 15:04

Re: N900 not recognizing mircoSDHC cards. (Back cover open)
 
Quote:

Originally Posted by Dancairo (Post 447961)
Is this related? read ossipena's post about halfway down...

http://talk.maemo.org/showthread.php?t=38868

some on this post think it is to do with the battery under the kickstand....

I can definitely confirm it's a magnet which senses whether the backcover is on or off. i used the magnet on a generic case I bought for my N900. I was able to enable the SD card with the cover off by holding a weak magnet over the camera area.

So it looks like that magnet on the backcover is doing double duty. Keeping the kickstand snuggly held closed, and to tell the phone whether the backcover is on or off.

Additional note. There is a also a magnet and switch which are used to determine if the slide keyboard is open or not. It's located on the right side of the N900 well away from the backcover magnetic switch/sensor near camera. The use of these two magnet probably explain why there isn't a magnetic compass in the N900.

Tungmar 2010-06-22 07:27

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
I have some thing like this whit my n900: The magnet is in place but the cover is always recognized as open. If i hold a stronger magnet on this spot, it has no effect. I think the sensor is defect.
Is there a way to tell the kernel by software that the cover is closed? Some switch in /proc/ or so?

Thanks!

maxximuscool 2010-06-22 07:34

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by Tungmar (Post 724570)
I have some thing like this whit my n900: The magnet is in place but the cover is always recognized as open. If i hold a stronger magnet on this spot, it has no effect. I think the sensor is defect.
Is there a way to tell the kernel by software that the cover is closed? Some switch in /proc/ or so?

Thanks!

There is an Xterminal command to tell if the status of the back cover is working or not. But can't remember

M00NB34M 2010-08-24 23:28

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Hey there!

Is there some way via Xterminal or hardware hack that you could fool the N900 has the back cover on when it actually isn't? Problem is i think the sensor is kaput...i mean the magnet on the cover is still there but even when i close it it still doesn't detect anything! So would it be possible to like force the phone to believe the cover is on?

In fairness there really is no point of the phone detecting whether it is on or not...no benefits what so ever!

Thanks!

sjgadsby 2010-08-24 23:34

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by M00NB34M (Post 797338)
In fairness there really is no point of the phone detecting whether it is on or not...no benefits what so ever!

Automatically cleanly unmounting the micro SD card before that card is yanked from the phone seems beneficial to me. It makes me sad when I lose files to filesystem corruption.

Monniman 2010-08-24 23:56

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
I had the same problem and i replaced the magnet with magnetic tape aswell. Here is something i noticed:

A magnet only works with the sensor when in a certain angle. Seems
the magnetic poles have to be aligned in a certain way. I had to cut several pieces from diffrent angles so that the sensor would work.

As a summary:
When trying to replace the magnet don't give up if it doesn't seem to work at first. Find the proper angle for the magnet to work with the sensor and then cut accordingly.

M00NB34M 2010-08-27 10:00

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by sjgadsby (Post 797343)
Automatically cleanly unmounting the micro SD card before that card is yanked from the phone seems beneficial to me. It makes me sad when I lose files to filesystem corruption.

Fair enough but surely a safely remove MMC option would suffice? I just think its caused more harm than good tbh

IvanD 2010-09-07 06:10

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
I've the same issue, do you think the warranty covers this reparation?

hm88 2010-09-13 00:51

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
It Better Be..

JarZ 2010-09-21 02:47

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
My back cover refuses to be detected no matter what I try. I've tried strong magnets, new back covers, and even pulled apart my phone to make sure everything was alright.

I think my sensor has failed.

Is there *any* software workaround for this issue? Does anyone know?

JarZ 2010-09-30 07:55

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Just a quick bump. I've pretty much confirmed that my back cover sensor has died.

Are there any software solutions, hacks, etc, to make the phone think that the back cover is on so I can use MicroSD cards again? Or am I going to have to pay to get my phone repaired?

testerus 2010-10-24 21:05

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by JarZ (Post 829885)
Are there any software solutions, hacks, etc, to make the phone think that the back cover is on so I can use MicroSD cards again? Or am I going to have to pay to get my phone repaired?

Any updates?
Is there a software fix?

M00NB34M 2010-11-05 07:47

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
So...are there any software workarounds??

Reeeeally need this!!

Wikiwide 2010-11-05 08:22

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quick reply...
I might be wrong...
gconftool-2 can found key
/system/osso/af/mmc-cover-open
which is false when back cover is closed and true when back cover is open.

This key is promptly set by sensor, so setting value of this GConf key manually may be in vain.

M00NB34M 2010-11-09 11:43

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Wikiwide i think you may have just opened up alot of doors!

Basically i was messing around with that key with gconftool. And i changed the value from true to false using :

Code:

sudo gainroot

gconftool-2 --type Boolean /system/osso/af/mmc-cover-open false

This set the value from True to False, you can check it via :

Code:

gconftool-2 --get /system/osso/af/mmc-cover-open
I set it to false, but the MMC is still not detected. ALTHOUGH the camera now responds to the shutter being opened and closed.

If you go :

Code:

gconftool-2 -a /system/osso/af
You'll find a list of Keys related to the back cover, camera and mmc. And their status will be displayed too!

IS IT POSSIBLE for anyone whos back cover works to test using the last code and display a status of the keys that are true and false? That would be really helpful, as that way we can enable/disable the right keys to truly fool the phone into thinking the back cover is on!

Thanks

JonWW 2010-11-09 13:49

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by M00NB34M (Post 867968)
I set it to false, but the MMC is still not detected.

Place the SD card in your PC and check it for errors. The card detection can fail if it has disc errors, fix them and it may re-appear.

This happened to me, so I copied all my data off, deleted the corrupted file and re-formated. After copying all my data back the card appeared OK

M00NB34M 2010-11-09 14:24

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Done that, funnily enough the card is in my laptop right now and there are no problems/errors with it. Iv tried the phone with 3 different cards. Its that damn sensor inside the phone which detects the magnet on the back cover!

The best way to approach this would be a kernel patch which basically told the phone to disregard the back cover and just accept the MMC as always being there! I don't have enough experience with kernel hacking :(

IvanD 2010-11-09 14:27

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by M00NB34M (Post 868116)
Done that, funnily enough the card is in my laptop right now and there are no problems/errors with it. Iv tried the phone with 3 different cards. Its that damn sensor inside the phone which detects the magnet on the back cover!

The best way to approach this would be a kernel patch which basically told the phone to disregard the back cover and just accept the MMC as always being there! I don't have enough experience with kernel hacking :(

why dont u take it to repair?

JonWW 2010-11-09 14:49

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
If I open the N900 file manager and using PuTTY on my PC I can
copy and past into PuTTY, I am able make my SD card appear with these commands in the N900 file manager
Code:

gconftool-2 -s -t bool /system/osso/af/internal-mmc-device-present true
gconftool-2 -s -t bool /system/osso/af/mmc-cover-open false
gconftool-2 -s -t bool /system/osso/af/internal-mmc-cover-open false
gconftool-2 -s -t bool /system/osso/af/mmc-device-present true

and disappear with these commands
Code:

gconftool-2 -s -t bool /system/osso/af/internal-mmc-device-present false
gconftool-2 -s -t bool /system/osso/af/mmc-cover-open true
gconftool-2 -s -t bool /system/osso/af/internal-mmc-cover-open true
gconftool-2 -s -t bool /system/osso/af/mmc-device-present false


TiagoTiago 2010-11-10 11:58

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
You probably could do it by typing it in the device itself, also, you could make a thingy with QueenBeecon to that runs the commands when you tap on them.

Wikiwide 2010-11-10 12:08

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by JonWW (Post 868143)
If I open the N900 file manager and using PuTTY on my PC I can
copy and past into PuTTY, I am able make my SD card appear with these commands in the N900 file manager
Code:

gconftool-2 -s -t bool /system/osso/af/internal-mmc-device-present true
gconftool-2 -s -t bool /system/osso/af/mmc-cover-open false
gconftool-2 -s -t bool /system/osso/af/internal-mmc-cover-open false
gconftool-2 -s -t bool /system/osso/af/mmc-device-present true

and disappear with these commands
Code:

gconftool-2 -s -t bool /system/osso/af/internal-mmc-device-present false
gconftool-2 -s -t bool /system/osso/af/mmc-cover-open true
gconftool-2 -s -t bool /system/osso/af/internal-mmc-cover-open true
gconftool-2 -s -t bool /system/osso/af/mmc-device-present false


1. Thanks a lot for thorough thinking.
2. Try to type it in X Terminal. Don't make people to install more additional software than necessary.
3. It could be saved into /usr/bin/microsdcard sh script so that instead of typing it over and over you would just execute this script(s).

kohan69 2011-07-22 03:46

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Nope, tried typing all that in, still doesnt see sd card! :confused:

kl2010 2011-07-22 21:28

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
any solution in sight??. Took my phone to Nokia care centre but they wouldnt even look at it, there's no warranty for the the phone N900 in my country.

gosh!!!

StefanL 2011-07-22 22:14

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Same here. Tried all the gconf stuff, but still can't see the card :(.

judibet 2012-06-18 10:39

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by M00NB34M (Post 867968)
Wikiwide i think you may have just opened up alot of doors!

Basically i was messing around with that key with gconftool. And i changed the value from true to false using :

Code:

sudo gainroot

gconftool-2 --type Boolean /system/osso/af/mmc-cover-open false

This set the value from True to False, you can check it via :

Code:

gconftool-2 --get /system/osso/af/mmc-cover-open
I set it to false, but the MMC is still not detected. ALTHOUGH the camera now responds to the shutter being opened and closed.

If you go :

Code:

gconftool-2 -a /system/osso/af
You'll find a list of Keys related to the back cover, camera and mmc. And their status will be displayed too!

IS IT POSSIBLE for anyone whos back cover works to test using the last code and display a status of the keys that are true and false? That would be really helpful, as that way we can enable/disable the right keys to truly fool the phone into thinking the back cover is on!

Thanks

Hi!
I do it but I've this message:
Quote:

/home/user # gconftool-2 --get /system/osso/af/mmc-cover-open true
Why I can't put it to false?

Can you help us please? :confused:

judibet 2012-06-29 16:40

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Hello, if somebody can help us, please :(?

Psotnick 2012-08-10 11:49

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Topic died over a month ago, but I've got the same problem and I'm just wondering if someone could trick the device to think that the back cover is closed?

michaaa62 2012-08-10 14:46

Re: N900 not recognizing microSDHC cards. (Back cover open)
 
Quote:

Originally Posted by judibet (Post 1229110)
Hello, if somebody can help us, please :(?

Sorry for having ignored this thread somehow. Here is the output for a working N900
Code:

Nokia-N900:~# gconftool-2 -a /system/osso/af
 internal-mmc-device-present = true
 launch-on-camera = true
 mmc-mount-point = /media/mmc1
 mmc-device-name = /dev/mmcblk1
 mmc-used-over-usb = false
 internal-mmc-swap = false
 camera-has-turned = false
 on-camera-out = [org.freedesktop.Telepathy.StreamEngine,com.nokia.osso_voip_ui]
 slide-open = false
 mmc-cover-open = false
 internal-mmc-cover-open = false
 usb-mode = idle
 internal-mmc-used-over-usb = false
 mmc-swap = false
 usb-device-name = USB-Gerät
 mmc-device-present = true
 camera-is-out = false
 usb-cable-attached = false
 keyboard-attached = false

Hope it helps.


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

vBulletin® Version 3.8.8