You are not logged in.

#1 2007-03-05 21:56:16

Spadearcher
Member
From: Seattle
Registered: 2007-03-03
Posts: 20

Mouse not working with gpm

I have a standard ps2 scroll mouse which came with my Comaq desktop, and which works fine with my window managers in Arch Linux.  But I've now loaded gpm for use with the console, and the mouse doesn't function in the console at all.  (It does, however, function fine with gpm in my other distros loaded on my hard drive.)  While a search has turned up other not dissimilar mouse problems, none of these other tendered solutions seem directly applicable to my problem.  Anyone have any ideas about how best I should now proceed?

Offline

#2 2007-03-05 22:08:14

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Mouse not working with gpm

try GPM_ARGS="-m /dev/input/mice -t ps2" in /etc/conf.d/gpm


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-03-06 00:48:52

Spadearcher
Member
From: Seattle
Registered: 2007-03-03
Posts: 20

Re: Mouse not working with gpm

Dolby:  Thanks for the suggestion, but I regret that didn't do the trick.  The mouse still won't function in the console.  But I would very much welcome any other suggestions.  Thanks, Jim

Offline

#4 2007-03-06 00:58:21

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Mouse not working with gpm

Then try:
GPM_ARGS="-m /dev/misc/psaux -t imps2 -d 4"
in /etc/conf.d/gpm. That what I'm using. If it doesn't work, read gpm man page and experiment different options.

Offline

#5 2007-03-06 02:55:15

Spadearcher
Member
From: Seattle
Registered: 2007-03-03
Posts: 20

Re: Mouse not working with gpm

Dolby:  I tried your suggestion, which didn't work, and also tried different other type designations contained in the gpm man file, without success.  Although I am a bit confused as to how to inject the names of the various types into the GPM_ARGS command.  I'm a bit frustrated that with Arch Linux the installation of gpm doesn't automatically sense the right mouse type, as it did apparently in my Slackware and Gentoo installs.  Anyway, thanks again for you help.  Jim

Offline

#6 2007-03-06 04:22:29

Spadearcher
Member
From: Seattle
Registered: 2007-03-03
Posts: 20

Re: Mouse not working with gpm

Dolby: Let me share with you some results of recent attempts of mine, which may provide a clue as to whatis happening.

I tried, and eventually succeeded, in uninstalling gpm (using pacman -R), but before I could so so, I had also to uninstall mc (Midnight Commander), which is apparently dependent on gpm.  Then, when I had uninstalled both of them, I tried to reinstall mc, and pacman -S then reinstalled gpm as a dependency.  Now, as you probably know, mc is a console application that also is supposed to work with the mouse.  But when I bring it up, it doesn't work with the mouse, as the reinstalled gpm also continues not to do.  (How's that for syntax!)  Anyway, the mouse not working with gpm also impinges negatively on the useful operation of mc.  What to do!

Offline

#7 2007-03-06 09:48:38

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Mouse not working with gpm

I've had my share of problems with gpm too: psaux always failed (like x,y was  = rand(width),rand(height)) no matter which -t (and other combinations) I tried. this is what worked for me:

GPM_ARGS="-m /dev/input/mice -t imps2"

To know recursion, you must first know recursion.

Offline

#8 2007-03-06 14:35:00

juan_sck
Member
Registered: 2007-03-06
Posts: 26

Re: Mouse not working with gpm

did you start gpm daemon???
try: # /etc/rc.d/gpm start

if you edit /etc/conf.d/gpm file you should do the following to test new config:
# /etc/rc.d/gpm stop
# /etc/rc.d/gpm start
if that works add gpm to daemon list in rc.conf to load it on system start.

Offline

#9 2007-03-06 15:21:29

Spadearcher
Member
From: Seattle
Registered: 2007-03-03
Posts: 20

Re: Mouse not working with gpm

SUCCESS!  Many thanks you guys.  The moment I started the gpm daemon, it worked.  I then added it to the daemon list in my rc.conf file, rebooted, and everything works fine.  Again, these forums are great.  Thanks again and regards, Jim

Offline

Board footer

Powered by FluxBB