From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 18:14:48 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 694FA1065670 for ; Mon, 11 Oct 2010 18:14:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3858FC12 for ; Mon, 11 Oct 2010 18:14:47 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 5CFF3E81F96; Mon, 11 Oct 2010 11:14:38 -0700 (PDT) Date: Mon, 11 Oct 2010 11:14:38 -0700 From: Gary Kline To: Polytropon Message-ID: <20101011181438.GA5076@thought.org> References: <20101011032642.GA3354@thought.org> <20101011164152.GA4652@thought.org> <20101011193153.758efde5.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101011193153.758efde5.freebsd@edvax.de> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: mouse problems.... 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: Mon, 11 Oct 2010 18:14:48 -0000 On Mon, Oct 11, 2010 at 07:31:53PM +0200, Polytropon wrote: > 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... :-) > Bah, or Bah-humbug! I tried the quick-fix mod and get the following: moused_type="auto" moused: optind: 9, optarg: '4' moused: unable to open /dev/psm0: No such file or directory ethic# Then i dropped in your four line into /etc/rc.conf and rebooted. A few lines before the prompt was the message that "/dev/psm0" was not file nor directory. Suggestions? The kernel on this '09 Dell is from last December. I'll rebuild. I finished upgrading kernel and world on my 2003 Dell. Will drop in your 4 lines and see what happened after reboot. [??] gary > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org