Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mouse (NOT) working in CLI mode (after shutting down X) NEW!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kraylus
l33t
l33t


Joined: 07 Jun 2002
Posts: 648
Location: ft.worth.tx

PostPosted: Mon Jun 10, 2002 12:57 am    Post subject: mouse (NOT) working in CLI mode (after shutting down X) NEW! Reply with quote

i admit, i've been spoiled by other distros and they've setup the mouse to work for me autmatically on the console (aka NOT in X).

how do i do so for gentoo?

im guessing i have to emerge gpm first, but what then?

thanks all :)

ryan
_________________
I used gentoo BEFORE it was cool.


Last edited by kraylus on Tue Jun 11, 2002 5:57 am; edited 1 time in total
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 3:01 am    Post subject: Reply with quote

To install gpm, start it, and tell it to start automatically on boot, try:

Code:

emerge gpm
/etc/init.d/gpm start
rc-update add gpm default
Back to top
View user's profile Send private message
kraylus
l33t
l33t


Joined: 07 Jun 2002
Posts: 648
Location: ft.worth.tx

PostPosted: Mon Jun 10, 2002 4:19 am    Post subject: Reply with quote

right on!

thanks. worked like a charm. one thing though for future reference of anyone else needing to know... it'll ask you to setup MOUSE and MOUSEDEV in /etc/conf.d/gpm

MOUSE is the type of mouse you have (in my case it was IMPS/2 - PS/2 intellimouse [actually a logitech mouseman but whatever]) and MOUSEDEV is the location of your mouse (in my case /dev/psaux - since it's a ps/2 mouse). i would assume that people using a serial mouse would have to say something like ttyS0 or ttyS1.

ryan
_________________
I used gentoo BEFORE it was cool.
Back to top
View user's profile Send private message
kraylus
l33t
l33t


Joined: 07 Jun 2002
Posts: 648
Location: ft.worth.tx

PostPosted: Tue Jun 11, 2002 5:38 am    Post subject: Reply with quote

ok, this isnt cool....

everything worked great until i got X up and running. well not exactly. after X compiled a did a few tests to make sure my monitor and vid card settings were all correct as per the tutorial.

but when i close down X... gpm doesnt work properly. the mouse cursor is in the top right corner of the screen and doesn't move from there. if i move the mouse it flashes and sometimes it performs funky commands in the CLI.

what the heck's going on??

using Xfree 4.2.0 and gpm 1.2.0

ryan
_________________
I used gentoo BEFORE it was cool.
Back to top
View user's profile Send private message
kraylus
l33t
l33t


Joined: 07 Jun 2002
Posts: 648
Location: ft.worth.tx

PostPosted: Tue Jun 11, 2002 5:41 am    Post subject: Reply with quote

if i try to kill gpm:

Code:
kill -9 2007 (gpm's PID)


and try to rerun it i get:

Code:
oops(): [/var/tmp/portage/gpm-1.20.0-r3/work/gpm-1.20.0/src/gpn.c(195)]:
gpm is already running as pid 2007


i do a ps aux and it's nowhere to be found :(

what do i do??

ryan
_________________
I used gentoo BEFORE it was cool.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum