LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-19-2002, 02:42 PM   #1
bustamelon
LQ Newbie
 
Registered: Nov 2002
Location: Brooklyn NY
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
GPM dies when logging out of X ?


Greetings Slackers:

I am getting to be an old slack hand, so I'm well aware of how to set up gpm for both console and X -- or so I thought.
Here's my quandry:

- on boot, gpm is running fine, mouse button3 works great for pasting highlighted text.
- startx, gpm still cool, mouse works good, wheel is in effect, everything's groovy.
- logout of X: no more gpm.

is there some script that gets run when i shutdown X that I don't know about?

distro is slack-current (a/o 11/14/02 -- 9.0 beta)
using windowmaker for window/desktop mgr

Thanks in advance.

Last edited by bustamelon; 11-20-2002 at 09:33 PM.
 
Old 11-19-2002, 02:59 PM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
The reason could be a wrong module is being used, I had a similar problem once with a PS/2 mouse, just changed the module and now everything goes fine ...
 
Old 11-19-2002, 03:31 PM   #3
bustamelon
LQ Newbie
 
Registered: Nov 2002
Location: Brooklyn NY
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
i should add....

...that the rc.gpm file has a comment suggesting /dev/gpmdata as an alternative to /dev/mouse, which i tried -- and it solved the gpm-kill problem, but i lost wheel functionality.

vladkrack:
module?
i'm not sure what you mean exactly, but my mouse driver is built into the kernel, not modular.

mouse is an MS intellimouse PS/2 (optical, not that that matters), 2 buttons and a wheel. have used the same mouse with the same XF86Config and rc.gpm for years, calling imps2 to /dev/mouse. Have read all about compat probs between gpm and X, but have never had the problem until i upgraded slack to current.

gpm is called by rc.gpm like so:
gpm -m /dev/mouse -t imps2

in XF86Config:
Driver "Mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
 
Old 11-19-2002, 04:05 PM   #4
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Sorry, I expressed myself wrong , I was tanking about the protocol really ...

The mouse I had the problem used the same protocol, imps2, was configured in X just like yours, but in gpm was configured using just ps2, when I changed to imps2 it solved the problem. In my distro, the configuration file is /etc/sysconfig/mouse, is like:
MOUSETYPE="imps2"
XMOUSETYPE="IMPS/2"
FULLNAME="Microsoft IntelliMouse (PS/2)"
XEMU3=yes
DEVICE=/dev/mouse
 
Old 11-20-2002, 09:36 PM   #5
bustamelon
LQ Newbie
 
Registered: Nov 2002
Location: Brooklyn NY
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
right

gotcha. well i got imps2 in there.... o well -- guess i can live with actually typing out the gpm command every so often.... or live without PASTE
 
Old 11-21-2002, 01:29 AM   #6
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Could it be that your are using a beta version of Slack... I am using 8.1 and everything is fine.
 
Old 11-21-2002, 10:09 AM   #7
bustamelon
LQ Newbie
 
Registered: Nov 2002
Location: Brooklyn NY
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
it certainly could be the beta causing troubles.... i'm finding that almost NOTHING will build correctly from source......
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
x server dies...dies...dead! aquaboot Linux - Software 2 08-28-2005 12:54 PM
Esd dies alex.e.c Linux - Software 0 10-07-2004 11:14 AM
inetd dies? N3K0KUN Linux - Networking 0 09-19-2004 05:30 PM
trying to use gmp BadTaste Programming 1 08-04-2004 10:10 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 03:55 AM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration