LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2002, 02:10 PM   #31
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58

ok

then you would not use /dev/input/mice

it will be /dev/psaux

to make it permanent you would edit the /etc/sysconfig/gpm file



OPTIONS="-R"
DEVICE="/dev/psaux"
TYPE="imps2"



some versions of X have a problem where your scroll wheel on the mouse may not work anymore when using gpm. I'm not sure if ps2 mice are going to have the problem or not.

If this fixes the lockup problem you may want to try and install a different version of X

also you may want to try and run X with gpm not running and the normal X settings and see if it still locks up
 
Old 11-14-2002, 07:53 PM   #32
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
well i was looking for that file /etc/sysconfig/gpm but i couldn't find it. do i have to create it?

and must i still make the changes to the XF86Config-4 as shown below:

Option "Protocol" "MouseSystems"
Option "Device" "/dev/gpmdata"
 
Old 11-14-2002, 08:51 PM   #33
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
is this redhat or suse


you may look and see if there is a /etc/rc.d/init.d/gpm


look in the file and see how it's started.
if you see /etc/sysconfig/gpm in that file then you can create it.

If it's not there then we need to see how it's getting started


or you could put
gpm -k
then the gpm command your going to use in /etc/rc.d/rc.local

this will stop it then start it with the right command after all other scripts have run when you boot up
 
Old 11-15-2002, 12:57 AM   #34
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
actually i'm runing mandy 9.0

here is the script i find in the etc/rc.d/init.d/gpm

[root@diebenkorn init.d]# more gpm
#!/bin/bash
#
# chkconfig: 2345 15 15
# description: GPM adds mouse support to text-based Linux applications such \
# the Midnight Commander. Is also allows mouse-based console \
# cut-and-paste operations, and includes support for pop-up \
# menus on the console.
# processname: gpm
# pidfile: /var/run/gpm.pid
# config: /etc/sysconfig/mouse

# source function library
. /etc/rc.d/init.d/functions

MOUSECFG=/etc/sysconfig/mouse
MOUSEDEVICE=/dev/mouse

RETVAL=0

case "$1" in
start)
gprintf "Starting console mouse services: "
if [ -f "$MOUSECFG" ]; then
. "$MOUSECFG"
else
gprintf "(no mouse is configured)\n"
exit 0
fi

if [ -n "$device" ];then
MOUSEDEVICE=/dev/$device
fi

if [ ! -e $MOUSEDEVICE ];then
gprintf "%s don't exist\n" "$MOUSEDEVICE"
exit 0
fi

if [ "$MOUSETYPE" = "none" ]; then
gprintf "(no mouse is configured)\n"
exit 0
fi

if [ "$MOUSETYPE" = "Microsoft" ]; then
MOUSETYPE=ms
fi

if [ -n "$MOUSETYPE" ]; then
daemon gpm -t $MOUSETYPE -m $MOUSEDEVICE
else
daemon gpm -m $MOUSEDEVICE
fi
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/gpm
;;
stop)
gprintf "Shutting down console mouse services: "
killproc gpm
RETVAL=$?

echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/gpm
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
status)
status gpm
RETVAL=$?
;;
*)
gprintf "Usage: gpm {start|stop|status|restart|reload}\n"
exit 1
esac

exit $RETVAL


as you see /etc/sysconfig/mouse is there but not /etc/sysconfig/gpm. why again do we want to use gpm instead of mouse? just curious so i can learn.

thanks so much!
 
Old 11-15-2002, 05:40 AM   #35
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
it's a little different,

it is using sysconfig/mouse for the mouse parameters and the device is set in the file directly.


It's not that you need to use it, I was just wondering if it would make a difference, since you are losing the use of your mouse the way it is now.
 
Old 11-15-2002, 09:44 AM   #36
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
yes i've noticed a pattern..... whenever i right click a file in the konqueror window the submenu comes up, but the x server freezes and i have to reboot..... i'm beginning to believe it is the mouse. you think if i use a usb mouse ( i need a new mouse anyway) i won't have this issue so long the mouse drivers are changed of course.
 
Old 11-15-2002, 10:08 AM   #37
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
well actually the driver is the same for all mice

but the device would change, and if there is a conflict somehow with your keyboard, then by putting the mouse on usb it might just correct the problem.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE freezes ... Starch Linux - Newbie 6 06-30-2005 10:57 AM
fedora core 2 (FC2) freezes while running. Cannot boot into KDE it freezes mraswan Fedora 0 05-25-2004 07:46 PM
YEE HEE! Mandy9.2 on UK coverdisk! davecs Linux - Software 1 10-30-2003 05:37 PM
same problem in redhat8, mandy9 and LFS newpenguin Linux - General 2 01-20-2003 06:23 PM
pcmcia cardbus adapter fails install Mandy9 MB3 Linux - Networking 0 11-26-2002 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:29 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
Open Source Consulting | Domain Registration