Skip to contentSkip to conversation

Suspend to RAM works, but no wake up. ATI Technologies Inc Rage Mobility P/M (rev 64) video card

DISCUSSION Benedek Frank 3 participants 9 messages Jun 26, 2005 – Jun 28, 2005 4 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi

On my Sony Vaio laptop (PCG-C1VRX/K picturebook) I use kernel 2.6.11. I am on Debian Sarge. When I suspend, the laptop suspends just fine, unloads everything it can, what it cannot, I included in the script to force to unload, and it sleeps very fine when I close the lid. First issue, it wont wake up when I open the lid, only when I press a button. Second issue is that it wont come back to live even after button pressed, except if I give a boot pharameter to GRUB as follows

acpi_sleep=s3_bios

Now my Grub entry looks like this:

title           Debian GNU/Linux, kernel 2.6.11 
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.11 root=/dev/hda2 ro

acpi_sleep=s3_bios initrd /boot/initrd.img-2.6.11
savedefault
boot

When I use this option, it does wake up when I hit a key. However, while asleep, the screen isnt completely off. I can hear a buzzing sound, very soflty, but I can definetally hear it. Also, when I open the lid, (it wont wake up yet, only on button press) I can see some text on the screen if I tilt it in the right angle. THe LCD seems off, but it does has some text on it, so it cannot be off, just dimmed to a maximum. ANd the buzzing sound gives it also away. I left the machine suspended at 33% battery yesterday at 2AM, and by 7AM when I woke up, the battery was dead, and the laptop shut down. Usually 33% gives me 40 mintues of work time, I think it should have lasted for a 5 hours suspension, no?

Thanks for any help

Benedek

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

A message that is not in the archive (sent off-list or not yet received): 20050626095708.3649fdff.linux-mmCHBaZtUya2oZ/[email protected]

#2 lore raw
Quoted 10 lines · Benedek Frank

When I use this option, it does wake up when I hit a key. However, while asleep, the screen isnt completely off. I can hear a buzzing sound, very soflty, but I can definetally hear it. Also, when I open the lid, (it wont wake up yet, only on button press) I can see some text on the screen if I tilt it in the right angle. THe LCD seems off, but it does has some text on it, so it cannot be off, just dimmed to a maximum. ANd the buzzing sound gives it also away. I left the machine suspended at 33% battery yesterday at 2AM, and by 7AM when I woke up, the battery was dead, and the laptop shut down. Usually 33% gives me 40 mintues of work time, I think it should have lasted for a 5 hours suspension, no?

I have an IBM ThinkPad X31 (2672-XXH), also with a ATI Radeon (ATI Technologies Inc Radeon Mobility M6 LY).

While I do not get the high pitched noise, I do see the problem with the LCD backlight not powering off during S3. I have to use radeontool [1] to power off the LCD backlight before going into S3 and reverse this procedure when the laptop wakes up from S3.

Perhaps the in-kernel radeonfb driver could be modified to allow powering down the LCD backlight before entering S3?

Sincerely,
Brix
[1]: http://fdd.com/software/radeon/

Signature · 2 lines
Henrik Brix Andersen <[email protected]>
Gentoo Metadistribution | Mobile computing herd

A message that is not in the archive (sent off-list or not yet received): 1119775316.19781.13.camel-7g89Hwo0MwsWlyYapE9R8Q@public.gmane.org

#4 lore raw
Quoted 16 lines · On Sun, 26 Jun 2005 10:41:56 +0200 Henrik Brix Andersen…
Quoted 11 lines · Benedek Frank

When I use this option, it does wake up when I hit a key. However, while asleep, the screen isnt completely off. I can hear a buzzing sound, very soflty, but I can definetally hear it. Also, when I open the lid, (it wont wake up yet, only on button press) I can see some text on the screen if I tilt it in the right angle. THe LCD seems off, but it does has some text on it, so it cannot be off, just dimmed to a maximum. ANd the buzzing sound gives it also away. I left the machine suspended at 33% battery yesterday at 2AM, and by 7AM when I woke up, the battery was dead, and the laptop shut down. Usually 33% gives me 40 mintues of work time, I think it should have lasted for a 5 hours suspension, no?

