Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2012 19:59:48 -0700
From:      Waitman Gobble <gobble.wa@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD9 - I can't get my mouse to work
Message-ID:  <CAFuo_fwiz25Fgv8P4Z%2B3nemX%2BwiTvt1ZO=%2BPkR-4cU_%2Bts4Fkg@mail.gmail.com>
In-Reply-To: <20120606020514.8485.qmail@irelay.ssr.com>
References:  <jqm3sr$1l5$1@dough.gmane.org> <20120606020514.8485.qmail@irelay.ssr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne <sdb@ssr.com> wrote:

>  Walter Hurry <walterhurry@gmail.com> writes:
>
> >
> > Firstly, sorry if this is a bit of a newbie question. I am quite new to
> > FreeBSD (though fairly experienced at Linux). Almost everything in
> FreeBSD
> > is fine, except that no matter what I try I cannot get the (USB) mouse to
> > work.
> >
> > I have scoured the handbook, and Googled, but to no avail.
> >
> > This is 9.0-RELEASE on amd64 - fully updated.
> >
> > I don't need the mouse in consoles, but I do want it in X.
> >
>
> The clue here is 'fully updated'. The latest hald has a bug that keeps
> the mouse from working. If you look in your X.org.0.log you may find
> a section which says that /dev/ums, configured by hal, is busy, and
> unloads the mouse. If you don't find that, then ignore the rest of
> this email :)
>
> There are various "solutions" to this, one is to disable the auto
> configure, and add the configuration for both keyboard and mouse to
> the .conf file.  Another is to restart dbus and hald. You can switch
> to a console window from X and run this command:
>
> /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart
>
> If that fixes it, then you can automate it by putting something like
> this in /usr/local/etc/rc.d , call it haldfixbug or something like
> that:
>
> ----------
> #!/bin/sh
> #
> # PROVIDE: HALD_FIX_BUG
> # REQUIRE: hald dbus
> #
>
> [ "$1" = start ] && /usr/local/etc/rc.d/dbus restart &&
> /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED"
> [ "$1" = faststart ] && /usr/local/etc/rc.d/dbus restart &&
> /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED"
> sleep 5
> exit 0
> -------------
>
> This might not work if you use startx, but should be ok with xdm or
> gdm. It works for me, maybe not for you.
>
> Best,
> Scott
> --
> sdb@ssr.com
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>

i'll give that a try. After updating a couple of days ago the mouse is
glued to the center of the screen after starting X. I noticed if i first
kill moused before startx it works fine. (moused apparently restarts). But
maybe this solution will end the work-around.

Waitman Gobble
San Jose California USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fwiz25Fgv8P4Z%2B3nemX%2BwiTvt1ZO=%2BPkR-4cU_%2Bts4Fkg>