All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy)
@ 2005-05-11 13:45 Mitch
  0 siblings, 0 replies; 8+ messages in thread
From: Mitch @ 2005-05-11 13:45 UTC (permalink / raw)
  To: dmitry.torokhov, dtor_core, linux-kernel

Hi Dmitry,

Still no go. I added the line in and still hands after i leave it for a 
few seconds.

I'm out of town now till Monday 16th so won't be able to try any fixes 
till the unfortunately.

Cheers
Mitch

-------- Original Message --------
Subject: Re: ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing 
sync and going crazy)
Date: Tue, 10 May 2005 14:12:21 -0500
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reply-To: dtor_core@ameritech.net
To: Mitch <Mitch@0bits.com>
CC: linux-kernel@vger.kernel.org
References: <4280F856.2080907@0Bits.COM>	 
<d120d500050510112018b8a428@mail.gmail.com>

On 5/10/05, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> On 5/10/05, Mitch <Mitch@0bits.com> wrote:
> > Still no go. Log attached.
> >
> 
> But I see a proper response (absolute packet) to the POLL command so
> we are maiking progress I think. It looks like the touchpad was left
> in disabled state somehow. Have you tried both the touchpad and
> trackpoint? Are both of them dead?
> 

Btw, does it help if you stick "ps2_command(&psmouse->ps2dev, NULL,
PSMOUSE_CMD_ENABLE)" at the end of alps_poll, just before "return rc"?
Another option is sticking it before second alps_passthrough_mode.

Unfortunately we don't have any ALPS programming notes so we have to
resort to trial-and-error way.

-- 
Dmitry


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy)
@ 2005-05-10 18:07 Mitch
  2005-05-10 18:20 ` Dmitry Torokhov
  0 siblings, 1 reply; 8+ messages in thread
From: Mitch @ 2005-05-10 18:07 UTC (permalink / raw)
  To: dmitry.torokhov, dtor_core, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

Still no go. Log attached.

-------- Original Message --------
Subject: Re: ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing 
sync and going crazy)
Date: Tue, 10 May 2005 12:30:23 -0500
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reply-To: dtor_core@ameritech.net
To: Mitch <Mitch@0bits.com>
CC: linux-kernel@vger.kernel.org
References: <4280E1E8.4040906@0Bits.COM>

On 5/10/05, Mitch <Mitch@0bits.com> wrote:
> Hi Dimitry,
> 
> Still no go. With ps2_drain() commented (not enabled) the touchpad mouse
> is completely unresponsive. With ps2_drain() un-commented, there is
> initial life, but it hangs shortly after that. Log attached.
> 

Thank you for the log. V8 is uploaded. Alternatively, just change
psmouse->pktcnt to psmouse->pktsize in
drivers/input/mouse/alps.c::alps_poll().


-- 
Dmitry


[-- Attachment #2: log.gz --]
[-- Type: application/x-gzip, Size: 4599 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy)
@ 2005-05-10  7:19 Mitch
  2005-05-10 15:07 ` Dmitry Torokhov
  0 siblings, 1 reply; 8+ messages in thread
From: Mitch @ 2005-05-10  7:19 UTC (permalink / raw)
  To: dtor_core, linux-kernel

Hi Dimitry,

No go with the patch, and even with patch and uncommenting the 
ps2_drain(). The alps touchpad is dead as a dodo.

Cheers
Mitch

-------- Original Message --------
Subject: ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing 
sync and going crazy)
Date: Mon, 9 May 2005 23:03:46 -0500
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Mitch <Mitch@0Bits.COM>
CC: linux-kernel@vger.kernel.org
References: <427F09C1.8010703@0Bits.COM>

On Monday 09 May 2005 01:57, Mitch wrote:
> Hi Dmitry,
> 
> No, no change with the attached patch either. Mouse goes to sleep and 
> need to be re-enabled constantly.
> 

Hi Mitch,

OK, here is an updated patch. Hopefully if we toggle passthrough mode on
Dualpoints we will get an absolute packet in response to POLL command.

Please give it a try. If it does not work please try uncommenting call to
ps2_drain in drivers/input/mouse/alps.c::alps_passthrough_mode().

Thanks!

-- 
Dmitry

http://www.geocities.com/dt_or/input/2_6_11/psmouse-resync-2.6.11-v6.patch.gz



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy
@ 2005-05-09  6:57 Mitch
  2005-05-10  4:03 ` ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy) Dmitry Torokhov
  0 siblings, 1 reply; 8+ messages in thread
From: Mitch @ 2005-05-09  6:57 UTC (permalink / raw)
  To: dtor_core, linux-kernel

Hi Dmitry,

No, no change with the attached patch either. Mouse goes to sleep and 
need to be re-enabled constantly.

Cheers
Mitch

-------- Original Message --------
Subject: Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy
Date: Mon, 9 May 2005 01:26:34 -0500
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Mitch <Mitch@0Bits.COM>
CC: linux-kernel@vger.kernel.org
References: <427EFF3C.1040706@0Bits.COM>

On Monday 09 May 2005 01:12, Mitch wrote:
> Log file as requested...
> 

*sign* ALPS decided to return bare PS/2 packet instead of full 6-byte
packet...

Hmm, could you please try the patch below and see if it makes any
difference (although I doubt). I'll probably have to do special case
for ALPS.

-- 
Dmitry

--- drivers/input/mouse/psmouse-base.c.orig	2005-05-09 
01:19:17.000000000 -0500
+++ drivers/input/mouse/psmouse-base.c	2005-05-09 01:20:22.000000000 -0500
@@ -657,7 +657,7 @@
  	int attempt;

  	for (attempt = 0; attempt < 5; attempt++) {
-		if (!ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSTREAM))
+		if (!ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_ENABLE))
  			return 0;
  		msleep(200);
  	}
@@ -693,7 +693,7 @@
   * transmitting motion packet, so we use ps2_sendbyte() instead of
   * ps2_command() to avoid delay.
   */
-	ps2_sendbyte(&psmouse->ps2dev, PSMOUSE_CMD_SETPOLL, 20);
+	ps2_sendbyte(&psmouse->ps2dev, PSMOUSE_CMD_DISABLE, 20);

  	ps2_command(&psmouse->ps2dev, psmouse->packet, PSMOUSE_CMD_POLL | 
0x0600);
  	if (psmouse->ps2dev.cmdcnt != 6 - psmouse->pktsize)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-05-11 13:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4280E1E8.4040906@0Bits.COM>
2005-05-10 17:30 ` ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy) Dmitry Torokhov
2005-05-11 13:45 Mitch
  -- strict thread matches above, loose matches on Subject: below --
2005-05-10 18:07 Mitch
2005-05-10 18:20 ` Dmitry Torokhov
2005-05-10 19:12   ` Dmitry Torokhov
2005-05-10  7:19 Mitch
2005-05-10 15:07 ` Dmitry Torokhov
2005-05-09  6:57 [RFT/PATCH] KVMS, mouse losing sync and going crazy Mitch
2005-05-10  4:03 ` ALPS testers wanted (Was Re: [RFT/PATCH] KVMS, mouse losing sync and going crazy) Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.