Re: kbdmux/syscons/vidcontrol interacts badly with X/radeon

From: Maksim Yevmenkin <maksim.yevmenkin_at_savvis.net>
Date: Wed, 15 Mar 2006 16:19:00 -0800
Andrew Thompson wrote:
> On Wed, Mar 15, 2006 at 05:23:36PM -0600, Scot Hetzel wrote:
> 
>>On 3/15/06, Scot Hetzel <swhetzel_at_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
Received on Wed Mar 15 2006 - 23:19:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:53 UTC