maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   not able to use a SD card in the internal slot (https://talk.maemo.org/showthread.php?t=16127)

polossatik 2008-02-04 00:39

not able to use a SD card in the internal slot
 
Just got my N800 a few day's, was deliverd with os2007.

it worked fine using the nokia provided sd card.
Then I changed that to a 16gb adata, still no problems.

flashed the device today to the latest OS2008 v. 2.2007.50-2 (SD card still in device) and after that the internal SD card slot stopped working ?????

tested the used SD card in the external slot - working in external slot
tested with the old nokia Sd card - not working in internal slot/working in external slot
tested with other 16gb adata card - not working in internal slot/working in external slot

reformatted the 16gb adata card in external slot using the N800 file manager - still same issue when that card is then put in the internal slot....

seen any card ,when inserted, is not showing up , I installed ssh, gained root and /dev/mmcblk0 never shows up. in /dev (it should be /dev/mmcblk0 no?)

so I'm starting to get worried that it's a hardware issue...
seen it's import from US to EU i would like to avoid a sendback :)

checked the pins of the internal slot - they look fine and they make tiny marks on the sd card contacts.

I saw in old posts some people suggesting the internal card did not showed up when the cover was not very good placed, anyone who can confirm/denie this for a N800? and if exixting, what is the "trigger" for the N800 to see if the cover is fine or not?

any other things to try?

edit: did a reflash of the Os again - latest 2008 - same issue.
I will try a 2007 flash to see if it's related

ericbsmith 2008-02-04 01:57

Re: not able to use a SD card in the internal slot
 
If the cover is not on (or not seated properly) the OS will unmount the internal SD card (if it's not currently in use - if it's in use it will instead display a warning). If the cover wasn't on when the N800 is booted it won't mount the SD card until the cover is placed back on.

On the inside of the battery cover there is a small square just below the top latch - a small magnet should be glued into that square, which the N800 uses to determine if the cover is in place. When the cover is closed the magnet sits just to the top right of the SD card (there is a small hole in the metal plating where the magnet sits). If the magnet is missing from the cover it will of course not detect the cover; if you can place another magnet over the opening and the OS mounts the internal card the problem is with the cover. I was able to get the N800 to mount the internal card simply by placing a magnetic probe from my electronics tool kit over the opening in the metal casing. If the magnet is weak for some reason (or fell out) simply replacing it with another will probably do the trick. Otherwise it might be a bigger problem with the hardware.

polossatik 2008-02-04 09:02

Re: not able to use a SD card in the internal slot
 
Magnet seams ok, it's magnetic for sure.
Pulled it out of the cover an placed it with sticky tape in the hole.
same result...

damn...

polossatik 2008-02-04 10:00

Re: not able to use a SD card in the internal slot
 
flashed to 2007.. same result.

Looks like I'll have to live with only one SD slot working...

qwerty12 2008-02-04 10:04

Re: not able to use a SD card in the internal slot
 
Quote:

Originally Posted by polossatik (Post 137911)
flashed to 2007.. same result.

Looks like I'll have to live with only one SD slot working...

I would really send it back and get a replacement. The internal sd slot is quite important (swap file etc).

Ironically, a week ago when I got my N800, I did the same thing. I put in my 1Gb card in the external slot and it was quite dirty and the internal slot stopped working. Cleaned the sd card with spit (not the most hygenic of solutions but I'm 15 :P), wiped it down, put it back in and it still wasn't working. Wasted an hour feeling pissed until I read the getting started manual and it said you needed the cover on :rolleyes:.

fanoush 2008-02-04 10:09

Re: not able to use a SD card in the internal slot
 
just to be sure you can see the status of the cover via
Code:

cat /sys/devices/platform/mmci-omap.1/mmc_host\:mmc0/cover_switch
cat /sys/devices/platform/mmci-omap.1/mmc_host\:mmc1/cover_switch

both should be 'closed', also what 'dmesg' says when you insert the card, nothing?

polossatik 2008-02-04 14:15

Re: not able to use a SD card in the internal slot
 
Quote:

Originally Posted by fanoush (Post 137915)
just to be sure you can see the status of the cover via
Code:

cat /sys/devices/platform/mmci-omap.1/mmc_host\:mmc0/cover_switch
cat /sys/devices/platform/mmci-omap.1/mmc_host\:mmc1/cover_switch

both should be 'closed', also what 'dmesg' says when you insert the card, nothing?

both give closed indeed,
dmesg gives nothing, I get a event for removing my headphone, then i'll add a SD card to the internal bay - no new entry. If I add the same card to the external i'll see new entry's

Code:

[14717.570312] EAC mode: play disabled, rec disabled
[14835.132812] cx3110x: PSM dynamic with 100 ms CAM timeout.
[15002.742187] headphone (GPIO 107) is now disconnected
[15002.812500] cx3110x: PSM dynamic with 200 ms CAM timeout.
[15122.835937] cx3110x: PSM dynamic with 100 ms CAM timeout.
[15186.187500] menelaus 1-0072: Setting voltage 'VDCDC3' to 3300 mV (reg 0x07, val 0x39)
[15186.210937] menelaus 1-0072: Shutting off 'VDCDC3'
[15186.367187] cx3110x: PSM dynamic with 200 ms CAM timeout.
[15192.437500] menelaus 1-0072: Setting voltage 'VDCDC3' to 3300 mV (reg 0x07, val 0x39)
[15192.460937] menelaus 1-0072: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)
[15192.789062] mmcblk0: mmc1:b368 SD    15694336KiB
[15192.789062]  mmcblk0: p1
[15198.523437] menelaus 1-0072: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)

