Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 16:28:57 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        =?UTF-8?Q?Juan_Ram=C3=B3n_Molina_Menor?= <listjm@club-internet.fr>
Cc:        "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>
Subject:   Re: ACPI Exception AE_BAD_ADDRESS in Lenovo ThinkPad S440
Message-ID:  <CAN6yY1vN=KiqBRa1QU=nWJjHyz3BBNepNp2ABYsrCaMAdBfm7w@mail.gmail.com>
In-Reply-To: <55ACEAB9.1070605@club-internet.fr>
References:  <55AB73EC.8030801@club-internet.fr> <CAN6yY1tFLHMsD%2Bovf2FxPO6KdV9xGogGvAN%2B7jGcTRaZf5Qq6w@mail.gmail.com> <55ACEAB9.1070605@club-internet.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 20, 2015 at 5:34 AM, Juan Ram=C3=B3n Molina Menor <
listjm@club-internet.fr> wrote:

> Le 20/07/2015 05:48, Kevin Oberman a =C3=A9crit :
>
>> On Sun, Jul 19, 2015 at 2:54 AM, Juan Ram=C3=B3n Molina Menor
>> <listjm@club-internet.fr <mailto:listjm@club-internet.fr>> wrote:
>>
>>     Hello.
>>
>>     I=E2=80=99ve just got a Lenovo ThinkPad S440 and would like to test =
FreeBSD
>>     10.2-BETA2 on it. I=E2=80=99ve tried with the UEFI memstick image
>>     (FreeBSD-10.2-BETA2-amd64-uefi-mini-memstick.img.xz). Unfortunately,
>>     shortly after the installer starts, the screen fills with errors
>>     related to ACPI thermal zones:
>>
>>     ACPI Exception: AE_BAD_ADDRESS, Returned by Handler for
>>     [EmbeddedControl] (20150515/evregion-312) S (20150515/psparse-552)
>>
>>     I have tested some features of the acpi_ibm, some do not work: fan
>>     control, for example, but I=E2=80=99m not sure I=E2=80=99m doing it =
right and this
>>     is an issue for later.
>>
>>     I=E2=80=99ve created a PR with the information asked for in the ACPI=
 chapter
>>     of the handbook:
>>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201678
>>
>>     Best regards,
>>     Juan
>>     _______________________________________________
>>     freebsd-acpi@freebsd.org <mailto:freebsd-acpi@freebsd.org> mailing
>> list
>>     http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
>>     To unsubscribe, send any mail to
>>     "freebsd-acpi-unsubscribe@freebsd.org
>>     <mailto:freebsd-acpi-unsubscribe@freebsd.org>"
>>
>>
>> IIRC, fan control has not worked since the days of the T61. Newer BIOS
>> end EC don't seem to work. The "ACPI Exception: AE_BAD_ADDRESS" has
>> shown up on various systems for a while.It's reportedly harmless.
>>
>
> Thanks Kevin. Could you please give me a hint for silencing these errors?
> They are making very hard to use the installer or live USB for testing
> purposes. I guess the BIOS will take care of thermal and fan control.
>

You could edit the syslogd configuration, but that does not really make
sense when running the installer. Lars' suggestion for using another VTY
will work, though.

When I was getting these errors, I only saw a burst of them earlier in the
boot process. Sounds like you are seeing s different manifestation. :-(

>
>  Brightness is finally working on most or all. Thermal should show up in
>> hw.acpi and dev.cpu.
>>
>
> Brightness levels are correctly shown (1-100) after loading the acpi_vide=
o
> kernel module, but I cannot change them. Maybe it=E2=80=99s the Haswell c=
hip not
> responding. I=E2=80=99m going to try CURRENT.
>

 Haswell is still officially not supported, so it is a possibility.
Brightness works on Sandy Bridge and Ivy Bridge.  Last I heard, Haswell
support is hoped for in September. I believe that i915 support in CURRENT
is very close to that in 10-STABLE.

How are you attempting to adjust brightness? Keys or the sysctl? At least
on T and X systems, the rightness keys (and any other in blue) require the
Fn key to work. Volume and mute are about the only ones that work without
Fn on my system, as they are dedicated keys on T systems, Have you tried
setting the brightness with sysctl? hw.acpi.video.lcd0.brightness.

>
> Thermal hw.acpi sysctls show bogus values, but dev.cpu works after loadin=
g
> the coretemp kernel module.
>

As far as I know, most hw.acpi.thermal values are set by the system at boot
and are fixed. That includes all prefaced with '_'. The ones reporting '-1'
simply indicate a lack of support on your system. Here are my values:
hw.acpi.thermal.tz0._TSP: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._CRT: 98.0C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.temperature: 47.0C
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.min_runtime: 0

A bit of good news is that support for ThinkPads usually improves fairly
quickly as they tend to be the choice of several of the BSD developers,
though the S series is not listed by Lenovo as a ThinkPad, but just a
Lenovo Laptop. They appear to use less expensive processors (Celeron),
smaller memorys and hard drives (actually eMMCs). Notably, they lack the
ThinkPad TrackPoint, though a few ThinkPads did, as well, until customer
feedback caused Lenovo to restore it. (Yes! I hate touchpads!)


> Best regards,
> Juan
>
>
>> I don't have any experience on S series systems, only X and T, but I
>> suspect the ACPI is similar.
>>
>>  --
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vN=KiqBRa1QU=nWJjHyz3BBNepNp2ABYsrCaMAdBfm7w>