linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Serial Mouse in Kernel 2.6
@ 2005-04-29 12:52 Christoph Pleger
  2005-04-29 16:03 ` Dmitry Torokhov
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Pleger @ 2005-04-29 12:52 UTC (permalink / raw)
  To: linux-kernel

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?

Kind regards
  Christoph

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serial Mouse in Kernel 2.6
  2005-04-29 12:52 Serial Mouse in Kernel 2.6 Christoph Pleger
@ 2005-04-29 16:03 ` Dmitry Torokhov
  2005-04-29 16:21   ` Wakko Warner
  2005-05-30 14:09   ` Vojtech Pavlik
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Torokhov @ 2005-04-29 16:03 UTC (permalink / raw)
  To: Christoph Pleger; +Cc: linux-kernel

Hi,

On 4/29/05, Christoph Pleger <Christoph.Pleger@uni-dortmund.de> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serial Mouse in Kernel 2.6
  2005-04-29 16:03 ` Dmitry Torokhov
@ 2005-04-29 16:21   ` Wakko Warner
  2005-04-29 16:29     ` Dmitry Torokhov
  2005-05-30 14:09   ` Vojtech Pavlik
  1 sibling, 1 reply; 5+ messages in thread
From: Wakko Warner @ 2005-04-29 16:21 UTC (permalink / raw)
  To: dtor_core; +Cc: linux-kernel

Dmitry Torokhov wrote:
> 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

Where does one get the input_attach program?

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serial Mouse in Kernel 2.6
  2005-04-29 16:21   ` Wakko Warner
@ 2005-04-29 16:29     ` Dmitry Torokhov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Torokhov @ 2005-04-29 16:29 UTC (permalink / raw)
  To: dtor_core, linux-kernel

On 4/29/05, Wakko Warner <wakko@animx.eu.org> wrote:
> Dmitry Torokhov wrote:
> > 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
> 
> Where does one get the input_attach program?
> 

http://cvs.sourceforge.net/viewcvs.py/linuxconsole/ruby/utils/inputattach.c

I think RedHat packages it with GPM and Novell with input-utils. Not
sure about the others.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serial Mouse in Kernel 2.6
  2005-04-29 16:03 ` Dmitry Torokhov
  2005-04-29 16:21   ` Wakko Warner
@ 2005-05-30 14:09   ` Vojtech Pavlik
  1 sibling, 0 replies; 5+ messages in thread
From: Vojtech Pavlik @ 2005-05-30 14:09 UTC (permalink / raw)
  To: dtor_core; +Cc: Christoph Pleger, linux-kernel

On Fri, Apr 29, 2005 at 11:03:24AM -0500, Dmitry Torokhov wrote:
> Hi,
> 
> On 4/29/05, Christoph Pleger <Christoph.Pleger@uni-dortmund.de> 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.
 
You also get a much better update rate for the mouse than with X/GPM, 4x
for MouseSystems, and 2x for Microsoft mice. This makes the serial mouse
finally usable.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-30 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-29 12:52 Serial Mouse in Kernel 2.6 Christoph Pleger
2005-04-29 16:03 ` Dmitry Torokhov
2005-04-29 16:21   ` Wakko Warner
2005-04-29 16:29     ` Dmitry Torokhov
2005-05-30 14:09   ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).