Discussion:
Disabling Serial Ballpoint Mouse when GPS connected
(too old to reply)
RichardB
2006-01-18 17:24:39 UTC
Permalink
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
Doron Holan [MS]
2006-01-18 18:31:00 UTC
Permalink
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.
Post by RichardB
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
RichardB
2006-01-19 13:37:03 UTC
Permalink
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
Doron Holan [MS]
2006-01-19 13:59:02 UTC
Permalink
Post by RichardB
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?
serenum does this. this is entirely located in serenum. either change the
INF which installs the usb->serial driver to not include serenum as a device
UpperFilter (which if signed, means you will invalidate the signature), or
have an installation app which removes serenum from the list of filters
afterwards...but if you are going this route, you can just use
SkipEnumerations value you mentioned originally.

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.
Post by RichardB
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
RichardB
2006-01-19 15:18:06 UTC
Permalink
Doron,

Is it possible to disable serenum itself?
Or is this not advisable as it would of course disable it for ALL devices.

Thanks
--
Richard
Post by Doron Holan [MS]
Post by RichardB
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?
serenum does this. this is entirely located in serenum. either change the
INF which installs the usb->serial driver to not include serenum as a device
UpperFilter (which if signed, means you will invalidate the signature), or
have an installation app which removes serenum from the list of filters
afterwards...but if you are going this route, you can just use
SkipEnumerations value you mentioned originally.
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.
Post by RichardB
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
Doron Holan [MS]
2006-01-19 15:49:49 UTC
Permalink
that would disable serial enumeration on all serial ports.
--
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.
Post by RichardB
Doron,
Is it possible to disable serenum itself?
Or is this not advisable as it would of course disable it for ALL devices.
Thanks
--
Richard
Post by Doron Holan [MS]
Post by RichardB
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?
serenum does this. this is entirely located in serenum. either change the
INF which installs the usb->serial driver to not include serenum as a device
UpperFilter (which if signed, means you will invalidate the signature), or
have an installation app which removes serenum from the list of filters
afterwards...but if you are going this route, you can just use
SkipEnumerations value you mentioned originally.
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.
Post by RichardB
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
RichardB
2006-01-25 11:01:02 UTC
Permalink
Is it possible to disable serenum? Or at least make it report 'no serial
mouse found'? If so how.

I'm not a device driver developer, but as far as I know Serenum is only
useful for finding mice pointers.
The system I have is a tablet (touch-screen) and therefore no mouse will
ever be used on this system. My best option all round is therefore I think to
disable serenum as it will never be useful on this system.

What do you think? And is there a simple way to disable it without changing
the Usb2Serial .inf file and invalidating the signature.
--
Richard
Post by Doron Holan [MS]
that would disable serial enumeration on all serial ports.
--
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.
Post by RichardB
Doron,
Is it possible to disable serenum itself?
Or is this not advisable as it would of course disable it for ALL devices.
Thanks
--
Richard
Post by Doron Holan [MS]
Post by RichardB
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?
serenum does this. this is entirely located in serenum. either change the
INF which installs the usb->serial driver to not include serenum as a device
UpperFilter (which if signed, means you will invalidate the signature), or
have an installation app which removes serenum from the list of filters
afterwards...but if you are going this route, you can just use
SkipEnumerations value you mentioned originally.
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.
Post by RichardB
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
Doron Holan [MS]
2006-01-25 13:49:07 UTC
Permalink
serenum finds serial connected devices. those can be GPS's, cell phones,
modems, a whole host of device types. If you have an install app, you can
remove serenum from the list of deivce upper filters programatically w/out
touching the INF itself. Otherwise, you can write a do nothing pass through
driver, install it and change the serenum ImagePath to point your sys driver
instead. I would suggest the former vs latter.

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.
Post by RichardB
Is it possible to disable serenum? Or at least make it report 'no serial
mouse found'? If so how.
I'm not a device driver developer, but as far as I know Serenum is only
useful for finding mice pointers.
The system I have is a tablet (touch-screen) and therefore no mouse will
ever be used on this system. My best option all round is therefore I think to
disable serenum as it will never be useful on this system.
What do you think? And is there a simple way to disable it without changing
the Usb2Serial .inf file and invalidating the signature.
--
Richard
Post by Doron Holan [MS]
that would disable serial enumeration on all serial ports.
--
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.
Post by RichardB
Doron,
Is it possible to disable serenum itself?
Or is this not advisable as it would of course disable it for ALL devices.
Thanks
--
Richard
Post by Doron Holan [MS]
Post by RichardB
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?
serenum does this. this is entirely located in serenum. either
change
the
INF which installs the usb->serial driver to not include serenum as a device
UpperFilter (which if signed, means you will invalidate the
signature),
or
have an installation app which removes serenum from the list of filters
afterwards...but if you are going this route, you can just use
SkipEnumerations value you mentioned originally.
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.
Post by RichardB
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
Gary G. Little
2006-01-19 15:00:13 UTC
Permalink
Is this Garman, Pharos, Tom Tom or other (as in you manufactor)? Is this a
common occurance when this GPS is installed?

My question is why this device is reporting itself as a Mouse pointer, and
my first thought is that the HW ID information in the INF is not setup
correctly to identify the device. What is the ClassName and Class GUID for
the device? Perhaps someone used an existing INF file for a mouse and forgot
to change things to GPS, or whatever.
--
The personal opinion of
Gary G. Little
Post by RichardB
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
Doron Holan [MS]
2006-01-19 15:51:58 UTC
Permalink
it's not that simple, or rather the serial enumeration protocol is very
simple and not very robust (it is based on how the mouse was detected in the
early 80s). basically, you keep some lines high,then low for a set period
of time and then read from the serial port. All a normal serial mouse has
to do is transmit back an "M", while a ballpoint just has to transmit a "B".
that's it (and hte src for serenum is in the ddk so you can see for
yourself). so, a device can easily fool the enumeration protocol by
transmitting the right (err, wrong ;)) character at the right time.

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.
Post by Gary G. Little
Is this Garman, Pharos, Tom Tom or other (as in you manufactor)? Is this a
common occurance when this GPS is installed?
My question is why this device is reporting itself as a Mouse pointer, and
my first thought is that the HW ID information in the INF is not setup
correctly to identify the device. What is the ClassName and Class GUID for
the device? Perhaps someone used an existing INF file for a mouse and
forgot to change things to GPS, or whatever.
--
The personal opinion of
Gary G. Little
Post by RichardB
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
Post by Doron Holan [MS]
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.
Post by RichardB
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
Loading...