l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
May 5: Social gathering
Next Installfest:
Latest News:
Mar. 17: DavisGIG: municipal fiber for Davis
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

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
> 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=
lrwx------    1 root     root           64 Jun 24 08:44 1 -> socket:[643]
lrwx------    1 root     root           64 Jun 24 08:44 3 -> /dev/gpmdata

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
> 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?
> 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).
> 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

- Can you send output from 'lsmod'?

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

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

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


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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.