Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Borked mouse

0 views
Skip to first unread message

Ross Vandegrift

unread,
Jan 22, 2002, 2:25:31 PM1/22/02
to
Hello all,

I've got a big problem with my mouse on a Debian testing box. I began
building up the box last Thursday for Friday and everything was going smoothly,
including the mouse. Today, I power up the machine (untouched since Friday) and
bam, I've got no mouse action. Swapping the mouse, mobo header, kernel version,
and gpm version all come out to have these effects:

1) 'cat /dev/psaux' and move mouse prints garbage like it should
2) 'gpm -m /dev/psaux -t ps2' gives nothing.
3) A custom compiled gpm works like a charm with the above command line.

Bug in the gpm deb?

Ross Vandegrift
ro...@willow.seitz.com


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org


Kent West

unread,
Jan 22, 2002, 3:37:51 PM1/22/02
to
Ross Vandegrift wrote:

> Hello all,
>
> I've got a big problem with my mouse on a Debian testing box. I began
> building up the box last Thursday for Friday and everything was going smoothly,
> including the mouse. Today, I power up the machine (untouched since Friday) and
> bam, I've got no mouse action. Swapping the mouse, mobo header, kernel version,
> and gpm version all come out to have these effects:
>
> 1) 'cat /dev/psaux' and move mouse prints garbage like it should
> 2) 'gpm -m /dev/psaux -t ps2' gives nothing.
> 3) A custom compiled gpm works like a charm with the above command line.
>
> Bug in the gpm deb?
>
> Ross Vandegrift
> ro...@willow.seitz.com
>
>
>

I noticed late last week that a newly built Sid box had trouble with the
mouse. Running /etc/init.d/gpm once (like during the boot process) left
the mouse dead; running it a second time brought the mouse to life. I
didn't bother trying to track down the problem. I just decided to run
gpm twice in a row to get by until the (presumed) bug was fixed.

Kent

Karsten M. Self

unread,
Feb 1, 2002, 2:42:13 AM2/1/02
to

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

on Tue, Jan 29, 2002 at 08:28 PM -0500, Cory Snavely (csna...@umich.edu) w=
rote:
> My woody workstation's (2.4.17 kernel) mouse is acting a little funky like
> that--typically brought on by heavy CPU load (from casual observation).
>=20
> /etc/init.d/gpm stop
> /etc/init.d/gpm start
>=20
> will always resolve it, but I'm hoping I'll see a new gpm deb come over
> pretty soon--hearing other people's experiences makes me suspect something
> there.

I'm also having mouse problems on a new testing/woody install.

Mouse is a Microsoft Intellimouse/PS2.
XFree86 Version 4.1.0.1 / X Window System.

XF86Config-4 Mouse configuration is:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"
EndSection

I'd earlier removed GPM as I thought it might be the cause of the
problem, but it's not.

What happens is that the pointer will freeze while in use. Switching to
a text console will undo the damage, e.g.:

$ chvt 1; chvt 7

=2E..or the maual equivalent (<ctrl><alt><F1> <alt><F7>).

=2E..no idea what the problem is. Cursory look through logs
(/var/log/XServer.<display> and ~/.xsession-errors) doesn't suggest
anything.

Peace.

--=20
Karsten M. Self <kms...@ix.netcom.com> http://kmself.home.netcom.com/
What part of "Gestalt" don't you understand? Home of the brave
http://gestalt-system.sourceforge.net/ Land of the free
We freed Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire http://kmself.home.netcom.com/resume.html

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8WkZUOEeIn1XyubARAs2vAJ4xU6bUKTNncElzxWrTmdv5KlQ23gCdFfGA
bhheM1YIjrEP+eZeGggKrkc=
=56P4
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--

ben

unread,
Feb 1, 2002, 3:11:23 AM2/1/02
to
On Thursday 31 January 2002 11:40 pm, Karsten M. Self wrote:
[snip]

>
> I'm also having mouse problems on a new testing/woody install.
>
> Mouse is a Microsoft Intellimouse/PS2.
> XFree86 Version 4.1.0.1 / X Window System.
>
> XF86Config-4 Mouse configuration is:
>
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/mouse"
> Option "Protocol" "IMPS/2"
> Option "Buttons" "3"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> I'd earlier removed GPM as I thought it might be the cause of the
> problem, but it's not.
>
> What happens is that the pointer will freeze while in use.

i don't know if it's the same exact problem, as it happened to me on sid, and
i can't remember who first posted what worked as the solution in my case, but
you might want to give it a try. it came up again here on the list earlier.

in /etc/gpm.conf, do

repeat_type=raw

and in /etc/X11/XF86Config, do

Option "Device" "/dev/gpmdata"

i'd be interested in your analysis of why this should work. all i know is
that it does.

ben

Vineet Kumar

unread,
Feb 13, 2002, 4:45:06 PM2/13/02
to

--9dgjiU4MmWPVapMU

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* ben (benf...@rcn.com) [020201 00:13]:
> in /etc/gpm.conf, do=20
>=20
> repeat_type=3Draw
>=20
> and in /etc/X11/XF86Config, do=20
>=20
> Option "Device" "/dev/gpmdata"
>=20
> i'd be interested in your analysis of why this should work. all i know is=
=20
> that it does.

I just spoke to this in another thread (called "mouse freezes"). HTH.

good times,
Vineet

--=20
Currently seeking opportunities in the SF Bay Area
Please see http://www.doorstop.net/resume/
--=20
"I disapprove of what you say, but I will defend to the death your right
to say it." --Beatrice Hall, The Friends of Voltaire, 1906

--9dgjiU4MmWPVapMU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjxq3kcACgkQ7z3S33fUb9FKYwCdHqLxY+5LdV2s4YylkJ5N1NWN
QmAAoNB2mkffWw0jhPL3GvR+4on+mULr
=PfIw
-----END PGP SIGNATURE-----

--9dgjiU4MmWPVapMU--

ben

unread,
Feb 13, 2002, 6:23:27 PM2/13/02
to
On Wednesday 13 February 2002 01:44 pm, Vineet Kumar wrote:
> * ben (benf...@rcn.com) [020201 00:13]:
> > in /etc/gpm.conf, do
> >
> > repeat_type=raw
> >
> > and in /etc/X11/XF86Config, do
> >
> > Option "Device" "/dev/gpmdata"
> >
> > i'd be interested in your analysis of why this should work. all i know is
> > that it does.
>
> I just spoke to this in another thread (called "mouse freezes"). HTH.
>

actually, you didn't. all you did was essentially repeat the gpm
configuration info. the post that you're quoting was addressed to karsten. if
you're trying to emulate him, you'll have to do way better than this.

ben

Vineet Kumar

unread,
Feb 14, 2002, 3:28:39 AM2/14/02
to

--rwEMma7ioTxnRzrJ

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* ben (benf...@rcn.com) [020213 15:26]:


> On Wednesday 13 February 2002 01:44 pm, Vineet Kumar wrote:
> > * ben (benf...@rcn.com) [020201 00:13]:
> > > in /etc/gpm.conf, do
> > >

> > > repeat_type=3Draw


> > >
> > > and in /etc/X11/XF86Config, do
> > >
> > > Option "Device" "/dev/gpmdata"
> > >

> > > i'd be interested in your analysis of why this should work. all i kno=


w is
> > > that it does.
> >
> > I just spoke to this in another thread (called "mouse freezes"). HTH.
> >

>=20
> actually, you didn't. all you did was essentially repeat the gpm=20
> configuration info.

What I thought I added to it was the part about gpm repeating the
untranslated mouse data in imps2 format on the /dev/gpmdata fifo. I
guess I didn't make that too clear (or you already knew that and were
looking for a deeper, lower-level explanation). I can try a little
better, but I'm not sure exactly which part you're not getting. If I'm
off the mark, try to help me try to hit it.

Both processes (gpm and X) can't read from the same port at the same
time. There's a few different things that could happen if they did:
either one process wouldn't be allowed to try to read from it, or
(worse) each process would get bits interleaved from the other. In the
latter case, neither would get sane data in the format it was expecting,
and you'd get erratic mouse behavior in both.

When you tell gpm to act as a repeater, it reads directly from the port
you assign it (/dev/psaux in this case) and repeats this data on a fifo
(/dev/gpmdata by default) in the format you specify. Whatever format you
give it, you can tell another process (usually X) to listen on that fifo
in that format. If you tell it to use "raw", gpm just passes the data it
reads from its input port unmodified onto its output fifo. Then you can
tell X to interpret the data it reads from /dev/gpmdata as if it were
reading directly from /dev/psaux without gpm.

