Date: Mon, 18 Feb 2002 00:30:04 -0800 (PST) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/34952: Mouse cursor invisible with USB mice and usbd Message-ID: <200202180830.g1I8U4B42544@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: Peter Pentchev <roam@ringlet.net> To: Jeremy Chadwick <yoshi@parodius.com> Cc: bug-followup@FreeBSD.org Subject: Re: kern/34952: Mouse cursor invisible with USB mice and usbd Date: Mon, 18 Feb 2002 10:23:33 +0200 On Fri, Feb 15, 2002 at 12:40:03AM -0800, Jeremy Chadwick wrote: > 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" > > Fairly odd solution (I would call it more of a "hack"), for two > reasons: > [snip] > 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? Yes, it would simply work :) Redirecting stdin and stdout is done for the benefit of the ioctl(2) interface that vidcontrol(8) uses, so it can actually modify the settings of the tty in question (in this loop, all virtual consoles). Since the '-m on' only notes that the cursor should be shown when needed, not always, IMHO it would be a good solution. It would do no harm - the mouse cursor is only drawn on mouse movement, and hidden on a keypress - so there would be no mouse cursor when the mouse is not attached. When the mouse is attached, the persistent 'mouse cursor on' state would make sure that the cursor is displayed. Again, this is just my opinion, YMMV. G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am jealous of the first word in this sentence. 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?200202180830.g1I8U4B42544>