From owner-freebsd-current@freebsd.org Thu Dec 17 18:56:39 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E45BAA49898 for ; Thu, 17 Dec 2015 18:56:38 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA0821C1D for ; Thu, 17 Dec 2015 18:56:38 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id tBHIuwvp089585 for ; Thu, 17 Dec 2015 10:57:04 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <5672F85D.9070301@orange.fr> References: <37578766.236860.1450260266870.JavaMail.ngmail@webmail18.arcor-online.net> <271086927.242379.1450280096357.JavaMail.ngmail@webmail18.arcor-online.net> <5672A1D8.8090602@orange.fr> <5672DE02.9060503@orange.fr> <5112c6159f4bbcdb5c2ab35386abd0e4@ultimatedns.net>, <5672F85D.9070301@orange.fr> From: "Chris H" Subject: Re: keymap set after file system decryption Date: Thu, 17 Dec 2015 10:57:04 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <685699b8478a007518224f72a43607c4@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2015 18:56:39 -0000 On Thu, 17 Dec 2015 19:01:01 +0100 Claude Buisson wrote > On 12/17/2015 18:25, Chris H wrote: > > On Thu, 17 Dec 2015 17:08:34 +0100 Claude Buisson > > wrote > > >> On 12/17/2015 16:44, Trond Endrestøl wrote: > >>> On Thu, 17 Dec 2015 13:56+0100, Trond Endrestøl wrote: > >>> > > ..[snip]... > >>> Alas, the options and makeoptions for selecting a default keymap does > >>> not work, at least not for USB keyboards. > >>> > >> > >> As I said above, if you use vt, and kbdmux (which is standard and even > >> mandatory to be able to use Xorg), specifying the keymap for atkbd and > >> usbkbd is useless.. > > > > Just for the record... > > I track CURRENT (11) on my development box. I built my kernel > > with sc(4) (SYSCONS) > > > > # atkbdc0 controls both the keyboard and the PS/2 mouse > > device atkbdc # AT keyboard controller > > device atkbd # AT keyboard > > device psm # PS/2 mouse > > > > device kbdmux # keyboard multiplexer > > > > # syscons is the default console driver, resembling an SCO console > > device sc > > options SC_PIXEL_MODE # add support for the raster text mode > > > > As well as vt ( VIRTUAL TERMINALS(4) ) > > > > # vt is the new video console driver > > device vt > > device vt_vga > > device vt_efifb > > > > I have no trouble(s) running X on this box (I'm writing this from > > within my web browser, on an X11 desktop) > > > > The only provision I had to make, was in loader.conf(5) : > > > > kern.vty=sc > > > > and life is good! :) > > > > In all fairness; I use a US keyboard, *but* using SYSCONS *doesn't* > > prevent my being able to run X11. :) > > > > Hope this helps! > > > > --Chris > > > > I run syscons with X on a number of systems... > > I MUST run vt on certain systems with Intel grahics, with drm2, to be > able to swich from X to console and back (and is the current FreeBSD > standard for X ports). kbdmux is mandatory in this case because X must > put the keyboard in raw mode, which cannot be done with vt only (and a > reason of the presence of kbdmux in GENERIC).. > > And I always use a non US keyboard - which IS the context of the > ORIGINAL post ! Indeed, and I meant no disrespect. I just wanted to clarify that choosing sc over vt doesn't prevent one from using X, which is how I [perhaps mistakenly] interpreted your your earlier statement. :) All the best. > > Claude Buisson > > > >> > >> Have a look at PR 194744 by Oliver Pinter > >> > >> (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194744) > >> > >> This PR is now more than 1 year old, and nothing has been done: people > >> using non-US keyboard are not popular here.. > >> > >> Claude Buisson --Chris