OK, the more I work on this, the less I understand the way the Ipaq suspends
and resumes.
But at least I've got something that works. I used chmod -x ... to remove
the cardctl script from the suspend scripts (and the one I had added to the
resume scripts). I added a script that just unmounted my CF partitions and
set it as S01unmount in the suspend-scripts. I then added a R50mount script
to remount it in the resume scripts.
I'm still getting oddness. When I connect using minicom and watch the
messages as it suspends, I see some activity from the cardctrl. Then it goes
dead.
When I resume, the cardctrl tries to unmount my CF, then tries to mount it.
However, unlike previous attempts, this time the CF mounts cleanly. So it
must be getting unmounted properly.
The card can take a few seconds to a minute to mount, but it comes up
automatically. And I'm not getting any of the resume lock-ups I was getting
before.
So, it's not pretty, but it's working. Wish I knew what was going on under
the hood more. The resume and suspend scripts don't seem real reliable. At
least, the echo commands I placed in them never show up on the minicom
console.
If anyone wants more details on what I did, just let me know.
-Rich-
Received on Thu Apr 18 08:00:30 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:46 EDT