Hello everybody,
Im running RH8 with 2.4-22
PS/2 mouse
PS/2 Keyboard
Touchscreen plugged in ttyS1.
Im working for a bio-medical company. we are building software to help the orthopedic surgeons to place implants on patients. We are using a touchescreen to operate the soft. There is no keybard or mouse connected to the machine.
But sometiimes, we need to install licences on the soft or do maintenance on it, To do that, we only need a keyboard and no mouse. BUT my bosses want to have the mouse driver loaded when X starts.
The problem is when i boot the machine with only the keyboard plugged in the PS/2 port, the keyboard is locked when X starts. (init 5() but it workl fine in Init3. My guess it that X try to load a mouse, that is not connected to the system, and it freezes..
Here is my XFCOnfig 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
*************************************************
Is there a way to have only a keyboard connected and being able to use it in X when there is a mouse config in XfF86Config?
PS: Im proud that a BioMeic company such as ours is operating patients with Linux
