[vox-tech] ps2 mouse not working

Mike Simons vox-tech@lists.lugod.org
Tue, 24 Jun 2003 14:05:03 -0400


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

On Tue, Jun 24, 2003 at 10:33:48AM -0700, Jeff Newmiller wrote:
> On Tue, 24 Jun 2003, Mike Simons wrote:
> > Please send output from:
> > =3D=3D=3D
> > ls -l /proc/`pidof gpm`/fd
>=20
> total 0
> lrwx------    1 root     root           64 Jun 24 09:31 0 -> /dev/gpmdata
> lrwx------    1 root     root           64 Jun 24 09:31 1 -> socket:[6670]

Hrmmm... what I see here is:
lrwx------    1 root     root           64 Jun 24 08:44 0 -> /dev/input/mou=
se0
lrwx------    1 root     root           64 Jun 24 08:44 1 -> socket:[643]
lrwx------    1 root     root           64 Jun 24 08:44 3 -> /dev/gpmdata

or...
moria:/var/log# ls -l /proc/`pidof gpm`/fd
total 0
lrwx------    1 root     root           64 Jun 24 13:58 0 -> /dev/psaux
lrwx------    1 root     root           64 Jun 24 13:58 1 -> socket:[598]
lrwx------    1 root     root           64 Jun 24 13:58 2 -> socket:[605]
lrwx------    1 root     root           64 Jun 24 13:58 3 -> /dev/gpmdata

  My copies of gpm use fd 0 for the source device.

> > grep -v ^# /etc/gpm.conf
>=20
> device=3D/dev/psaux
> responsiveness=3D
> repeat_type=3Draw
> type=3Dimps2
> append=3D""

  That's all correct.

>     Identifier	"Mouse1"
>     Driver	"mouse"
>     Option "Protocol"    "imps/2"
>     Option "Device"      "/dev/gpmdata"
>     Option "Buttons"     "5"

  Also correct.

> > - if you restart gpm and wiggle do you see any movement?
>=20
> Actually, gpm was not running until I manually started it.  The rc2.d
> symbolic link is still there, and the script still works, so either some
> timeout occurs or the environment is different at boot time (S20).
>=20
> When I started it, gpm highlighted a random couple of lines. However,
> moving or clicking the mouse has no effect.

  Hrmm... can you stop gpm and manually start it with -D and -v 9=20
something like this should work:

gpm -t imps2 -m /dev/psaux -D -v 9=20

  If nothing obvious comes out of the error stream there... can you also
do a:
strace -o trace.log -s 1024 <GPM command from above>

  I'm curious what happens around when it opens /dev/psaux...

> $ grep MOUSE .config
> CONFIG_INPUT_MOUSEDEV=3Dm
> CONFIG_MOUSE=3Dm
> CONFIG_PSMOUSE=3Dy

- Can you send output from 'lsmod'?

--=20
GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
Fingerprint: 524D A726 77CB 62C9 4D56  8109 E10C 249F B7FA ACBE

--4fNq9Po2wJlmxAaR
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

iD8DBQE++JLP4Qwkn7f6rL4RAk0SAKCRVyWAgMUANJZYEqjD2EIpHY/pVwCghyBR
Ez1XIEqu5tzWoImJAEAIidg=
=iF7F
-----END PGP SIGNATURE-----

--4fNq9Po2wJlmxAaR--