2007/11/1, Mark Thomas <[EMAIL PROTECTED]>:
> 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

Missing option "SendCoreEvents" for wsmouse1. And why don't use
/dev/wsmouse, which is "cumulative" device for all mice?

Reply via email to