On Thu, Feb 21, 2013 at 1:02 PM, Jan Steffens <[email protected]>wrote:

> On Thu, Feb 21, 2013 at 12:45 PM, Rodrigo Rivas
> <[email protected]> wrote:
> > On Wed, Feb 20, 2013 at 4:34 PM, <[email protected]> wrote:
> >
> >> Hello.
> >>
> >> I set `KEYMAP' and `FONT' in `/etc/vconsole.conf'.  `sudo
> >> /usr/lib/systemd/systemd-vconsole-setup' works. But how can I use it
> >> after `reboot'?
> >>
> >> `mkinitcpio.conf' is not an option because I don't use initrd. I tried
> >> to add the above line to `/etc/rc.local', but it did not work.
> >>
> >
> > But independently of using initrd or not, `systemd-vconsole-setup` is run
> > by the service `systemd-vconsole-setup.service`, which in turn is
> WantedBy
> > `sysinit.target`. So all should be automatic...
> >
> > Can you show us the output of
> > $ systemctl status systemd-vconsole-setup.service
> > and
> > $ systemctl show systemd-vconsole-setup.service
> > ?
> >
> > Regards
> > --
> > Rodrigo
>
> If the video driver is loaded after the vconsole has been set up, the
> new console won't inherit the settings. So the only proper solutions
> are either loading the driver in the initrd or building it into the
> kernel.
>

Oh! I see.

But systemd-modules-load.service is also WantedBy `sysinit.target`. So...
what if you add a line to the systemd-vconsole-setup.service saying
"After=sys-class-graphics-fb0.device" or whatever it is called? In theory,
it should work.

Reply via email to