edit: just for fun I restored the magnet in the cover, N800 refusese to start with cover open, started up and then opend / closed the cover (Sd card is inserted), dmesg:

Code:

[  185.523437] bat_cover (GPIO 110) is now open
[  185.531250] menelaus 1-0072: Setting voltage 'VMMC' to 3100 mV (reg 0x0a, val 0xf8)
[  185.554687] menelaus 1-0072: Shutting off 'VMMC'
[  188.468750] bat_cover (GPIO 110) is now closed
[  188.476562] menelaus 1-0072: Setting voltage 'VMMC' to 3100 mV (reg 0x0a, val 0xf8)
[  188.500000] mmci-omap mmci-omap.1: command timeout (CMD8)
[  188.507812] menelaus 1-0072: Shutting off 'VMMC'


polossatik 2008-02-04 14:23

Re: not able to use a SD card in the internal slot
 
Quote:

Originally Posted by qwerty12 (Post 137912)
I would really send it back and get a replacement. The internal sd slot is quite important (swap file etc).
....
Cleaned the sd card with spit (not the most hygenic of solutions but I'm 15 :P), wiped it down, put it back in and it still wasn't working.

it's bought in the USA (had a friend coming over) and I'm from Belgium, if I have to send it over back and forward it will cost me more in shipping and custom taxes then getting a other one :(.

I'm temped to test your "fix" :D bu seen the card is working in the external slot, I doubt very much if it's a card issue.
Checked the pins of the internal slot once more with magnify glass, no damage there, all look pretty ok.

I'm just really breaking my head down why it worked for 3 day's and then decided to stop working....
Electronics....

fanoush 2008-02-04 15:18

Re: not able to use a SD card in the internal slot
 
Quote:

Originally Posted by polossatik (Post 137983)
started up and then opend / closed the cover (Sd card is inserted), dmesg:

Code:

[  185.523437] bat_cover (GPIO 110) is now open
[  185.531250] menelaus 1-0072: Setting voltage 'VMMC' to 3100 mV (reg 0x0a, val 0xf8)
[  185.554687] menelaus 1-0072: Shutting off 'VMMC'
[  188.468750] bat_cover (GPIO 110) is now closed
[  188.476562] menelaus 1-0072: Setting voltage 'VMMC' to 3100 mV (reg 0x0a, val 0xf8)
[  188.500000] mmci-omap mmci-omap.1: command timeout (CMD8)
[  188.507812] menelaus 1-0072: Shutting off 'VMMC'


This doesn't look good. So the cover detection works. When you close it, tablet tries card detection, but gets command timeout to CMD8 (= SEND_IF_COND command, first or one of first commands, reply should be list of voltages supported by card). Looks like card drops dead and does not respond (in time at least). If the tablet previously came with older OS2007 firmware, try that if you can. If it doesn't help try different kernels - if you have stock one you may try some high-speed ones from http://intr.overt.org/blog/.

Still, the latest OS2007 kernel fixes nasty bug that can kill cards so it is not recommended to write to some power hungry SDHC cards with older kernels but it should be to test card detection. It is possible that slot is dead but it still could be some software issue in linux kernel. Maybe also powering device down and removing battery for some time could help.

polossatik 2008-02-04 15:42

Re: not able to use a SD card in the internal slot
 
I did downgraded to os2007 (2007.38-2) and that had just the same behavior - i did not write down the OS version before I upgraded, so not sure if that is the actual version that was on the system.

I actually was suprised the SDHC worked out of the box :)

I'll try the http://intr.overt.org/2.2008.50-mmc-kernel/ first...

and as a bootnote, i'll think i'll fix the magnet again with sticky tape, opening the cover also closes wifi... bah.

edit: on second tought... seen the porblem is also with the provided 128 Mb minisd I doubt it's a timing problem...
so maybe the slot is killed or so by using SDHC card and a old kernel (if you say some can kill cards, I would not surprised if it can then kill a reader)

polossatik 2008-02-05 18:30

Re: not able to use a SD card in the internal slot
 
well, tried it anyway,
now on http://intr.overt.org/2.2008.50-mmc-kernel/

the hardware is dead i think...
dmesg is not even giving a thing: (cover door magnet is now with sticky tape against sensor)

connected headphone to have a entry, then inserted SD card in back slot, removed headphone afterwards...

.
Code:

[  277.804687] headphone (GPIO 107) is now connected
[  284.156250] headphone (GPIO 107) is now disconnected
[  296.453125] cx3110x: WARNING prism_softmac_frame_tx_done() returned an empty frame.

inserting same sd card in external slot:

Code:

[  665.507812] mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing 0
[  665.507812] menelaus 1-0072: Setting voltage 'VDCDC3' to 3300 mV (reg 0x07, val 0x39)
[  665.531250] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
[  665.531250] mmc1: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0
[  665.531250] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
[  665.546875] cx3110x: PSM dynamic with 200 ms CAM timeout.
[  665.546875] mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
[  665.546875] menelaus 1-0072: Shutting off 'VDCDC3'
[  670.492187] mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing 0
[  670.492187] menelaus 1-0072: Setting voltage 'VDCDC3' to 3300 mV (reg 0x07, val 0x39)
[  670.507812] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
[  670.507812] mmc1: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0
[  670.507812] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
[  670.515625] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 15 width 0 timing 0
[  670.515625] menelaus 1-0072: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)
[  670.531250] mmc1: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 15 width 0 timing 0
[  670.531250] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 15 width 0 timing 0
[  670.843750] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 15 width 0 timing 0
[  670.843750] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 15 width 0 timing 0
[  670.851562] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 15 width 2 timing 0
[  670.851562] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 15 width 2 timing 2
[  670.851562] mmc1: clock 48000000Hz busmode 2 powermode 2 cs 0 Vdd 15 width 2 timing 2
[  670.867187] mmcblk0: mmc1:b368 SD    15694336KiB
[  670.867187]  mmcblk0:mmc1: clock 48000000Hz busmode 2 powermode 2 cs 0 Vdd 15 width 2 timing 2
[  670.867187]  p1
[  676.476562] mmc1: clock 48000000Hz busmode 2 powermode 3 cs 0 Vdd 15 width 2 timing 2
[  676.476562] menelaus 1-0072: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)

