I want to learn WDM by writing a driver for a real device (not as a System Device Driver). Could anyone sugges
a hardware device (for which there is good enough information available)

Thank
SK

Re: Writing WDM Drivers by Brian

Brian
Mon May 03 10:37:50 CDT 2004

"SK" <anonymous@discussions.microsoft.com> wrote in message
news:A2F63680-5A77-439C-B088-1DC789B3038F@microsoft.com...
>
> I want to learn WDM by writing a driver for a real device (not as a System
> Device Driver). Could anyone suggest
> a hardware device (for which there is good enough information available) ?

How about the serial or parallel port? The advantage here is that the source
for these drivers is in the DDK, so you can gauge your progress and
understanding

-Brian

Brian Catlin, Sannas Consulting 310-944-9492
Windows Network, Video, WDM Device Driver Training & Consulting
See WWW.AZIUS.COM.bad for courses and scheduling
REMOVE .BAD FROM EMAIL AND WEB ADDRESS



Re: Writing WDM Drivers by anonymous

anonymous
Tue May 04 13:06:02 CDT 2004


Thanks. For writing a Serial Port driver, I must know the UART used in my computer, right
How can I find that out ?

Thank
Santhos


Re: Writing WDM Drivers by Doron

Doron
Tue May 04 13:10:57 CDT 2004

do you mean the resources assigned to the uart ? or the type of uart?
pretty much all uarts that are shipped as on board motherboard devices are
the 15550 type.

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.


"SK" <anonymous@discussions.microsoft.com> wrote in message
news:F5CE8880-44AE-4632-8BBA-62FE02FA7CA7@microsoft.com...
>
> Thanks. For writing a Serial Port driver, I must know the UART used in my
computer, right ?
> How can I find that out ?
>
> Thanks
> Santhosh
>



Re: Writing WDM Drivers by Bill

Bill
Wed May 05 02:59:52 CDT 2004

Personally, the serial port, or parallel port would be the last two devices
on earth I would use to learn a new driver model. Especially WDM. The
driver for serial in particular is not a good one to follow, it is heinously
complex and it does things that are questionable at best, and downright bad
at worst. For example, it uses the system wide cancel spinlock all over the
place, which is a practice long condemned by Microsoft. You would be much
better off trying to write a driver for some simple USB device. USB devices
can be fairly easy to reverse engineer for testing purposes. For instance I
bought a laplink A-to-A USB cable from a local computer shop and I was able
to reverse engineer the device fairly easily and write my own driver for it.
It used one bulk endpoint for reads, and one for writes. I just used the
DDK usbview sample to examine the device. The DDK USB bulk sample provided
an okay starting point for the driver.

--
Bill McKenzie
Software Engineer - Prism 802.11 Wireless Solutions
Conexant Systems, Inc.


"Brian Catlin" <brianc@sannas.org.bad> wrote in message
news:%23AqRbSSMEHA.2068@TK2MSFTNGP11.phx.gbl...
> "SK" <anonymous@discussions.microsoft.com> wrote in message
> news:A2F63680-5A77-439C-B088-1DC789B3038F@microsoft.com...
> >
> > I want to learn WDM by writing a driver for a real device (not as a
System
> > Device Driver). Could anyone suggest
> > a hardware device (for which there is good enough information available)
?
>
> How about the serial or parallel port? The advantage here is that the
source
> for these drivers is in the DDK, so you can gauge your progress and
> understanding
>
> -Brian
>
> Brian Catlin, Sannas Consulting 310-944-9492
> Windows Network, Video, WDM Device Driver Training & Consulting
> See WWW.AZIUS.COM.bad for courses and scheduling
> REMOVE .BAD FROM EMAIL AND WEB ADDRESS
>
>



Re: Writing WDM Drivers by Doron

Doron
Wed May 05 09:07:54 CDT 2004

fat fingers ... yes, i meant 16550. Even if the PC ha other 16xxx variants,
if the PC wants to be compatible with existing software these UARTs either
have special drivers (kinda doubtful) or they behave like a 16550 out of the
box and only exhibit their special behavior if enabled.

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.


"SK" <anonymous@discussions.microsoft.com> wrote in message
news:6A4EBCE5-E3CF-4F88-9DFC-4426AF44670E@microsoft.com...
>
> I meant the type of UART.
> You mentioned 15550 (did you mean 16550 ??)
>
> If I want to write a Serial Driver then my driver will have to talk to a
UART right ? I read that modern day PCs can have
> 16550 (or 16650, 16750, 16850, 16950). So, if the driver programs a 16550
can that driver be used for more later
> versions also ?
>
> Thanks
> SK