I have an IBM ThinkPad X31 (2672-XXH), also with a ATI Radeon (ATI Technologies Inc Radeon Mobility M6 LY).

Quoted 8 lines

While I do not get the high pitched noise, I do see the problem with the LCD backlight not powering off during S3. I have to use radeontool
[1] to power off the LCD backlight before going into S3 and reverse this procedure when the laptop wakes up from S3.

Perhaps the in-kernel radeonfb driver could be modified to allow powering down the LCD backlight before entering S3?

Hi

I am not sure that my card is a radeon. Mine should be a Rage P/M Mobility, therefore not radeon? I am not an expert. I went ahead and downloaded the radeon tool. WHen I just pass the command "radeontool" I get this

vaio:/home/ben# radeontool 
usage: radeontool [options] [command]
         --debug            - show a little debug info
         --skip=1           - use the second radeon card
         dac [on|off]       - power down the external video outputs (on)
         light [on|off]     - power down the backlight (on)
         stretch [on|off|vert|horiz|auto|manual]   - stretching for
resolution mismatch          regs               - show a listing of some
random registers

This shows that light is on. So I pass this command "radeontool light off" and then rerun "radeontool" as it is, and get this:

vaio:/home/ben# radeontool
usage: radeontool [options] [command]
         --debug            - show a little debug info
         --skip=1           - use the second radeon card
         dac [on|off]       - power down the external video outputs (on)
         light [on|off]     - power down the backlight (off)
         stretch [on|off|vert|horiz|auto|manual]   - stretching for
resolution mismatch          regs               - show a listing of some
random register

THis shows that light is off, but it isnt as I am typing now, and nothing changed since I ran the radeontool.

When I run the same command with debug I get this "radeontool --debug light off"

vaio:/home/ben# radeontool --debug light off
0000:00:0d.0 VGA compatible controller: ATI Technologies Inc Rage
Mobility P/M (rev 64) (prog-if 00 [VGA])        Subsystem: Sony
Corporation: Unknown device 80af        Flags: bus master, stepping,
medium devsel, latency 66, IRQ 9        Memory at fd000000 (32-bit,
non-prefetchable) [size=16M]        I/O ports at 1400 [size=256]
        Memory at fc105000 (32-bit, non-prefetchable) [size=4K]
Radeon found. Base control address is fc105000.
reading RADEON_LVDS_GEN_CNTL (2d0) is 00e8fd3c
writing RADEON_LVDS_GEN_CNTL (2d0) -> 00e8fd3c

It says that "Radeon found", but nothing changes with my backlight. Can someone explain?

Thanks

Ben

Quoted 7 lines

Sincerely,
Brix
[1]: http://fdd.com/software/radeon/

Signature · 2 lines
Henrik Brix Andersen <[email protected]>
Gentoo Metadistribution | Mobile computing herd

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#5 lore raw
In reply to a message not in the archive
Quoted 10 lines · Benedek Frank

When I use this option, it does wake up when I hit a key. However, while asleep, the screen isnt completely off. I can hear a buzzing sound, very soflty, but I can definetally hear it. Also, when I open the lid, (it wont wake up yet, only on button press) I can see some text on the screen if I tilt it in the right angle. THe LCD seems off, but it does has some text on it, so it cannot be off, just dimmed to a maximum. ANd the buzzing sound gives it also away. I left the machine suspended at 33% battery yesterday at 2AM, and by 7AM when I woke up, the battery was dead, and the laptop shut down. Usually 33% gives me 40 mintues of work time, I think it should have lasted for a 5 hours suspension, no?

There is no code in the kernel to power down the video chip. This is a fairly general problem.

