Re: USB to Serial Convertor
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 Mar 2007 22:44:48 -0800
the KMDF usbsamp dirver is fine, osrusbfx2 also shows how to use the various
KMDF USB APIs
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.
"James" <James.Smith000@xxxxxxxxx> wrote in message
news:1173329733.007460.240440@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 8, 8:43 am, "Doron Holan [MS]" <dor...@xxxxxxxxxxxxxxxxxxxx>
wrote:
actually, the harder part here is getting the upper interface
(application)
edge correct. take the KMDF serial sample and then rip out anywhere where
it
touches HW and replace it with USB I/O functions
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...@xxxxxxxxx> wrote in message
news:1173287733.124872.209300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 7, 5:25 am, "Vetzak" <ptrs...@xxxxxxxxx> wrote:
One advice: NEVER use DDK examples as a basis. Write from scratch. You
can have a look at the examples, but for the love of God, don't
recycle the example sources. In the past, we had some contractors who
wrote drivers based on serial.sys and those smard card sources, and
we're still debugging their drivers.
I don't know that this is necessarily good advice. The first driver I
ever wrote was a USB-Ethernet driver which used probably 80-90% of the
NDISEDGE sample without modifications. The only changes I needed to
make were to support a USB device and embed a small DHCP server.
Without the NDIS sample code I would have been totally lost.
Now, in this specific case, the serial.sys sample will probably help
you understand the serial IOCTL and timeout semantics, but you'll
probably have the most luck starting from USBSAMP.- Hide quoted text -
- Show quoted text -
I think its time for me to start working on KMDF serial sample. I will
try and come up with new questions if i have any. Which USB sample
does best suits me for this kind of driver.
Thanks for all your valuable suggestions.
Regards,
James
.
- References:
- USB to Serial Convertor
- From: James
- Re: USB to Serial Convertor
- From: Wilhelm Noeker
- Re: USB to Serial Convertor
- From: James
- Re: USB to Serial Convertor
- From: Vetzak
- Re: USB to Serial Convertor
- From: chris . aseltine
- Re: USB to Serial Convertor
- From: Doron Holan [MS]
- Re: USB to Serial Convertor
- From: James
- USB to Serial Convertor
- Prev by Date: Re: Win9x *.inf file - how to tell Windows about the file source?
- Next by Date: Re: HClint can't find any hid mouse in Windows XP Sp2 X64 ENVIRONM
- Previous by thread: Re: USB to Serial Convertor
- Next by thread: Re: USB to Serial Convertor
- Index(es):
Relevant Pages
|