Maus, Tastatur und xorg

From: Manfred Lotz <manfred.lotz(at)arcor.de>
Date: Sat, 21 Mar 2009 13:27:26 +0100

Hi,
Ich habe auf einem 8.0 current eine PS/2 Maus (genauer: eine USB Maus,
die mit einem USB to PS/2 Adapter an PS/2 hängt.

$dmesg | grep psm

psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3

Wenn ich xorg (xorg-server-1.5.3_5) starte, funktioniert die Maus auch.
Soweit ist alles bestens.

In der /etc/X11/xorg.conf habe ich:

Section "InputDevice"
         Identifier "Mouse0"
         Driver "mouse"
         Option "Protocol" "auto"
         Option "ZAxisMapping" "4 5 6 7"
EndSection

Wieso kommen dann aber folgende Fehler in /var/log/Xorg.0.log?

#grep -i mouse /var/log/Xorg.0.log
(**) |-->Input Device "Mouse0"
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
(==) RADEON(0): Silken mouse enabled
(WW) Mouse0: No Device specified, looking for one...
(II) Mouse0: Setting Device option to "/dev/psm0"
(--) Mouse0: Device: "/dev/psm0"
(**) Mouse0: Protocol: "auto"
(**) Mouse0: always reports core events
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Mouse0: Sensitivity: 1
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 3, hw.model is 4
(II) Mouse0: SetupAuto: protocol is IMPS/2
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) config/hal: Adding input device PS/2 Mouse
(**) PS/2 Mouse: Device: "/dev/psm0"
(==) PS/2 Mouse: Protocol: "Auto"
(**) PS/2 Mouse: always reports core events
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit failed for input device "PS/2 Mouse"
(II) UnloadModule: "mouse"

Als Tastatur habe ich eine Cherry USB Tastatur, die auch funktioniert,
sowohl under Console als auch unter X.

#grep -e Key -e EE /var/log/Xorg.0.log
(**) |-->Input Device "Keyboard0"
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Keyboard0: Protocol: standard
(**) Keyboard0: XkbRules: "xorg"
(**) Keyboard0: XkbModel: "pc105"
(**) Keyboard0: XkbLayout: "us"
(**) Keyboard0: XkbVariant: "colemak"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(EE) config/hal: NewInputDeviceRequest failed
(EE) product 0x0011: cannot open "/dev/ukbd0"
(EE) PreInit failed for input device "product 0x0011"
(EE) config/hal: NewInputDeviceRequest failed
(II) config/hal: Adding input device AT Keyboard
(**) AT Keyboard: always reports core events
(**) AT Keyboard: Protocol: standard
(**) AT Keyboard: XkbRules: "xorg"
(**) AT Keyboard: XkbModel: "pc105"
(**) AT Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) AT Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD)

In der /etc/X11/xorg.conf habe ich

Section "InputDevice"
         Identifier "Keyboard0"
         Driver "kbd"
         Option "CoreKeyboard"
         Option "XkbRules" "xorg"
         Option "XkbLayout" "us"
         Option "XkbVariant" "colemak"
EndSection

Wie schon erwähnt, es funktioniert alles. Dennoch würde ich gerne
wissen, wo die Fehlermeldungen her kommen und die zum Verschwinden bringen.

-- 
Manfred
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 21 Mar 2009 - 13:26:30 CET

search this site