HELP w/XFree86 and keyboard in 3.0.1

Paul Newhouse <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
I recently installed 3.0.1 and the associated XFree86 (xserver.tgz)
binaries, arch=i386.  Things seem to have changed some since 1.5A.

If I start X as root (xinit) things seem to work correctly (at least 
as expected).  However, if I start X as a regular user I can't get 
any input from the keyboard.  Mouse seems to work.

I've included what I think might be relevant information.

   # dmesg|egrep -e'(key|kbd|pck)'  
   wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
   pckbc0 at isa0 port 0x60-0x64
   pckbd0 at pckbc0 (kbd slot)
   pckbc0: using irq 1 for kbd slot
   wskbd0 at pckbd0: console keyboard, using wsdisplay0


Keyboard section from XF86Config

   Section "InputDevice"
       Identifier  "Keyboard1"
       Driver      "kbd"
       Option      "AutoRepeat"    "500 5"
   EndSection


Differences between running kernel and GENERIC.MP:



Differences between running kernel and GENERIC:

   27c27
   < maxusers	32		# estimated number of users
   ---
   > maxusers	64		# estimated number of users
   66a67
   > options 	REALEXTMEM=261120	# size of extended memory (in KB)
   97c98
   < #options 	BEEP_ONHALT
   ---
   > options 	BEEP_ONHALT
   99c100
   < #options 	BEEP_ONHALT_COUNT=3	# Times to beep
   ---
   > options 	BEEP_ONHALT_COUNT=3	# Times to beep
   105c106
   < #options 	NEW_BUFQ_STRATEGY
   ---
   > options 	NEW_BUFQ_STRATEGY
   110c111
   < #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
   ---
   > options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
   175c176
   < #options 	GATEWAY		# packet forwarding
   ---
   > options 	GATEWAY		# packet forwarding
   178,183c179,184
   < #options 	IPSEC		# IP security
   < #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
   < #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
   < #options 	IPSEC_DEBUG	# debug for IP security
   < #options 	MROUTING	# IP multicast routing
   < #options 	PIM		# Protocol Independent Multicast
   ---
   > options 	IPSEC		# IP security
   > options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
   > options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
   > options 	IPSEC_DEBUG	# debug for IP security
   > options 	MROUTING	# IP multicast routing
   > options 	PIM		# Protocol Independent Multicast
   185c186
   < #options 	NSIP		# XNS tunneling over IP
   ---
   > options 	NSIP		# XNS tunneling over IP
   187c188
   < #options 	EON		# OSI tunneling over IP
   ---
   > options 	EON		# OSI tunneling over IP
   196c197
   < #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
   ---
   > options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
   1260,1262c1261,1263
   < #options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
   < #pseudo-device	pf			# PF packet filter
   < #pseudo-device	pflog			# PF log if
   ---
   > options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
   > pseudo-device	pf			# PF packet filter
   > pseudo-device	pflog			# PF log if

keyboard devices:

# ls -l /dev/*kbd*
   crw-------  1 root  wheel  65, 1 Sep 10 08:37 /dev/wskbd
   crw-------  1 root  wheel  48, 0 Sep 10 08:37 /dev/wskbd0
   crw-------  1 root  wheel  48, 1 Sep 10 08:37 /dev/wskbd1
   crw-------  1 root  wheel  48, 2 Sep 10 08:37 /dev/wskbd2
   crw-------  1 root  wheel  48, 3 Sep 10 08:37 /dev/wskbd3

.xinitrc


   twm &
   xrdb -load $HOME/.Xdefaults
   xsetroot -solid Black
   xhost +pimin.veritas.com
   xhost +bigbox;rsh bigbox setenv DISPLAY pimin:0.0 \; xclock -geometry 50x50-0+0 -padding 0 -hd Red -hl IndianRed &
   xeyes -geometry  122x50-54+0 -outline Red -center Beige &
   xbiff -geometry  50x50-180+0 -background Black -foreground Yellow -bordercolor Beige &
   xhost +bigbox;rsh bigbox.wan.vpn setenv DISPLAY pimin:0.0 \; xbiff -geometry 50x50-234+0 -background Black -foreground Yellow -bordercolor Beige &
   xhost +172.31.255.5;rsh 172.31.255.5 -l pimin export DISPLAY=172.16.89.42:0.0 \; /usr/openwin/bin/xbiff -geometry 50x50-288+0 -background Black -foreground Yellow -bordercolor Beige &
   xclock -geometry 100x100-0-0 -padding 0 -hd Red -hl IndianRed &
   xload -geom 529x50+0-104 -bg Black -fg LightYellow&
   #xhost +spaten.veritas.com;rsh spaten.veritas.com -l pimin export DISPLAY=pimin1:0.0 \; /usr/contrib/bin/X11/xload -geom 529x50+1064-104  -update 10 -bg Black -fg LightYellow -label pimin.veritas.com -label spaten.veritas.com &
   xhost +bigbox;rsh bigbox   setenv DISPLAY pimin:0.0 \; xload -geom 529x50+533-104  -update 10 -bg Black -fg LightYellow &
   xhost +toy;rsh toy      setenv DISPLAY pimin:0.0 \; xload -geom 529x50+1066-104  -update 10 -bg Black -fg LightYellow &
   xosview +net -network 12500000 -geom 580x400-3-216 &
   xautolock -time 60 -locker "xlock -mode swarm" &
   xterm -fn 9x15 -sb -sl 500 -geometry 100x50+00+00 -T "PMN_0 [`uname -s -r`:wd1]" -fg LightYellow -bg Black -cr red -ms darkblue -n PMN_0 &
   xhost +bigbox;rsh bigbox 'setenv DISPLAY pimin:0.0; /usr/X11R6/bin/xconsole -geom 529x100-0-104 -fg LightYellow -bg Black -n Console' &
   xconsole -geom 1492x100+0-0 -fg LightYellow -bg Black -n Console
   kbd_mode -a # restore Sun console keyboard to ASCII reporting after twm exits


Some clues on where I went wrong would be appreciated.
   
TIA,
Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.