Subject: Re: startx : Fatal server error: Can't set keyboard mode
To: None <port-hpcsh@netbsd.org>
From: Alain Robillard <arobillard@hotmail.com>
List: port-hpcsh
Date: 12/16/2004 09:21:39
Hello Valeriy,

thanks for the suggestion.

I will try this during the weekend and keep the news group informed of the 
results.  Is the config file for the GENERIC kernel set up this way in order 
to be more hardware independent or should it have these options included for 
future releases ?

Regards

Alain Robillard


>From: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
>To: port-hpcsh@netbsd.org
>Subject: Re: startx : Fatal server error: Can't set keyboard mode
>Date: Thu, 16 Dec 2004 09:26:59 +0300
>
>On Mon, Dec 13, 2004 at 09:43:52 -0500, Alain Robillard wrote:
>
> > I have successfully installed both 1.6 and 2.0 RC4 (both binary sets) on 
>my
> > Jornada 680 equiped with a 256 MB CF card.  But on neither can I start
> > Xhpc. Each time I get the now (for me) famous error message :
> >
> > "Fatal server error: Can't set keyboard mode"
> >
> >
> > I tried with root and with a new user.  I chmod /dev and /tmp to 1777.  
>I
> > tried with parameter -- -dev /dev/ttyE0  and  other stuff I can't 
>remember
> > but nothing helped.  NetBSD from the console works flawlessly.
>
>Hmm, I think the problem is that 2.0 GENERIC doesn't have neccessary
>options enabled.  Add these options to your kernel config:
>
># compatibility to other console drivers
>options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
>options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
>options 	WSDISPLAY_COMPAT_USL		# VT handling
>options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
>
>SY, Uwe
>--
>uwe@ptc.spbu.ru                         |       Zu Grunde kommen
>http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen