public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Several problems with sleep states
@ 2004-02-27  9:19 Nicolas Sabouret
       [not found] ` <403F0BA9.6060905-L2FTfq7BK8M@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Sabouret @ 2004-02-27  9:19 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

following problems:
1. echo -n "disk" > /sys/power/state => nothing happens
2. echo -n "mem" > /sys/power/state => the computer enters "suspend on 
ram" mode (the suspend light gets on, etc...) when I try to wake up the 
computer, it hangs (some noise indicating that the disks are woken up 
and then nothing but a blank screen, even starting from console).

3. It has certainly nothing to do with what I said before, but I cannot 
find a /proc/acpi/processor/CPU0/performance (I have all the other files 
you mention in your Documentation section).

Here is an output of dmesg | grep acpi :
  BIOS-e820: 000000000bf70000 - 000000000bf7c000 (ACPI data)
  BIOS-e820: 000000000bf7c000 - 000000000bf80000 (ACPI NVS)
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f6c90
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x0bf75dcd
ACPI: FADT (v001 ATI    Salmon   0x06040000 ATI  0x000f4240) @ 0x0bf7bf64
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x0bf7bfd8
ACPI: DSDT (v001    ATI MS2_1535 0x06040000 MSFT 0x0100000e) @ 0x00000000
Kernel command line: auto BOOT_IMAGE=Linux ro root=306 acpi=force
ACPI: Subsystem revision 20040116
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 7 10)
ACPI: PCI Interrupt Link [LNK1] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK2] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK3] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK4] (IRQs 7 11)
ACPI: PCI Interrupt Link [LNK5] (IRQs 7 *11)
ACPI: PCI Interrupt Link [LNK6] (IRQs 7 10)
ACPI: PCI Interrupt Link [LNK7] (IRQs *5)
ACPI: PCI Interrupt Link [LNK8] (IRQs 7 10)
ACPI: Embedded Controller [EC0] (gpe 24)
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 11
ACPI: No IRQ known for interrupt pin A of device 0000:00:10.0
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 
'acpi=off'
ACPI: (supports S0 S3 S4 S5)
ACPI: No IRQ known for interrupt pin A of device 0000:00:10.0
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Thermal Zone [THRM] (33 C)


and the output of cat /proc/interrupts:
            CPU0
   0:    2204170          XT-PIC  timer
   1:       7729          XT-PIC  i8042
   2:          0          XT-PIC  cascade
   5:          0          XT-PIC  ALi Audio Accelerator
   8:          4          XT-PIC  rtc
   9:        330          XT-PIC  acpi
  10:      76313          XT-PIC  uhci_hcd, uhci_hcd, eth0
  11:          0          XT-PIC  ehci_hcd
  12:      23016          XT-PIC  i8042
  14:      51108          XT-PIC  ide0
  15:          1          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0

Thanks in advance for your help.

Nico.
-- 
Nicolas SABOURET
Laboratoire d'Informatique de Paris 6 (LIP6)
8, rue du Capitaine Scott, 75015 Paris, France
http://www-oasis.lip6.fr/~sabouret


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Several problems with sleep states
       [not found] ` <403F0BA9.6060905-L2FTfq7BK8M@public.gmane.org>
@ 2004-02-27 10:16   ` Peter Meier
       [not found]     ` <1077876965.10771.15.camel-0dCjsm2Eg2I@public.gmane.org>
  2004-02-27 10:33   ` Bruno Ducrot
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Meier @ 2004-02-27 10:16 UTC (permalink / raw)
  To: Nicolas Sabouret; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

> 2. echo -n "mem" > /sys/power/state => the computer enters "suspend on 
> ram" mode (the suspend light gets on, etc...) when I try to wake up the 
> computer, it hangs (some noise indicating that the disks are woken up 
> and then nothing but a blank screen, even starting from console).

be sure to disable usb and sound *before* going to sleep. Your
/proc/interrupts give me the idea that you have sound and usb enabled,
which is not good.

Also, if you have a radeon gfx card, you wont get your console frame
buffer back to life yet. If you use the ATI-Binary drivers, you wont get
x11 back to life. If you use the kernel ati drivers for x11 with no
framebuffer, you should be abled to resume an x11 session.

Regards, P.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Several problems with sleep states
       [not found] ` <403F0BA9.6060905-L2FTfq7BK8M@public.gmane.org>
  2004-02-27 10:16   ` Peter Meier
@ 2004-02-27 10:33   ` Bruno Ducrot
       [not found]     ` <20040227103312.GM2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Bruno Ducrot @ 2004-02-27 10:33 UTC (permalink / raw)
  To: Nicolas Sabouret; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Fri, Feb 27, 2004 at 10:19:37AM +0100, Nicolas Sabouret wrote:
> Hi,
> 
> following problems:
> 1. echo -n "disk" > /sys/power/state => nothing happens
> 2. echo -n "mem" > /sys/power/state => the computer enters "suspend on 
> ram" mode (the suspend light gets on, etc...) when I try to wake up the 
> computer, it hangs (some noise indicating that the disks are woken up 
> and then nothing but a blank screen, even starting from console).

You should try with swsusp instead and with /proc/acpi/sleep by now.
pmdisk apparently does support only S4BIOS (and you don't have s4bios,
looking the dmesg), not S4.

> 
> 3. It has certainly nothing to do with what I said before, but I cannot 
> find a /proc/acpi/processor/CPU0/performance (I have all the other files 
> you mention in your Documentation section).

It has been deprecated.  Look at /sys/devices/system/cpu0/cpufreq instead.

Cheers,

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Several problems with sleep states
       [not found]     ` <1077876965.10771.15.camel-0dCjsm2Eg2I@public.gmane.org>
@ 2004-02-27 12:18       ` Karol Kozimor
       [not found]         ` <20040227121824.GA8316-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Karol Kozimor @ 2004-02-27 12:18 UTC (permalink / raw)
  To: Peter Meier; +Cc: Nicolas Sabouret, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Thus wrote Peter Meier:
> Also, if you have a radeon gfx card, you wont get your console frame
> buffer back to life yet. If you use the ATI-Binary drivers, you wont get

On the contrary, the current radeonfb from 2.6.3 does restore the console
contents. That said, the backlight might still be a problem, but this is
usually independent of the display driver.
Best regards,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Several problems with sleep states
       [not found]     ` <20040227103312.GM2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2004-02-27 12:19       ` Karol Kozimor
       [not found]         ` <20040227121931.GB8316-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Karol Kozimor @ 2004-02-27 12:19 UTC (permalink / raw)
  To: Bruno Ducrot
  Cc: Nicolas Sabouret, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Thus wrote Bruno Ducrot:
> You should try with swsusp instead and with /proc/acpi/sleep by now.
> pmdisk apparently does support only S4BIOS (and you don't have s4bios,
> looking the dmesg), not S4.

It does support plain S4, at least it sorta-works for me.
Best regards,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Several problems with sleep states
       [not found]         ` <20040227121931.GB8316-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
@ 2004-02-27 13:16           ` Bruno Ducrot
       [not found]             ` <20040227131653.GN2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Bruno Ducrot @ 2004-02-27 13:16 UTC (permalink / raw)
  To: Nicolas Sabouret, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Fri, Feb 27, 2004 at 01:19:31PM +0100, Karol Kozimor wrote:
> Thus wrote Bruno Ducrot:
> > You should try with swsusp instead and with /proc/acpi/sleep by now.
> > pmdisk apparently does support only S4BIOS (and you don't have s4bios,
> > looking the dmesg), not S4.
> 
> It does support plain S4, at least it sorta-works for me.
> Best regards,

Ok, then I guess those comments in drivers/acpi/main.c


        /* do we have a wakeup address for S2 and S3? */
        /* Here, we support only S4BIOS, those we set the wakeup address
        /* S4OS is only supported for now via swsusp.. */

are no more appropriate?

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Several problems with sleep states
       [not found]         ` <20040227121824.GA8316-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
@ 2004-02-27 14:28           ` Peter Meier
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Meier @ 2004-02-27 14:28 UTC (permalink / raw)
  To: Karol Kozimor
  Cc: Nicolas Sabouret, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

On Fri, 2004-02-27 at 13:18, Karol Kozimor wrote:
> On the contrary, the current radeonfb from 2.6.3 does restore the console
> contents. That said, the backlight might still be a problem, but this is
> usually independent of the display driver.
> Best regards,

Actually, I had no success with 2.6.3-mm4 and the new radeonfb driver
for restoring the console. Even worse, using the radeonfb driver, I was
not abled to restore x11 anymore. Using the patch Giridhar Pemmasani
posted here some days ago, I was abled to get the backlight back, but
still no resume of the console, (Ati Radeon 9000 Mobility, I think its
R250). Its not that bad for me, its cool that x11 works :-)

With best regards, P.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Several problems with sleep states
       [not found]             ` <20040227131653.GN2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2004-02-27 14:31               ` Karol Kozimor
  0 siblings, 0 replies; 8+ messages in thread
From: Karol Kozimor @ 2004-02-27 14:31 UTC (permalink / raw)
  To: Bruno Ducrot
  Cc: Nicolas Sabouret, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Thus wrote Bruno Ducrot:
> > > You should try with swsusp instead and with /proc/acpi/sleep by now.
> > > pmdisk apparently does support only S4BIOS (and you don't have s4bios,
> > > looking the dmesg), not S4.
> > It does support plain S4, at least it sorta-works for me.
> Ok, then I guess those comments in drivers/acpi/main.c
> are no more appropriate?

There are 3 different S4 implementations currently, 2 of which (Pavel's 
swsusp and Pat's pmdisk) are in 2.6. The third is Nigel's swsusp2 available
as a patch from http://swsusp.sf.net
Best regards,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-02-27 14:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-27  9:19 Several problems with sleep states Nicolas Sabouret
     [not found] ` <403F0BA9.6060905-L2FTfq7BK8M@public.gmane.org>
2004-02-27 10:16   ` Peter Meier
     [not found]     ` <1077876965.10771.15.camel-0dCjsm2Eg2I@public.gmane.org>
2004-02-27 12:18       ` Karol Kozimor
     [not found]         ` <20040227121824.GA8316-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-02-27 14:28           ` Peter Meier
2004-02-27 10:33   ` Bruno Ducrot
     [not found]     ` <20040227103312.GM2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-27 12:19       ` Karol Kozimor
     [not found]         ` <20040227121931.GB8316-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-02-27 13:16           ` Bruno Ducrot
     [not found]             ` <20040227131653.GN2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-27 14:31               ` Karol Kozimor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox