l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2003 Jun 24 11:46

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] ps2 mouse not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] ps2 mouse not working



--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--
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech








LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.