On Oct 28, 2007 9:46 AM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> I'm trying to get a USB mouse to work in X. obsd 4.1 recognizes the
> mouse as soon as I plug it in ( see dmesg output below ) as
> wsmouse1(?). When I add that as Mouse1 in the xorg.conf file it does
> not work. everything else works great!
>
> ( relevant dmesg output )
> uhidev0 at uhub1 port 2 configuration 1 interface 0
> uhidev0: Microsoft Microsoft Optical Mouse with Tilt Wheel, rev
> 2.00/1.20, addr 2, iclass 3/1
> uhidev0: 24 report ids
> ums0 at uhidev0 reportid 17: 3 buttons and Z dir.
> wsmouse1 at ums0 mux 0
> uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1
> uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0
> uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1
> uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1
>
> ( xorg.conf / InputDevice section)
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "wsmouse"
>         Option      "Device" "/dev/wsmouse"
>         Option      "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Mouse1"
>         Driver      "mouse"
>         Option      "Protocol" "wsmouse"
>         Option      "Device" "/dev/wsmouse1"
>         Option      "ZAxisMapping" "4 5"
> EndSection
>

still no luck but I do know a lot more about Xorg! After
searching/reading for a few says I've added the following to my
xorg.conf.

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse0"
        Option      "ZAxisMapping" "4 5 6 7"
        Option      "AlwaysCore" "true"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse1"
        Option      "ZAxisMapping" "4 5"
EndSection

Xorg apparently does not have a problem with that configuration.

(**) Option "Protocol" "wsmouse"
(**) Mouse0: Protocol: wsmouse
(**) Option "AlwaysCore" "true"
(**) Mouse0: always reports core events
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/wsmouse0"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Option "Protocol" "wsmouse"
(**) Mouse1: Protocol: wsmouse
(**) Option "Device" "/dev/wsmouse1"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 9
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)

Any/All help greatly appreciated.

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Reply via email to