Maus unter X

leeloo

Member
Hallo,
bin ganz neu hier im Forum und bei openBSD, und schon gehen die Fragen los:)
Hab in der Suche-Funktion nichts gefunden daher:
Habe das aktuelle BSD installiert mit X, das läuft auch, allerdings geht die Maus nicht.
Ist eine zwei-Tasten-Maus mit PS/2-STecker, die mtitels Adaper auf dem COM1-Port sitzt.
Allte Varianten (seriell, ps/2 etc.) haben nicht funktioniert.
Oder ist der Adaper das Problem und ich brauch eine echt serielle Maus?
ist ein alte Board (486) ohne ps2-Unterstützung, soll eine firewall-Kiste werden.
Gruesse
leeloo
 
OpenBsd oder Free?

Wenn Open dann guck mal in /etc/rc.conf für wsmouse
sonst geht auch /dev/tty00 für com1 .
du musst in diesem Fall aber das mausprotokoll kennen
Microsoft für die meisten 2-Tasten , Intellimouse für die die meisten 3-Tasten und Radmäuse!
eventuell auch das gerät unter /etc/fbtab frei machen! Muss aber nic
 
Anbei --Auto-- hat bei mir für den Ps/2-Seriell-Adapter nie hingehauen!
Wenn Freebsd such dir das richtige Protokoll raus!
guck was /var/log/XF.... log sagt Da steht auf jeden Fall drinn wenn es falsch ist :)
gruss
 
vieleicht hilft die ja

bei mir sieht das dann so aus

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IntelliMouse"
Option "Device" "/dev/tty00"
Option "Buttons" "5"
# Option "Resolution" "256"

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"


# ZaxisMapping is an option for handling the wheel
Option "ZAxisMapping" "4 5"

EndSection



so jetzt auch aml gut! Gruss
 
Original geschrieben von leeloo
Hallo,
bin ganz neu hier im Forum und bei openBSD, und schon gehen die Fragen los:)
Hab in der Suche-Funktion nichts gefunden daher:
Habe das aktuelle BSD installiert mit X, das läuft auch, allerdings geht die Maus nicht.
Ist eine zwei-Tasten-Maus mit PS/2-STecker, die mtitels Adaper auf dem COM1-Port sitzt.
Allte Varianten (seriell, ps/2 etc.) haben nicht funktioniert.
Oder ist der Adaper das Problem und ich brauch eine echt serielle Maus?
ist ein alte Board (486) ohne ps2-Unterstützung, soll eine firewall-Kiste werden.
Gruesse
leeloo

Hallo

Ich bin auf ein recht ähnliches Problem in der OpenBSD-Mailingliste gestoßen. Hier der Thread (Frage + Antwort):

FRAGE:

---------------------------------------------------------------------------

I know that this was posted a lot of time before.
And I read through all the Mailling list. But I
still cannot solve this problem. Sorry.

When I startx, and my mouse device is /dev/wsmouse,
everything works fine, except the mouse. It don't move
from the middle of the screen.

If I put another mouse device (for example cua00, tty00
or wsmouse0) then my X windows system won't start.
I even can't switch to my console ttyC1. But the system
is still running. I noticed that, because I can reboot
the system (blind). (By the way: Some text appears still,
eg. highlighted text in manpages is dark green, and the
"System halted" message is with white background.)

I can get with wsmoused -p /dev/cua00 a mouse in my terminal,
but not with wsmoused -p /dev/wsmouse.

I copy all the log-files at the end. Here are some excerps:

XFree86.0.log:
[...]
(**) Option "Device" "/dev/cua00"
(EE) xf86OpenSerial: Cannot open device /dev/cua00
Permission denied.
(EE) Mouse2: cannot open input device
(EE) PreInit failed for input device "Mouse2"
[...]

I recognized that there is a .Xauthority file. I
don't know if it is the problem or how to change it.
Xdm won't start anyway. The Xdmerror.log:

[...]
(==) Using config file: "/etc/X11/XF86Config"
X Error of failed request: BadDrawable (invalid Pixmap or Window
parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0x0
Serial number of failed request: 55
Current serial number in output stream: 55
[...]

The XFree86.1.log with /dev/wsmouse looks quite fine:

[...]
(**) Option "Protocol" "wsmouse"
(**) Mouse1: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/wsmouse"
(==) Mouse1: Buttons: 3
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)

Any idea? Thanks.

---------------------------------------------------------------------------------

ANTWORT:

----------------------------------------------------------------------------------

>When I startx, and my mouse device is /dev/wsmouse,

No, it isn't.

>I can get with wsmoused -p /dev/cua00 a mouse in my terminal,

That's trivial:

- exit wsmoused before starting X, and re-start after exiting X
# kill $(</var/run/wsmoused.pid)
- use protocol microsoft and device /dev/tty00 in xf86config

Of course, if it still doesn't work, check out the other protocols.

----------------------------------------------------------------------------------

Ich hoffe, dass es hilft. :)

Gruß

CW
 
Danke für die Hinweise,
geklappt hat bisher leider nichts!
Vielleicht ist ja doch das Problem, das eine PS/2-Maus per Adapter an /dev/tty00 hängt.

Gruss
leeloo
 
Nein ist es nicht!
es geht wenn die maus geht!
--Ist OpenBsd Richtig? Ich hab ne Logitechmaus 3-tasten-Rad uber nen Adaper an com1 hängen! Die Hat erst nen Mucks von sich gegeben als ich das richige protokoll hatte!
versuch mal
cd /dev
chmod 777 tty00

dann.. siehe was ich oben geschrieben habe! in der /etc/X11/XF86Config
Was wsmouse dabei macht ist latte!!
Werte deinen erfolg anhand von
less /var/log/XFree86-0-log oder so ähnilch aus Das sagt er dir ob das Protokoll geht! siehe oben!

angeblich gibt es Mäuse die nicht mit Adapter gehen ! wenn der Dabei war kannst du davon ausgehen , das er geht!
Womit steigt er bei tty00 aus ? Permission Denied ? >> rechte für tty00
kannst du auch in /etc/fbtab setzen! ... was gehört wann wem?
Wenn du die recht wie oben geänder hast sollte das aber kein ding sein!
Alle Protokolle durchtesten!

Lösung B Wenn es ich um einenRechner der Pentium Klasse handelt ist auf dem Board bestimmt auch ein PS/2 Anschluss für den du dann nurnoch den Stecker besorgen musst "2,5 €"!
Gruss
und versuch es..
 
Hallo, danke für die Hilfe, habe aber jetzt doch eine serielle Maus angeschlossen, jetzt gehts !

Habe aber noch eine ganze Reihe Fragen, die ich bisher trotz viel Lesen nicht beantwortet hab>;
mach mal einen neuen thread auf.

Gruesse
Leeloo
 
Zurück
Oben