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