Date: Fri, 15 Feb 2002 00:40:03 -0800 (PST) From: Jeremy Chadwick <yoshi@parodius.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/34952: Mouse cursor invisible with USB mice and usbd Message-ID: <200202150840.g1F8e3I54388@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/34952; it has been noted by GNATS. From: Jeremy Chadwick <yoshi@parodius.com> To: Josef Karthauser <joe@tao.org.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202150840.g1F8e3I54388>