I have a pismo with suse linux ppc (7.0) installed, upgraded to kernel
2.4.9-benh0-benh (along with modutils-2.4.1-0.ppc.rpm, ppp-2.4.0-3.ppc.rpm,
pmud-0.7.2-1.ppc.rpm and modules-alsa.conf loaded in /etc/modules.conf).
Everything works fine (network, sound, ppp) except 2 features.
although the latest pmud was installed and seems to be apparently well
recognised at boot, the automatic sleep is still behaving strangely.
The machine goes to sleep (with the green led blinking) at very strange
moments, even when I'm busy typing on the keyboard. If I'm only typing
a text on the local directory, it's only a small problem. But if i'm typing
a message on a remote host (through the modem connection), it shuts down the
modem connection when going to sleep, and i have to start again my message
from the beginning, which is really a pain. Another example of this strange
behaviour is when the machine goes to sleep when the cpu is busy computing
(code running for a long time), in which case it sometimes even doesn't wake
up properly (screen totally black, forcing a hard reboot). This happens
both when the AC adaptater is plugged in or not.
looking at the man pages, i tried to install in /etc/power a pwrctl-local
file (enabled for execution with chmod +x) with the following 2 lines
as the only content:
in order to return 1 all the time and totally disable the sleep function
(as indicated in the man pages).
It apparently does not work, although executing the file myself by typing
./pwrctl-local indeed returns 1. I also added a file called `level'
with only `3 3' in it, meaning maximum performance for both battery and
AC modes (according to the man pages), assuming that it meant no (or at
least very rare) sleep. I can see no difference in the behaviour, ie
the same problems are observed.
Would any one managed to solve this problem. Having the sleep function
operational is great, but when it operates completely randomly, it's
worse than not having it at all.
Another problem concerns the reading of audio CDs. the sound is working
fine (thanks to the alsa modules downloaded from olaf's page). I tried
different things. cdparanoia (in su mode) reads audio cd nicely, and
change them to, eg, a .cdda file, but apparently cannot redirect the
output to the internal speakers. xmms tells that there is nothing in the
cdrom drive (while there is obviously something), but can read well the
.cdda file produced with cdparanoia (demonstrating at the same time that
the internal speakers work ok). I also tried kscd (the kde audio cd
player); while it recognises the cd and all the tracks on it, playing the
cd produces no sound at all, although the speaker level is unmuted (set to
max, with either kmix or alsamixer). I noticed that the cdrom level is
set to 0 in both kmix and alsamixer (and CANNOT be unmuted apparently).
It looks as if everything works (the cd is accessed by cdparanoia and kscd,
the speakers work when reading .cdda files with xmms), but there is no
single tool that can make them work together. Does anyone have a trick
or a fix to make all this work properly??
Thanks in advance for any help.
Observatoire Midi-Pyrenees, 14 avenue Edouard Belin, F-31400 Toulouse, France
Tel: (33) 561332917, Fax: (33) 561332840,