nanogui: mouse driver
Subject:
Re: [nanogui] mouse driver
From:
Jordan Crouse ####@####.####
Date:
29 Jun 2001 20:27:51 -0000
Message-Id: <01062914274400.28637@cosmic>
Well, actually, I checked the GPM code, and it appears that it repeats the
data as msc (which is a Mouse Systems compatible protocol of 5 byte packets),
so the PS/2 is actually being translated by GPM and we are really reading the
MSC data (my apologies for confusing that earlier).
So the extra level is required in this case. If that is a hassle for people
I don't think anyone will have a problem if somebody writes a PS/2 mouse
driver. That might actually save some pain and suffering with GPM (like when
you switch back and forth from console to X11).
Jordan
On Friday 29 June 2001 13:46, MagnaSygg Technical Support mentioned:
> OK, I'm not a device driver writer, but the way it seems to me, is that
> since
> the kernel is taking the connection from (in my case the brain dead
> connection)
> and putting the data into /dev/mouse(?), then if I am using a PS2 type
> device, I shouldn't need GPM to translate, and it just adds a layer of
> unnecessary software. Is this true? What am I missing here?
> Jeffrey
> > You are confusing the job of the kernel and the job of the userland
> > applications. The kernel exists only as a service, no more no less. Its
>
> job
>
> > is to actually read the PS2 port (or USB, or serial or direct connection
>
> to
>
> > the brain stem) and turn it into a recognizable set of data that can be
>
> read
>
> > by other programs. The kernel provides this data in a handy set of
> > device files which can be read or ignored as the case may be.
> > Jordan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####