Now what should be the basic design of monolithic type Plug and Play
driver?
You can see the driver code on following url under Driver Build
Tutorial link:
http://powercell.cjb.net/ [my educational webpage]
Hope I would get some usefull hints + tips to finish my work in
reasonable time. You can see this topic on following link too:
http://groups-beta.google.com/group/comp.os.ms-windows.programmer.nt.kernel-mode/browse_frm/thread/5428765490fc2c9d/9ff0f3f5a387b330?hl=en#9ff0f3f5a387b330
Cheers.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
ma...@storagecraft.com
http://www.storagecraft.com
"Ali" <abdul...@gmail.com> wrote in message
news:1118693245.9...@f14g2000cwb.googlegroups.com...
Thanks for your help i have been reading Art Baker's book for doing so
because Walter Oney's book is somehow hard to understand and he has
presented code with USB examples.
I wish i would make it work in this month.
"Ali" <abdul...@gmail.com> wrote in message
news:1118695148.6...@g44g2000cwa.googlegroups.com...
The personal opinion of
Gary G. Little
Are you going straight to the hardware, or are you on top of PARPORT.SYS?
--
- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc
Last week was the 54th National Square Dance Convention here in Portland.
8,000 square dancers came to town, and I was on the governing board. It
left me unable to do much of anything else.
>i have enabled "Monitor" option from my system BIOS for parallel port
>and i have come to beieve that it is connected to ISA.
Yes, parallel ports are simple ISA devices. The I/O port numbers are all
fixed.
I believe the information you want is here:
http://www.microsoft.com/whdc/resources/respec/specs/pnplpt.mspx
This describes what a device has to do to be recognized by Windows and
trigger a plug-and-play device load.
Tauno wrote:
It was not a 8255, but a bunch of TTL registers and gates.
I still have the original IBM/PC Technical Manual showing it.
I never said it was a holy word, and I'm not sure why you want to get
snotty about it. The standard PC parallel port can be treated by software
as an ISA device, because it is at a fixed 10-bit I/O port address. Most
of them are actually implemented by a super I/O chip attached off of the
north bridge.
> I'm not sure why you want to get snotty about it.
Well I want to make this thing work this the reason I hae been so
touchy about it;-)
To me it seems that it is connected to ISA bus and in systems if ISA
bus isn't present then PCI bus take cares of it. One thing I have
come to believe is that it is never connected to main bus directly;-)
Though in early days it was connected through the bunch of TTLs to
MainBus.
Tim do I need to take care of handshacking in PnP driver? how windows
will know? that PowerCell Device [http://powercell.cjb.net/] is
connected to PC port instead of any ordinary printer and it is time to
kick my Mr. Driver out in action.
Regards,
-ali
"Main bus" is actually closer to the truth. In today's motherboards, the
parallel port I/O ports are handled by a "super I/O" chip that usually is
part of the south bridge (I said north bridge last time, but that's wrong),
which is the same place the PCI bus connects. Thus, the port is not
actually on the PCI bus.
The bus is not actually very important to this discussion. Somewhere,
someone is handling access to the parallel I/O ports. Doesn't matter
where.
>Tim do I need to take care of handshacking in PnP driver? how windows
>will know?
If you aren't using parport.sys at all, then no one will care. You just do
what you need to do and leave it in SPP mode when you are done.
This is what my understanding was before writing PnP driver! but when i
decided to write its PnP driver guys from this group started asking me
what type of device i'm having? anyway.
ALI>Tim do I need to take care of handshacking in PnP driver? how
windows will know?
TIM>If you aren't using parport.sys at all, then no one will care. You
just do what you need to do and leave it in SPP mode when you are done.
Nope i'm not using parport.sys and don't have such plans for doing so.
Tim how about src\general\toaster\func\featured2 project from 2003 DDK?
i think i just want a FDO to solve my problem.
WAO featured2 by Elyas comes with great code for power handling , i
guess bolier plate code. Currently my device is self powered and i
don't
want to have powerdown , low power [D0,..,Dx] or any other feature from
power manager so do i have to still copy paste that all bolier plate
code for writing a PnP driver? to me it is plain to see that every WDM
or WDF stricly not NT-kernel mode driver is technically responsible for
writing Power and addDevice functionality for power
management and plug and play respectively.
.
Thank You,
return (IsSundayFree : Fun+leisure ? MORE_TIME_MANGEMENT);
Separate chip. South-bridge has internal->LPC bus bridge. The internal bus is
software-compatible with PCI, and LPC - with ISA.
SuperIO is sitting on LPC bus.