LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2004, 02:25 PM   #1
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
Keyboard not working when mouse not present.


Hello folx,

I have a little problem...

Here is my XF86Config file:
********************************************************
# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "touchscreen1" "SendCoreEvents"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# 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.

RgbPath "/usr/X11R6/lib/X11/rgb"

# 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.

FontPath "unix/:7100"

EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
#Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"

# Option "AutoRepeat" "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"

# 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"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection


Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "touchscreen1"
Driver "elographics"
Option "Device" "/dev/ttyS4"
Option "MinX" "382"
Option "MaxX" "3749"
Option "MinY" "426"
Option "MaxY" "3661"
Option "screenno" "0"
Option "ReportDelay" "1"
Option "UntouchDelay" "3"
Option "ButtonThreshold" "17"
Option "ButtonNumber" "1"
Option "AlwaysCore"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-81
VertRefresh 56-85
Option "dpms"


EndSection

Section "Device"
# no known options
Identifier "NVIDIA Quadro 4 (generic)"
Driver "nvidia"
VendorName "NVIDIA Quadro 4 (generic)"
BoardName "NVIDIA Quadro 4 (generic)"

#BusID
#TwinView options
Option "TwinView"
Option "SecondMonitorHorizSync" "30.0 - 81.0"
Option "SecondMonitorVertRefresh" "56.0 - 85.0"
Option "MetaModes" "1280x1024, 1280x1024; 1024x768,1024x768"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "CRT, CRT"

EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA Quadro 4 (generic)"
Monitor "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection

EndSection

Section "DRI"
Mode 0666
EndSection
**********************************************************


If you look at the Server Layout Section, you will notice that i have a mouse, a keybpard and a touchscreen. Everything works fine for now..

the problem is that when i physically unplug my mouse and boot up in init 5, my keyboard does not reponds. The TouchScreen is fine.. but not the keyboard.


I have a workaround, i edit two lines :
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
#InputDevice "touchscreen1" "SendCoreEvents"
--> InputDevice "touchscreen1" "CorePointer"
--> #InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

EndSection

This makes everything works fine cause i tell X to not load the mouse driver, but i have to find a way to make it work without editing it..

anybody has an idea please??

Aftern browsins XFree86.org Bugzilla, i found out that this is a bug. Its on their list: http://bugs.xfree86.org/show_bug.cgi?id=1337

Last edited by Doomhammer; 10-04-2004 at 02:53 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard fails in x if no mouse present jlarsen Linux - Hardware 0 05-24-2005 12:43 PM
Mouse and keyboard not working cgol03 Slackware - Installation 1 02-02-2005 09:05 AM
mouse / keyboard not working with X.org curmudgeon42 Linux - Software 2 08-16-2004 12:43 PM
keyboard not working without mouse RH 7.3 kilobravo Linux - General 1 12-12-2003 09:45 AM
mouse and keyboard not working to_vijayarun General 1 06-30-2001 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration