Date: Wed, 15 Mar 2006 16:19:00 -0800 From: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> To: Andrew Thompson <thompsa@freebsd.org> Cc: Scot Hetzel <swhetzel@gmail.com>, emax@freebsd.org, current@freebsd.org Subject: Re: kbdmux/syscons/vidcontrol interacts badly with X/radeon Message-ID: <4418AEF4.4060100@savvis.net> In-Reply-To: <20060315233621.GF20361@heff.fud.org.nz> References: <20060315223501.GA1438@galgenberg.net> <790a9fff0603151515r4d6c9bbdr2313945246409f99@mail.gmail.com> <790a9fff0603151523w61b341acx98bc31958439b83f@mail.gmail.com> <20060315233621.GF20361@heff.fud.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Thompson wrote: > On Wed, Mar 15, 2006 at 05:23:36PM -0600, Scot Hetzel wrote: > >>On 3/15/06, Scot Hetzel <swhetzel@gmail.com> wrote: >> >>>You mean something like r1.15 from -CURRENT: >>> >>>http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/syscons >>> >>>From the cvsweb, it looks as though this change wasn't MFC'd to >>>RELENG_6, but the change to /etc/devd.conf to use 'setkeyboard' method >>>was MFC'd Mar 7th to RELENG_6. >>> >> >>After clicking on revision 1.13 of etc/rc.d/syscons in cvsweb, I had >>to change 1.13 to 1.13.2.1 in the URL and this change has been applied >>to RELENG_6. >> >>Don't know how emax put the file in 36years ago into cvsweb ;-) >> >> Revision 1.13.2.1, Thu Jan 1 00:00:00 1970 UTC (36 years, 2 months ago) by > > Its the ol' cut-n-paste cvs log problem. > > The entry in devd.conf still restarts syscons, is this actually needed? > action "/etc/rc.d/syscons setkeyboard /dev/ukbd0 && > /etc/rc.d/syscons restart"; i think so. the idea is to re/set keyboard settings after new keyboard was added to the mux. the problem (as per original email) is that 'syscons restart' will try to do everything, i.e. set keyboard _and_ video/screen saver settings. due to custom settings in the "allscreen_flags" variable, this apparently breaks screen (i presume the keyboard is attached to the system while x11 is running). i guess, i could move all the keyboard settings into separate function and call it from both 'start' and 'setkeyboard'. this would make "/etc/rc.d/syscons restart" in /etc/devd.conf obsolete. thanks, max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4418AEF4.4060100>