> the post that you're quoting was addressed to karsten. if=20


> you're trying to emulate him, you'll have to do way better than this.

Not at all; just my impression was that questions posted on the list
were "up for grabs" to be answered on the list. You're free to send
private emails if you only want certain people responding, or to ignore
me and anyone else whose responses you don't like.

good times,
Vineet

--=20
Currently seeking opportunities in the SF Bay Area
Please see http://www.doorstop.net/resume/
--=20
"I disapprove of what you say, but I will defend to the death your right
to say it." --Beatrice Hall, The Friends of Voltaire, 1906

--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjxrdRkACgkQ7z3S33fUb9GzUQCg9O9F58HQRuEAJhUMwSMuRR9n
h0QAnA/OSGqR5ccsiB/O5karTxQJJLYi
=7YcI
-----END PGP SIGNATURE-----

--rwEMma7ioTxnRzrJ--

ben

unread,
Feb 14, 2002, 4:05:49 AM2/14/02
to
On Thursday 14 February 2002 12:28 am, Vineet Kumar wrote:
[snip]

>
> > the post that you're quoting was addressed to karsten. if
> > you're trying to emulate him, you'll have to do way better than this.
>
> Not at all; just my impression was that questions posted on the list
> were "up for grabs" to be answered on the list. You're free to send
> private emails if you only want certain people responding, or to ignore
> me and anyone else whose responses you don't like.
>

thanks for the explanation of the gpm fix.

ben

christophe barbé

unread,
Feb 14, 2002, 7:41:50 AM2/14/02
to

--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 14, 2002 at 12:28:09AM -0800, Vineet Kumar wrote:
> > the post that you're quoting was addressed to karsten. if=20
> > you're trying to emulate him, you'll have to do way better than this.

>=20


> Not at all; just my impression was that questions posted on the list
> were "up for grabs" to be answered on the list. You're free to send
> private emails if you only want certain people responding, or to ignore
> me and anyone else whose responses you don't like.

>=20
> good times,
> Vineet

So everybody complain about your mails and each time you answer saying
you are wrong I am right.=20
What bother me is people not reading a mail before sending reply in
which they believe to be smart by quoting a manpage even if it is not
the appropriate one.

Christophe

--=20
Christophe Barb=E9 <christop...@ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E

People that hate cats will come back as mice in their next life.
--Faith Resnick

--8t9RHnE3ZwKMSgU+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

Comment: Pour information voir http://www.gnupg.org

iD8DBQE8a7Bfj0UvHtcstB4RAu92AJ9LJ04B80JKqBrLMmXET+IWvwcT8ACeJoxp
xuTEfV0x+te7W/JovPlv6ok=
=hh2k
-----END PGP SIGNATURE-----

--8t9RHnE3ZwKMSgU+--

Karsten M. Self

unread,
Feb 14, 2002, 1:42:47 PM2/14/02
to

--8P1HSweYDcXXzwPJ

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

on Wed, Feb 13, 2002 at 01:44:39PM -0800, Vineet Kumar (debian-user@virtual=


.doorstop.net) wrote:
> * ben (benf...@rcn.com) [020201 00:13]:
> > in /etc/gpm.conf, do=20
> >=20
> > repeat_type=3Draw
> >=20
> > and in /etc/X11/XF86Config, do=20
> >=20
> > Option "Device" "/dev/gpmdata"
> >=20

> > i'd be interested in your analysis of why this should work. all i know =
is=20
> > that it does.
>=20


> I just spoke to this in another thread (called "mouse freezes"). HTH.

Incidentally, back to the original problem, swapping mice seems to have
fixed the situation. Which could speak to a bad mouse, or a bad config.

Odd thing: they're both MSFT Intellimouses.

Peace.

What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8bAILVsqntYRW2N0RAn0OAJ42p9uzmdSD8PlNaPsOlIjw2i43tgCfeYwx
lMXKzpUZ7Fcagyl8/bpRNQE=
=eLxY
-----END PGP SIGNATURE-----

--8P1HSweYDcXXzwPJ--

0 new messages