[ros-kernel] serial mouse driver patch = NOK

Filip Navara xnavara at volny.cz
Wed Jan 21 13:39:39 CET 2004


Hi!

Give me please a bit of time. I'll repair it tonight or in the
evening.

Regards,
Filip

----- PŮVODNÍ ZPRÁVA -----
Od: "Björn Fischer" <thebear80 at gmx.net>
Komu: "ReactOS Kernel List" <ros-kernel at reactos.com>
Předmět: Re: [ros-kernel] serial mouse driver patch = NOK
Datum: 21.1.2004 - 12:13:20

> Gge wrote:
> 
> > Filip Navara wrote:
> >
> >> Hi Gerard!
> >>
> >> I think the problem is the enabling of mouse
> >> detection on COM2.  :(((
> >> Can you try it with commented out #define
> >> SERMOUSE_COM2_SUPPORT at 
> >> top of the sermouse.c file?
> >>
> >> Thanks,
> >> Filip
> >>
> >> Gge wrote:
> >>
> >>> Filip Navara wrote:
> >>>
> >>>> 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.
> >>>>
> >>>>
> >>> Filip,
> >>>
> >>>
> >>> I compiled the new sermouse.sys driver and ran it
> >>> in real hardware..
> >>> The serial mouse is connected on COM1 and DebugPort
> >>> on Com2 ( this 
> >>> is my current configuration which is working ok)
> >>> The debug messages  stopped to be displayed  during
> >>> the sermouse 
> >>> driver initialization as indicated in the attached 
> >>> debug traces
> >>> The ros init  however continued upto the Desktop
> >>> screen .
> >>> The mouse  cursor is displayed but is not moving at
> >>> all .
> >>>
> >>> Note ;  I have not made the test  with the mouse
> >>> connected to com2  
> >>> because it is supposed to work on com1 as well
> >>>
> >>> A confirmation is needed from another
> >>> user/developper .
> >>>
> >>> Best regards
> >>> Gerard
> >>>
> >>>
> >>>
> >>> ======================================================
> >>> DriverBase for
> >>> \SystemRoot\system32\drivers\serial.sys: cde69000
> >>> (dbg/kdb_stabs.c:848) Loading driver 
> >>> \SystemRoot\system32\drivers\serial.sys sym
> >>> bols (driver @ cde69000)
> >>> Serial Driver 0.0.2
> >>> DriverBase for
> >>> \SystemRoot\system32\drivers\sermouse.sys:
> >>> cde7f000
> >>> (dbg/kdb_stabs.c:848) Loading driver 
> >>> \SystemRoot\system32\drivers\sermouse.sys s
> >>> ymbols (driver @ cde7f000)
> >>> Serial Mouse Driver 0.0.9
> >>> Trying to find mouse on COM1
> >>> Microsoft Mouse with 3-buttons detected
> >>>
> >>> End of Debug Messages   !!!
> >>>
-------------------------------------------------------------------------------------
 > >>>
> >>>
> >> Filip ,
> >
> >
> >
> > After commented out  SERMOUSE_COM[12]_SUPPORT in
> > sermouce.c file  and 
> > recompiled , I made again the test .
> > 1) Ros boot is OK now  and does not stopped at the
> > sermouse.sys 
> > intialization.
> > 2) Mouse is still  not moving on the desktop.
> >
> > Regards
> > Gerard
> 
> 
> I tried to use a serial microsoft 2-Button (old one)
> mouse on COM1. 
> Without changing sermouse.c it does not work (not even
> when I move the 
> mouse while booting). Commenting out '#define
> SERMOUSE_COM2_SUPPORT' 
> didn't change anything...
> 
> Greetings
> 
> Björn
> 
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com
> http://reactos.com/mailman/listinfo/ros-kernel
> 

-- 
REALITY.VOLNY.CZ, realitní server s komfortním vyhledáváním,
50.000 nemovitostí na prodej nebo pronájem, hypoteční
poradenství, atraktivní články a zprávy ze světa bydlení.
http://reality.volny.cz





More information about the Ros-kernel mailing list