Hi :
I need to write a driver that working on the printer port which basically
just need to send the data to the port and get the data while IRQ happen.
My question as following :
- I read the book on Art baker book chapter 9 which basically it what I
need. However, it install the driver as upper filter driver in stead of
function driver. why do that and is any side effect on that.
- upper filter driver in this case connect to ISR, what happen if the
lower driver also connect to ISR, would not make conflict.
- Are there better way to do it
Thanks in advance
Michael Cheng
“Maxim S. Shatskih”
om> cc:
Sent by: Fax to:
xxxxx@lis Subject: [ntdev] Re: Driver Name visible in Device Manager!!!
ts.osr.com with no device
2002/01/08 09:37 PM
Please respond to “NT
Developers Interest
List”
> I have a basic Question ,I installed a UNKNOWN CLASS pnp function driver
> from Control panel,without installing any pnp device…
Never do this.
In Win98 + a buggy INF, you can ruin the PnP registry completely by such a
trick.
PnP drivers must be installed only for existing and enumerated PnP device -
either automatically or by “Update Driver” button.
> 2) How can a pnp function driver can get loaded when there is no
> device…since no bus driver is available how can a function driver get
> loaded and display the name in the device manager…???
IIRC IoReportDetectedDevice provides this.
Max
—
You are currently subscribed to ntdev as: michael_cheng@ap.logitech.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
art baker’s nt book’s parallel port driver is designed for a very specific
printer.
the new book has a better example - writing via the parallel port to a
second computer
which book do you have?
(get the new version - although it is not by art baker, it is based on it.)
in any case:
if you have the ddk then do a search on:
‘2.3 Parport Features and Operation’
you don’t need to write your own driver.
just use microsoft’s.
read up on the topic (you probably need to write a layered driver on top of
parport.
I don’t know.
another direction:
microsoft gives a sample portio driver (C:\NTDDK\src\general\portio)
you can use it as is.
enjoy
assaf
----- Original Message -----
From: <michael_cheng>
To: “NT Developers Interest List”
Sent: Wednesday, January 09, 2002 2:37 AM
Subject: [ntdev] Help Printer port driver ( art baker book)
>
> Hi :
> I need to write a driver that working on the printer port which basically
> just need to send the data to the port and get the data while IRQ happen.
> My question as following :
> 1. I read the book on Art baker book chapter 9 which basically it what I
> need. However, it install the driver as upper filter driver in stead of
> function driver. why do that and is any side effect on that.
> 2. upper filter driver in this case connect to ISR, what happen if the
> lower driver also connect to ISR, would not make conflict.
> 3. Are there better way to do it
>
> Thanks in advance
>
> Michael Cheng
>
>
>
>
>
>
> “Maxim S. Shatskih”
> Interest List"
> om> cc:
> Sent by: Fax to:
> xxxxx@lis Subject: [ntdev] Re:
Driver Name visible in Device Manager!!!
> ts.osr.com with no device
>
>
> 2002/01/08 09:37 PM
> Please respond to “NT
> Developers Interest
> List”
>
>
>
>
>
>
> > I have a basic Question ,I installed a UNKNOWN CLASS pnp function driver
> > from Control panel,without installing any pnp device…
>
> Never do this.
>
> In Win98 + a buggy INF, you can ruin the PnP registry completely by such a
> trick.
> PnP drivers must be installed only for existing and enumerated PnP
device -
> either automatically or by “Update Driver” button.
>
> > 2) How can a pnp function driver can get loaded when there is no
> > device…since no bus driver is available how can a function driver get
> > loaded and display the name in the device manager…???
>
> IIRC IoReportDetectedDevice provides this.
>
> Max
>
>
>
> —
> You are currently subscribed to ntdev as: michael_cheng@ap.logitech.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hotmail.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</michael_cheng>