[ros-kernel] serial mouse driver patch

Filip Navara xnavara at volny.cz
Tue Jan 20 16:25:04 CET 2004


Hi!

I have applied few changes from the supplied patch. Here is a list of 
what was applied
- Some of the formating changes (TABs/spaces)
- Don't set 'Output Line 2' bit while power-uping the mouse during 
initalization
- Restore 'Line Control' register at the end of mouse detection.
- Wait only 150000 millisecons (instead of 500000) for mouse power down.

Additionaly I enabled the detecting of mouse on COM2 by default. The 
part of the patch for calling detection on COM1/COM2 port was wrong, 
because there can be two mice on both port. Also removing the 
SERMOUSE_COM[12]_SUPPORT defines isn't recommened yet, because the (old) 
mouse detection routine collide with kernel debugging over serial port.

Can the users/developers with serial mouse test it now?

Regards,
Filip

P.S. To Logan_V8_TT: I would be very interested if the new version works 
with your mouse or not. If you can, please let me know.



More information about the Ros-kernel mailing list