From owner-freebsd-bugs Fri Feb 15 0:40: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 22FE737B416 for ; Fri, 15 Feb 2002 00:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1F8e3I54388; Fri, 15 Feb 2002 00:40:03 -0800 (PST) (envelope-from gnats) Date: Fri, 15 Feb 2002 00:40:03 -0800 (PST) Message-Id: <200202150840.g1F8e3I54388@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jeremy Chadwick Subject: Re: kern/34952: Mouse cursor invisible with USB mice and usbd Reply-To: Jeremy Chadwick 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 The following reply was made to PR kern/34952; it has been noted by GNATS. From: Jeremy Chadwick To: Josef Karthauser Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/34952: Mouse cursor invisible with USB mice and usbd Date: Fri, 15 Feb 2002 00:33:41 -0800 On Fri, Feb 15, 2002 at 05:49:00AM +0000, Josef Karthauser wrote: > On Thu, Feb 14, 2002 at 09:07:07PM -0800, Jeremy Chadwick wrote: > > > > 2. Modify the rc files to support something like vidcontrol_init="yes" and vidcontrol_flags="-m on" in rc.conf. > > > > Can't you just add the following to /etc/rc.conf? > > allscreens_flags="-m on" > > Joe Fairly odd solution (I would call it more of a "hack"), for two reasons: 1. usbd, since it relies upon spawning external applications to enable features (i.e. moused), should also permit the user to run something like "vidcontrol -m off" when detaching a device; presently, usbd already calls moused on attach and "killall moused" on detach -- so why not also do vidcontrol? Generally this is considered a "clean" way of doing things, since usbd seems to already be doing this already... :-) Regardless, this might cut down on some of the PRs, like "USB mouse doesn't work in STABLE!". 2. allscreens_flags is used in a very peculiar manner: if [ -n "${allscreens_flags}" ]; then echo -n ' allscreens' for ttyv in /dev/ttyv*; do vidcontrol ${allscreens_flags} < ${ttyv} > ${ttyv} 2>&1 done fi In reference to my bug report, I'm curious how redirecting stdin and stdout to the actual console ttys would affect vidcontrol when using "-m on". Would this have any consequences? I'd rather put faith into Option #1. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message