Hi,
I am total beginner in device driver programming. Having not done anything but reading still.
I have a need. I need a driver to talk to parallel port bit by bit, both reading and writing. This is to control a PC Interface cards from Velleman (velleman.be).
Do I understand it right that I would have to write a driver for each parallel port card and mother board separately to have universal support? Or is there some kind of common IO-ports convention to get support for most chips?
Very much thanks beforehand for any insight and help on this issue.
Naturally if there already is an existing driver free or payware, I would be interested.
Best Regards
Kari Laine
FINLAND
xxxxx@gmail.com wrote:
I am total beginner in device driver programming. Having not done anything but reading still.
I have a need. I need a driver to talk to parallel port bit by bit, both reading and writing. This is to control a PC Interface cards from Velleman (velleman.be).
Do I understand it right that I would have to write a driver for each parallel port card and mother board separately to have universal support? Or is there some kind of common IO-ports convention to get support for most chips?
Motherboard parallel ports use the same standard port setup that was
established in the IBM PC more than 30 years ago.
PCI parallel ports have different port numbers, but they are uncommon.
If you buy a kit from Velleman, they will almost certainly send you (or
let you download) a development kit that includes parallel port
software. You should not have to write it yourself.
Naturally if there already is an existing driver free or payware, I would be interested.
There are an infinite number of parallel port toolkits available. Have
you done any Googling at all? You should definitely start with Jan
Axelson’s site at Lakeview Research:
http://www.lvr.com/parport.htm
She wrote the definitive book “Parallel Port Complete”, and has a
fabulous collection of tools.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Thanks Tim,
Actually I made quite a lot GooGling some time ago. But did not find definitive solution. I will now redo the searching. Thanks for tidbit that motherboard integrated ports use same addresses. Problem is that new motherboards quite often miss the parallel port… and drivers provided by manufacturers are typically only for printer. I know Jan Axelson’s site and will now go there. I even have the book somewhere.
Velleman does not provide driver for Vista or Windows 7, because it is an old board K8000.
Well I do have a backup plan - use Linux … 
Thanks again Tim!
Best Regards
Kari
xxxxx@gmail.com wrote:
Actually I made quite a lot GooGling some time ago. But did not find definitive solution. I will now redo the searching. Thanks for tidbit that motherboard integrated ports use same addresses. Problem is that new motherboards quite often miss the parallel port…
Absolutely true.
…and drivers provided by manufacturers are typically only for printer.
There are a lot of hardware hacker forums on the web doing weird stuff
with parallel ports. You ought to be able to find a copy of the old
PORTIO driver and DLL.
I know Jan Axelson’s site and will now go there. I even have the book somewhere.
Velleman does not provide driver for Vista or Windows 7, because it is an old board K8000.
If they have software for XP, that will almost certainly work under
Vista and Windows 7.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Tim Roberts wrote:
xxxxx@gmail.com wrote:
> Velleman does not provide driver for Vista or Windows 7, because it is an old board K8000.
If they have software for XP, that will almost certainly work under
Vista and Windows 7.
I should add “…but not 64-bit…”.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Tim,
Curiosity inspires this query: Other than the certificate issue with a 64 bit driver and the fact they have to be built for the 64 bit OS, are there other issues with these drivers on 64 bit?
Gary G. Little
----- Original Message -----
From: “Tim Roberts”
To: “Windows System Software Devs Interest List”
Sent: Wednesday, January 5, 2011 2:14:37 PM
Subject: Re: [ntdev] Printer port driver for Windows 7 32/64
Tim Roberts wrote:
> xxxxx@gmail.com wrote:
>> Velleman does not provide driver for Vista or Windows 7, because it is an old board K8000.
> If they have software for XP, that will almost certainly work under
> Vista and Windows 7.
I should add “…but not 64-bit…”.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Gary G. Little wrote:
Curiosity inspires this query: Other than the certificate issue with a
64 bit driver and the fact they have to be built for the 64 bit OS,
are there other issues with these drivers on 64 bit?
Nope. It’s just that, if they produced something in 2002 for XP, then
64-bit wasn’t even on their radar. There won’t be a 64-bit binary.
There’s certainly no technology barrier to producing a 64-bit PortIO
equivalent.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
> Do I understand it right that I would have to write a driver for each parallel port card and mother board
All parallel ports are the same, except the possibility of being in ECP/EPP modes.
If the board uses the parallel port correctly - then you just send reads/writes/IOCTLs to \.\Device\NONSPOOLED_LPT1 from user mode.
Otherwise, you will need to replace the parallel port driver with your own.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
Thanks Maxim,
this might prove to very useful. I will test this tidbit on the
weekend with an add on parallel port card…
Best Regards
Kari
On Fri, Jan 7, 2011 at 4:27 AM, Maxim S. Shatskih
wrote:
>> Do I understand it right that I would have to write a driver for each parallel port card and mother board
>
> All parallel ports are the same, except the possibility of being in ECP/EPP modes.
>
> If the board uses the parallel port correctly - then you just send reads/writes/IOCTLs to \.\Device\NONSPOOLED_LPT1 from user mode.
>
> Otherwise, you will need to replace the parallel port driver with your own.
>
> –
> Maxim S. Shatskih
> Windows DDK MVP
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
–
PIC - ARM - Microcontrollers - I2C - SPI
Keypads - USB-RS232 - USB-I2C - Accessories
http://www.byvac.com
I am just a happy customer