[ltp] Re: EC Hanging with latest tp-smapi (0.29)

TNKS linux-thinkpad@linux-thinkpad.org
Tue, 22 Aug 2006 15:18:54 -0500


Shem Multinymous wrote:

> Hi,
> 
> On 8/21/06, Henrique de Moraes Holschuh <hmh@hmh.eng.br> wrote:
>> On Sun, 20 Aug 2006, TNKS wrote:
>> >     thinkpad_ec: thinkpad_ec_request_row: EC is mysteriously silent
>> >                  (0x01:0x00)->0xa0
> 
> Can you apply to following patch, "make load" and see if the problem
> still occurs?
> 
>   Shem
> 
> --- a/thinkpad_ec.c
> +++ b/thinkpad_ec.c
> @@ -63,3 +63,3 @@
>  #define TPC_READ_NDELAY     500
> -#define TPC_REQUEST_RETRIES 100
> +#define TPC_REQUEST_RETRIES 10000
>  #define TPC_REQUEST_NDELAY   10

Sorry,

Didn't seem to help.

I unloaded my old tp_smapi (from /lib/module), patched your the tp_smapi
tree, make, sudo make load...

but upon spin-polling dump, I have an EC hang that occurs about as fast as
before.

Sorry about the late reply.  Let me know if there's more to do.  Also, I
noticed that you and Henrique send E-mails to me personally in addition to
responses to the list.  If you would prefer to take this outside the list,
we can.

- Sukant