Re: Xorg mal wieder

From: Polytropon <freebsd(at)edvax.de>
Date: Sun, 17 Aug 2014 13:14:48 +0200

On Sun, 17 Aug 2014 12:05:04 +0200, Heino Tiedemann wrote:
> Jetzt das Wunder: ich konnte Xorg starten, Ohne eine xorg.conf Datei.

Das ist mitlerweile so üblich. Ohne. Oft funktioniert das sogar.

> Aber:
>
> - - - - - - Maus und Tastatur funktionieren nicht - - - - - -
>
>
> Was komisch ist, dann auf der Konsole funktioniert die Tastatur und
> Sogar die Maus funktioniett auf Konsole!

Das sind zwei unterschiedliche Systeme. Auf der Konsole wird der
Kerneltreiber (kbd oder ukbd) und der Konsolenmaustreiber benutzt.
X hat dafür eigene Mechanismen.

Was Du beobachtest, klingt nach dem typischen HAL-Ärgernis: X
läuft, aber keine Eingabegeräte. Dazu wie üblich:

http://www.wonkity.com/~wblock/docs/html/aei.html

Ferner:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

Hier insbesondere 6.4.2.

> Gesetzt sind
>
> hald_enable="YES"
> dbus_enable="YES"
>
> der Rechner wurde danach rebootet.

Und Du hast X auch mit den Optionen _mit_ HAL compiliert?
Hastu Du mit den neuen Optionen in make.conf auch die Ports
xf86-input-keyboard und xf86-input-mouse neu übersetzt?
Das soll manchmal helfen...

Im Zweifelsfall: Setze

        Option "AutoAddDevices" "Off"

in xorg.conf (wie oben beschrieben) und füge, falls dort nicht
vorhanden, Definitionen für Maus und Tastatur ein (falls nicht
vorhanden). Etwa so kannst Du sie konfigurieren:

Section "ServerLayout"
        Identifier "Layout0"
        InputDevice "Mouse0" "CorePointer"
        InputDevice "Keyboard0" "CoreKeyboard"
        [...]
EndSection

[...]

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "kbd"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "de"
        Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Section "InputDevice"
        Identifier "Mouse0"
        Driver "mouse"
        Option "Protocol" "auto"
        Option "Device" "/dev/sysmouse"
        Option "Emulate3Buttons" "true"
        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "2"
        Option "ZAxisMapping" "4 5"
EndSection

> Hei-mein nächster Rechner wird ein Mac-no

Scheiterhaufen!!! :-)

Deine Xorg.0.log zeigt übrigens auch eindeutig, warum Maus und
Tastatur nicht funktionieren. Ich seziere mal:

> [ 147.819] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
> [ 147.819] (WW) Disabling Mouse0
> [ 147.819] (WW) Disabling Keyboard0
>
> [...]
>
> [ 151.153] (EE) config/hal: couldn't initialise context: unknown error (null)

Diese Fehlermeldung ist natürlich besonders hilfreich. :-)

-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 17 Aug 2014 - 13:14:59 CEST

search this site