Hello All,
Thanks for all the inputs you have given me.
I am writing a driver for virtual multiport serial
adapter(windows XP,2000). I have created a virtual bus driver ( Bus
FDO). I can create the multiple virtual ports also (Port PDOs). Later
I can add the same number of Port FDO s as my PDO s, to create COM
interface to my applications.
Now I have a Multiple virtual COM interface.
But the exact requirement of my project is to create the ports only
when instructed by an application above. I think I can delay the
making of FDO (so that there is no COM interface). But since the PDO s
are present(which were installed when bus driver was inserted.). It
shows in the device manager as unknown device. I dont want this to
happen.
Is there any way I could dynamically install Port PDO
s(not along with Bus driver), when i get signal from application.
More specifically "CAN A BUS DRIVER, DYNAMICALLY
ENUMERATE ITS PORTS (NOT DEVICES CONNECTED TO ITS PORTS)".
or the only way I have is to insert another bus driver
when i want another port.

Looking forward for you response
Thanks in advance,
Subhash

Re: Virtual Multiort serial Adapters by chris

chris
Thu Dec 06 08:13:16 PST 2007

On Dec 6, 7:29 am, subhash <subhashsukuma...@gmail.com> wrote:

> But the exact requirement of my project is to create the ports only
> when instructed by an application above. I think I can delay the
> making of FDO (so that there is no COM interface). But since the PDO s
> are present(which were installed when bus driver was inserted.). It
> shows in the device manager as unknown device. I dont want this to
> happen.

So have your bus driver FDO expose a device interface, and create an
IOCTL that allows you to create or remove port PDO's as necessary.
Then have the application send the IOCTL to the bus driver as
necessary.

Re: Virtual Multiort serial Adapters by Doron

Doron
Thu Dec 06 09:40:37 PST 2007

both the static and dynamic KMDF samples for busenum in the 6000 WDK do
exactly this, enumerate PDOs dynamically after start

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.


<chris.aseltine@gmail.com> wrote in message
news:2fdeec05-e76c-409c-9227-85460885c2cd@s8g2000prg.googlegroups.com...
> On Dec 6, 7:29 am, subhash <subhashsukuma...@gmail.com> wrote:
>
>> But the exact requirement of my project is to create the ports only
>> when instructed by an application above. I think I can delay the
>> making of FDO (so that there is no COM interface). But since the PDO s
>> are present(which were installed when bus driver was inserted.). It
>> shows in the device manager as unknown device. I dont want this to
>> happen.
>
> So have your bus driver FDO expose a device interface, and create an
> IOCTL that allows you to create or remove port PDO's as necessary.
> Then have the application send the IOCTL to the bus driver as
> necessary.


Re: Virtual Multiort serial Adapters by subhash

subhash
Tue Dec 11 01:45:40 PST 2007

On Dec 6, 10:40 pm, "Doron Holan [MSFT]" <dor...@online.microsoft.com>
wrote:
> both the static and dynamic KMDF samples for busenum in the 6000 WDK do
> exactly this, enumerate PDOs dynamically after start
>
> 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.
>
> <chris.aselt...@gmail.com> wrote in message
>
> news:2fdeec05-e76c-409c-9227-85460885c2cd@s8g2000prg.googlegroups.com...
>
>
>
> > On Dec 6, 7:29 am, subhash <subhashsukuma...@gmail.com> wrote:
>
> >> But the exact requirement of my project is to create the ports only
> >> when instructed by an application above. I think I can delay the
> >> making of FDO (so that there is no COM interface). But since the PDO s
> >> are present(which were installed when bus driver was inserted.). It
> >> shows in the device manager as unknown device. I dont want this to
> >> happen.
>
> > So have your bus driver FDO expose a device interface, and create an
> > IOCTL that allows you to create or remove port PDO's as necessary.
> > Then have the application send the IOCTL to the bus driver as
> > necessary.- Hide quoted text -
>
> - Show quoted text -

Thank you all. :) This is really a wonderful place to clear doubts...
Thanks again.
Subhash