Julian Coleman | 2 Feb 2007 19:21
Picon

wscons versus sun4

Hi,

I'm trying to get a 4/330 with a P4 cgsix to work with wscons.  I thought
that I had altered all the necessary bits, but it doesn't work.  The dmesg
extracts are:

  mainbus0 (root): SUN-4/300 series: hostid 230046e3
   ...
  cgsix0 at obio0 addr 0xfb000000 level 4: cgsix/p4, 1152 x 900, rev 1 (console)
  cgsix0: attached to /dev/fb0
  cgsix0: framebuffer size: 1 MB
  cgsix0: FBC: 0014aac0
  wsdisplay0 at cgsix0 (kbdmux ignored): console (std, sun emulation)
  wsdisplay0: screen 1-3 added (std, sun emulation)
   ...
  zs1 at obio0 addr 0xf0000000 level 12 softpri 6
  zstty4 at zs1 channel 0 (console input)
  kbd0 at zstty4 (console input)
  zstty5 at zs1 channel 1
  ms0 at zstty5
  wsmouse0 at ms0 (mux ignored)
   ...
  wskbd0 at kbd0 (mux ignored): console keyboard, using wsdisplay0

Kernel messages appear on the console but any userland process trying to
read from or write to /dev/console gets ENODEV.  This is because the line
discipline is sunkbd_disc, where l_read and l_write are ttyerrio (which
results in the ENODEV).

On a working machine (SS20/cgsix/wscons), I see that wsdisplayioctl() is
(Continue reading)

Michael Lorenz | 2 Feb 2007 20:45
Picon

Re: wscons versus sun4


On Feb 2, 2007, at 13:21, Julian Coleman wrote:

>   wsdisplay0 at cgsix0 (kbdmux ignored): console (std, sun emulation)
>   wsdisplay0: screen 1-3 added (std, sun emulation)

>   wsmouse0 at ms0 (mux ignored)
>    ...
>   wskbd0 at kbd0 (mux ignored): console keyboard, using wsdisplay0

> So, I assume I'm missing some glue in my wscons setup, but I can't 
> spot what
> it is.  Any clues gratefully received.

Wild guess:
pseudo-device	wsmux			# mouse and keyboard multiplexor
pseudo-device	wsfont
missing in your kernel config?

have fun
Michael
Julian Coleman | 3 Feb 2007 20:07
Picon

Re: wscons versus sun4

Hi,

> Wild guess:
> pseudo-device	wsmux			# mouse and keyboard multiplexor
> pseudo-device	wsfont
> missing in your kernel config?

They were indeed missing.  Unfortunately, adding them doesn't make it work
(they're also missing in the kernel I was using on the SS20, so I guess that
they're more of an optional extra?).

Thanks,

J

--

-- 
  My other computer also runs NetBSD    /        Sailing at Newbiggin
        http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/


Gmane