Re: keymap set after file system decryption

From: Chris H <bsd-lists_at_bsdforge.com>
Date: Thu, 17 Dec 2015 10:57:04 -0800
On Thu, 17 Dec 2015 19:01:01 +0100 Claude Buisson <clbuisson_at_orange.fr> wrote

> On 12/17/2015 18:25, Chris H wrote:
> > On Thu, 17 Dec 2015 17:08:34 +0100 Claude Buisson <clbuisson_at_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
Received on Thu Dec 17 2015 - 17:56:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC