All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.0-test11 ps2 mouse giving corrupt data?
@ 2003-12-12 12:36 Andrew Walrond
  2003-12-12 14:15 ` Vojtech Pavlik
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Walrond @ 2003-12-12 12:36 UTC (permalink / raw)
  To: linux-kernel

I have just switched from l2.4 to 2.6 on my thinkpad, and the mouse does 
something wierd when I boot into x (kde)

startx, then wait for everything to load, then move mouse. Mouse goes crazy, 
menus pop up everywhere as though I were pressing buttons, and after about 3 
seconds, it all settles down and works perfectly.

So whats causing this? I 've read about the mouse detection stuff in recent 
2.6 giving incorrect resolutions and stuff, but thats doesn't apply here. Its 
getting a load of bad data.

A buffer_len load of crud is being provided before the real stuff arrives 
perhaps?

Andrew Walrond

PS For 'mouse' read 'Little Red Nipple' which AFAIK is just a ps2 mouse as far 
as linux is concerned. Worked for 2.4 anyway.


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

* Re: 2.6.0-test11 ps2 mouse giving corrupt data?
  2003-12-12 12:36 2.6.0-test11 ps2 mouse giving corrupt data? Andrew Walrond
@ 2003-12-12 14:15 ` Vojtech Pavlik
  2003-12-13  4:02   ` Bob
  0 siblings, 1 reply; 4+ messages in thread
From: Vojtech Pavlik @ 2003-12-12 14:15 UTC (permalink / raw)
  To: Andrew Walrond; +Cc: linux-kernel

On Fri, Dec 12, 2003 at 12:36:38PM +0000, Andrew Walrond wrote:
> I have just switched from l2.4 to 2.6 on my thinkpad, and the mouse does 
> something wierd when I boot into x (kde)
> 
> startx, then wait for everything to load, then move mouse. Mouse goes crazy, 
> menus pop up everywhere as though I were pressing buttons, and after about 3 
> seconds, it all settles down and works perfectly.
> 
> So whats causing this? I 've read about the mouse detection stuff in recent 
> 2.6 giving incorrect resolutions and stuff, but thats doesn't apply here. Its 
> getting a load of bad data.
> 
> A buffer_len load of crud is being provided before the real stuff arrives 
> perhaps?
> 
> Andrew Walrond
> 
> PS For 'mouse' read 'Little Red Nipple' which AFAIK is just a ps2 mouse as far 
> as linux is concerned. Worked for 2.4 anyway.

Most likely X does something nasty to the keyboard controller while it
is starting up. The psmouse kernel driver has an autosync feature which
can get it out of trouble if you don't move the mouse for two seconds.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

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

* Re: 2.6.0-test11 ps2 mouse giving corrupt data?
  2003-12-12 14:15 ` Vojtech Pavlik
@ 2003-12-13  4:02   ` Bob
  2003-12-15 16:49     ` Vojtech Pavlik
  0 siblings, 1 reply; 4+ messages in thread
From: Bob @ 2003-12-13  4:02 UTC (permalink / raw)
  To: linux-kernel

Vojtech Pavlik wrote:

>On Fri, Dec 12, 2003 at 12:36:38PM +0000, Andrew Walrond wrote:
>  
>
>>I have just switched from l2.4 to 2.6 on my thinkpad, and the mouse does 
>>something wierd when I boot into x (kde)
>>
>>startx, then wait for everything to load, then move mouse. Mouse goes crazy, 
>>menus pop up everywhere as though I were pressing buttons, and after about 3 
>>seconds, it all settles down and works perfectly.
>>    
>>
>
>Most likely X does something nasty to the keyboard controller while it
>is starting up. The psmouse kernel driver has an autosync feature which
>can get it out of trouble if you don't move the mouse for two seconds.
>  
>
When did the autosync feature arrive?
It doesn't work for me(k2.6.11 with
MSI K7N2 Delta nforce2 mboard
and k2.6.11 with Shuttle Xpc SK41G
FX41 mboard with VIA fsb) if ps2
kvm switch(Belkin) is switched away.

When sync is lost on my pc's I have to
reboot. Symptoms are the same, on X or
text term--any mouse movement triggers
selects and buttons down but the correct
events do not occur.

With a kvm switch k-2.6.? loses psmouse
sync on the off pc. Rebooting is the only
solution. I got tired of this and moved the
mouse(logitech trackman fx) to one pc,
so the other only has to boot with the
mouse attached either to kvm or ps2
port on pc. That's fine until moving the
mouse back and forth for rebooting
causes the pc with X running to lose
sync. Then it can't regain sync.

-Bob

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

* Re: 2.6.0-test11 ps2 mouse giving corrupt data?
  2003-12-13  4:02   ` Bob
@ 2003-12-15 16:49     ` Vojtech Pavlik
  0 siblings, 0 replies; 4+ messages in thread
From: Vojtech Pavlik @ 2003-12-15 16:49 UTC (permalink / raw)
  To: Bob; +Cc: linux-kernel

On Fri, Dec 12, 2003 at 11:02:39PM -0500, Bob wrote:
> Vojtech Pavlik wrote:
> 
> >On Fri, Dec 12, 2003 at 12:36:38PM +0000, Andrew Walrond wrote:
> > 
> >
> >>I have just switched from l2.4 to 2.6 on my thinkpad, and the mouse does 
> >>something wierd when I boot into x (kde)
> >>
> >>startx, then wait for everything to load, then move mouse. Mouse goes 
> >>crazy, menus pop up everywhere as though I were pressing buttons, and 
> >>after about 3 seconds, it all settles down and works perfectly.
> >>   
> >>
> >
> >Most likely X does something nasty to the keyboard controller while it
> >is starting up. The psmouse kernel driver has an autosync feature which
> >can get it out of trouble if you don't move the mouse for two seconds.
> > 
> >
> When did the autosync feature arrive?
> It doesn't work for me(k2.6.11 with
> MSI K7N2 Delta nforce2 mboard
> and k2.6.11 with Shuttle Xpc SK41G
> FX41 mboard with VIA fsb) if ps2
> kvm switch(Belkin) is switched away.

2.5.something.

Now when your Belkin switch resets the mouse, the autosync will not
work, as it only compensates for lost bytes, not a complete protocol
change. Use 'psmouse_noext" on the kernel command line to disable wheel
handling and it'll work OK.

(Automatic mouse reinitialization is on the planned feature list.)

> When sync is lost on my pc's I have to
> reboot. Symptoms are the same, on X or
> text term--any mouse movement triggers
> selects and buttons down but the correct
> events do not occur.
> 
> With a kvm switch k-2.6.? loses psmouse
> sync on the off pc. Rebooting is the only
> solution. I got tired of this and moved the
> mouse(logitech trackman fx) to one pc,
> so the other only has to boot with the
> mouse attached either to kvm or ps2
> port on pc. That's fine until moving the
> mouse back and forth for rebooting
> causes the pc with X running to lose
> sync. Then it can't regain sync.
> 
> -Bob
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

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

end of thread, other threads:[~2003-12-15 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-12 12:36 2.6.0-test11 ps2 mouse giving corrupt data? Andrew Walrond
2003-12-12 14:15 ` Vojtech Pavlik
2003-12-13  4:02   ` Bob
2003-12-15 16:49     ` Vojtech Pavlik

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.