Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 21:51:16 +0100
From:      maurizio@cloverinformatica.it
To:        "Aleksandr Rybalko" <ray@freebsd.org>
Cc:        freebsd-x11@freebsd.org, maurizio@cloverinformatica.it
Subject:   Re: [HEADS UP] xorg version switch in CURRENT
Message-ID:  <f772aedd2dff38329eaffee53a386417.squirrel@10.8.0.1>
In-Reply-To: <20140108002207.3f1b2bcb.ray@freebsd.org>
References:  <169379aca081ebd9edf870b041b3ac54.squirrel@10.8.0.1> <52C7EC34.7000202@dumbbell.fr> <20140108002207.3f1b2bcb.ray@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sat, 04 Jan 2014 12:10:44 +0100
> Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr> wrote:
>
>> On 02.01.2014 11:43, maurizio@cloverinformatica.it wrote:
>> > Hi list,
>
> Hi guys!
> Sorry for delay. it was celebration week :)
>
>
>> > I installed it on a laptop, a Samsung Atìv book 2 model
>> > NP270E5E-K02IT with Intel HD Graphics 4000.
>> > Two minor bugs:
>> > - I use startx to initialize the X session. When I terminate it with
>> > Ctrl-Alt-Backspace the keyboard key is not working, I need to
>> > switch to another console eg. Ctrl+Alt+F3, return to the original
>> > console and now the keyboard works.
>
> Not sure, but it can be related to vt(9). Is it happen every time you
> terminate xorg with Ctrl-Alt-Backspace? (Hope you sure you run with
> vt(9) (a.k.a. newcons))
>
Yes, I am using newcons.I have compiled the kernel with:

# wiki.freebsd.org/Newcons
ident           NEWCONS
nodevice        vga,sc
device          vt,vt_vga

I can always reproduce the bug in this way:
1) run the command startx in ttyv0
2) Ctrl+Alt+F1 to return to ttyv0
3) Ctrl+Alt+F9 to return to the X session
4) Ctrl+Alt+Backspace to kill the X session
The keyboard do not works
5) Ctrl+Alt+F2, Ctrl+Alt+F2
The keyboard now works.

>> > - The laptop has an Italian keyboard layout. In the console the
>> > '€' (euro) sign is correctly displayed but clicking AltGr+E the
>> > symbol '¤' is visualized. Note that in a X session with xterm all
>> > works.
>
> vt(9) currently have no own keyboard mapping files.
> But you can prepare your own using instructions here:
> http://raybsd.blogspot.com/2013/10/newcons-international-keyboard-input.html
>
> If it will produce '¤' for AltGr+E, you can find Unicode
> code-point for '¤' (hex 0xc2a4, dec 49828) in your ukbd file and
> replace it with code-point of '€' (hex 0xc280, dec 49792).
>
I can display the '€' symbol replacing one value:
# diff it.iso.kbd.orig it.iso.ukbd
58c58
<   018   'e'    'E'    enq    enq    164    'E'    enq    enq     C
---
>   018   'e'    'E'    enq    enq    8364   'E'    enq    enq     C

but using it.iso.ukbd the X server do not start crashing :-(((

If you need any further information, please do not hesitate to contact me.

Regards
Maurizio






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