Re: Resume with ACPI doesn't work on ThinkPad R50e

"Kevin Oberman" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
> Date: Wed, 8 Jun 2005 23:17:40 +0200
> From: Marcin Jessa <[email protected]>
> Sender: [email protected]
> 
> Hi.
> 
> I've Thinkpad R50e and I am struggeling to make resume work on it.
> I'm on FreeBSD 6.0-CURRENT #2: Wed Jun  8 21:12:11 CEST 2005  (built on sources from a couple of hours ago).
> I am able to change the speed of CPU and put the laptop in sleep mode with acpiconf -s 3 (S1, S2 and S3 are supported).
> The problem is it never manages to fully wake up from the sleep mode. 
> I tried with and without X running with the same result. 
> It wakes up, I can hear the drives spin, the screen is turned on but the laptop is still frozen. 
> The keayboard is unaccessible.
> I dont have apm enabled in the kernel.
> Those are the values in my sysctl.conf:
> hw.pci.do_powerstate=1
> hw.acpi.lid_switch_state=S3
> hw.acpi.standby_state=S1
> hw.acpi.suspend_state=S3
> hw.acpi.sleep_button_state=S3
> vfs.usermount=1
> hw.acpi.sleep_delay=3
> 
> device.hints has hint.apm.0.disabled="0"
> 
> In the dmesg I can also see many occurances of
> ichss0: transition to 1 failed
> I think that begun after I added device cpufreq to my kernel config.
> 
> I also followed http://www.iosn.net/Members/kaeru/articles/freebsd/x40/index_html but with no luck.
> 
> Any ideas how to make resume work?

Just some suggestions that might (or might not) help.

Play with hw.acpi.reset_video and hw.syscons.sc_no_suspend_vtswitch. You
may find that you need the jhb acpi_video_dpms patch.

I have the following /boot/loader.conf on my T30:
cpufreq_load="YES"
vesa_load="YES"
snd_ich_load="YES"
acpi_video_load="YES"
acpi_ibm_load="YES" (This is NOT required for resume, but it is nice for
                     a few things. It is the recently posted test
                     version and I don't think it's been committed.)

I have the following in my /etc/sysctl.conf on my T30:
hw.acpi.reset_video=0
hw.syscons.sc_no_suspend_vtswitch=1
hw.acpi.lid_switch_state=NONE
hw.pci.do_powerstate=1

I do notice that I need to switch from my X display to a vty and back
after a resume to get the display back. (CTRL-ALT-F1, ALT-F9)
The SpeedStep errors are troubling. I have not seen any other reports of
this.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [email protected]			Phone: +1 510 486-8634
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.