[systemd-devel] [PATCH] vconsole: rerun setup on console takeovers as well

David Herrmann dh.herrmann at gmail.com
Wed Apr 22 09:52:46 PDT 2015


Hi

On Wed, Apr 22, 2015 at 6:14 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Tue, 24.02.15 19:23, Jan Engelhardt (jengelh at inai.de) wrote:
>
> Sorry for the late reply,
>
>> When a system, which has an FB driver and fbcon loaded and active,
>> then the font state gets lost on console takeovers, as for example
>> issued by i915. Since fbcon remains loaded and active, the existing
>> event handling (add/vtcon*) is not sufficient.
>
> what's the precise effect of this? I mean, iirc we already might end
> up calling s-v-s twice, since it is pulled in from a udev rule and
> during normal boot. Does this mean it is regularly pulled in thrice
> even?
>
> Isn#t the right fix to make the kernel keep the font settings around
> during the fb transition?
>
> Can you elaborate a bit on this? Kinda missing the details before I
> can merge this.
>
> David, Kay, any idea about this?

The kernel should really issue a "change" uevent on handover. We
should not guess this based on graphics device add/removal.

Thanks
David


More information about the systemd-devel mailing list