Hi,
I have one more doubt.
After writing a minimal parallel class driver (without bus driver
functionality), how do install it over par port driver ? Do I need to go for
‘NT style’, IoGetDeviceObjectPointer() to par port driver object…?
Please help me by giving some pointers.
Thanks,
Sanesh Kumar K
-----Original Message-----
From: Udo Eberhardt [mailto:xxxxx@thesycon.de]
Sent: 24 July 2002 6:19 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Parallel Port query
Yes, this is the right way. Once the parclass driver allocated the ports and
knows about the port addresses it accesses the registers directly by means
of READ_PORT_UCHAR and WRITE_PORT_UCHAR.
–
Udo Eberhardt
Thesycon GmbH, Germany
xxxxx@thesycon.de
www.thesycon.de
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Sanesh Kumar k -
CTD, Chennai.
Sent: Wednesday, July 24, 2002 1:45 PM
To: NT Developers Interest List
Cc: xxxxx@thesycon.de
Subject: [ntdev] RE: Parallel Port query
Hi
thanks for your answers.
In my minimal parclass driver, after getting the controller register using
IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO, i would like to use the controller
register for reading and writing the parallel port using
READ_PORT_UCHAR and
WRITE_PORT_UCHAR.
Is it the right way…?
Thanks,
Sanesh Kumar K
-----Original Message-----
From: Udo Eberhardt [mailto:xxxxx@thesycon.de]
Sent: 20 July 2002 5:33 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Parallel Port query
You have to write a driver (WDM conform) that talks to the
parport driver by
means of its IOCTL interface. Look at parallel.h in the DDK for
details. At
its lower edge your driver will behave just like parclass. At its
upper edge
your driver can export a private interface (Read, Write, Ioctl).
Don’t try to replace or hook any of the system-provided drivers (parport,
parclass, etc.). This is bad design.
–
Udo Eberhardt
Thesycon GmbH, Germany
xxxxx@thesycon.de
www.thesycon.de
PS:
You may consider using our UPP product. Everything you need is
ready there.
http://www.thesycon.de/upp/eng/upp.htm
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Sanesh Kumar k -
> CTD, Chennai.
> Sent: Friday, July 19, 2002 11:48 AM
> To: NT Developers Interest List
> Subject: [ntdev] Parallel Port query
>
>
> Hi,
>
> I have to write a high speed EPP parallel port driver for driving FPGA.
>
> I am writing a driver to hook to parport.sys in Win2K using the
NT model.
>
> I need to do READ_PORT and WRITE_PORT for the port.
>
> Do I need to layer over parclass driver…?
>
>
>
> Thanks,
> -Sanesh Kumar K
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@thesycon.de
> To unsubscribe send a blank email to %%email.unsub%%
>
>
You are currently subscribed to ntdev as: xxxxx@ctd.hcltech.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@thesycon.de
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@ctd.hcltech.com
To unsubscribe send a blank email to %%email.unsub%%