Done my homework, read the docs
OK. Got it. Both problems are trivial.
I think /proc is what's happening, and is deprecated while /sys is a lotta stuff, mostly pnp hardware states, registers and variables. No conflict. Both exist only in memory and are not disk files.
As for recompilation, I just took the .config from current working kernel, modified it (enabled HOTPLUG_CPU but added no modules, did 'make bzImage' (instead of make (default 'all')), renamed and copied to /boot, inserted System.map, ran lilo and rebooted.
And now I can echo mem >/sys/power/state and get the suspend to ram function.
Which goes to show that just formulating the question in a post is often the road to answering the question.
Thanks for the forum.
Last edited by mdmaddux; 08-09-2007 at 06:15 PM.
|