OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » laptop » discuss

Thread: Suspend-resume support

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: Sep 15, 2008 6:51 AM by: andrewk8
andrewk8

Posts: 595
From:

Registered: 3/12/08
Suspend-resume support
Posted: Aug 30, 2008 11:24 AM
To: Communities » laptop » discuss
  Click to reply to this thread Reply

I've got a Toshiba Tecra A9 laptop. I thought I would give suspend-resume a try on OpenSolaris, so I followed the instructions here:

http://blogs.sun.com/randyf/entry/solaris_suspend_and_resume_how

After adding the required line to /etc/power.conf, running pmconfig, then logging off and on I get the option to "suspend" the laptop in the "shutdown" box in GNOME. The laptop sleeps OK, but switching it back on looks like it hangs somewhere.

I then followed the instructions here:

http://blogs.sun.com/randyf/entry/testing_suspend_and_resume_for

for testing the suspend-resume function. I used the command:

uadmin 3 22

and it worked fine - the machine goes down, then back up no problem. The problem seems to be if the laptop is actually powered down. Can anyone point me to how I can debug this further? Setting "S3-support enabled" in power.conf seems to be enough to get the laptop to shutdown, so on the face of it it looks like all the drivers support suspend-resume. But there seems to be something specific to my laptop that is preventing it working correctly. Can anyone help?

Thanks

Andrew.

randyf

Posts: 181
From: US

Registered: 3/9/05
Re: [laptop-discuss] Suspend-resume support
Posted: Sep 2, 2008 10:26 AM   in response to: andrewk8

  Click to reply to this thread Reply



You are probably running into CR6734669. This was recently
integrated, and would require getting the bits post build 97.

Try those bits and see if it works better (it does for me on an
R500, not to mention several other systems).

Cheers!

---- Randy

On Sat, 30 Aug 2008, andrew wrote:

> I've got a Toshiba Tecra A9 laptop. I thought I would give
> suspend-resume a try on OpenSolaris, so I followed the instructions
> here:
>
> http://blogs.sun.com/randyf/entry/solaris_suspend_and_resume_how
>
> After adding the required line to /etc/power/conf, running pmconfig,
> then logging off and on I get the option to "suspend" the laptop
> from the "shutdown" box in GNOME. The laptop sleeps OK, but
> switching it back on looks like it hangs somewhere.
>
> I then followed the instructions here:
>
> http://blogs.sun.com/randyf/entry/testing_suspend_and_resume_for
>
> for testing the suspend-resume function. I used the command:
>
> uadmin 3 22
>
> and it worked fine - the machine goes down, then back up no problem.
> The problem seems to be if the laptop is actually powered down. Can
> anyone point me to how I can debug this further? Setting "S3-support
> enabled" in power.conf seems to be enough to get the laptop to
> shutdown, so on the face of it it looks like all the drivers support
> suspend-resume. But there seems to be somethign specific to my
> laptop that is preventing it working correctly. Can anyone help?
>
> Thanks
>
> Andrew.
> --
> This message posted from opensolaris.org
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris dot org
>
_______________________________________________
laptop-discuss mailing list
laptop-discuss at opensolaris dot org


horacek

Posts: 36
From: BR

Registered: 6/19/05
Re: Suspend-resume support
Posted: Sep 3, 2008 7:32 AM   in response to: andrewk8
To: Communities » laptop » discuss
  Click to reply to this thread Reply

> I've got a Toshiba Tecra A9 laptop.
...
> uadmin 3 22
...
> and it worked fine - the machine goes down, then back up no problem.
> The problem seems to be if the laptop is actually powered down.

I report the same behaviour with an ibm x41. While the suspend test is running the "sleep" led on the console blinks (as it should) but doesn't stop when the test ends. The system continues to run without any noticeable problem.

Returning from a real suspend-to-ram hangs on the blinking led. The LCD doesn't light up, so _there_ might be a clue...

This was tested on snv_97 (bfu from 95) and scanpci returns:

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2590
Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller

pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2592
Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller

pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x8086 device 0x2792
Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller

pci bus 0x0000 cardnum 0x1c function 0x00: vendor 0x8086 device 0x2660
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1

pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x2658
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1

pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x2659
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2

pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x265a
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3

pci bus 0x0000 cardnum 0x1d function 0x03: vendor 0x8086 device 0x265b
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4

pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x265c
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x2448
Intel Corporation 82801 Mobile PCI Bridge

pci bus 0x0000 cardnum 0x1e function 0x02: vendor 0x8086 device 0x266e
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller

pci bus 0x0000 cardnum 0x1e function 0x03: vendor 0x8086 device 0x266d
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller

pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x2641
Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge

pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x2653
Intel Corporation 82801FBM (ICH6M) SATA Controller

pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x266a
Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x167d
Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express

pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x1180 device 0x0476
Ricoh Co Ltd RL5c476 II

pci bus 0x0004 cardnum 0x00 function 0x01: vendor 0x1180 device 0x0822
Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter

pci bus 0x0004 cardnum 0x02 function 0x00: vendor 0x8086 device 0x4224
Intel Corporation PRO/Wireless 2915ABG Network Connection

andrewk8

Posts: 595
From:

Registered: 3/12/08
Re: Suspend-resume support
Posted: Sep 4, 2008 2:31 PM   in response to: horacek
To: Communities » laptop » discuss
  Click to reply to this thread Reply

Two other folk have replied via the mailing list that there is a bug in 64-bit suspend-resume that is fixed in build 97 that could be causing this problem. Certainly booting in 32-bit mode on build 95 I can get suspend-resume to work OK.

Cheers

Andrew.

andrewk8

Posts: 595
From:

Registered: 3/12/08
Re: Suspend-resume support
Posted: Sep 15, 2008 6:51 AM   in response to: andrewk8
To: Communities » laptop » discuss
  Click to reply to this thread Reply

I've just tried this on OpenSolaris 2008.11 build 97 and it now works fine in 64-bit mode.

Cheers

Andrew.




Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.