Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2015 10:57:04 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-current@freebsd.org>
Subject:   Re: keymap set after file system decryption
Message-ID:  <685699b8478a007518224f72a43607c4@ultimatedns.net>
In-Reply-To: <5672F85D.9070301@orange.fr>
References:  <37578766.236860.1450260266870.JavaMail.ngmail@webmail18.arcor-online.net> <alpine.BSF.2.20.1512161545400.1026@mail.fig.ol.no> <271086927.242379.1450280096357.JavaMail.ngmail@webmail18.arcor-online.net> <CAN6yY1u-BStBuFiX7y4gisD=YXs2eJAEqv4S7TmPVtxh_Ww9Hg@mail.gmail.com> <alpine.BSF.2.20.1512171151260.1026@mail.fig.ol.no> <alpine.BSF.2.20.1512171219520.1026@mail.fig.ol.no> <5672A1D8.8090602@orange.fr> <alpine.BSF.2.20.1512171342522.1026@mail.fig.ol.no> <alpine.BSF.2.20.1512171623300.1026@mail.fig.ol.no> <5672DE02.9060503@orange.fr> <5112c6159f4bbcdb5c2ab35386abd0e4@ultimatedns.net>, <5672F85D.9070301@orange.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Dec 2015 19:01:01 +0100 Claude Buisson <clbuisson@orange.fr> wrote

> On 12/17/2015 18:25, Chris H wrote:
> > On Thu, 17 Dec 2015 17:08:34 +0100 Claude Buisson <clbuisson@orange.fr>
> > 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?685699b8478a007518224f72a43607c4>