Re: Workaround for suspend/resume SD card problems

2008-08-28 Thread Simon Matthews
On Tue, 2008-08-26 at 18:38 +0200, AVee wrote: Depending on your usage of the SD card you could also workaround the issue with a few symlinks. When the card is wrongly mounted just add symlinks to the new location of the content of the card in /media/card/. Once you did that /media/card

Re: Workaround for suspend/resume SD card problems

2008-08-28 Thread Fox Mulder
Is it possible to execute some script every time the neo comes out from suspend only once? I would like to suspend it with a manually script which enables the sd_idleclk, syncs the sd-card, waits a few seconds and then go to sleep. But after resume i want to disable sd_idleclk automatically so

Re: Workaround for suspend/resume SD card problems

2008-08-28 Thread -stacy
Simon Matthews wrote: I would be interested to know if anyone else has tried it and if it works for them. Works for me. Two shell scripts: /etc/apm/suspend.d/00sd_idleclk which contains

Re: Workaround for suspend/resume SD card problems

2008-08-28 Thread Fox Mulder
That is exactly the thing i was searching for. Scripts that would be automatically executed before suspend or after resume. :) Now i will try this and activate suspend support on my neo. Until now i don't use suspend with my debian system on the sd-card because i don't want to have problems with

Re: Workaround for suspend/resume SD card problems

2008-08-28 Thread Christian Adams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 here another workaround i worked out this evening: first i turned off apmd - when running it prevents system from suspending - more investigation going on what's actually running for me is: mv /usr/bin/apm /usr/bin/apm.o creating /usr/bin/apm with

Workaround for suspend/resume SD card problems

2008-08-25 Thread Simon Matthews
With my 8G Sandisk SD card, i can reliably fix the problems i have been having by turning on the SD clock all the time. To do this type the command echo 1 /sys/module/glamo_mci/parameters/sd_idleclk then do something that will access the SD card before doing a suspend. This of course won't do

Re: Workaround for suspend/resume SD card problems

2008-08-25 Thread arne anka
This of course won't do the GPS much good, but i think the real fix might be to give the SD card more clock cycles before and after commands to give it time to finish executing commands. wouldn't it be sensible to turn on the sd clock before suspend and do somthing? after resume the clock

Re: Workaround for suspend/resume SD card problems

2008-08-25 Thread Fox Mulder
Maybe it is possible to get a workaround for this problem until it is fixed. When using a custom suspend script we maybe could do this stuff manual. When i would suspend the neo i start a script which first activates the sd_idleclk. Than it activates some access to the sd card and after that