Re: PS/2 Mouse problem when moving or dragging objects
From: Selin Metin (nospam_at_nospam.com.tr)
Date: 07/02/04
- Next message: neo: "debug zones"
- Previous message: kana: "MMU problem"
- In reply to: Steve Schrock [MS]: "Re: PS/2 Mouse problem when moving or dragging objects"
- Next in thread: Steve Schrock [MS]: "Re: PS/2 Mouse problem when moving or dragging objects"
- Reply: Steve Schrock [MS]: "Re: PS/2 Mouse problem when moving or dragging objects"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 2 Jul 2004 08:51:32 +0300
I have also checked this with the board manufacturer and they claim there is
no problem with the hardware. Maybe I was wrong to use the word switch. Let
me clarify this connection: There's one PS/2 mouse & keyboard 6-pin mini-din
connector on the board. Imagine this as a V-shaped connection. On the board
side there is one connector, on the mouse & keyboard side there are 2 cables
each ending with a dedicated PS/2 connector for mouse and keyboard.
This problem occurs especially when I run a debug image. With a release
build, I seldom get this error.
-- Selin Metin selinm_at_esit_dot_com_dot_tr "Steve Schrock [MS]" <sschrock@online.microsoft.com> wrote in message news:u2kngk8XEHA.1356@TK2MSFTNGP09.phx.gbl... > You say that you are using a switch? Certain switches cause problems with > certain devices. Try connecting the keyboard and mouse directly to the > device. > > You should also contact the board manufacturer to see if they know about the > problem. > > -- > Steve Schrock > Windows CE Device Drivers > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "Selin Metin" <nospam@nospam.com.tr> wrote in message > news:%23TC1HvmXEHA.2844@TK2MSFTNGP12.phx.gbl... > > My platform is Windows CE 4.2 running on a ICOP-6042VE board. I use the > > BSP > > provided by the board manufacturer in the PB setup CDs. The mouse and > > keyboard are both PS/2 and they both use the same switch to connect to the > > board. I observe this behaviour especially when I run my platform in debug > > mode. In release mode everything seems to run more flawlessly. When in > > debug > > mode, waiting for a few seconds usually solves the problem. But in my > > application I want to drag objects along the dialog window and therefore I > > must continuously press the mouse button while moving the mouse. If I stop > > clicking or moving then how will I perform dragging operation? > > > > > > "Steve Schrock [MS]" <sschrock@online.microsoft.com> wrote in message > > news:uv5mj2KWEHA.2544@TK2MSFTNGP10.phx.gbl... > >> That means that there is a problem with the PS/2 controller getting data > >> from the mouse. The mouse sends 3 bytes representing x, y, and butons. If > >> the driver gets confused as to which byte it is currently on, then you > > will > >> see the bad right click behavior. I think if you stop moving the mouse, > > the > >> driver should timeout and restart the count. > >> > >> Are you going through a PS/2 switch? What platform is this? This problem > >> should not occur as long as the PS/2 controller and mouse are behaving > > well. > >> > >> -- > >> Steve Schrock > >> Windows CE Device Drivers > >> > >> This posting is provided "AS IS" with no warranties, and confers no > > rights. > >> > >> "Selin Metin" <nospam@nospam.com.tr> wrote in message > >> news:%23zil29TSEHA.3636@TK2MSFTNGP09.phx.gbl... > >> > Hi NG, > >> > I'm using CE .NET 4.2 with ICOP-6042VE board. When I download the image > >> > and > >> > it boots, sometimes the mouse behaves as if right button is > >> > continuously > >> > being pressed down. A desktop properties menu is displayed and closed > > very > >> > quickly, flickering all the time. Sometimes I can move the mouse cursor > >> > but > >> > the flickering menu seldom disappears. The operating system can receive > >> > keyboard input, e.g. I can press the windows key and run programs. Also > >> > while I was working with my application sometimes mouse pointer just > > goes > >> > up > >> > to the top border of the screen and can't be moved for several seconds. > >> > Again there's no problem with the keyboard input but mouse just seems > >> > to > >> > disappear for a very short time. > >> > > >> > I used to restart cepc to solve this problem. However now I want to > >> > drag > >> > objects in my application by pressing the left mouse button, just as we > > do > >> > in the desktop windows. When I press the left button and try to move > >> > the > >> > mouse to drag the object, nearly always I receive the following error > > from > >> > the debugger: > >> > > >> > The mouse pointer flies to the top border of the window dragging the > >> > object > >> > to the upper border. I can't drag the object to any of the sides or > > down. > >> > Very rarely I can manage this, but then before I reach the place I want > >> > the > >> > object to be, again I lose the mouse. > >> > > >> > 139216 PID:c3edfdba TID:c3ed6b2a SENDING command id 0x0000 to CButton > >> > target. > >> > > >> > 146095 PID:3ec3402 TID:83e71bda 0x83e6c800: ERROR: > >> > d:\mckendric\public\common\oak\drivers\keybd\ps2_8042\.\ps2port.cpp > >> > line > >> > 925: > >> > > >> > 146096 PID:3ec3402 TID:83e71bda 0x83e6c800: MouseDataRead: Mouse data > > not > >> > ready > >> > > >> > > >> > > >> > I changed the keyboard driver for Turkish Q keyboard using kbdgen.exe > > but > >> > I > >> > didn't touch ps2port.cpp file. There seems to be a buffer overflow but > >> > I > >> > don't know how to fix this. Can someone give me a hint? > >> > > >> > > >> > Thanks already, > >> > -- > >> > Selin Metin > >> > selinm_at_esit_dot_com_dot_tr > >> > > >> > > >> > > >> > > >> > >> > > > > > >
- Next message: neo: "debug zones"
- Previous message: kana: "MMU problem"
- In reply to: Steve Schrock [MS]: "Re: PS/2 Mouse problem when moving or dragging objects"
- Next in thread: Steve Schrock [MS]: "Re: PS/2 Mouse problem when moving or dragging objects"
- Reply: Steve Schrock [MS]: "Re: PS/2 Mouse problem when moving or dragging objects"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|