- Posts: 17524
- Thank you received: 0
Parallel port problems on new build; pins 14 and 16 not working for spindle
7 years 3 months ago #138621
by PCW
Replied by PCW on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
"epp" mode is in the hal_parport manual page, and works for me ( it loads anyway... )
Please Log in to join the conversation.
7 years 3 months ago #138624
by andypugh
Replied by andypugh on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
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?
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.
7 years 3 months ago #138625
by PCW
Replied by PCW on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
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
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.
7 years 3 months ago #138626
by andypugh
Direct port output (outb)
github.com/LinuxCNC/linuxcnc/blob/master...s/hal_parport.c#L595
Replied by andypugh on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
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.
7 years 3 months ago #138628
by PCW
Replied by PCW on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
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
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.
7 years 3 months ago #138633
by andypugh
Replied by andypugh on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
Can you try loading just one p-port, then the other?
Please Log in to join the conversation.
- trebuchetguy
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
7 years 3 months ago #138635
by trebuchetguy
Replied by trebuchetguy on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
Will do! It will probably be tomorrow before I get a chance to.
Please Log in to join the conversation.
- trebuchetguy
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
7 years 3 months ago #138661
by trebuchetguy
Replied by trebuchetguy on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
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.
I'll work on putting on some pull up resistors on those pins now.
Please Log in to join the conversation.
7 years 3 months ago #138672
by PCW
Replied by PCW on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
What version of LinuxCNC?
Please Log in to join the conversation.
- trebuchetguy
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
7 years 3 months ago #138713
by trebuchetguy
Replied by trebuchetguy on topic Parallel port problems on new build; pins 14 and 16 not working for spindle
2.7.14
Please Log in to join the conversation.
Time to create page: 0.059 seconds
