LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   compiling mousedev as module (https://www.linuxquestions.org/questions/linux-kernel-70/compiling-mousedev-as-module-820554/)

hevi 07-18-2010 12:13 PM

compiling mousedev as module
 
Hi,

I tried to using Genius MousePen 8x6 with wizardpen driver in Slackware64 13.1. The driver works but the cursor always refers to top-left corner on the screen. After googling, some people suggested that I don't use /dev/input/mice because all of pointers (mouse, tablet, etc) will be mapped to it. Based on those suggestions, I tried to recompiled kernel (2.6.34.1) after changing CONFIG_INPUT_MOUSE from 'y' to 'm' manually because I could not change it using "make menuconfig" or "make xconfig". I need mousedev as module so that I can unload it when I use the tablet. However, when I compiled the kernel using "make bzImage", CONFIG_INPUT_MOUSE is always changed automatically to 'y' again.

How to change CONFIG_INPUT_MOUSE to 'm' permanently?
Thank you in advanced.

Regards,
Henry.

Drakeo 07-21-2010 11:40 PM

have you tried rmmod psmouse and modprobe tablet
that said this is why it is mapped to input device mice.
you have to uncheck input
Quote:

#
# Userland interfaces <<<<<<<<<<---------- user creates devices
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
This will allow you to set this
Quote:

# Input Device Drivers <<<<<<,,------ note drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ADP5588=m
CONFIG_KEYBOARD_ATKBD=y
CONFIG_QT2160=m
# CONFIG_KEYBOARD_LKKBD is not set
CONFIG_KEYBOARD_GPIO=m
CONFIG_KEYBOARD_MATRIX=m
CONFIG_KEYBOARD_LM8323=m
CONFIG_KEYBOARD_MAX7359=m
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_KEYBOARD_OPENCORES=m
CONFIG_KEYBOARD_STOWAWAY=m
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
the configuration program will not let you do it any other way.
the default way the kernel make the device input and loads the module.


All times are GMT -5. The time now is 06:46 PM.