[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] at_keyboard: Fix keyboards that report IBM PC AT scan codes
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [PATCH] at_keyboard: Fix keyboards that report IBM PC AT scan codes |
Date: |
Fri, 11 Dec 2020 06:08:40 -0800 |
On Fri, Dec 4, 2020 at 5:53 AM Renaud Métrich <rmetrich@redhat.com> wrote:
>
> Hi,
>
> Testing the proposed patch on my old Asus N53SN in Legacy failed: as soon as
> at_keyboard is selected, the keys are corrupted and it's impossible to do
> anything.
>
> Digging into this, it appears that query_mode() returns 2 (so set2 needs to
> be used), but in fact internally the keycode are the ones expected by set1.
This is because the patch doesn't take into account that controller is
in "translate" mode.
@Javier Martinez Canillas : Can you make your patch check whether
KEYBOARD_AT_TRANSLATE is set ?