NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/49495: serial console prevents use of X with drmkms



Patrick Welche writes:
> On Mon, Dec 22, 2014 at 06:10:01PM +0000, matthew green wrote:
> >  sure you haven't forgotten to adjust /etc/wscons.conf to create
> >  ttyE0?
> 
> My /etc/wscons.conf looks like
> ...
> screen  0       -       vt100
> screen  1       -       vt100
> screen  2       -       vt100
> screen  3       -       vt100
> screen  4       80x50   vt100
> screen  5       80x50   vt100
> screen  6       80x50   vt100
> screen  7       -       -
> ...
> so that should do?

hmmm, mine has just this for screens:

screen  0       -       vt100
screen  1       -       vt100
screen  2       -       vt100
screen  3       -       vt100
screen  4       -       -

and screen4 is where X will run, and 0-3 are gettys:

constty "/usr/libexec/getty std.115200" vt100   on secure
ttyE0   "/usr/libexec/getty Pc"         vt220   on secure
ttyE1   "/usr/libexec/getty Pc"         vt220   on secure
ttyE2   "/usr/libexec/getty Pc"         vt220   on secure
ttyE3   "/usr/libexec/getty Pc"         vt220   on secure

that gives me a login: prompt on the serial console as well as
4 virtual terminal logins on the display and then X runs on the
5th...

this setup works for me with drmkms, but i've only got radeon
PCI cards for testing here.

is this i386 or amd64?  can you confirm that you only have one
wsdisplay (wsdisplay0) and that wskbd0 and wsmux1 connect to it?


.mrg.


Home | Main Index | Thread Index | Old Index