From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 17:31:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48778106564A for ; Mon, 11 Oct 2010 17:31:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 094B78FC12 for ; Mon, 11 Oct 2010 17:31:55 +0000 (UTC) Received: from r55.edvax.de (port-92-195-73-80.dynamic.qsc.de [92.195.73.80]) by mx02.qsc.de (Postfix) with ESMTP id 41A6A22087; Mon, 11 Oct 2010 19:31:54 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o9BHVrge001529; Mon, 11 Oct 2010 19:31:53 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 11 Oct 2010 19:31:53 +0200 From: Polytropon To: Gary Kline Message-Id: <20101011193153.758efde5.freebsd@edvax.de> In-Reply-To: <20101011164152.GA4652@thought.org> References: <20101011032642.GA3354@thought.org> <20101011164152.GA4652@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: mouse problems.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2010 17:31:56 -0000 On Mon, 11 Oct 2010 09:41:52 -0700, Gary Kline wrote: > I'm including the dmesg output from the server. Is there a > mouse driver I can compile that will get the mouse working on my > two FreeBSD platforms? This is not needed - the mouse driver is already in the default kernel. For a PS/2 mouse, dmesg should show a "psm" entry, and there should be /dev/psm0. I think I don't see a mouse in this dmesg, so there is NO mouse. The keyboard seems to be present. The psm device can be configured per /etc/rc.conf using moused. While USB mice get configured by the USB subsystem automatically, PS/2 and serial mice do not. Here's an example entry: moused_enable="YES" moused_port="/dev/psm0" moused_flags="-z 4" moused_type="auto" If you're using X, it should pick up a mouse configured this way. There should be no need to edit xorg.conf (unless you intendedly need nonstandard settings that the autodetection magic won't get right). You can check if the mouse works if you move the cursor in text mode. An arrow should be visible. If you just want to check things without file modifying (and rebooting), you can invoke moused directly, e. g. moused -d -f -p /dev/psm0 -t auto -z 4 Here, -d enables debugging messages, and -f forces moused NOT to become a daemon, so you can ^C to purge it when done. If you see that the settings are working properly, modify the rc.conf file as shown above. Compiling kernel & world to get a mouse working, bah... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...