Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2023 19:29:41 +0200
From:      Michael Gmelin <grembo@freebsd.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Alexander Motin <mav@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: 14.0-CURRENT boots fine but keyboard does not work
Message-ID:  <CF031651-C306-4EE2-B353-D669A0F59590@freebsd.org>
In-Reply-To: <ZPYSevkp4iPX/39o@c720-r368166>
References:  <ZPYSevkp4iPX/39o@c720-r368166>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 4. Sep 2023, at 19:23, Matthias Apitz <guru@unixarea.de> wrote:
>=20
> =EF=BB=BF
> Added Alexander Motin <mav@FreeBSD.org> to To: as the origin of the CI;
>=20
> Neither hw.atkbd.hz=3D1 nor hw.atkbd.hz=3D10 makes the keyboard working on=

> my beloved Acer C720. Should I file a new PR?
>=20

Filing a PR makes sense, could you please Cc me on it?

Do you know which version of FreeBSD was the last that worked for you?

Cheers


>=20
>=20
>> El d=C3=ADa lunes, septiembre 04, 2023 a las 06:55:52p. m. +0200, Michael=
 Gmelin escribi=C3=B3:
>>=20
>>=20
>>=20
>> On Mon, 4 Sep 2023 18:43:11 +0200
>> Matthias Apitz <guru@unixarea.de> wrote:
>>=20
>>> I have a 14.0-CURRENT compiled from sources of head from August 4,
>>> which boots fine from a produced USB key, but the keyboard does not
>>> work on an Acer C720 (amd64), on other laptops the keyboard is fine.
>>>=20
>>> The keyboard works during the boot menu (for example to enable verbose
>>> boot messages) but not on the login: prompt of the booted system.
>>>=20
>>> I've enabled SSH access into the C720 (if someone need more
>>> information) and I'm attaching /var/log/messages of the booted system.
>>=20
>> Hi Matthias,
>>=20
>> The C720 required special patches for the keyboard to work, which I
>> originally added here:
>> https://cgit.freebsd.org/src/commit/?id=3D6c176113bbdd598231ec47d161d4c37=
14997169b
>>=20
>> I assume that something in that area changed recently.
>>=20
>> Without digging into it, this looks like a possible cause:
>>=20
>>  https://cgit.freebsd.org/src/commit/sys/dev/atkbdc/atkbd.c?id=3Dce881170=
088c4c98c036fe561f8ee8413c2e2585
>>=20
>>  atkbd: Disable periodic polling by default.
>>  It is one of the few remaining Giant-locked callouts.  It would be
>>  good to remove it, not mentioning that polling itself is not good.
>>=20
>>  If this cause keyboard/mouse freezes on some hardware, please set
>>  loader tunable hw.atkbd.hz=3D1 as workaround and report the issue.
>>=20
>> So you could try to set hw.atkbd.hz=3D1 (or hw.atkbd.hz=3D10) in
>> /boot/loader.conf, then reboot and see if it helps.
>>=20
>> Best
>> Michael
>>=20
>> --=20
>> Michael Gmelin
>>=20
>=20
> --=20
> Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-17=
6-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF031651-C306-4EE2-B353-D669A0F59590>