[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFv23Q=W8-hafqBkBeT0HXGBb6kJC=1dHwnGv57=Z3NTOH0-6w@mail.gmail.com>
Date: Fri, 6 Mar 2020 14:40:03 +0800
From: AceLan Kao <acelan.kao@...onical.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Allison Randal <allison@...utok.net>,
Enrico Weigelt <info@...ux.net>,
Stephen Boyd <swboyd@...omium.org>,
linux-input@...r.kernel.org,
"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Input: i8042 - Fix the selftest retry logic
Hi Dmitry,
We have a Dell desktop with ps2 addon card, after S3, the ps2 keyboard
lost function and got below errors
Jan 15 07:10:08 Rh-MT kernel: [ 346.575353] i8042: i8042 controller
selftest timeout
Jan 15 07:10:08 Rh-MT kernel: [ 346.575358] PM: Device i8042 failed
to resume: error -19
Adding this patch, I found the selftest passes at the second retry and
the keyboard continue working fine.
Best regards,
AceLan Kao.
Dmitry Torokhov <dmitry.torokhov@...il.com> 於 2020年3月6日 週五 下午12:16寫道:
>
> Hi AceLan,
>
> On Thu, Mar 05, 2020 at 02:44:23PM +0800, AceLan Kao wrote:
> > It returns -NODEV at the first selftest timeout, so the retry logic
> > doesn't work. Move the return outside of the while loop to make it real
> > retry 5 times before returns -ENODEV.
>
> The retry logic here was for the controller not returning the expected
> selftest value, not the controller refusing to communicate at all.
>
> Could you pease tell me what device requires this change?
>
> Thanks.
>
> --
> Dmitry
Powered by blists - more mailing lists