The solution I found is: don't use KDE's apm.
Start KDE regularly, not from a WM or so.
Then in it run mb-applet-battery. When mb-applet-battery is running, pdaXrom's power settings and apm will work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110023\"][{POST_SNAPBACK}][/a][/div]
Thanks for the tip. But the situation remains the same.
I unmounted the image and losetup -d /dev/loop0, deleted the dir in ~/.kde, plus deleted the kde dirs in /tmp, so KDE really started anew. Then I tried this solution a few times, but got the same result even though the mb battery applet is loaded.
The symptoms:
1st resume: Screen goes off in about a second.
2nd resume: Screen turns on but with a blank desktop and panel, then goes off again in a second.
3rd resume: Screen may come back with everything intact. But it may also resume with some icons and command missing, or simply a dark screen only with the cursor left. Reboot is necessary.
So could anyone verify these? Or is it just a particular problem with my device or squashfs image? Thanks!