Mehrere Mäuse im System, X11/moused/sysmouse (FreeBSD / SuSE Linux)

Autor: Raphael H. Becker <Raphael.Becker_at_gmx.de>
Datum: 15.10.2005
Hallo zusammen,

auf der Party war ich sehr erstaunt, dass das einfache Dazustecken einer
USB-Maus an den FreeBSD6-Rechner ohne weiteren Eingriff am System sofort
funktioniert hat. Ansich kennt man das ja schon von Win so.

Ok, klar: Unter FreeBSD gibt es den moused, der die Kommunikation mit
der Hardware durchführt und X11 greift nur die Daten ab, die der moused
verarbeitet als "virtuelle" Maus liefert (/dev/sysmouse o.ä.). X11 musste 
sich insofern in diesem Szenario nicht weiters drum kümmern. 

In der Manpage von moused(8) steht:

Multiple Mice
  As many instances of the mouse daemon as the number of mice attached to
  the system may be run simultaneously; one instance for each mouse.  This
  is useful if the user wants to use the built-in PS/2 pointing device of a
  laptop computer while on the road, but wants to use a serial mouse when
  s/he attaches the system to the docking station in the office.  Run two
  mouse daemons and tell the application program (such as the X Window
  System) to use sysmouse(4), then the application program will always see
  mouse data from either mouse.  When the serial mouse is not attached, the
  corresponding mouse daemon will not detect any movement or button state
  change and the application program will only see mouse data coming from
  the daemon for the PS/2 mouse.  In contrast when both mice are attached
  and both of them are moved at the same time in this configuration, the
  mouse pointer will travel across the screen just as if movement of the
  mice is combined all together.

Das bringt mich direkt weiter zur Frage von Jürgen, die ich leider nicht
beantworten konnte (weil Laptop und weil SuSE Linux):

Problem: Touchpad wird nicht erkannt(?), normale (externe) Maus aber schon.
Leider habe ich so absolut keine Geduld gehabt herauszufinden, was SuSE
da innendrin tut (denn funktionieren tuts ja nicht).

Ich weiss noch, dass es ich in slackware (auf meinem Museums-Laptop) den 
gpm so konfiguriert habe, dass dieser im "repeater"-Betrieb für X11
gelaufen ist, d.h. X11 und gpm haben sich nicht um den Zugriff auf die
Hardware "gestritten" und rumgezickt, sondern X11 hat das genommen, was
er von gpm durchgereicht bekommen hat und der gpm konnte damals schon
(evtl wars auch der Laptop intern) externe Maus via PS/2 und internen
trackball gemeinsam verwenden.
(FreeBSD:moused = Linux:gpm )

Die Frage ist, ob in Jürgens System noch gpm läuft, wie X11 damit
interagiert etc. Was ist auf SuSE Standard? 
Kann gpm plug'n'play mehrere Mäuse parallel/gleichzeitig verarbeiten?
Wenn SuSE standardmäßig mit X11 nicht auf gpm aufsetzt, wie kann X11
damit umgehen? Wie sollte es "normal" gehen?

Gruß
-- 
Raphael Becker                                    http://rabe.uugrn.org/
                      http://schnitzelmitkartoffelsalat.und.rahmspin.at/
.........|.........|.........|.........|.........|.........|.........|..


Received on Sat Oct 15 01:26:02 2005

Dieses Archiv wurde generiert von hypermail 2.1.8.
Zurück zur UUGRN-Homepage.