[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mouse doesn't work in Xwindow, NFS, bug(3.)???



On Mon, 22 May 2000, Justin Megawarne <solitude@kholmes.dhis.net> wrote:

>On Sun, May 21, 2000 at 06:22:23AM -0400, Antonio Rodriguez wrote:
>> A fresh installation using the boot floppies in frozen directory
>> (ftp.debian...), dselect + apt-get used to continue installation.
>> Problems:
>> 1. Mouse (/dev/psaux, ps2 with wheel) doesn't work after setting it up
>> through xf86config; it had always worked before. Mouse works in console,
>> detected by gpm with correct settings. Guessing: Since I had installed
>> imwheel, I thought it could have messed up the settings, removed
>> "imwheel", but still doesn't work. Don't know what to do.
>
>Yes, I had this too ... it seems you have to `gpm -k` or `killall -9 gpm` for everything to work happily, which is a PITA, to say
>the least ... the ps2 repeating is reported not to be supported, which I think is a total lie =P
>
>If it works after killing gpm, you have a repeating problem. I'm not sure how to fix that side of things. Anyone out there? =)

Don't know if I'm getting something wrong here, but all you need to do
is have X read from gpm's fifo, i.e.

In /etc/X11/XF86Config:

Section "Pointer"
   Protocol        "MouseSystems"
   Device          "/dev/gpmdata"
   ...
EndSection

In /etc/gpm.conf:

device=/dev/psaux
type=ps2
responsiveness=
append1="-R"	# -R for repeat/echo to /dev/gpmdata

If you don't start gpm from the stock /etc/init.d/gpm script, just
make sure you add "-R" to the command line.

-- 
Philip Lehman <lehman@gmx.net>



Reply to: