[PATCH 0/6] nokia_nx51: Attempts to debug keyboard

Simon Glass sjg at chromium.org
Mon Jul 10 16:23:25 CEST 2023


Hi Pali,

On Mon, 10 Jul 2023 at 08:08, Pali Rohár <pali at kernel.org> wrote:
>
> With this patch series applied, pressing DOWN key on UART prints this
> "garbage" on the UART:
>
>  [c=1b]
>
>  [i=0 1] P/DOWN to move, ENTER to select, ESC to quit
>
>  [c=5b]
>
>  [i=0 2]
>
>  [c=42]
>
>  [i=e 0]
> [got bkey 0]
>
> And nothing happens.

When I tested it I got an i2c error and saw the tstc function
returning ESC followed by \0. Do you see that?

>
> Pressing it second time prints this "garbage":
>
>  [c=1b]
>
>  [Press UP/DOWN to move, ENTER to select, ESC to quit
>
>  [c=5b]
>
>  [i=0 2]
>
>  [c=42]
>
>  [i=e 0]
> [got bkey 0]
> [got bkey 0]
> [got bkey 0]
> [got bkey 2]
>
> And now moves cursor down.

So has the bug changed in this series? I thought before that it exited?

Regards,
Simon


More information about the U-Boot mailing list