- Configuring LinuxCNC
- HAL
- Parallel port problems on new build; pins 14 and 16 not working for spindle
Parallel port problems on new build; pins 14 and 16 not working for spindle
04 Jul 2019 12:55 #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... )
The following user(s) said Thank You: trebuchetguy
Please Log in or Create an account to join the conversation.
04 Jul 2019 13:18 #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?
The following user(s) said Thank You: trebuchetguy
Please Log in or Create an account to join the conversation.
04 Jul 2019 14:18 #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 or Create an account to join the conversation.
04 Jul 2019 14:36 #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
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 or Create an account to join the conversation.
04 Jul 2019 15:19 #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 or Create an account to join the conversation.
04 Jul 2019 16:51 #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 or Create an account to join the conversation.
- trebuchetguy
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
04 Jul 2019 17:05 #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 or Create an account to join the conversation.
- trebuchetguy
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
05 Jul 2019 02:32 #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 or Create an account to join the conversation.
05 Jul 2019 04:56 #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 or Create an account to join the conversation.
- trebuchetguy
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
06 Jul 2019 00:39 #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 or Create an account to join the conversation.
- Configuring LinuxCNC
- HAL
- Parallel port problems on new build; pins 14 and 16 not working for spindle
Time to create page: 0.082 seconds