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

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Tue, 22 Aug 2006 14:04:36 +0300


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