well, at least i can use the internal slot as a Sd card holder...

richrosa 2008-02-13 15:30

Re: not able to use a SD card in the internal slot
 
I had the same problem using the Beta OS2008. When I upgraded, the problem went away. Try upgrading and see if that works for you.

polossatik 2008-02-13 19:24

Re: not able to use a SD card in the internal slot
 
Thank you, but I use OS2008 v. 2.2007.50-2 (latest)
AFAIK this not the beta version.. :)
After I had the problem I did flashed back to OS2007 (2007.38-2) -> same problem and then again back to OS2008 v. 2.2007.50-2.
I just don't know what exact version of OS2007 was delivered with the tablet...
Does anyone knows what version of OS2007 is "standard" on the N800 ?

jonmlee 2008-03-30 04:02

Re: not able to use a SD card in the internal slot
 
has there been any progress made?

fanoush 2008-03-31 08:31

Re: not able to use a SD card in the internal slot
 
Just another slightly related experience. When switching back from OS2008 to 7 with N800 you can try to flash also older bootloader when having trouble with MMC, not just flash os2007 kernel/initfs/rootfs over newer full flash. For me it made difference for external slot. When going back to OS2007 my external mmc slot did not work until I flashed bootloader. It did work with OS2008 kernel but not with OS2007 one until I did that. The internal one worked always, though.

midwinter 2008-10-24 04:01

Re: not able to use a SD card in the internal slot
 
Is there any way to get a replacement magnet? I'm having this problem, as well, and there is no magnet in the tiny square at the center-top of my door.

notladstyle 2009-02-03 04:19

Re: not able to use a SD card in the internal slot
 
Quote:

Originally Posted by midwinter (Post 236229)
Is there any way to get a replacement magnet? I'm having this problem, as well, and there is no magnet in the tiny square at the center-top of my door.


midwinter,
I recently purchased an N800 off ebay which was also missing the magnet.

The smallest magnet I could find was in a refrigerator magnet that held papers in a clip. I pried the magnet out and found it to be of slightly larger dimensions than the hole but just as thin.

In order to make it fit, I used a pair of nail clippers to cut the plastic square off the case and then some sand paper to smooth the area. Be sure not to cut through the panel.

Then I used a dot of super glue to mount the old magnet into the cover. make sure you shift the magnet to the left of the battery of it will press against the screen on the other side.

TheGogmagog 2009-02-03 14:28

Re: not able to use a SD card in the internal slot
 
Thanks for the info notladstyle.
It looks like the original poster has given up, or hopefully figured it out.
fanoush's terminal commands probably are as thourough as you need, but there is a 'last resort' test you could perform. You can format the card with the back cover off (it has to be unmounted). You could try sfdisk /dev/mmcblk0 -uM and then just cancel out if you don't want to format it. That would confirm the card is accessable at some level.

For what it's worth, I had trouble booting off of the internal card. It wouldn't be detected at startup, but was still able to be mounted and used for data file storage. This turned out to be helpfull since the internal is the first one mounted by windows, and my work PC only had one slot that wasn't mapped. The problem went away, I don't know how though.

notladstyle 2009-02-06 05:28

Re: not able to use a SD card in the internal slot
 
Heres a pic of the new magnet~ A little of the super glue pooled out =( but who cares you cant see it and im enjoying the 16gb goodness :p

http://i254.photobucket.com/albums/h...1893Medium.jpg

wxcxyz 2009-03-13 16:14

Re: not able to use a SD card in the internal slot
 
I had the same problem too,I try to repaire it but failed.Then,if I type commend dmesg | grep mmc1,there are several messages,but if i type commend dmesg | grep mmc2,there are no messang .Isn't it means a hardware problem?
other way,I find everywhere to find N800's Schematics,but they are sll not clear if i zoom it,anybody has a clear version?
thanks!!!

chhh 2009-05-17 14:58

Re: not able to use a SD card in the internal slot
 
Quote:

Originally Posted by wxcxyz (Post 271436)
I had the same problem too,I try to repaire it but failed.Then,if I type commend dmesg | grep mmc1,there are several messages,but if i type commend dmesg | grep mmc2,there are no messang .Isn't it means a hardware problem?
other way,I find everywhere to find N800's Schematics,but they are sll not clear if i zoom it,anybody has a clear version?
thanks!!!

I have the same problem,too

who can tell us ,how to ? Thank you very much!!!

polossatik 2009-06-24 10:38

Re: not able to use a SD card in the internal slot
 
Quote:

Originally Posted by TheGogmagog (Post 261763)
It looks like the original poster has given up, or hopefully figured it out.

given up :)

Quote:

Originally Posted by TheGogmagog (Post 261763)
fanoush's terminal commands probably are as thourough as you need, but there is a 'last resort' test you could perform. You can format the card with the back cover off (it has to be unmounted). You could try sfdisk /dev/mmcblk0 -uM and then just cancel out if you don't want to format it. That would confirm the card is accessable at some level.

this gives sfdisk: fatal error: cannot find /dev/mmcblk0

but thankx anyway


All times are GMT. The time now is 16:14.

vBulletin® Version 3.8.8