Date: Thu, 26 Mar 2009 21:46:57 +0000 From: Chris Whitehouse <cwhiteh@onetel.com> To: "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com> Cc: freebsd-acpi@FreeBSD.org, Ian Smith <smithi@nimnet.asn.au> Subject: Re: acpi_tz0: _CRT value is absurd, ignored (256.0C) (was pr kern/105537) Message-ID: <49CBF7D1.20102@onetel.com> In-Reply-To: <1237992462.1297.22.camel@RabbitsDen> References: <49C80E65.9090500@onetel.com> <49C93309.6050708@iki.fi> <20090325140718.J95588@sola.nimnet.asn.au> <49C9EE50.6070507@onetel.com> <1237992462.1297.22.camel@RabbitsDen>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexandre "Sunny" Kovalenko wrote: > To be fair, if all you want is to override _CRT, you should be able to > put something to the tune of > > hw.acpi.thermal.user_override=1 > hw.acpi.thermal.tz0._CRT=90C > > in your /etc/sysctl.conf and not deal with the ASL at all. I tried this and it sets hw.acpi.thermal.tz0._CRT correctly until hw.acpi.thermal.tz0.active and hw.acpi.thermal.tz0.temperature change values at which point hw.acpi.thermal.tz0._CRT reverts to -1. At idle having set hw.acpi.thermal.tz0._CRT to 90C with sysctl: chrisw@muji% sysctl hw.acpi.thermal.tz0 hw.acpi.thermal.tz0.temperature: 55.0C hw.acpi.thermal.tz0.active: 3 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 90.0C hw.acpi.thermal.tz0._ACx: 80.0C 70.0C 60.0C 45.0C -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: -1 Heat it up a bit with cpuburn: chrisw@muji% sysctl hw.acpi.thermal.tz0 hw.acpi.thermal.tz0.temperature: 60.0C hw.acpi.thermal.tz0.active: 2 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: -1 hw.acpi.thermal.tz0._ACx: 80.0C 70.0C 55.0C 45.0C -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: -1 hw.acpi.thermal.tz0._CRT will now stay at -1 until I reset it with sysctl. So I suppose I need to find out where hw.acpi.thermal.tz0._CRT is getting its value from - which must be the ASL. acpidump -td says ThermalZone (TZ0) { snip Method (_CRT, 0, Serialized) { Return (C316 (0x04, 0x00)) } snip } The whole asl is fetch(1)able as www.fishercroft.plus.com/nc6320.asl.gz Watching /var/log/messages I can't see a correlation between when the warning messages appear and changing the temperature states so I don't even know what is actually triggering them. I've started reading the ACPI specs as suggested but in the meantime all suggestions welcome. Thanks Chris > > You might want to take a look at your output of 'sysctl hw.acpi.thermal' > -- your specific thermal zone, might be different from the one, I have > used as an example above. In fact, on my laptop, it is tz1 and not tz0. > > In either case, I would recommend reading thermal chapter of the ACPI > specification -- it is short, well-written and has an example, I was > stealing stuff from, shamelessly, in the past. > > HTH, >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CBF7D1.20102>