kbdmux/syscons/vidcontrol interacts badly with X/radeon

Scot Hetzel swhetzel at gmail.com
Wed Mar 15 23:15:10 UTC 2006


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.


More information about the freebsd-current mailing list