Xorg Input Hotplugging

Nicolas Mailhot nicolas.mailhot at laposte.net
Wed Nov 14 03:12:26 PST 2007


Hi all,

I'd appreciate help in converting this old working xorg evdev config to
the new hal hotplug fdi syntax (since it just hit fedora-devel, and the
old xorg.cong results in no input)

I understand you're supposed to drop xml files in 
/etc/hal/fdi/policy/, and I more or less grok the basic syntax rules,
but the mapping from the old directives to the new key names is evading
me.

Section "InputDevice"
        Identifier  "nek4k-base"
        Driver      "evdev"
        Option      "Protocol" "evdev"
        Option      "vendor" "1118"
        Option      "product" "219"
        Option      "Phys" "*/input0"
        Option      "XkbModel" "evdev"
        Option      "XkbLayout" "fr,ru"
        Option      "XkbVariant" "oss,winkeys"
        Option      "XkbOptions"
"grp:lwin_toggle,grp_led:scroll,compose:rwin"
EndSection

Section "InputDevice"
        Identifier  "nek4k-enhanced"
        Driver      "evdev"
        Option      "Protocol" "evdev"
        Option      "vendor" "1118"
        Option      "product" "219"
        Option      "Phys" "*/input1"
EndSection

Section "InputDevice"
        Identifier  "track-expl"
        Driver      "evdev"
        Option      "Protocol" "evdev"
        Option      "vendor" "1118"
        Option      "product" "36"
        Option      "ZAxisMapping" "4 5"
        Option      "Buttons" "7"
EndSection

Removing the old xorg.conf input directives gives me a working but
misconfigured keyboard and pointer

(WW) <default pointer>: No Device specified, looking for one...
(II) <default pointer>: Setting Device option to "/dev/input/mice"
(--) <default pointer>: Device: "/dev/input/mice"
(==) <default pointer>: Protocol: "Auto"
(**) Option "CorePointer"
(**) <default pointer>: always reports core events
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(**) <default pointer>: Sensitivity: 1
(**) Option "CoreKeyboard"
(**) <default keyboard>: always reports core events
(**) Option "Protocol" "standard"
(**) <default keyboard>: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) <default keyboard>: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) <default keyboard>: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) <default keyboard>: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) <default keyboard>: CustomKeycodes disabled
(II) evaluating device (<default keyboard>)
(II) XINPUT: Adding extended input device "<default keyboard>" (type:
KEYBOARD)
(II) evaluating device (<default pointer>)
(II) XINPUT: Adding extended input device "<default pointer>" (type:
MOUSE)
(II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
(II) <default pointer>: ps2EnableDataReporting: succeeded
(II) 3rd Button detected: disabling emulate3Button


-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.x.org/archives/xorg/attachments/20071114/92df3795/attachment-0001.pgp>


More information about the xorg mailing list