Re: /dev/psaux problem (2.6.5)

From: E.Rodichev
Date: Tue Apr 20 2004 - 09:13:24 EST


It's not a problem of mousedev, but the problem of make menuconfig.

The relevant part of .config is

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

Starting from original linux-2.6.5.tar.gz it seems impossible to
disable CONFIG_INPUT_MOUSEDEV_PSAUX without disabling CONFIG_INPUT_MOUSEDEV.

If I comment out the line CONFIG_INPUT_MOUSEDEV_PSAUX by hand, make
silently restore this line to yes.

Regards,
E.R.

On Tue, 20 Apr 2004, Dmitry Torokhov wrote:

> On Monday 19 April 2004 07:26 pm, E.Rodichev wrote:
>
> > The reason is that in 2.6.5 it looks impossible to disable the existing
> > mouse driver, which conflicts with driver from Tuukka Toivonen. My
> > temporary solution was as follows:
> >
> >
> > --- drivers/input/Kconfig.orig ?2004-04-04 07:36:18.000000000 +0400
> > +++ drivers/input/Kconfig ? ? ? 2004-04-20 03:45:31.000000000 +0400
> > @@ -26,7 +26,6 @@ comment "Userland interfaces"
> >
> > ?config INPUT_MOUSEDEV
> > ? ? ? ? tristate "Mouse interface" if EMBEDDED
> > - ? ? ? default y
> > ? ? ? ? depends on INPUT
> > ? ? ? ? ---help---
> > ? ? ? ? ? Say Y here if you want your mouse to be accessible as char devices
> >
>
> Ok, I am slow today, but how does mousedev affect his psaux implementation?
> I can see that his module can conflict with psmouse (which is configurable),
> but mousedev?
>
> The reason it is always on because it is useful for any kind of mouse -
> serial, USB, PS/2. You really want to keep it around...
>
> --
> Dmitry
>

_________________________________________________________________________
Evgeny Rodichev Sternberg Astronomical Institute
email: er@xxxxxxxxxx Moscow State University
Phone: 007 (095) 939 2383
Fax: 007 (095) 932 8841 http://www.sai.msu.su/~er
-
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/