Hello All,

I want to write a Virtual COM driver which collects all the COM data
and sent it through USB. I want to select this port in "Ports" tab
which would installed from Add Printer. Can anyone let me how to start
developing the driver. Is there any sample available to start with?

Thanks and Regards,
James

Re: Virtual Driver by Don

Don
Tue Sep 12 08:09:53 CDT 2006

Virtual serial ports have been discussed several times on this group. There
are commercial products that can reroute a COM port to user space. You say
you are going to send it through USB, the next question is to what? You may
be able to utilize a standard driver for the USB device.

Some more info on what your goals are here would help. If this is a
commecial product, you may be able to buy the pieces you need at less cost
than development. If this is a research or learning project, it is possible
it can be simplified.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply



"James" <James.Smith000@gmail.com> wrote in message
news:1158064227.776243.69240@b28g2000cwb.googlegroups.com...
> Hello All,
>
> I want to write a Virtual COM driver which collects all the COM data
> and sent it through USB. I want to select this port in "Ports" tab
> which would installed from Add Printer. Can anyone let me how to start
> developing the driver. Is there any sample available to start with?
>
> Thanks and Regards,
> James
>



Re: Virtual Driver by Ali

Ali
Tue Sep 12 08:14:50 CDT 2006


James wrote:
> Hello All,
>
> I want to write a Virtual COM driver which collects all the COM data
> and sent it through USB. I want to select this port in "Ports" tab
> which would installed from Add Printer. Can anyone let me how to start
> developing the driver. Is there any sample available to start with?
>
> Thanks and Regards,
> James


>I want to select this port in "Ports" tab which would installed from Add Printer.

PDFCreator use InnoScript to do this in quite cool way.


Re: Virtual Driver by James

James
Tue Sep 12 09:25:06 CDT 2006

Hello Don,

My device is plotter which has serial and USB interface and other
interfaces. All my previous applications communicated using COM. I want
to change the exisiting applications to redirect the COM data to USB.

Since my device is proprietary and does not belong to any standard
class i cannot use any standard driver for USB.

Any information would be of much help.

Regards,
James

Don Burn wrote:
> Virtual serial ports have been discussed several times on this group. There
> are commercial products that can reroute a COM port to user space. You say
> you are going to send it through USB, the next question is to what? You may
> be able to utilize a standard driver for the USB device.
>
> Some more info on what your goals are here would help. If this is a
> commecial product, you may be able to buy the pieces you need at less cost
> than development. If this is a research or learning project, it is possible
> it can be simplified.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> http://www.windrvr.com
> Remove StopSpam from the email to reply
>
>
>
> "James" <James.Smith000@gmail.com> wrote in message
> news:1158064227.776243.69240@b28g2000cwb.googlegroups.com...
> > Hello All,
> >
> > I want to write a Virtual COM driver which collects all the COM data
> > and sent it through USB. I want to select this port in "Ports" tab
> > which would installed from Add Printer. Can anyone let me how to start
> > developing the driver. Is there any sample available to start with?
> >
> > Thanks and Regards,
> > James
> >


Re: Virtual Driver by Don

Don
Tue Sep 12 09:38:42 CDT 2006

James,

Search for virtual serial port's on the net, I would seriously look at
using one if you can since the serial driver is big. The sources for the
serial driver are in the DDK, but this is a big project.

Assuming you find (or build) a virtual serial port that goes to user
space, take a good look at the User Mode Driver Framework (if your driver
needs to only support XP and later)
http://www.microsoft.com/whdc/driver/wdf/UMDF.mspx. This would allow you to
put the code in user space and simplify development.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply




"James" <James.Smith000@gmail.com> wrote in message
news:1158071106.270548.141310@b28g2000cwb.googlegroups.com...
> Hello Don,
>
> My device is plotter which has serial and USB interface and other
> interfaces. All my previous applications communicated using COM. I want
> to change the exisiting applications to redirect the COM data to USB.
>
> Since my device is proprietary and does not belong to any standard
> class i cannot use any standard driver for USB.
>
> Any information would be of much help.
>
> Regards,
> James
>
> Don Burn wrote:
>> Virtual serial ports have been discussed several times on this group.
>> There
>> are commercial products that can reroute a COM port to user space. You
>> say
>> you are going to send it through USB, the next question is to what? You
>> may
>> be able to utilize a standard driver for the USB device.
>>
>> Some more info on what your goals are here would help. If this is a
>> commecial product, you may be able to buy the pieces you need at less
>> cost
>> than development. If this is a research or learning project, it is
>> possible
>> it can be simplified.
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> http://www.windrvr.com
>> Remove StopSpam from the email to reply
>>
>>
>>
>> "James" <James.Smith000@gmail.com> wrote in message
>> news:1158064227.776243.69240@b28g2000cwb.googlegroups.com...
>> > Hello All,
>> >
>> > I want to write a Virtual COM driver which collects all the COM data
>> > and sent it through USB. I want to select this port in "Ports" tab
>> > which would installed from Add Printer. Can anyone let me how to start
>> > developing the driver. Is there any sample available to start with?
>> >
>> > Thanks and Regards,
>> > James
>> >
>



Re: Virtual Driver by chris

chris
Tue Sep 12 16:29:27 CDT 2006

(James Smith, huh? Whois says Mumbai....)

James wrote:

> My device is plotter which has serial and USB interface and other
> interfaces. All my previous applications communicated using COM. I want
> to change the exisiting applications to redirect the COM data to USB.
>
> Since my device is proprietary and does not belong to any standard
> class i cannot use any standard driver for USB.

I would look at the FAKEMODEM sample as well as the OSRUSBFX2 sample in
the KMDF distribution. Essentially you'll want to combine those in
such a way that they implement whatever USB interface your device is
exposing (and change the INF to be a Ports class, and not Modem).

Without more details about your device, we probably can't help much
more than that.


Re: Virtual Driver by Kevin

Kevin
Sat Sep 16 17:30:23 CDT 2006

On 12 Sep 2006 07:25:06 -0700, "James" <James.Smith000@gmail.com> wrote:
>Since my device is proprietary and does not belong to any standard
>class i cannot use any standard driver for USB.
>
>Any information would be of much help.

See if you can find the POSUSB sample from Microsoft.


--
#include <standard.disclaimer>
_
Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up