Re: [kbd] [systemd-devel] systemd-vconsole-setup fails very slowly
Andy Lutomirski <[email protected]>
| Newsgroups | dev.linux.lists.kbd |
|---|---|
| Message-ID | <CALCETrVt5bKJgHSkocpApsRXWKmBdHVpupP05hA+kcf=dexp_A@mail.gmail.com> |
On Mon, Apr 6, 2015 at 2:48 PM, Alexey Gladkov <[email protected]> wrote: > 23.01.2015 05:29, Andy Lutomirski пишет: >> setfont does this: >> >> /* we allow ourselves to hang here for ca 5 seconds, xdm may >> be playing tricks on us. */ >> while ((loop++ < 20) && (i = ioctl(fd, PIO_FONT, buf))) >> { >> if (loop <= 1) >> fprintf(stderr, "putfont: PIO_FONT trying ...\n"); >> else >> fprintf(stderr, "."); >> usleep(250000); >> } >> fprintf(stderr, "\n"); >> >> Alexey, would it make sense to remove this loop or to add a way to turn it off? > > Andy, can you check master branch ? > > http://git.altlinux.org/people/legion/packages/kbd.git Seems to work for me (i.e. it fails immediately in my setup). Thanks! --Andy > > -- > Rgrds, legion > -- Andy Lutomirski AMA Capital Management, LLC