Group:  English: Windows Embedded ยป microsoft.public.windowsxp.embedded
Thread: Completely prevent serial mouse detection

Completely prevent serial mouse detection
David Kerber <ns_dkerber[ at ]ns_wraenviro.com> 12/26/2008 3:13:29 PM
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).

Re: Completely prevent serial mouse detection
"Ralph A. Schmid, dk5ras" <ralph[ at ]radio-link.net> 12/28/2008 10:31:34 AM
David Kerber <ns_dkerber[ at ]ns_wraenviro.com> wrote:

[Quoted Text]
>How can I completely prevent XPe from trying to detect serial mice
>during startup and operation?

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


-ras

--

Ralph A. Schmid

http://www.dk5ras.de/ http://www.db0fue.de/
http://www.bclog.de/
Re: Completely prevent serial mouse detection
David Kerber <ns_dkerber[ at ]ns_wraenviro.com> 12/28/2008 4:17:31 PM
In article <falel4ppibqdao7oopqtt80dra2mir85bt[ at ]4ax.com>, ralph[ at ]radio-
link.net says...
[Quoted Text]
> David Kerber <ns_dkerber[ at ]ns_wraenviro.com> wrote:
>
> >How can I completely prevent XPe from trying to detect serial mice
> >during startup and operation?
>
> 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).

Re: Completely prevent serial mouse detection
"Zaphod Beeblebrox" <Zaphod.Arisztid.Beeblebrox[ at ]gmail.com> 12/29/2008 2:14:32 PM

"David Kerber" <ns_dkerber[ at ]ns_wraenviro.com> wrote in message
news:MPG.23bebe8aa3f075e29896a6[ at ]news.east.cox.net...
[Quoted Text]
> 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!

--
Zaphod

No matter where you go, there you are!


Re: Completely prevent serial mouse detection
David Kerber <ns_dkerber[ at ]ns_wraenviro.com> 12/29/2008 8:27:40 PM
In article <gjam0b$ugb$1[ at ]news.motzarella.org>,
Zaphod.Arisztid.Beeblebrox[ at ]gmail.com says...

....

[Quoted Text]
> 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).

Home | Search | Terms | Imprint
Newsgroups Reader