tech-userlevel archive

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

Re: EDID from multiple displays using ioctl(WSDISPLAYIO_GET_EDID)



> In the ideal world I'd love to see multiple tty's on multiple screens
> and being able to switch between them with the muxed keyboard but at
> the same time allow X to span them all (or a set) ....

> The furthest I got was a prompt on wsdisplay1 (ttyF0) but no way to
> switch the keyboard to it.

I wouldn't expect to be able to switch a single wskbd between distinct
wsdisplays.

I dealt with this on sparc/1.4T (pre-wscons) in the kernel, by adding
what you might call a reverse mux layer - reverse in that it's the
opposite of what wsmux does (or at least what I think it does):

zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kmmux0 at zs1 channel 0 (console, 1200 baud)
kbd0 at kmmux0 (console)
kbd1 at kmmux0
kbd2 at kmmux0
kbd3 at kmmux0
kmmux1 at zs1 channel 1 (1200 baud)
ms0 at kmmux1
ms1 at kmmux1
ms2 at kmmux1
ms3 at kmmux1

(instead of just "kbd0 at zs1 channel 0" and "ms0 at zs1 channel 1"),
with keystroke sequences to switch which kbd and ms the real keyboard
and mouse are connected to.  Then I can point software at kbd0 and ms0,
or kbd1 and ms1, etc.

In the past, I used this mostly when running direct-to-the-hardware
programs on non-console framebuffers (mostly games on cg6); today I use
it mostly to talk to software I set up to push keyboard and mouse
events over the net, so I can have a second monitor, on a different
machine, effectively driven by the same keyboard and mouse as my main
head.  (I have to explicitly switch.  One of my "someday" projects is a
front-end X server that fronts for disparate X servers, making them
into different screens of a single server.  Unless someone beats me to
it, or has beaten me to it....)

As I said, this was pre-wscons, but I can't imagine it would be all
that difficult to implement something of the sort for wscons.  (If I
found myself somehow having to use wscons for my main
screen-and-keyboard, I probably would do just that.)  But that's more a
matter for tech-kern....

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index