Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: 06 Nov 1999 22:57:46 +0100

Re: Multiple users

Andreas Beck <becka@rz.uni-duesseldorf.de> writes:

> > To experiment, I need to set up a linux box with two monitors, two
> > keyboards, and two mice.  I want two users to be able to work independently
> > (two X-sessions) on the same machine.
> > Is it correct that GGI/GII/XGGI is able to do this for me?
> 
> Basically yes. However you need hardware that will work in multihead (e.g.
> at least one graphics card should be a Matrox or possibly a Permedia [
> should work, haven't tested]).
> 
> Mice shouldn't be a problem. I had up to three mice on a single machine for
> testing purposes.
> 
> Keyboard will probably be a problem. We have drivers for an external
> keyboard, but I don't know, if it is readily available everywhere).

I've recently gotten a USB mouse and keyboard, and started looking
at the Linux USB code. Yesterday I added support in LibGII for USB
mice under Linux (use protocol "lnxusb"), and am now using my
MouseMan Wheel with mhub. Works great with all four buttons and the
wheel. As of kernel 2.3.25 the USB mouse driver only supports one
USB mouse, but if none of the USB people does it before me I intend
to fix that.

As for keyboards it seems you can attach multiple USB keyboards,
but everything will go into the normal (single-headed) console
system via calls to handle_scancode(), so multiple keyboards are
pretty useless. I intend to hack the USB keyboard driver to export
a character device per keyboard, supporting medium-raw mode and
the normal keyboard LED ioctl()s. If the USB people doesn't like
that I'll maintain a separate patch.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se


Index: [thread] [date] [subject] [author]