Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gpm & x
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Fri Aug 02, 2002 9:58 am    Post subject: gpm & x Reply with quote

Hey Amigos, wie geht's?

Also das problem ist folgendes:
Immer wenn ich den x-server starte, verreckt der gpm elendiglich!! :(
Das heisst, wenn ich auf der konsole die maus bewege, passiert gar nix! Wenn ich x nun beende, und dann die maus bewege, spielt der verrückt, also markiert die oberste zeile, "entert" den prompt
Code:
deever root #
deever root #
deever root #
deever root #

und derartiges!
Wie kann ich das beheben?! :?:

thx! ;)
dev
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Fri Aug 02, 2002 10:27 am    Post subject: Reply with quote

Hört sich fast so an als ob Du für die Treiber verschiedene Protokolle verwendest.
Schau mal in der /etc/conf.d/gpm.conf nach und vergleiche das Protokoll das Du in Deiner /etc/X11/XF86Config angegeben hast!

Beide sollten identisch sein
Back to top
View user's profile Send private message
g3kko
n00b
n00b


Joined: 26 Jul 2002
Posts: 26
Location: Hamburg, Germany

PostPosted: Fri Aug 02, 2002 10:49 am    Post subject: Reply with quote

Und um Konflikten zwischen GPM und X aus dem Weg zu gehen, solltest du GPM als Repeater verwenden:

/etc/init.d/gpm:
Code:
...
REPEAT_TYPE=raw
...


/etc/X11/XF86Config-4:
Code:
Section "InputDevice"
...
  Option "Device" "/dev/gpmdata"
...

_________________
JabberID: gekko at amessage.de
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Fri Aug 02, 2002 1:26 pm    Post subject: Reply with quote

Also hier meine originale (stable) /etc/conf.d/gpm
Code:
...
MOUSE=ps2
#MOUSE=imps2
MOUSEDEV=/dev/psaux
#MOUSEDEV=/dev/input/mice
...

und hier der relevante ausschnitt aus /etc/X11/XF86Config
Code:
...
Option       "Device" "/dev/mouse"
Option       "Protocol" "imps/2"
...


Ich hab in gpm nun REPEAT_TYPE=raw eingestellt, und in XF86Config Option "Device" "/dev/gpmdata". Jetzt klappt der gpm auf der konsole bei laufendem x-server. :) Dafür reagiert die maus unter x net mehr. :(
Ich hab dann in gpm für $MOUSE noch imps2 ausprobiert, das hat aber nets gebracht! :?
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Sat Aug 03, 2002 9:50 am    Post subject: Reply with quote

Jaaa???
Hat niemand plan wie ich das geradebiegen könnte?!
Back to top
View user's profile Send private message
g3kko
n00b
n00b


Joined: 26 Jul 2002
Posts: 26
Location: Hamburg, Germany

PostPosted: Sat Aug 03, 2002 12:25 pm    Post subject: Reply with quote

Deever wrote:
Code:
MOUSE=ps2
MOUSEDEV=/dev/psaux

Code:
Option       "Device" "/dev/mouse"
Option       "Protocol" "imps/2"


Nun, das passt offensichtlich nicht zusammen. Was für eine Maus hast du und wo hängt die dran?
_________________
JabberID: gekko at amessage.de
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Sat Aug 03, 2002 1:22 pm    Post subject: Reply with quote

Quote:
Nun, das passt offensichtlich nicht zusammen.

Das schon nicht, aber ich habs ja so geändert, wie du's oben beschrieben hast, und dann noch in gpm für $MOUSE noch imps2 ausprobiert, das hat aber nets gebracht!
Die maus ist ne cordlesse logitech und hängt am ps/2 anschluss.
Back to top
View user's profile Send private message
g3kko
n00b
n00b


Joined: 26 Jul 2002
Posts: 26
Location: Hamburg, Germany

PostPosted: Sun Aug 04, 2002 1:42 pm    Post subject: Reply with quote

Deever wrote:
Die maus ist ne cordlesse logitech und hängt am ps/2 anschluss.

Gut. Ich nehme an, daß deine Maus ein Rad und wahrscheinlich fünf Tasten hat. Dann müsste es so gehen:

Code:
/etc/init.d/gpm:
MOUSE=imps2
MOUSEDEV=/dev/psaux
#REPEAT_TYPE=raw

/etc/X11/XF86Config:
...
Option       "Device" "/dev/psaux"
#Option       "Device" "/dev/gpmdata"
Option       "Protocol" "ImPS/2"
Option       "Emulate3Buttons" "true"
Option       "ZAxisMapping" "4 5"

_________________
JabberID: gekko at amessage.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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