Re: USB-keyboard with a non-standard layout in wscons. Solved!

2015-07-07 Thread Hans dinsen-hansen
Thanks for your answers. Everything is now solved even under NetBSD 5.1! On Mon, Jun 29, 2015 at 5:15 AM, Dan LaBell wrote: > > On Jun 27, 2015, at 8:08 AM, Hans dinsen-hansen wrote: > >> Dear list. >> >> Thanks for all your mails. I sat he whole morning and >> 1) made a safety dump of my NetB

Re: USB-keyboard with a non-standard layout in wscons

2015-06-29 Thread Hans dinsen-hansen
Thanks For your mail, Dan. On Mon, Jun 29, 2015 at 5:15 AM, Dan LaBell wrote: > > On Jun 27, 2015, at 8:08 AM, Hans dinsen-hansen wrote: > >> Dear list. >> ... >> > In your kernel do you have? > options WSDISPLAY_COMPAT_PCVT # emulate some ioctls > options WSDISPLAY_COMPAT

Re: USB-keyboard with a non-standard layout in wscons

2015-06-28 Thread Dan LaBell
On Jun 27, 2015, at 8:08 AM, Hans dinsen-hansen wrote: Dear list. Thanks for all your mails. I sat he whole morning and 1) made a safety dump of my NetBSD. 2) Built as lot of kernels and tested them with dmesg. All of them invented a wskbd0 ;-( even if I told them to ignore pckb* wi

Re: USB-keyboard with a non-standard layout in wscons

2015-06-27 Thread Hans dinsen-hansen
Dear list. Thanks for all your mails. I sat he whole morning and 1) made a safety dump of my NetBSD. 2) Built as lot of kernels and tested them with dmesg. All of them invented a wskbd0 ;-( even if I told them to ignore pckb* with more and more #-lines. You hav given me more ideas whic

Re: USB-keyboard with a non-standard layout in wscons

2015-06-26 Thread tlaronde
On Sat, Jun 27, 2015 at 07:37:37AM +0200, Martin Husemann wrote: > On Fri, Jun 26, 2015 at 08:24:42PM +0200, tlaro...@polynum.com wrote: > > Do you really have 2 keyboards attached? Because the pckbd0 is, AFAIU, > > the PS2 attached one. > > Sometimes the BIOS emulates a "pckbd" from the USB attac

Re: USB-keyboard with a non-standard layout in wscons

2015-06-26 Thread Martin Husemann
On Fri, Jun 26, 2015 at 08:24:42PM +0200, tlaro...@polynum.com wrote: > Do you really have 2 keyboards attached? Because the pckbd0 is, AFAIU, > the PS2 attached one. Sometimes the BIOS emulates a "pckbd" from the USB attached one for legacy operating systems. Try turning that emulation off in th

Re: USB-keyboard with a non-standard layout in wscons

2015-06-26 Thread Dan LaBell
On Jun 26, 2015, at 8:15 AM, Hans dinsen-hansen wrote: Note that the map does not start with keycode 1. That's odd. Does escape work? Are you sure? The maps are compiled in the kernel. for dk.nodead I have %head map map= keycode 1 = Cmd_Debugger Escape keycode 2 = 1 exclam keycode 3 = 2 q

Re: USB-keyboard with a non-standard layout in wscons

2015-06-26 Thread tlaronde
Hello, On Fri, Jun 26, 2015 at 08:10:05PM +0200, Hans dinsen-hansen wrote: > On Fri, Jun 26, 2015 at 6:16 PM, wrote: > > > > From usb(4), you could try to compile a kernel with setting the flags > > '1' to force detection of the USB keyboard on boot : > > > > usb* at ehci? flags 1 > > usb* at oh

Re: USB-keyboard with a non-standard layout in wscons

2015-06-26 Thread Hans dinsen-hansen
Dear list & Tlarpmde! On Fri, Jun 26, 2015 at 6:16 PM, wrote: > On Fri, Jun 26, 2015 at 02:15:45PM +0200, Hans dinsen-hansen wrote: >> Dear List. >> >> I still have problems with my USB keyboard and wscons. >> > > Since I have had problems with USB keyboards with NetBSD 6.1.5, and > had a chaoti

Re: USB-keyboard with a non-standard layout in wscons

2015-06-26 Thread tlaronde
On Fri, Jun 26, 2015 at 02:15:45PM +0200, Hans dinsen-hansen wrote: > Dear List. > > I still have problems with my USB keyboard and wscons. > Since I have had problems with USB keyboards with NetBSD 6.1.5, and had a chaotic "mapping" (the letter 'o' not typable; the lette 'e' omnipresent etc.) t

Re: USB-keyboard with a non-standard layout in wscons

2015-06-26 Thread Hans dinsen-hansen
Dear List. I still have problems with my USB keyboard and wscons. On Thu, Jun 25, 2015 at 3:32 AM, Dan LaBell wrote: > ... > Maybe check current mode, with wsconsctl -a > In wscons.conf you have encoding=dk ? > ... > There's a way to add a file of individual redefines in wscons.conf, > with "ma

Re: USB-keyboard with a non-standard layout in wscons

2015-06-25 Thread Hans dinsen-hansen
Thanks, Dan. On Thu, Jun 25, 2015 at 3:32 AM, Dan LaBell wrote: > ... > Maybe check current mode, with wsconsctl -a > In wscons.conf you have encoding=dk ? yes, actually, with the wanted modification: dk.nodead. > Is this key left of enter, and is it giving you what's printed on it? No that

Re: USB-keyboard with a non-standard layout in wscons

2015-06-24 Thread Dan LaBell
On Jun 20, 2015, at 11:00 AM, Hans dinsen-hansen wrote: I have 2 problems with a new USB-keyboard and wscons. The system is NetBSD 5.1. 1) The backspase key gives ^H in stead of ^?. 2) The Danish keyboard layout yields JKLÆØ| jklæø\ in stead of standard JKLÆØ* jklæø'. I need thi

Re: USB-keyboard with a non-standard layout in wscons

2015-06-21 Thread Hans dinsen-hansen
Thanks for Michael van Elst's answer. On Sun, Jun 21, 2015 at 9:11 AM, Michael van Elst wrote: > hansdinsenhan...@gmail.com (Hans dinsen-hansen) writes: > >>I have 2 problems with a new USB-keyboard and wscons. The system >>is NetBSD 5.1. > >> 1) The backspase key gives ^H in stead of ^?. >>

Re: USB-keyboard with a non-standard layout in wscons

2015-06-21 Thread Michael van Elst
hansdinsenhan...@gmail.com (Hans dinsen-hansen) writes: >I have 2 problems with a new USB-keyboard and wscons. The system >is NetBSD 5.1. > 1) The backspase key gives ^H in stead of ^?. > 2) The Danish keyboard layout yields JKLÆØ| jklæø\ >in stead of standard JKLÆØ* jklæø'.