From: Hein-Pieter v. B. <hp...@sy...> - 2004-08-23 06:55:12
|
hey all! I've been playing around trying to get S1/S3 state to work on my laptop, but so far I've been unsuccesful. Well first of all: the hardware :) attached is the output of lspci -vv, I've got the latest BIOS rev for the machine. Beware: this thing has an ATI IGP340M video card, I know that's a whole problem all by himself :) well, S1 state: if I echo -n standby > /sys/power/state I get a message in syslog: PM: Preparing system for suspend Stopping tasks: =============================================================================| Restarting tasks... done which is OK I guess, but it never actually goes to standby (or only for half a second, depending on your point of view I guess :)) I haven't been able to change this behaviour, booting in single-user mode, or anything doesn't change this?? S3 state: I've tried to do everything I could find on the mailing lists, in Documentation/power/tricks.txt and Documentation/power/video.txt. I've tried this with kernel versions 2.6.7 and 2.6.8.1 with and without the acpi patches from acpi.sf.net, doesn't make a lick of difference. I've also tried with acpi=noirc pci=noacpi acpi_sleep=s3_mode acpi_sleep=s3_bios (and all possible combinations of those) tried various apic settings off,on and whatever I could find in kernel-parameters.txt with or without device drivers loaded, with a kernel whith no hardware support other than what's needed to get the thing booting (+acpi) in single user mode and with init=/bin/bash Well, suspending seems to go fine, but the resuming is where things start to go wrong :) the system enters the state in a normal way, stopping tasks, entering state etc. and the power led starts to glow (or blink what you want to call it) As soon as I press the power button again, the power led lights up again, and the led behind my power button lights up again to, my keyboard leds flash, and I get a second or something of HDD activity. After that, nothing. My keyboard leds (IE capslock) won't work anymore, and I can't get any hdd activity (I tried typing in hdparm -t /dev/hda to get some) I've got no networking (if I enable that, which doesn't seem to matter for the overall effect) The thing's a brick basically :) I've also tried the following advanced script :) #!/bin/bash echo mem > /sys/power/state touch isitworking well, no "isitworking" One other weird thing I noticed is that as soon as I press the power button and keep hitting the capslock key frantically it keeps responding for about 5 seconds until it's stuck in the state that it's in (ie if it crashes with the caps lock led on, it stays on, and vice versa) well, that's all the information I can give you at the moment, because I don't have a serial port on this thing :( so I can't have a serial console to debug the thing. if there's more info I can give you do tell :) thanks in advance! -Hein-Pieter van Braam |