[ltp] Kernel 2.6 and two mice

Edi Weitz linux-thinkpad@linux-thinkpad.org
Wed, 26 May 2004 10:57:57 +0200


On Wed, 26 May 2004 00:53:28 +0000, James Hawtin <oolon@ankh.org> wrote:

> Something like this patch should do it
>
> --- linux-2.6.6/drivers/input/mousedev.c.orig   Wed May 26 01:49:05 2004
> +++ linux-2.6.6/drivers/input/mousedev.c        Wed May 26 01:49:30 2004
> @@ -24,6 +24,7 @@
>  #include <linux/major.h>
>  #include <linux/device.h>
>  #include <linux/devfs_fs_kernel.h>
> +#undef CONFIG_INPUT_MOUSEDEV_PSAUX
>  #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX
>  #include <linux/miscdevice.h>
>  #endif

Thanks. I just built a new kernel with your patch applied and
strangely it did exactly the opposite of what I expected from your
explanation (or from what I want):

I don't have /dev/psaux anymore and the PS/2 trackpoint is only
available through /dev/input/mice. I'd rather have the trackpoint at
/dev/psaux and /not/ piped through /dev/input/mice... :(

Hmmmm,
Edi.