From owner-freebsd-bugs Wed Sep 11 5:30:47 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D96037B406 for ; Wed, 11 Sep 2002 05:30:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB9343E65 for ; Wed, 11 Sep 2002 05:30:33 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8BCUXJU033560 for ; Wed, 11 Sep 2002 05:30:33 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8BCUX95033559; Wed, 11 Sep 2002 05:30:33 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CE3937B400 for ; Wed, 11 Sep 2002 05:21:58 -0700 (PDT) Received: from bigboy.spc.org (dolly.good1.com [195.206.69.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D9543E6A for ; Wed, 11 Sep 2002 05:21:53 -0700 (PDT) (envelope-from bms@spc.org) Message-Id: <20020911122151.2B08796AB@triage.dollah.com> Date: Wed, 11 Sep 2002 13:21:51 +0100 (BST) From: Bruce M Simpson Reply-To: Bruce M Simpson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/42657: /etc/rc.syscons: moused has malformed command line Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42657 >Category: misc >Synopsis: /etc/rc.syscons: moused has malformed command line >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 05:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Bruce M Simpson >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD triage.dollah.com 4.6-STABLE FreeBSD 4.6-STABLE #4: Sat Sep 7 13:55:56 BST 2002 root@:/usr/src/sys/compile/TRIAGE i386 >Description: In rc.syscons, moused is passed incorrect command line arguments when several flags are specified. >How-To-Repeat: If I use the following flags in rc.conf to start up moused with support for taps using my GlidePoint tablet on the Vaio, then moused doesn't start due to incorrect command line arguments:- moused_enable="YES" moused_port="/dev/psm0" moused_flags="-3 -m 1=4 1=1" moused_type="auto" >Fix: The patch below corrects the problem. --- syscons-rc-moused.patch begins here --- --- /etc/rc.syscons.orig Tue Sep 10 22:51:15 2002 +++ /etc/rc.syscons Tue Sep 10 22:52:47 2002 @@ -159,7 +159,7 @@ case ${moused_enable} in [Yy][Ee][Ss]) echo -n ' moused' - moused ${moused_flags} -p ${moused_port} -t ${moused_type} + moused -p ${moused_port} -t ${moused_type} ${moused_flags} case ${mousechar_start} in [Nn][Oo] | '') ;; --- syscons-rc-moused.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message