Completely prevent serial mouse detection

D

David Kerber

We've got an XPe device that uses a PS-2 mouse during intial setup, and
connects to serial devices during operation. However, the PnP system
sometimes (not always) appears to be detecting this device as a mouse,
and popping up a notice about trying to install a serial mouse driver,
which fails because it's logged on as a limited user, who doesn't have
authority to install new hardware.

How can I completely prevent XPe from trying to detect serial mice
during startup and operation?

I have already put /fastdetect in the boot.ini, which is supposed to
prevent that during ntdetect, but I can't figure out how to stop PnP
from detecting it during OS startup. /noserialmice doesn't seem help it
(and I didn't expect it to, since that's supposed to only do anything
for NT)

--
/~\ The ASCII
\ / Ribbon Campaign
X Against HTML
/ \ Email!

Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
 
D

David Kerber

ralph@radio- said:
You can prevent the auto detection and installation of any Pnp-devices
by removing or renaming the newdev.dll - maybe this already would
help?

Thanks for the suggestion; I'll give it a try.


--
/~\ The ASCII
\ / Ribbon Campaign
X Against HTML
/ \ Email!

Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
 
Z

Zaphod Beeblebrox

David Kerber said:
We've got an XPe device that uses a PS-2 mouse during intial setup,
and
connects to serial devices during operation. However, the PnP system
sometimes (not always) appears to be detecting this device as a mouse,
and popping up a notice about trying to install a serial mouse driver,
which fails because it's logged on as a limited user, who doesn't have
authority to install new hardware.

How can I completely prevent XPe from trying to detect serial mice
during startup and operation?

I have already put /fastdetect in the boot.ini, which is supposed to
prevent that during ntdetect, but I can't figure out how to stop PnP
from detecting it during OS startup. /noserialmice doesn't seem help
it
(and I didn't expect it to, since that's supposed to only do anything
for NT)

In addition to setting the /fastdetect switch, we force Windows to skip
enumeration of serial devices on COM 1 & 2 through the registry by
setting the value "SkipEnumerations" to DWORD FFFFFFFF in the following
keys:

HKLM\SYSTEM\CurrentControlSet\Enum\ACPI\PNP0501\1\Device Parameters
HKLM\SYSTEM\CurrentControlSet\Enum\ACPI\PNP0501\2\Device Parameters

Hope this helps!
 
D

David Kerber

....
In addition to setting the /fastdetect switch, we force Windows to skip
enumeration of serial devices on COM 1 & 2 through the registry by
setting the value "SkipEnumerations" to DWORD FFFFFFFF in the following
keys:

HKLM\SYSTEM\CurrentControlSet\Enum\ACPI\PNP0501\1\Device Parameters
HKLM\SYSTEM\CurrentControlSet\Enum\ACPI\PNP0501\2\Device Parameters

Hope this helps!

Thanks; I'll give it a try!


--
/~\ The ASCII
\ / Ribbon Campaign
X Against HTML
/ \ Email!

Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top