[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't restore from suspend



On Thu, Apr 17, 2003 at 10:59:31AM +0200, mi wrote:
> Emma Jane Hogbin [Donnerstag, 17. April 2003 02:12]:
> >| which says APM isn't supported. (Which means I need to stick with ACPI to
> >| get my overclocked fan under control.)
> Perhaps it wasn't the fan but the cpu who was overclocked ?
> Anyway an acpi issue, then.

Either or, yes. The fan was on, but it may have been on because of something else.

> >| Because I can't find what's triggering the suspend. :(
> Hmm... how to find out ?
> It would first find out if there's a timeout (idle time after that the event 
> occurs).

Ah, yes. I thought I'd said it was when I was idle this was happening. As long as
I'm working and not making supper or watching TV everything is/was fine.
(I just took an extended break and the screen saver/blank screen came on,
but the computer didn't freeze. I have the opportunity to give it even
more idle time today and I'll report back on how it does.)

> btw is the battery status recognized correctly (at least the fact it's 
> plugged into main) ?

It sees the battery, but apparently the battery functions don't work:
http://wojas.vvtp.tudelft.nl/acertm/
HMMMMM, it does for me though:

emmajane@debian:~$ more /proc/acpi/battery/0/status 
Present:                 yes
State:                   discharging
Present Rate:            unknown
Remaining Capacity:      2880 mAh
Battery Voltage:         14800 mV

emmajane@debian:~$ more /proc/acpi/battery/0/status 
Present:                 yes
State:                   discharging
Present Rate:            unknown
Remaining Capacity:      2840 mAh
Battery Voltage:         14800 mV

At least the remaining capacity gets smaller as time goes on. I'd love it
if it told me in minutes how much time I have left, but let's not get
ahead of ourselves.

> ok...so i guess it's more for real acpi specialists ... sorry that i butted I 
> just like weird problems, true.

I'm all for weird problems when they're someone else's. ;)

> problem reports. However, my impression is the device table to be more 
> important with booting problems.

I have the feeling it's a software problem from within all the things I
know nothing about. Like a Power Management setting that I don't even know
is set. This experience has *definitely* not been one for the plus side of
debian. My biggest beef is that it *may* have been the double installation
of apmd AND acpid which caused the conflict. Why wouldn't the install of
acpid remove apmd?

> Hey, there _must_ be some people around the world running exactly your laptop 
> with linux ! Some of them with acpi working .... 

*g* I think I'm the only English-speaking one, either that or they're all 
using sucky red hat or mandrake (or sucky suse -- my school is all suse based). ;)

> Perhaps you ask the acpi (+/- developer) list if there are any problems known 
> special to yours.

I will tonight if the removal of the apmd hasn't fixed things.

> >| I'm not sure at what point the system suspends...
> No idle-time ? The other two cases i know are battery low and cpu overheat.

Ah, it is an idle thing, yes. Not anything to do with the battery because
I'm usually plugged into a wall socket when it happens.

Is there a good laptop/power management/settings HOWTO out there? I'll
happily write one and post it here for comments if no one knows about one.

> ... Anyway better you'd find the event handling ... i imagine somthing 
> similar to /etc/apm/ directory here. 'man acpid' must reveal this, if it 
> exists. But maybe all echo > /proc/acpi is done by 'frontends' now ?

It is done by front ends. man acpid is virtually useless compared to man
apmd.

http://www.lab.inf.uc3m.es/cgi-bin/man2html?acpid+8

http://www.gsp.com/cgi-bin/man.cgi?section=8&topic=apmd (although I'm sure
mine was more detailed than this one--which is pretty parse as well)

> >| I had kde (just installed fluxconf which un-installed kde stuff). But the
> >| power management tools were all turned OFF. (I checked.)
> klaptopdaemon ? sleepd ? daemons are always suspisious. It's their nature ;-)

/sigh/ I didn't know about those ones. This is what I have running right
now:

