Results 1 to 1 of 1
Hi,
We have built xorg-server-1.7.3 by default the keyboard and mouse is in-built and when Xserver is run, it will ask for rules files if we try to remove $/X11/xkb. ...
- 04-26-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 1
Disabling Keyboard and Mouse in Xserver
Hi,
We have built xorg-server-1.7.3 by default the keyboard and mouse is in-built and when Xserver is run, it will ask for rules files if we try to remove $/X11/xkb. As our application doesn't have neither keyboard nor mouse, the input is through serial. Can you please let us know how to remove/disable Keyboard and mouse feature while building Xorg.
We have removed the support for keyboard and mouse in kernel (kernel version - 2.6.31.6)
- tried the kernel way by compiling out the keyboard and mouse options and removed the xkb folder in $/X11 but it complains saying "$/X11/xkb/rules/evdev not found . Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config ".
- Tried with --disable-config-hal --disable-config-dbus while building xorg-server, even this din't work.
- Tried also disabling Section "Input device" and also used option "AutoAddDevices" "off" in xorg.conf, which didnt work.
/***********************************************/
xorg.conf after modification is as follows:
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
Option "AllowEmptyInput" "true"
# Option "AutoAddDevices" "off"
# Option "AutoEnableInput" "false"
EndSection
Section "Files"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection
#Section "InputDevice"
# Identifier "Keyboard0"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbLayout" "es"
# Option "XkbModel" "us+inet"
EndSection
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "auto"
# Option "ZAxisMapping" "4 5 6 7"
#EndSection
Section "Monitor"
Identifier "Monitor0"
DisplaySize 162 121
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "640x480"
EndSubSection
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "XkbDisable" "true"
EndSection
/***********************************************/
Any help would be great.
Thanks,


Reply With Quote