Subject: Re: Jornada 6x0 new keyboard layout ?
To: None <port-hpcsh@netbsd.org>
From: wrzymski <wrzymski@gmail.com>
List: port-hpcsh
Date: 10/11/2005 22:26:50
------=_Part_4687_23242209.1129069610909
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

2005/10/11, Valeriy E. Ushakov <uwe@ptc.spbu.ru>:
>
> On Mon, Oct 10, 2005 at 09:08:43 +0000, wrzymski wrote:
>
> > I've been trying with wscons.conf and mapfile but in current it
> > doesn't work. There is pl mapfile in
> > /usr/share/wscons/keymaps/pckbd.pl.iso8859-2 looks fine for me, and
> > works under i386. The problem is that loading it under hpcsh ends
> > with no working keyboard.
>
> "Not working" =3D=3D ?



It means wscons.conf loads mapfile but keyboard layout is so broken I can't
even login. This is the only reason I've made pl layout through
sys/dev/hpc/hpckbdkeymap.h.

Anyway, I'd suggest making a custom map for the Jornada. Select in
> the bootloader the option that matches your physical layout, dump the
> map with wsconsctl, edit it to give you latin2 chars on the altgr
> layer as necessary, and load that map.
>

How can I dump layout of wsconsctl ?

Another problem is with loading fonts. I have latin2 fonts file and compile=
d
in pseudo-device wsfont to the kernel. When I try to use this fonts I get:

#wsfontload -N lat2 -h 10 -w 8 /usr/share/wscons/fonts/lat2.810 (and this
works)
#wsconsctl -f /dev/ttyE0 -d -w font=3Dlat2
wsconsctl: WSDISPLAYIO_SFONT: Invalid argument

Am I doing something wrong or is it problem with wsconsctl in current or
hpcsh specific ?

###

------=_Part_4687_23242209.1129069610909
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

2005/10/11, Valeriy E. Ushakov &lt;<a href=3D"mailto:uwe@ptc.spbu.ru">uwe@p=
tc.spbu.ru</a>&gt;:<div><span class=3D"gmail_quote"></span><blockquote clas=
s=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margi=
n: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Oct 10, 2005 at 09:08:43 +0000, wrzymski wrote:<br><br>&gt; I've be=
en trying with wscons.conf and mapfile but in current it<br>&gt; doesn't wo=
rk. There is pl mapfile in<br>&gt; /usr/share/wscons/keymaps/pckbd.pl.iso88=
59-2 looks fine for me, and
<br>&gt; works under i386.&nbsp;&nbsp;The problem is that loading it under =
hpcsh ends<br>&gt; with no working keyboard.<br><br>&quot;Not working&quot;=
 =3D=3D ?</blockquote><div><br>
<br>
It means wscons.conf loads mapfile but keyboard layout is so broken I
can't even login. This is the only reason I've made pl layout through
sys/dev/hpc/hpckbdkeymap.h. <br>
</div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
 rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Anyway,=
 I'd suggest making a custom map for the Jornada.&nbsp;&nbsp;Select in<br>t=
he bootloader the option that matches your physical layout, dump the
<br>map with wsconsctl, edit it to give you latin2 chars on the altgr<br>la=
yer as necessary, and load that map.<br></blockquote></div><br>
How can I dump layout of wsconsctl ? <br>
<br>
Another problem is with loading fonts. I have latin2 fonts file and
compiled in pseudo-device wsfont to the kernel. When I try to use this
fonts I get:<br>
<br>
#wsfontload -N lat2 -h 10 -w 8 /usr/share/wscons/fonts/lat2.810 (and this w=
orks)<br>
#wsconsctl -f /dev/ttyE0 -d -w font=3Dlat2<br>
wsconsctl: WSDISPLAYIO_SFONT: Invalid argument<br>
<br>
Am I doing something wrong or is it problem with wsconsctl in current or hp=
csh specific ? <br>
<br>
###<br>

------=_Part_4687_23242209.1129069610909--