Re: NULL PNP Serial Driver???

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 04/23/04


Date: Thu, 22 Apr 2004 21:57:17 -0700

at least on win2k and beyond, yes you can create an INF which installs a
NULL service/driver on the device. If the driver doesn't explicitly open
the port, someone else, like the application, can still open the port. Just
because the device was enumerated, doesn't mean the port is open. all it
means is that something was found on the port. if your customers can live
with a !'e out device in device manager, you don't have to write an INF at
all...

d

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only.
"Frank Schwab" <FSchwab@GTCOCalcomp.com> wrote in message
news:9172FB57-5F90-406F-9790-DBBF6FB52215@microsoft.com...
> We have been building serial devices for many years.  None have been
plug-and-play compliant, because many of our customers have written support
code into their applications rather than using drivers. Don't laugh, but
some of these programs have been continuously supported since the DOS days.
In many cases, the code to talk to the tablets was written 10 or 15 years
ago, and the programmers who did it have left - and nobody wants to touch
it.
>
> Our next generation devices will have both USB (HID) and Serial
interfaces, and the plan is to make the serial interface Plug-N-Play.  For
about half of our customers, this will work well because they will use our
drivers to talk to the devices.  For the other half, however, the half that
simply opens a COM port and directly controls our devices, we have a
problem - the "Found New Hardware Wizard".
>
> Of course, the dinosaurs who are doing things themselves are using just
about every version of Windows you can imagine.  When my paycheck relies on
shipping product out the door, I can't very well tell them "Well, if you're
not going to run a supported OS, and use our supported driver, we're not
gonna sell product to you".  There are just too many of them.
>
> So, my question is,
> Is it possible to satisfy PNP enumeration (and gets rid of the wizard)
using an inf file which doesn't install a driver?
> Is it possible to write a driver which satisfies PNP enumeration but
leaves the port open, either by exiting immediately or simply closing the
port?
>
> Offers to implement non-trivial solutions will be seriously considered...
>
> /frank
>


Relevant Pages

  • Re: USB device detection via query registry information
    ... Similarly vendors need to be given a hard time if they fail to provide a driver compatible with a new Windows version for products released in the last 3 years or offered for sale in the last 12 months. ... it correctly enforces exclusivity to the port ... serenum and sermouse are out-of-the-box XP as far as I can ... serenum opens the port, detects the device, ...
    (microsoft.public.development.device.drivers)
  • Re: USB device detection via query registry information
    ... specific parts of a driver. ... it correctly enforces exclusivity to the port ... for Windows being crash-prone? ... serenum opens the port, detects the device, ...
    (microsoft.public.development.device.drivers)
  • Re: USB device detection via query registry information
    ... it correctly enforces exclusivity to the port ... WHQL is realistically not going to be able to catch all bugs before shipment, so maybe the answer is for WHQL signing to require a commitment from the driver developer to participate in the BSOD crash dump program and issue timely bug fixes. ... Yes these things would not come free, but is it important to Microsoft to shed the reputation for Windows being crash-prone? ... serenum opens the port, detects the device, ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS WDM driver installation for multi-port NIC
    ... I would not think the one INF should be a problem. ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... the miniport driver (the bus driver starts up fine). ... identify the particular port you are communicating with. ...
    (microsoft.public.development.device.drivers)
  • Re: USB device detection via query registry information
    ... WHQL is not a 100% measure of quality across an entire driver, rather it is a set of tests specifically designed to test very specific parts of a driver. ... serenum and sermouse work as expected on the in box version of serial, it correctly enforces exclusivity to the port ... serenum and sermouse are out-of-the-box XP as far as I can determine. ... serenum opens the port, detects the device, closes the ...
    (microsoft.public.development.device.drivers)