Subject: Re: multiuser X 4.1.0
To: None <port-i386@netbsd.org>
From: Matthias Pfaller <leo@marco.de>
List: port-i386
Date: 09/10/2001 10:11:49
In article <Pine.NEB.4.33.0109070818390.2878-100000@wojtek.3miasto.net>,
	wojtek@wojtek.3miasto.net (Wojciech Puchar) writes:
>> =09wojtek@wojtek.3miasto.net (Wojciech Puchar) writes:
>> > keyboard is the only thing left now to make multiuser X fully working
>> > my XF86Config in attachment. source patch below:
>>
>> I made a similar patch to get rid of the console association, but I hadn't
>> found about the pci issues so far. My patch only touches one file. It adds
>> a "-noconsole" option to the server. Together with your patch to xf86pciBus.c
> 
> same as mine!

The PCI part *is* your patch :-)

>> and
> 
>>
>> 	pckbc0	at isa? 			# PC keyboard controller
>> 	pckbd0	at pckbc0 slot 0		# PC keyboard
>> 	pckbd1	at pckbc0 slot 1		# PC keyboard
>   ^^^^^^^^^^^^^^^^^^^^^^
> 
> HOW DID YOU DO IT?!!!! physically?

Quite simple. Just plug a keyboard into the mouseport :-)

> and how to use mux? what should i put in XF86Config?

I have put the following into my XF86Config:

	Section "InputDevice"
		Identifier	"Keyboard1"
		Driver		"keyboard"

		Option	"Protocol"	"wskbd"
		Option	"Device"	"/dev/wsmux3"
	EndSection

	Section "InputDevice"
		Identifier	"Mouse1"
		Driver		"mouse"

		Option	"Protocol"	"wsmouse"
		Option	"Device"	"/dev/wsmux2"
	EndSection

I wsmux? device nodes loke like this:

	crw-r--r--   1 root	root	  65,	2 Aug 24 11:37 /net/xtk2/dev/wsmux2
	crw-r--r--   1 root	root	  65,	3 Aug 24 11:41 /net/xtk2/dev/wsmux3
	crw-r--r--   1 root	root	  65,	4 Sep  4 14:26 /net/xtk2/dev/wsmux4
	crw-r--r--   1 root	root	  65,	5 Sep  4 14:26 /net/xtk2/dev/wsmux5

> good!!! your patch is MUCH better than mine. what about including it in
> NetBSD snapshot?

I'm not quite sure about the implications of the change to the pci
stuff. Is it really safe to do this?

Regards, Matthias
-- 
Matthias Pfaller                            Software Entwicklung
marco Systemanalyse und Entwicklung GmbH    Tel   +49 8131 5161-41
Hans-Böckler-Str. 2, D 85221 Dachau         Fax   +49 8131 5161-66
http://www.marco.de/                        Email leo@dachau.marco.de