emmajane@debian:~$ ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.1  1216  456 ?        S    10:08   0:04 init [2]          
root         2  0.0  0.0     0    0 ?        SW   10:08   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SWN  10:08   0:00 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        SW   10:08   0:00 [kswapd]
root         5  0.0  0.0     0    0 ?        SW   10:08   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        SW   10:08   0:00 [kupdated]
root         8  0.0  0.0     0    0 ?        SW   10:08   0:00 [khubd]
root       142  0.0  0.0     0    0 ?        SW   10:08   0:00 [eth0]
root       149  0.0  0.3  2104  824 ?        S    10:09   0:00 dhclient -pf /var/run/dhclient.eth0.pid eth0
daemon     154  0.0  0.1  1316  388 ?        S    10:09   0:00 [portmap]
root       235  0.0  0.2  1980  756 ?        S    10:09   0:00 /sbin/syslogd
root       238  0.0  0.5  2096 1356 ?        S    10:09   0:00 /sbin/klogd
root       247  0.0  0.2  1216  528 ?        S    10:09   0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/
root       261  0.0  1.1  6472 2960 ?        S    10:09   0:00 /usr/sbin/cupsd
root       279  0.0  0.2  1940  728 ?        S    10:09   0:00 /usr/sbin/inetd
root       298  0.0  0.4  2208 1152 ?        S    10:09   0:00 /bin/sh /usr/bin/safe_mysqld
mysql      333  0.0  1.8 36840 4748 ?        S    10:09   0:00 [mysqld]
mysql      334  0.0  1.8 36840 4748 ?        S    10:09   0:00 [mysqld]
mysql      335  0.0  1.8 36840 4748 ?        S    10:09   0:00 [mysqld]
mysql      338  0.0  1.8 36840 4748 ?        S    10:09   0:00 [mysqld]
root       363  0.0  0.2  1348  676 ?        S    10:09   0:00 /sbin/cardmgr
root       484  0.0  0.4  2432 1108 ?        S    10:09   0:00 [master]
postfix    487  0.0  0.3  2384  988 ?        S    10:09   0:00 [pickup]
postfix    488  0.0  0.4  2440 1068 ?        S    10:09   0:00 [qmgr]
root       499  0.0  1.6  5156 4148 ?        S    10:09   0:00 /usr/bin/X11/xfs -daemon
root       514  0.0  0.3  2108  836 ?        S    10:09   0:00 /sbin/dhclient eth1
root       517  0.0  0.3  2072  860 ?        S    10:09   0:00 /sbin/rpc.statd
root       520  0.0  0.7  1928 1928 ?        SL   10:09   0:00 /usr/sbin/ntpd
daemon     529  0.0  0.2  1316  552 ?        S    10:10   0:00 [atd]
root       532  0.0  0.2  1396  652 ?        S    10:10   0:00 /usr/sbin/cron
root       536  0.0  1.6 138188 4148 ?       S    10:10   0:00 /usr/sbin/apache
root       548  0.0  0.2  2140  656 ?        S    10:10   0:00 /usr/bin/kdm
root       552  0.0  0.1  1200  428 tty1     S    10:10   0:00 /sbin/getty 38400 tty1
root       553  0.0  0.1  1200  428 tty2     S    10:10   0:00 /sbin/getty 38400 tty2
root       554  0.0  0.1  1200  428 tty3     S    10:10   0:00 /sbin/getty 38400 tty3
root       555  0.0  0.1  1200  428 tty4     S    10:10   0:00 /sbin/getty 38400 tty4
root       556  0.0  0.1  1200  428 tty5     S    10:10   0:00 /sbin/getty 38400 tty5
root       557  0.0  0.1  1200  428 tty6     S    10:10   0:00 /sbin/getty 38400 tty6
root       558  0.2  6.4 281652 16560 ?      S<L  10:10   0:08 /usr/X11R6/bin/X -dpi 100 -nolisten tcp vt7 -aut
www-data   559  0.0  1.6 138196 4160 ?       S    10:10   0:00 [apache]
www-data   560  0.0  1.6 138196 4160 ?       S    10:10   0:00 [apache]
www-data   561  0.0  1.6 138196 4160 ?       S    10:10   0:00 [apache]
www-data   562  0.0  1.6 138196 4160 ?       S    10:10   0:00 [apache]
www-data   563  0.0  1.6 138196 4160 ?       S    10:10   0:00 [apache]
root       564  0.0  0.4  2632 1264 ?        S    10:10   0:00 -:0         
emmajane   583  0.0  0.8  4020 2076 ?        S    10:10   0:00 /usr/bin/fluxbox
emmajane   610  0.0  0.2  2136  760 ?        S    10:10   0:00 /usr/bin/ssh-agent /usr/bin/fluxbox
emmajane   625  0.0  1.3  5948 3344 ?        S    10:10   0:00 [Eterm]
emmajane   626  0.0  0.5  2316 1364 pts/0    S    10:10   0:00 -bash
emmajane   628  0.0  0.3  1896  988 ?        S    10:10   0:00 fetchmail
emmajane   630  0.0  0.7  3132 1936 pts/0    S    10:10   0:00 mutt
emmajane   865  0.0  1.2  5896 3284 ?        S    10:23   0:00 [Eterm]
emmajane   866  0.0  0.5  2316 1364 pts/1    S    10:23   0:00 -bash
emmajane   867  0.0  0.4  2124 1064 pts/1    S    10:23   0:00 /bin/sh /usr/local/phoenix/run-mozilla.sh /usr/l
emmajane   873  0.5 11.5 44400 29512 pts/1   S    10:23   0:17 /usr/local/phoenix/phoenix-bin
emmajane   875  0.0 11.5 44400 29512 pts/1   S    10:23   0:00 /usr/local/phoenix/phoenix-bin
emmajane   876  0.0 11.5 44400 29512 pts/1   S    10:23   0:00 /usr/local/phoenix/phoenix-bin
emmajane   877  0.0 11.5 44400 29512 pts/1   S    10:23   0:00 /usr/local/phoenix/phoenix-bin
emmajane   879  0.0 11.5 44400 29512 pts/1   S    10:23   0:00 /usr/local/phoenix/phoenix-bin
emmajane   892  0.0 11.5 44400 29512 pts/1   S    10:24   0:00 /usr/local/phoenix/phoenix-bin
emmajane  1008  0.0  0.8  3148 2120 pts/0    S    10:53   0:01 vi -c :set textwidth=74 wrapmargin=4 nonumber /t
emmajane  1015  0.0  1.3  5988 3392 ?        S    10:56   0:00 [Eterm]
emmajane  1016  0.0  0.5  2324 1404 pts/2    S    10:56   0:00 -bash
postfix   1087  0.0  0.5  2684 1344 ?        S    11:12   0:00 [smtpd]
postfix   1088  0.0  0.3  2372  940 ?        S    11:12   0:00 [proxymap]
postfix   1089  0.0  0.4  2416 1032 ?        S    11:12   0:00 [cleanup]
postfix   1090  0.0  0.3  2388  960 ?        S    11:12   0:00 [trivial-rewrite]
postfix   1091  0.0  0.4  2600 1264 ?        S    11:12   0:00 [local]
postfix   1094  0.0  0.5  2680 1344 ?        S    11:12   0:00 [smtpd]
postfix   1095  0.0  0.4  2492 1248 ?        S    11:12   0:00 [smtp]
emmajane  1098  0.0  0.2  2492  760 pts/2    R    11:14   0:00 ps aux

