Parallel port problems on new build; pins 14 and 16 not working for spindle

More
7 years 3 months ago #138621 by PCW
"epp" mode is in the hal_parport manual page, and works for me ( it loads anyway... )

Please Log in to join the conversation.

More
7 years 3 months ago #138624 by andypugh
So it does!

linuxcnc.org/docs/2.8/html/man/man1/hal_parport.1.html

I suspect that it might still need to be set in the BIOS?

Please Log in to join the conversation.

More
7 years 3 months ago #138625 by PCW
Setting it in the BIOS only works on built-in motherboard ports.

If the parallel port follows the standard register map, its possible to set
the mode with direct port access. Not sure how hal_parport does it.
I'm wondering if it uses a linux parport driver call which would fail
if the parallel port was not detected by the linux parport driver

Please Log in to join the conversation.

More
7 years 3 months ago #138626 by andypugh

PCW wrote: If the parallel port follows the standard register map, its possible to set
the mode with direct port access. Not sure how hal_parport does it.


Direct port output (outb)
github.com/LinuxCNC/linuxcnc/blob/master...s/hal_parport.c#L595

Please Log in to join the conversation.

More
7 years 3 months ago #138628 by PCW
Yeah so why the error message?
I'll try to duplicate this but will need to buy a couple PP cards
Pretty sure I've thrown all the ones I had out when we moved

Please Log in to join the conversation.

More
7 years 3 months ago #138633 by andypugh
Can you try loading just one p-port, then the other?

Please Log in to join the conversation.

More
7 years 3 months ago #138635 by trebuchetguy
Will do! It will probably be tomorrow before I get a chance to.

Please Log in to join the conversation.

More
7 years 3 months ago #138661 by trebuchetguy
Same error message when setting a single parallel port with epp mode, except that it only shows the error message once.

I'll work on putting on some pull up resistors on those pins now.

Please Log in to join the conversation.

More
7 years 3 months ago #138672 by PCW

Please Log in to join the conversation.

More
7 years 3 months ago #138713 by trebuchetguy

Please Log in to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum