From owner-freebsd-usb@FreeBSD.ORG Sat Mar 19 18:05:54 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBB8F106564A for ; Sat, 19 Mar 2011 18:05:53 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 90B218FC08 for ; Sat, 19 Mar 2011 18:05:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p2JI5qDp046814; Sat, 19 Mar 2011 12:05:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p2JI5qoQ046811; Sat, 19 Mar 2011 12:05:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 19 Mar 2011 12:05:52 -0600 (MDT) From: Warren Block To: Erich Dollansky In-Reply-To: <201103191148.02048.erichfreebsdlist@ovitrap.com> Message-ID: References: <5ecea789f7bdf4d0232f5c32de56188d@kominik.net> <4D8413EB.2040903@kominik.net> <201103191148.02048.erichfreebsdlist@ovitrap.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 19 Mar 2011 12:05:52 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: USB Mouse - only works after being replugged in X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2011 18:05:54 -0000 On Sat, 19 Mar 2011, Erich Dollansky wrote: > Hi, > > On Saturday 19 March 2011 10:45:01 Warren Block wrote: >> On Fri, 18 Mar 2011, Barry Kominik wrote: >> >>> I solved the issue. There were no errors. I set moused_port="/dev/ums0" in >>> rc.conf. Sorry for the noise. This is my first PC-BSD install, I do not >>> recall being asked if I was using a usb mouse. I am coming from and OpenBSD >>> and OpenSolaris background and didn't grok /etc/default/rc.conf. Once I >>> looked inside it was obvious what to do. >> >> Thinking about it, it really doesn't seem that obvious. The Handbook >> kind of skips over it instead of saying "If you have a USB mouse, it >> will be detected and moused started automatically." > > not really. At least not at my machine. If I do not have a > > moused_enable="NO" > > in my rc.conf, I do not get X to work later. But I still have the mouse available. Enabling moused in rc.conf leads to a frozen mouse on at least two of my machines. USB mice cause moused to run even with moused_enable="NO" (the default), because moused_nondefault_enable="YES" is in /etc/defaults/rc.conf. With the default settings, a USB mouse should provide a mouse pointer in the console. It should still work with moused_enable="YES". In xorg, there are other things that can come into play, including xorg.conf settings like InputDevice sections, mouse device and protocol, AllowEmptyInput (which should be avoided), AutoAddDevices which can be used to disable hal device hotplugging, whether hal is running, and whether xorg-server was built with or without hal support. Probably others.