From owner-freebsd-questions@FreeBSD.ORG Wed Jun 6 02:59:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C821106564A for ; Wed, 6 Jun 2012 02:59:50 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D1DCF8FC0C for ; Wed, 6 Jun 2012 02:59:49 +0000 (UTC) Received: by werg1 with SMTP id g1so5095680wer.13 for ; Tue, 05 Jun 2012 19:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mAXMHivjpEIPAnt4RmI5BLyq/B6wngPfZSZgayb+j5k=; b=eMZ55gEp7qK9D746s5PUGGm1k8IPnUEIdUCSxuu59TvAo+QDv3+5khNl1NPT4Tp7W3 FkTqv+due6FoEO5uICHQqXNfIu0JRxV7we16YlrrByIZwO6ZTmZSiQyR+61bJqYpNIxQ tF4tnCrlkclbD0a5O6waWfZns7EZ63Q69ksbuPpAgazjstt0FS/h/e3ux3eLrl+Km/zO OF2Zd8zZ9NsDf6Hb2j6kasXWrglvrrxGJWe6YWEGPx+NVxpdP0WxO7n4Se/mVLJGRYpJ /GcOOPn6Z9Ux5xM7edAjmqRJnz8q6OaUn02TVYLjgaI1f+nTexCfNJbg3GwlMAQuCjmZ j9Ag== MIME-Version: 1.0 Received: by 10.216.198.164 with SMTP id v36mr16044391wen.199.1338951588845; Tue, 05 Jun 2012 19:59:48 -0700 (PDT) Received: by 10.216.184.73 with HTTP; Tue, 5 Jun 2012 19:59:48 -0700 (PDT) In-Reply-To: <20120606020514.8485.qmail@irelay.ssr.com> References: <20120606020514.8485.qmail@irelay.ssr.com> Date: Tue, 5 Jun 2012 19:59:48 -0700 Message-ID: From: Waitman Gobble To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD9 - I can't get my mouse to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2012 02:59:50 -0000 On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne wrote: > Walter Hurry 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