> >| Not sure. It was supposed to be KDE and the matrix screen saver but
> >| something else was overriding it and giving a black screen.
> Something ! It's funny, isn't it ;-)

I'd love to know what it was...The problem I have with (linux?) is that there
are so many packages that you have to know. I thought that debian was
going to take care of the dependencies, but even it doesn't do a perfect
job. e.g. how could I have more than one type of screen saver installed?
If you already have one screen saver then you shouldn't have another. I
realize that linux isn't *supposed* to be easy...I do think it should be
easier though. (Although I realize it's always getting easier--I'm just
flabbergasted at the amount of time it took me to even realize that my
power management settings weren't right...)

> Usually, I'd say this is the BIOS, then. What does it's config say ?

Where do I look for that?

> One more idea. There's a powermanagement-option in /etc/XF86Config-4.
> It's for 'green' monitors, not for laptop-lcd's, afaik. But wdikaa...

Don't see anything in there...but if you want to look too, it's here:
http://xtrinsic.com/geek/code/XF86Config-4.txt

> After all the problems i heard about acpi i hardly can believe that ....

Probably they don't even realize it's not working. ;)

> >| /proc/acpi/processor/0/info
> It's no more called /proc/acpi/processor/CPU0/info ?

Not on my machine...

> If this is not existent i would wonder if the patching was alright...
> ( btw. perhaps you try kernel 2.5.6 ? But i can't say what this would imply 
> to install, then. Perhaps someone else on this list is running a 2.5 kernel ?)

It's very possible it's not correctly installed. The stuff I was reading
didn't say anything about needed to patch the system, it just said that I
needed a 2.4.20 kernel.

> I think what we really do need is a dedicated laptop distro.
> If i remember right, Werner Heuser proposed this already...

I'd be hip to that. I wouldn't want to stray too far though. Most of my
problems have been things that the main debian-user list has helped me
with.

thanks!

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]



Reply to: