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

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Wed, 15 Mar 2006 17:15:08 -0600
On 3/15/06, Ulrich Spoerlein <q_at_galgenberg.net> wrote:
> Hi all,
>
> this pertains to 6.1-PRERELEASE and is caused by devd calling 'syscons
> restart' on keyboard attach. More specifically it is due to
> allscreens_flags="-c blink 80x60" in /etc/rc.conf. This will then call
> vidcontrol and this totally screws up my X11 display (radeon driver).
> Killing X11 will _usually_ result in a normal console, but this is not
> always the case. Clearing allscreens_flags is also a possibile
> workaround.
>
> Also, on normal boot, vidcontrol will be called twice, once in normal
> startup, then via kbdmux/devd/syscons restart.
>
> Possible solution: Don't do a full restart, but refactor the keyboard
> code in syscons into a separate function and only call this function.
>
> I hope this can be implemented quickly and MFC'ed before 6.1. Thanks!
>
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.
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
Received on Wed Mar 15 2006 - 22:15:10 UTC

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