Re: Disabling Serial Ballpoint Mouse when GPS connected



Doron,

Thanks for the reply.

This partially works. If I disable the drivers as you suggested then it
stops auto-installing the serial mouse driver - good.
However XP still recognizes it as a mouse device of some form and brings up
the 'found new hardware' Wizard requesting the driver for the new mouse. I
can't have this happen in front of the customer unfortunately. What I really
want is to stop XP detecting this is a mouse of any type; after all it's a
GPS device not a mouse.

When I connect the GPS device it correctly detects it's a Serial port and
automatically installs the USB to Serial drivers without any user
interaction. This is fine and I want this to continue to happen. The system
then continues and (I guess) looks at the Serial ports to see what is
connected to the serial port and to see if it's a mouse. This second part I
don't want to happen.

It was suggested that I restrict user rights to disallow the user from
installing devices, but this would mean that the USB to Serial drivers
wouldn't get installed and my program wouldn't get access to my GPS port at
all.

Does anyone know what part of XP looks at serial ports and decides (based on
the data coming into the port) if it’s a mouse or not?

Thanks
--
Richard


"Doron Holan [MS]" wrote:

> you could try setting sermouse's start type to disabled (0x4), that will
> stop the driver from loading.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "RichardB" <RichardB@xxxxxxxxxxxxxxxxx> wrote in message
> news:BCC15ABE-04E1-4239-91BC-FBC2F98F61BF@xxxxxxxxxxxxxxxx
> >I need to find a way of disabling the auto installation of mouse pointer
> > drivers in Windows XP, specifically the "Microsoft Serial Ballpoint" mouse
> > but other Microsoft mouse pointer give problems too. I am having problems
> > of
> > the mouse pointer jumping all over the screen whenever a GPS device is
> > connected.
> >
> > I have seen this problem posted before but all suggested solution make use
> > of either disabling the device in device manager or setting
> > SkipEnumeration
> > key in the registry. Both of these solution only work AFTER the problem
> > has
> > occurred: i.e. after the system has incorrectly detected that the new
> > hardware is a "Microsoft Serial Ballpoint" mouse or similar and installed
> > the
> > driver thus making the mouse pointer jump all over the screen. Remedial
> > action (disabling in device manager or registry changes) is then required.
> >
> > Unfortunately this is not suitable for my situation. The system I have
> > relies on the end user (customer) connecting a USB GPS devices themselves.
> > The user can install the GPS device in one of many USB ports connected to
> > the
> > system and could use a USB hub. The device will also change USB port as it
> > is
> > connected and disconnected regularly, not always returning to the same USB
> > port. A different USB port will be seen by XP as a different (and New)
> > device
> > and therefore new drivers will be installed even if a previous Ballpoint
> > Mouse driver has been disabled in Device Manager.
> >
> > The system in question is a tablet system and therefore touchscreen only
> > so
> > options like disabling in Device Manager are very difficult.
> >
> > I am therefore looking for a way of disabling the automatic detection of
> > mouse pointers. The ports should simply be recognized as RS232 Serial Com
> > ports, nothing more. Automatic detection of mouse pointers is not required
> > on
> > this system.
> >
> > Is there anything that can be done to the .inf file
> > (C:\WINDOWS\inf\msmouse.inf) which lists the Ballpoint mouse device to
> > stop
> > it from automatically installing?
> > Or is it possible to remove completely the driver (sounds a bit
> > excessive!!).
> >
> > Thanks
> >
> > --
> > Richard
>
>
>
.



Relevant Pages

  • USB BADPAD Quirk broken again
    ... PCI: PCI BIOS revision 2.10 entry at 0xfb240, ... Uniform Multi-Platform E-IDE driver Revision: ... usb.c: new USB bus registered, ... Port indicators are not supported ...
    (Linux-Kernel)
  • Re: Linux 2.4.23-pre6
    ... My USB 'not working' problem still exists. ... Pin 2-19 already programmed ... Journalled Block Device driver loaded ... hub.c: individual port over-current protection ...
    (Linux-Kernel)
  • [2.4] USB is broken
    ... I compiled and booted 2.4.23-pre5 this morning, and my USB doesn't work. ... Pin 2-19 already programmed ... Journalled Block Device driver loaded ... hub.c: individual port over-current protection ...
    (Linux-Kernel)
  • Re: Oh for a back door ...
    ... info and Google took me to a USB utility / test app that replaced the ... Windows USB driver. ... You wouldn't think there was much to it, being a serial port. ...
    (uk.comp.sys.mac)
  • Re: Can a USB driver exposed functions like RS232 COM port?
    ... I mean a Serial Appliation S/W talk to USB port? ... you can create a USB class driver which makes your cable ... If you would have all that but a serial port on hand held device, ...
    (microsoft.public.windowsce.platbuilder)

Loading