Re: Serial Mouse in Kernel 2.6

From: Dmitry Torokhov
Date: Fri Apr 29 2005 - 11:07:41 EST


Hi,

On 4/29/05, Christoph Pleger <Christoph.Pleger@xxxxxxxxxxxxxxx> wrote:
> Hello,
>
> When configuring Kernel 2.6.11.7, I found under Input Devices two
> options which seem to have to do with serial mouse support:
>
> 1. Serial line discipline (module serport)
> 2. Serial Mouse support (module sermouse)
>
> Ic compiled both these features as a module. But after rebooting with
> the new kernel, the serial mouse is working well with gpm and with X11,
> although none of the above modules are loaded.
>
> So, what for are the modules mentioned above needed?
>

If you load the modules and use input_attach program to set up your
mouse then you can access it via /dev/input/mice together with the
rest of you mice, PS/2, USB, etc. This way you have only one input
device for you mouse and do not have to change millions of programs
(actually 2) if you happen to install a new mouse.

You seem to still using the mouse by accessing /dev/ttySx port and
using serial mouse driver.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/