Workaround for suspend/resume SD card problems
-stacy
slm3095om at Millions.Ca
Thu Aug 28 18:44:29 CEST 2008
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
============================================================================
#!/bin/sh
echo 1 > /sys/module/glamo_mci/parameters/sd_idleclk
touch /home/root/.profile
sync;sync;sync
============================================================================
and
/etc/apm/resume.d/00sd_idleclk
which contains
============================================================================
#!/bin/sh
echo 0 > /sys/module/glamo_mci/parameters/sd_idleclk
============================================================================
with that, suspend and resume works as expected.
-stacy
More information about the community
mailing list