2006-10-31 21:28:45

by Jörg Hundertmarck

[permalink] [raw]
Subject: Simple extension to psmouse driver (tp-scroll in kernel mode)

Hello world,

I've wrote a simple extension to the psmouse driver. It's an emulation for the
scrolling wheel on TrackPoint mice. It's functionally the same like the userspace
daemon tp-scroll but it doesn't lag if the system has full load. The emulation
starts when you press the middle mouse button, then you can "scroll" up and
down by moving the mouse into the desired direction. It stops when the button
released. When you press and release the button without move, the button event
is transfered. This feature is not enabled by default, you need to set
CONFIG_MOUSE_TPWHEEL=y.

Here's the patch:
http://www.hirnfrei.org/~joerg/linux_patches/linux-2.6.17-gentoo-r7-tp-scroll.patch

The patch is tested against the the 2.6.17 and 2.6.18.1 kernel source.

I hope that's the correct mailing list and my code is usefull.

Greets
Joerg Hundertmarck


2006-11-01 01:48:43

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: Simple extension to psmouse driver (tp-scroll in kernel mode)

On Tuesday 31 October 2006 16:28, J?rg Hundertmarck wrote:
> Hello world,
>
> I've wrote a simple extension to the psmouse driver. It's an emulation for the
> scrolling wheel on TrackPoint mice. It's functionally the same like the userspace
> daemon tp-scroll but it doesn't lag if the system has full load. The emulation
> starts when you press the middle mouse button, then you can "scroll" up and
> down by moving the mouse into the desired direction. It stops when the button
> released. When you press and release the button without move, the button event
> is transfered. This feature is not enabled by default, you need to set
> CONFIG_MOUSE_TPWHEEL=y.
>
> Here's the patch:
> http://www.hirnfrei.org/~joerg/linux_patches/linux-2.6.17-gentoo-r7-tp-scroll.patch
>
> The patch is tested against the the 2.6.17 and 2.6.18.1 kernel source.
>
> I hope that's the correct mailing list and my code is usefull.
>

Hi,

Thank you for your patch, however I do not think it is needed anymore
since required functionality was added to X. Please see here:

http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint
http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2006-January/031714.html

--
Dmitry