View Single Post
  #7   (View Single Post)  
Old 21st October 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default

Quote:
Originally Posted by sverreh View Post
Which version of FreeBSD are you running? I am running 7.0 on my desktop at home, and I get the following:
Code:
sverre % uname -a
FreeBSD dirac 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
sverre % sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 42.0C
sverre %
At work I'm running 6.2, and the result is:
Code:
fermi % uname -a
FreeBSD fermi.ife.no 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
fermi %  
fermi % sysctl hw.acpi.thermal.tz0.temperature
sysctl: unknown oid 'hw.acpi.thermal.tz0.temperature'
fermi %
So maybe the variable is only available in 7.0?
Im beginning to think that its the fact that the pc is an AMD rather than Intel? I have the kernel module acpi.ko loaded and it should have acpi_thermal working by default? Here is my uname.

Code:
uname -a
FreeBSD  7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #2: Mon Aug 18 18:55:14 PDT 2008     /usr/obj/usr/src/sys/mykern  i386
And I opened up the acpi reply a bit.

Code:
$ sysctl hw.acpi
hw.acpi.supported_sleep_state: S1 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1
Reply With Quote