USB to Serial Port.

Hi all

I have a serial port device for which I have written a serial port
driver.
Now to switch over to USB interface.
Instead of changing the hardware to have an USB interface, I thought of
buying some rs-232-to-usb cable kits.
But I do not want to use the default drivers that come with those kits.

I want to update my original serial port driver, and make it an USB
driver.
In my original serial port driver, I have used UART ports for i/o. (ex:
setting RTS, DTR, etc)
Now I think I have to use some other ports for in and out assembly
instructions.

Ex: Suppose I have connected the serial device on the USB port using the
rs232-usb cable kit.
Now suppose I want to turn on the RTS pin of the serial port device
through the computer USB interface.
What is the code I have to use in my driver code.

Any idea on how to proceed on this. I think some one of you would have
defintely done something like before.
Can u please help me on this?

Thanx
Kiran

> What is the code I have to use in my driver code.

Send the proper URB request down the stack.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

Actually the problem is that I am not using this serial port device for
typical rs-232 data communication.

The serial port device just uses the electric power thru the RTS line of
the serial port interface.
My original serial port driver just sets the RS line to on during init.
Now I just want to set the RS to on through the USB interface to which
my serial port device is connected.

How can this be done ?

Thanx
Kiran

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
Shatskih
Sent: Monday, June 07, 2004 12:25 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] USB to Serial Port.

What is the code I have to use in my driver code.

Send the proper URB request down the stack.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> Now to switch over to USB interface.

Instead of changing the hardware to have an USB interface, I thought of
buying some rs-232-to-usb cable kits.
But I do not want to use the default drivers that come with those kits.

You may not want to use one, but look at the FTDI chipset and their drivers.
They were designed for exactly this sort of thing.

Loren

> How can this be done ?

Send the proper URB request down the stack.

Loren

----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Monday, June 07, 2004 12:24 AM
Subject: RE: [ntdev] USB to Serial Port.

> Actually the problem is that I am not using this serial port device for
> typical rs-232 data communication.
>
> The serial port device just uses the electric power thru the RTS line of
> the serial port interface.
> My original serial port driver just sets the RS line to on during init.
> Now I just want to set the RS to on through the USB interface to which
> my serial port device is connected.
>
> How can this be done ?
>
> Thanx
> Kiran
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
> Shatskih
> Sent: Monday, June 07, 2004 12:25 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] USB to Serial Port.
>
>
> > What is the code I have to use in my driver code.
>
> Send the proper URB request down the stack.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@wipro.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@earthlink.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>