Signature · 9 lines
Matthew Garrett | [email protected]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
#6 lore raw
Quoted 14 lines · On Mon, 27 Jun 2005 02:19:45 +0100 Matthew Garrett…
Quoted 11 lines · Benedek Frank

When I use this option, it does wake up when I hit a key. However, while asleep, the screen isnt completely off. I can hear a buzzing sound, very soflty, but I can definetally hear it. Also, when I open the lid, (it wont wake up yet, only on button press) I can see some text on the screen if I tilt it in the right angle. THe LCD seems off, but it does has some text on it, so it cannot be off, just dimmed to a maximum. ANd the buzzing sound gives it also away. I left the machine suspended at 33% battery yesterday at 2AM, and by 7AM when I woke up, the battery was dead, and the laptop shut down. Usually 33% gives me 40 mintues of work time, I think it should have lasted for a 5 hours suspension, no?

Quoted 2 lines

There is no code in the kernel to power down the video chip. This is a fairly general problem.

Yes, but my Dell 700M powers down with no problem ,I just need a tool to wake it up. Isnt there a tool to make this ATI Rage Mobility sleep?

Ben

Quoted 17 lines
Signature · 14 lines
-- 
Matthew Garrett | [email protected]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Acpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

A message that is not in the archive (sent off-list or not yet received): 20050627075909.2d44a7c4.linux-mmCHBaZtUya2oZ/[email protected]

#8 lore raw
Quoted 7 lines · Benedek Frank
Quoted 2 lines · On Mon, 27 Jun 2005 02:19:45 +0100 Matthew Garrett…

There is no code in the kernel to power down the video chip. This is a fairly general problem.

Yes, but my Dell 700M powers down with no problem ,I just need a tool to wake it up. Isnt there a tool to make this ATI Rage Mobility sleep?

The 700M probably has the graphics chip powered down by the BIOS.

Signature · 9 lines
Matthew Garrett | [email protected]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
#9 lore raw
Quoted 11 lines · On Mon, 27 Jun 2005 16:28:18 +0100 Matthew Garrett…
Quoted 8 lines · Benedek Frank
Quoted 2 lines · On Mon, 27 Jun 2005 02:19:45 +0100 Matthew Garrett…

There is no code in the kernel to power down the video chip. This is a fairly general problem.

Yes, but my Dell 700M powers down with no problem ,I just need a tool to wake it up. Isnt there a tool to make this ATI Rage Mobility sleep?

The 700M probably has the graphics chip powered down by the BIOS.

Can I make my graphic chip power down somehow? I really dont know how it works, so please forgive me if I am really dumb. I would just like to conserve the power when suspended.

Thanks

Ben

Quoted 17 lines
Signature · 14 lines
-- 
Matthew Garrett | [email protected]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Acpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

A message that is not in the archive (sent off-list or not yet received): 20050627174557.3a47c985.linux-mmCHBaZtUya2oZ/[email protected]

#11 lore raw
Quoted 3 lines · Benedek Frank

Can I make my graphic chip power down somehow? I really dont know how it works, so please forgive me if I am really dumb. I would just like to conserve the power when suspended.

At the moment? Nope. I'm looking at ways of improving this.

Signature · 9 lines
Matthew Garrett | [email protected]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
#12 lore raw
Quoted 8 lines · On Tue, 28 Jun 2005 11:53:22 +0100 Matthew Garrett…
Quoted 3 lines · Benedek Frank

Can I make my graphic chip power down somehow? I really dont know how it works, so please forgive me if I am really dumb. I would just like to conserve the power when suspended.

At the moment? Nope. I'm looking at ways of improving this.

Thanks, Iwill keep an eye on the mailing list, would you please post it here, if you have something? Or you may reach me linux at celifornia dot com.

Thanks

Ben

Quoted 4 lines

Matthew Garrett | [email protected]

Quoted 11 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click