Notebook fan stuck on?

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Tue Jan 25 17:41:33 PST 2005


On Mon, 2005-01-24 at 22:13 +0100, Paolo Pisati wrote:
> On Sat, Jan 22, 2005 at 06:15:19PM -0500, Alexandre Sunny Kovalenko wrote:
> > What does
> > 
> > sysctl hw.acpi.thermal
> > 
> > say?
> 
> what if i have the same problem but no hw.acpi.thermal?
> 
> [flag at southcross flag]$ sysctl -a | grep thermal
> [flag at southcross flag]$
> 
> [flag at southcross flag]$ sysctl hw.acpi 
> hw.acpi.supported_sleep_state: S1 S3 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.reset_video: 1
> hw.acpi.cpu.throttle_max: 8
> hw.acpi.cpu.throttle_state: 8
> hw.acpi.cpu.cx_supported: C1/0 C2/90
> hw.acpi.cpu.cx_lowest: C2
> hw.acpi.cpu.cx_usage: 3.41% 96.58%
> hw.acpi.acline: 1
> hw.acpi.battery.life: 100
> hw.acpi.battery.time: 212
> hw.acpi.battery.state: 1
> hw.acpi.battery.units: 1
> hw.acpi.battery.info_expire: 5
> [flag at southcross flag]$ 
> 
> [flag at southcross flag]$ kldstat   
> Id Refs Address    Size     Name
>  1   33 0xc0400000 349c78   kernel
>  2    1 0xc074a000 547c     vesa.ko
>  3    1 0xc0750000 10c0c    msdosfs.ko
>  4    2 0xc0761000 1aa14    miibus.ko
>  5    1 0xc077c000 73d8     if_rl.ko
>  6    1 0xc0784000 9378     snd_maestro3.ko
>  7    1 0xc078e000 4338     acpi_video.ko
>  8   17 0xc0793000 5eff8    acpi.ko
>  9    1 0xc07f2000 4194     acpi_asus.ko
> 10    1 0xc07f7000 895c     aio.ko
> 11    1 0xc0800000 15918    netgraph.ko
> 12    1 0xc1717000 6000     linprocfs.ko
> 13    1 0xc172c000 1a000    linux.ko
> 14    1 0xc1b2f000 1a000    radeon.ko
> 15    1 0xc1b49000 11000    agp.ko
> [flag at southcross flag]$ 

I believe it means that your ASL does not define ThermalZone object. You
might be able to cobble together one yourself by looking at the example
in the ACPI spec (12.5.1 on page 292 in version 2.0c), provided that you
can figure out how to measure temperature and how to control fan from
the rest of your ASL. I was lucky and stumbled over both while looking
through it. Your mileage may vary.

Also, I had ThermalZone to start with, so I only had to define fan
devices and ACx, ALx objects, hence I really could not offer much help
on building thermal zone from scratch. Sorry.

-- 
Alexandre "Sunny" Kovalenko (Олександр Коваленко)



More information about the freebsd-current mailing list