From owner-freebsd-questions Sun May 5 11:10:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cpimssmtpu10.email.msn.com (cpimssmtpu10.email.msn.com [207.46.181.85]) by hub.freebsd.org (Postfix) with ESMTP id 0724837B478 for ; Sun, 5 May 2002 11:10:07 -0700 (PDT) Received: from thebe ([64.159.117.240]) by cpimssmtpu10.email.msn.com with Microsoft SMTPSVC(5.0.2195.4905); Sun, 5 May 2002 11:09:29 -0700 From: "Aaron Burke" To: "Chris Griffiths" Cc: "FreeBSD-Questions" Subject: RE: Multiple moused at startup Date: Sun, 5 May 2002 11:09:40 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <20020505120619.A234@dca.net> Importance: Normal X-OriginalArrivalTime: 05 May 2002 18:09:30.0421 (UTC) FILETIME=[006C2650:01C1F460] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have one solution that works on one of my bsd boxes. Allthough you should keep in mind that upgrading the kernel (specificly mergemaster) may request that you overwrite these files. But here was my solution. Also, keep in mind that rc.conf is just a config file. (At least as far as I know.) The other rc files actually contain the startup scripts. in rc.conf make sure you have something like the following. moused_port="/dev/psm0" moused_type="auto" moused_enable="YES" # for second mouse, mine is on com1 moused2_port="/dev/cuaa0" moused2_type="auto" moused2_enable="YES" Then, you will have to update rc.syscons, and add the following lines, I put them just below the regular moused lines. (make sure it looks similar to moused, my mail client is gonna chop at least one line in two. # For a second mouse. We'll call it moused_enable2 # case ${moused2_enable} in [Yy][Ee][Ss]) echo -n ' moused(2nd mouse)' moused ${moused2_flags} -p ${moused2_port} -t ${moused2_type} case ${mousechar2_start} in [Nn][Oo] | '') ;; *) echo -n ' mousechar_start'; vidcontrol < ${viddev} -M ${mousechar_start} ;; esac vidcontrol < ${viddev} -m on ;; esac If you have any problems, or if anyone else has figured out a different way of doing this, let me know. I am interested. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Chris Griffiths > Sent: Sunday, May 05, 2002 09:06 AM > To: FreeBSD-Questions > Subject: Multiple moused at startup > > > Hello, > > I am running 4.5-stable as of a few days ago. > > I am trying to enable two versions of moused from /etc/rc.conf but > unfortunatly only the last record is being read in at bootup. Does > anyone know how to get around this? > > Here is what my rc.conf looks like: > > moused_enable="YES" > moused_type="jogdial" > moused_port="/dev/jogdial" > moused_enable="YES" > moused_port="/dev/psm0" > moused_type="auto" > > Thanks for any help. > > Chris > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message