LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-28-2005, 10:30 AM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
mouse stops after a bit at black screen?


Since installing Debian Sarge the mouse works for a while at the black screen but when I switch back from X, sometimes - not always, the mouse has dissapeared. Can't work out what prompts this. Mouse allright in X.

Typing 'gpm &' as root has no effect. Sorry to be vaugh but I *think* gpm has stopped - not at computer at moment. Installed a module called mouse or somethinglike but it did not fix problem. Thanks any help.
 
Old 10-28-2005, 10:38 AM   #2
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
How is X configured to use the mouse? Does gpm appear in the output of 'ps -fea'?
 
Old 10-31-2005, 09:57 AM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Original Poster
Rep: Reputation: 49
Thanks.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
931 root 9 0 644 640 548 S 0.0 0.5 0:00.07 gpm

# /etc/gpm.conf - configuration file for gpm(1)
#
# If mouse response seems to be to slow, try using
# responsiveness=15. append can contain any random arguments to be
# appended to the commandline.
#
# If you edit this file by hand, please be aware it is sourced by
# /etc/init.d/gpm and thus all shell meta characters must be
# protected from evaluation (i.e. by quoting them).
#
# This file is used by /etc/init.d/gpm and can be modified by
# "dpkg-reconfigure gpm" or by hand at your option.
#
device=/dev/psaux
responsiveness=15
repeat_type=none
type=autops2
append=''
sample_rate=

It's outside X that it has stopped sometimes when switch back with ctrl-alt-F1.
 
Old 11-01-2005, 01:23 PM   #4
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
I can't figure out what can be happening, but maybe try (as root) "/etc/init.d/gpm restart".
 
Old 11-02-2005, 09:36 AM   #5
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Original Poster
Rep: Reputation: 49
Right, huge thanks, will try that. It hasn't happened for a while, perhaps it's fixed itself. Linux seems to have a habit of doing that.
 
Old 11-15-2005, 05:04 AM   #6
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Original Poster
Rep: Reputation: 49
Quote:
Originally posted by fsateler
I can't figure out what can be happening, but maybe try (as root) "/etc/init.d/gpm restart".
__________________
If your problem has been solved, please let us know.
Agree it is important to finish off threads - you search for things and the thread comes to no conclusion, upsetting.

What prompted the mouse stopping at the black screen was putting the laptop into suspend mode, with Fn+suspend (Dell Inspiron 4000). Other things may do it too, but this is the one I've spotted.

According to ps and top gmp, the general purpose mouse daemon, has stopped.

fsateler's receipe gets it working again. But do it twice: first time it claims to have stopped and then restarted gmp - odd since it was not running. But the mouse does not work. Repeat the command and it says gpm is not running and it has started gpm, then the mouse works.

(Incidently if the mouse stops in X just switch to a terminal with ctrl+alt+F1/6 and then switch back with alt+F7).
 
  


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
Help! Black screen with mouse pointer X duncnz Suse/Novell 9 09-11-2006 06:58 PM
suse 9.3 live edition 64bit black screen with mouse pointer wonderwizard Suse/Novell 1 05-25-2005 08:41 AM
Startx results in a black screen with VGA and screen errors kwosource Linux - Newbie 4 03-11-2005 02:58 PM
After slackpkg update(all current p'kges), Slackware 10 stops loading (black screen). SlawioG Slackware 3 11-28-2004 09:19 AM
xdmcp, Get mouse with black screen Filious Linux - Newbie 3 06-07-2004 12:25 AM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
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