Hi,

I have a strange problem: I have several computers where the PS/2 keyboard
does not work when there is no PS/2 mouse connected (but for example a USB
mouse or no mouse at all).

This happened so far on an Athlon XP 1800 with a Radeon VE card and a PIII
1000 with a ProSavage PM133 controller (onboard). 

Strangely it doesn't happen on a PIII 667 with a NVidia Vanta card (and
the same keyboard and mouse).

If I use chvt to switch to another console the keyboard works normally,
after I switch back to the X server the keyboard again doesn't work.

A very strange thing is that if I prevent X from starting at boot time and
type for some miniutes on the console then the keyboard will work.

See below for the relevant parts of my XF86Config. I am using the exactly
same Linux installation on all systems I tried it on (It's a public
browsing installation that autodetects the VGA setup to be able to run
on many different PCs). The aim is not to use two mice together but to
have an XF86Config that will work with either a PS/2 mouse or USB mouse.

I also tried to set the USB mouse as "CorePointer" without any effect
(Mouse works, Keyboard doesn't)

This is a very big problem because I have many computers with USB mice and
currently X doesn't work on them.

Another problem is that I don't have any clue how to debug this problem
(e.g. the mouse I can check by looking at /proc/`pidof XFree86`/fd, but
the keyboard doesn't appear as a special device there besides the VT).

Linux is 2.4.9, XFree86 4.1.0 and also 4.2.0 (with identical behaviour).

Please help me to debug and solve this problem.

Thanks a lot,
Schlomo

------------------------------------
Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "MapName" "Generic keyboard [ pc101 ]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "ButtonNumber" "5"
  Option       "Device" "/dev/mouse"
  Option       "Name" "Autodetection"
  Option       "Protocol" "imps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver        "mouse"
  Identifier    "Mouse[2]"
  Option        "Device"        "/dev/input/mice"
  Option        "Protocol"      "IMPS/2"
  Option        "ZAxisMapping"          "4 5"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]"    "CorePointer"
  InputDevice  "Mouse[2]"    "SendCoreEvents"
  Screen       "Screen[0]"
EndSection

-- 
Schlomo Schapiro
System Administrator
MobilEye Vision Technologies Ltd.

24 Mishol Hadkalim St., Jerusalem, Israel
Telephone:  + 972-2-586-6989 
Mobile:     + 972-55-767898
Fax:        + 972-2-586-7720 
E-Fax:      + 1-603-307-2692 

email: [EMAIL PROTECTED]
WWW:   http://www.mobileye.com


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to