2008年3月13日星期四

How to Test Whether Suspend|Resume work on your Solaris

In my last blog article http://jeff-work.blogspot.com/2008/03/gnome-power-manager-works-in-solaris.html, I described how you could install GPM on your Toshiba laptop. As you have known, suspend|resume may not work on your machine because of lack of some driver support. Fortunately, Randy Fishel gave us a method how to know whether your hardware support this feature.

His article is posted at http://blogs.sun.com/randyf/entry/testing_suspend_and_resume_for where it lives in the Sun blog space. Maybe you ask me why I have no such a blog. I ever had one, but currently it doesn't work. I can't log in it and the maintainer doesn't solve the issue for me yet. Owning a Sun's blog is something you can be proud of.

Randy also tells us how to configure your machine to make suspend to ram work in another article. The link is at http://blogs.sun.com/randyf/entry/solaris_suspend_and_resume_how.

Now we'll talk about something about GPM. When you press "power" button, GPM will pop up a dialog which allows the user to select "Suspend", "Shutdown" or "Cancel"



In fact, this dialog is not offered by GPM, instead, GPM invokes a command line tool "gnome-sys-suspend" to respond to the pressing power button. You can't see icons on the button "Suspend" and "Shutdown", I think we can make it more elegant by adding some icons.

Another enhancement for this window is to add "Reboot" and "Hibernate" buttons. we are working on it and hope you can see them soon.

没有评论: