Notebook temperature issues and need help in disabling suspend/sleep mode

<[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile,gmane.os.freebsd.current
Message-ID <[email protected]>
Hello all:

I have a IBM ThinkPad 770Z notebook running the latest -current and I'm 
having a few issues.   The first one is, is there a way to disable 
sleep/suspend when the lcd lid is closed since I only want the lcd display 
to be off but the machine still running normally.  The second issue is the 
cpu fan doesn't seem to turn on even after I issued the following commands 
in /etc/rc.local as per one of the message threads on the list:

/sbin/sysctl -w hw.acpi.thermal.tz0.active=1
/sbin/sysctl -w hw.acpi.thermal.tz1.active=1
/sbin/sysctl -w hw.acpi.thermal.tz2.active=1
/sbin/sysctl -w hw.acpi.thermal.tz3.active=1
/sbin/sysctl -w hw.acpi.thermal.tz4.active=1
/sbin/sysctl -w hw.acpi.thermal.tz5.active=1
/sbin/sysctl -w hw.acpi.thermal.tz6.active=1

This is the message on the console I get a few minutes before the system 
shuts off by itself without syncing the disk.

Sep  7 17:09:42 exabyte kernel: acpi_tz0: WARNING - current temperature 
(97.8C) 
exceeds system limits

This is what my sysctl hw.acpi output looks like:

# sysctl hw.acpi
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.cpu.max_speed: 8
hw.acpi.cpu.current_speed: 8
hw.acpi.cpu.performance_speed: 8
hw.acpi.cpu.economy_speed: 4
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 30
hw.acpi.thermal.tz0.temperature: 3180
hw.acpi.thermal.tz0.active: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 3647
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 3702
hw.acpi.thermal.tz0._ACx: 3632 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz1.temperature: 3130
hw.acpi.thermal.tz1.active: 1
hw.acpi.thermal.tz1.thermal_flags: 0
hw.acpi.thermal.tz1._PSV: -1
hw.acpi.thermal.tz1._HOT: -1
hw.acpi.thermal.tz1._CRT: 3442
hw.acpi.thermal.tz1._ACx: 3402 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz2.temperature: 3090
hw.acpi.thermal.tz2.active: 1
hw.acpi.thermal.tz2.thermal_flags: 0
hw.acpi.thermal.tz2._PSV: -1
hw.acpi.thermal.tz2._HOT: -1
hw.acpi.thermal.tz2._CRT: 3372
hw.acpi.thermal.tz2._ACx: 3242 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz3.temperature: 3000
hw.acpi.thermal.tz3.active: 1
hw.acpi.thermal.tz3.thermal_flags: 0
hw.acpi.thermal.tz3._PSV: -1
hw.acpi.thermal.tz3._HOT: -1
hw.acpi.thermal.tz3._CRT: 3322
hw.acpi.thermal.tz3._ACx: 3272 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz4.temperature: 3050
hw.acpi.thermal.tz4.active: 1
hw.acpi.thermal.tz4.thermal_flags: 0
hw.acpi.thermal.tz4._PSV: -1
hw.acpi.thermal.tz4._HOT: -1
hw.acpi.thermal.tz4._CRT: 3392
hw.acpi.thermal.tz4._ACx: 3037 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz5.temperature: 3060
hw.acpi.thermal.tz5.active: 1
hw.acpi.thermal.tz5.thermal_flags: 0
hw.acpi.thermal.tz5._PSV: -1
hw.acpi.thermal.tz5._HOT: -1
hw.acpi.thermal.tz5._CRT: 3432
hw.acpi.thermal.tz5._ACx: 3392 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz6.temperature: 3000
hw.acpi.thermal.tz6.active: 1
hw.acpi.thermal.tz6.thermal_flags: 0
hw.acpi.thermal.tz6._PSV: -1
hw.acpi.thermal.tz6._HOT: -1
hw.acpi.thermal.tz6._CRT: 3432
hw.acpi.thermal.tz6._ACx: 3392 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.battery.life: 49
hw.acpi.battery.time: -1
hw.acpi.battery.state: 4
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1

Any help would be greatly appreciated.

Thanks in advance,
KC

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
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.