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)


All times are GMT. The time now is 06:05.

vBulletin® Version 3.8.8