[ros-svn] [gvg] 18665: Merge from trunk.

gvg at svn.reactos.com gvg at svn.reactos.com
Fri Oct 21 22:32:24 CEST 2005


Merge from trunk.
- Enable/disable keyboard by writing the controller command byte instead of
  issuing keyboard commands, the keyboard commands seem to confuse some kvm
  switches.
- Use STATUS_IO_TIMEOUT consistently, STATUS_TIMEOUT is not an error condition
- Introduce symbolic constants for controller command byte bits
- Try to detect mouse early and if its not present, reset the keyboard
  controller. Some controllers seem to get locked up when writing to a
  non-present mouse.
- Don't check the timeout status bit when reading from the controller. It is
  often wrong.
- Don't treat failure to read keyboard id as a fatal error, we only read it
  to set KeyboardIsAT which we then don't use. Still try to detect the keyboard
  type, but don't fail if it doesn't work.
Fixes bug 688. Thanks to Hartmut, Filip and WaxDragon for testing.



Updated files:
branches/ros-branch-0_2_8/reactos/drivers/input/i8042prt/i8042prt.c
branches/ros-branch-0_2_8/reactos/drivers/input/i8042prt/i8042prt.h
branches/ros-branch-0_2_8/reactos/drivers/input/i8042prt/keyboard.c
branches/ros-branch-0_2_8/reactos/drivers/input/i8042prt/mouse.c




More information about the Ros-svn mailing list