Re: USB to Serial Convertor

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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



.



Relevant Pages

  • Sound, dual soundcards, second attempt (better I hope)
    ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, ... Journalled Block Device driver loaded ... usb.c: new USB bus registered, ... alias char-major-10-175 agpgart ...
    (comp.os.linux)
  • Re: could WDM sample code: selsusp work on any platform?
    ... Please do not send e-mail directly to this alias. ... newsgroup purposes only. ... source that have easily moved to kmdf. ... KMDF changes how the driver ...
    (microsoft.public.development.device.drivers)
  • Re: Tracking the sound problem.
    ... On Sunday 10 February 2008 06:58, Tim wrote: ... The way I've always understood this, regarding USB devices that use ... If your actual soundcard is aliased as card0, ... The fix I've had to use since FC1, and on other distro's too, is to set alias, ...
    (Fedora)
  • Re: Getting started with NDIS
    ... the NDISEDGE sample. ... Since your device is attached via USB, ... Since you are starting from zero, use KMDF as it will make your life much ... What you will be creating will be an NDIS Miniport with a KMDF or WDM ...
    (microsoft.public.development.device.drivers)
  • Re: How do you veto hibernation on a KMDF driver?
    ... Please do not send e-mail directly to this alias. ... return WdfDeviceWdmDispatchPreprocessedIrp(Device, Irp); ... I'm trying to match this WDM behavior with the KMDF. ...
    (microsoft.public.development.device.drivers)