Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Keyboard and mouse stops working after changing XConfig
I recently installed Redhat Linux 9.0 in my windows system (with dual booting). It worked fine initially, but then I tried to change the mouse setting from 2-button PS/2 to wheel mouse PS/2. After this, on rebooting, the linux shuts down my keyboard and mouse the moment Xwindows starts. The keyboard and mouse, however works fine in windows, and even works in linux till the point xwindows starts.
Last edited by greensleeves_2K; 11-13-2003 at 11:51 PM.
Thanks for the prompt reply.
I checked the XF86Config file. The mouse setting is already at IMPS/2. Should I try changing it to PS/2? Could anything else be wrong with the XF86Config file?
I just tried changing IMPS/2 to PS/2, but that did not work. Can somebody tell me what is wrong with my XF86Config file, and how to solve the problem? I am copy pasting the file for reference:
# XFree86 4 configuration created by redhat-config-xfree86
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
I have a PS/2 keyboard and a wheel mouse with PS/2 port. Both these were detected correctly by linux during installation and were working fine till I changed the default settings for mouse from PS/2 to wheel mouse PS/2 (this I did in my XWindows by going to Systems settings). I made no changes to the keyboard settings. After this, on rebooting, both the keyboard and mouse stopped working the moment XWindows started. This problem has persisted since then.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.