From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Few notes to 0.8 Date: Sat, 29 Nov 2014 21:45:24 +0100 Message-ID: <87y4qtwxaz.fsf@gnu.org> References: <87ppc7106v.fsf@gnu.org> <87r3wm1aoq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuotY-0003sz-T7 for guix-devel@gnu.org; Sat, 29 Nov 2014 15:45:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuotU-0003Bu-4B for guix-devel@gnu.org; Sat, 29 Nov 2014 15:45:32 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:43729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuotT-00039k-TF for guix-devel@gnu.org; Sat, 29 Nov 2014 15:45:28 -0500 In-Reply-To: <87r3wm1aoq.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 29 Nov 2014 11:57:25 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > Ludovic Court=C3=A8s writes: > >> Adam Pribyl skribis: [...] >>> 2. during boot the system twice sets the console font, each time to a >>> different one (this is not always reproducible). Minor. >> >> Hmm, you mean on the same tty? > Yeah, I have issue too, solved by: > > (initrd (lambda (fs . args) > (apply base-initrd fs > #:extra-modules '("i915") > args))) > > To get fbcon in initrd before udev-service and console-font-service. Oh, OK. > I think the 'Console' lines of `dmesg' tell the reason. I have: --8<---------------cut here---------------start------------->8--- $ dmesg |grep -E '(udevd.*starting|Conso)' [ 0.000000] Console: colour VGA+ 80x25 [ 3.750956] udevd[190]: starting version 1.10 [ 4.536397] Console: switching to colour dummy device 80x25 [ 5.421016] Console: switching to colour frame buffer device 170x48 --8<---------------cut here---------------end--------------->8--- I don=E2=80=99t think we can solve it generically without adding udev and a= ll the graphics drivers to the initrd, can we? Or perhaps we could just include a few common graphics drivers by default? > I just put it in my config.scm: > > (define (console-layout-service layout) > (with-monad %store-monad > (return > (service > (document "Setup keyboard layout for console") > (provision '(console-layout)) > (start #~(lambda _ > (system* (string-append #kbd "/bin/loadkeys") #$layout)= )) > (stop #~(const #t)) > (respawn? #f))))) Excellent. I was thinking that we should have a keyboard layout setting in the OS declaration, that would lead to a service like the one above as well as the appropriate X settings. > Any plan for user services? > Get guix build a dmd.conf for user should be really cool. Yeah, that could be nice. I wonder how this should work. Currently we=E2=80=99d have to start one dmd instance per user; I=E2=80=99m not sure where/when this should be started. Also, should the global OS declaration include user-specific service lists? WDYT? Thanks for your feedback! Ludo=E2=80=99.