Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2006 14:26:10 -0500
From:      Teo De Las Heras <teoheras@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Re: Mouse wheel doesn't work
Message-ID:  <d9d7f5a0602031126x6d0a4ab0m72bad45a8ab78a93@mail.gmail.com>
In-Reply-To: <fa27df1b0602030853y35442cceq539d096f31cef1e0@mail.gmail.com>
References:  <fa27df1b0602030853y35442cceq539d096f31cef1e0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
So the following config will get the wheel on my mouse to work?

/etc/rc.conf
     moused_enable=3D"YES"
     moused_flags=3D"4"

xorg.conf
     Section "InputDevice"
         Identifier      "Mouse1"
         Driver          "mouse"
         Option          "Protocol" "auto"
         Option          "Device" "/dev/sysmouse"
         Option          "Buttons" "5"
         Option          "ZAxisMapping" "4 5"
     EndSection




On 2/3/06, Derek Young <thedevek@gmail.com> wrote:
>
> I also upgraded and my mouse's scroll wheel didn't work. I updated my
> xorg.conf to the new options like I was supposed too and had no luck.
>
> What did fix it, was removing the -z 4 option from /etc/rc.conf
> moused_flags=3D"-z 4"
>
> I put that in there years ago to get my scroll wheel to work... I
> guess it isn't needed anymore, and having it there breaks it now..
>
> Derek Young
>
> On 1/31/06, Joseph Vella <satyam@sklinks.com> wrote:
> > On Monday 30 January 2006 12:22 pm, Linas Valiukas wrote:
> > > I've just upgraded 6.8.2 to 6.9.0 using 'portupgrade'. My mouse's
> > > wheel just doesn't work anymore :-( I've tried to reconfigure X, but
> > > still no effect. No errors/warnings in Xorg.0.log. I've read X.Org's
> > > changelog, there was something about mouse's keys remapping they've
> > > done to support newer models, but I was too dumb to understand it :-)
> > >
> >
> >
> > I have a Logitech OEM optical ps2 mouse.  I started with the xorg.confo=
p=3D
> tions
> > in the handbook and FAQ.  No mousewheel.  I searched for hours and
> finall=3D
> y
> > ended up finding a solution that worked.  I don't have the latest xorg
> no=3D
> r a
> > usb mouse, but maybe this is worth a try for you (his setup was
> different
> > from mine).
> >
> > I still used the xorg.conf from the handbook and then followed the
> > instructions from the reply to the following post:
> >
> >
> > Re: A4Tech mouse problem solved (but strangely!)
> > From: Scot Hetzel <swhetzel@gmail.com>
> > Date: 28/11/2005
> > On 11/26/05, Justin R. Smith <jsmith@drexel.edu> wrote:
> > > I had a problem with the mouse wheel being detected on my wireless
> > > A4Tech mouse. It is supposed to emulate a generic Intellimouse.
> > >
> > > The solution is to run moused with NO type parameter. A parameter of
> > > "auto" or "ps/2" or "microsoft" won't work. You must have a command
> lin=3D
> e of:
> > >
> > > /usr/sbin/moused -p /dev/psm0
> > >
> > > (with NO -t parameter)
> > > Unfortunately, one cannot use the automatic scripts in rc.conf to do
> > > this because they always use a parameter and fill in "microsoft" if
> one
> > > leaves the mouse type blank.
> > >
> > Make the following changes to /etc/rc.d/moused
> >
> > Add this if statement before "echo -n "Starting ${ms} moused:"
> >
> > :
> > fi
> >
> > if "${mytype}" =3D3D=3D3D "NONE" ; then
> >            mytype=3D3D""
> > fi
> >
> > echo -n "Starting ${ms} moused:"
> > :
> >
> > Then change:
> >
> > /usr/sbin/moused ${myflags} -p ${myport} -t ${mytype} ${_pidarg}
> >
> > to
> >
> > /usr/sbin/moused ${myflags} -p ${myport} ${mytype:+-t} ${mytype}
> ${_pidar=3D
> g}
> >
> > Now add to /etc/rc.conf:
> >
> > moused_psm0_type=3D3D"NONE"
> > or
> > moused_type=3D3D"NONE"
> >
> > ${mytype:+-t} will modify the commands flags only, when ${mytype} is
> > unset or null, null is substituted; otherwise -t substituted.
> >
> > I haven't checked if this works, but if you could make the changes,
> > verify that it works for you and submit a PR with the patch.
> >
> > Scot
> > --
> > DISCLAIMER:
> > No electrons were mamed while sending this message. Only slightly
> bruised=3D
> .
> >
> >
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9d7f5a0602031126x6d0a4ab0m72bad45a8ab78a93>