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

* Larry Alkoff <[EMAIL PROTECTED]>, 2002-10-15 22:15 -0400:
> Forgive me for posting this on two lists but there seems
> to be a lot more activity in debian-users.
> I'm using Libranet 2.7 and have a strange problem.
>=20
> I can start and stop gpm from the command line with
> gpm -m /dev/mouse -t imps2 =20
> and  gpm -k
>=20
> However when I try to start and stop gpm from /etc/init.d
> using /etc/init.d/gpm start or stop as root,
> the gpm program hangs up until I move the mouse.
> Then it reports:
>=20
> init.d/gpm:  /dev/mouse:  Permission denied
> Starting mouse interface server: gpm.
>=20
> It then works.
>=20
> Similarly when I boot up or shut down - it hangs in exactly the same way.
>=20
> In /dev mouse is soft linked to /dev/psaux with permission crw------- wit=
h owner root.
>=20
> In /etc/init.d/gpm I added to the cmdln as follows:
> cmdln=3D-m  /dev/mouse  -t  imps2
> which is the same as I use with no problems in the command line.

Here's what I have:

andre@mir:~$ ls -l /dev/gpmctl=20
srwxrwxrwx    1 root     root            0 11. Okt 17:43 /dev/gpmctl
andre@mir:~$ ls -l /dev/gpmdata=20
prw-r--r--    1 root     root            0 16. Okt 08:45 /dev/gpmdata
andre@mir:~$ ls -l /dev/psaux  =20
crw-------    1 root     root      10,   1 11. Okt 17:43 /dev/psaux

andre@mir:~$ cat /etc/gpm.conf | grep -v "#"=20

device=3D/dev/psaux
responsiveness=3D
repeat_type=3Draw
type=3Dimps2=20
append=3D" -A180 -2 "=20
sample_rate=3D


and in /etc/X11/XF86Config:

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/gpmdata"
        Option          "Protocol"              "IMPS/2"=20
        Option "Emulate3Buttons"       "true"=20
        Option "ZAxisMapping" "4 5"=20
EndSection


However I sometimes have to restart gpm twice when X is running,
don't know why.

-Andre

--+HP7ph2BbKc20aGI
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

iD8DBQE9rWHHmlbrvn+0waMRAl7YAJ4160zzXG7yf/0sS5hRMjvkyRA/+wCgheVQ
YVXyfrRMz+7VqxsjDX0U79A=
=eLib
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to