Re: Berzerk mouse problem

Mike A. Harris (mharris@meteng.on.ca)
Wed, 18 Aug 1999 06:53:26 -0400 (EDT)


On Tue, 17 Aug 1999, Joe wrote:

Wow, that was quite the 10 page subject line there. ;o)
I trimmed it down so that MS users don't have to reboot. ;o)

>Date: Tue, 17 Aug 1999 12:13:45 -0400
>From: Joe <joeja@mindspring.com>
>To: mharris@meteng.on.ca, linux-smp@vger.rutgers.edu,
linux-kernel@vger.rutgers.edu
>Subject: On Thu, 12 Aug 1999,
Rik van Riel wrote: >I think I may have found a clue in the bezerk
keyboard/mouse >problem. I found it before,
but just did not think about it :( > >When the bezerk mouse thing happens,
[SNIP]
>Mike && Rik van Riel,
>>I think I may have found a clue in the bezerk keyboard/mouse
>>problem. I found it before, but just did not think about it :(
>>When the bezerk mouse thing happens, the mouse appears to move
>>in random directions, but when looking at the keyboard variant
>>closely, you'll see that it's not random at all.
>>It just repeats the information found in other places in the
>>ring buffer -- never leaving the ring buffer for garbage memory,
>>but just being confused about it's own whereabouts in the ring
>>buffer.
>
>there is definately some buffer getting corrupted with the bezerko
>mouse. However do make sure that you are NOT running gpm while running
>X.

I've always run gpm and X no problem.

>>however my /var/log/messages file gets gpm errors printed in it
>>all day long. Some times it says "message repeated 238 times"
>>and stuff like that.
>
> do a gpm -k if you are in X and getting these messages. I wrote a
>script and posted it to one of these lists that checked if gpm was
>running and then stopped it before starting X, but not sure which X
>startup script this should have gone into...
>
>something like
>
>if [ps -aux|grep gpm |grep -v grep] then
> gpm -k
>fi

That is only good if you don't care if gpm is running. I have X
running all the time, and I use 8 consoles as well as an X
session 24/7. Shutting down gpm prior to starting X up, would
mean permanently shutting down gpm. That means I lose the
functionality of gpm. This does not solve any problem, but
rather creates a new one: no gpm.

I *NEED* gpm for cut and paste on the console, and X *MUST* be
running simultaneously too. I never get lockups at all. I do
get those pesky errors printed in /var/log/messages all day long
though.

> If your mouse is working fine, I would not worry. the best thing to
>do is see some of my other posting to this list about the mouse bug. it
>is well described

Yes, my mouse is working ok. There are still numerous errors in
syslog though.

> Also try 2.2.11 as there were many keyboard, serial, and irq fixes.

I'm using 2.2.11 right now. Here are some of the messages that I
received:

Aug 15 21:55:14 asdf gpm[452]: Extra byte = 0f
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 02
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 03
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 01
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 00
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 0d
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 0f
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 00
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 04
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 02
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 0e
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 0e
Aug 15 21:55:14 asdf gpm[452]: Extra byte = 0f
Aug 15 21:55:15 asdf gpm[452]: Extra byte = 00

I switched to 2.2.11 on August 13th, so these log entries are for
2.2.11.

I'm using a "Logitech Mouseman+ Wheel", the four button one. I'm
using "mman" as the driver type for it right now.

What is the recommended driver? RedHat's mouseconfig sets it to
"pnp". It works but spews errors to syslog. If I boot 2.0.37
with RedHat 5.2, the mouse works fine and no errors are reported
- with the exact same configuration.

> Incidentally I have switched to a ps/2 mouse and 2.2.11 and have not
>had the problem since.

Not an option for me. I just want my mouse to work (which it
does), and no errors to be put in syslog, as there is nothing
wrong with my mouse. Linux and/or gpm and/or X is foobar. I'm
using SVGA Xserver with a Cirrus Logic 5446 PCI card...

TTYL

--
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

Need a room? Rooms Plus Travel Guide http://www.roomsplus.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/