- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
×
Forum Header
Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
23 Jun 2022 19:08 #245713
by longtimer
Replied by longtimer on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
Fair enough. In my mind, that is some form of output. To your point, it just may not be data.
Any other suggestions on how best to tackle this. I am getting nowhere.
Thanks,
Jason
Any other suggestions on how best to tackle this. I am getting nowhere.
Thanks,
Jason
Please Log in or Create an account to join the conversation.
23 Jun 2022 20:40 #245722
by hoffb77
Replied by hoffb77 on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
I was having fits getting a startech card to load a while back. I ended up adding epp_dir=1 after the card address. port_addr="0x0000" epp_dir=1
I had no idea and I got lucky playing with the driver. God Speed!
I had no idea and I got lucky playing with the driver. God Speed!
Please Log in or Create an account to join the conversation.
23 Jun 2022 20:45 #245723
by longtimer
Replied by longtimer on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
Thanks for the response. Which file was this port_addr attribute set in? I see no such thing in the .hal file.
Please Log in or Create an account to join the conversation.
23 Jun 2022 22:38 #245734
by hoffb77
Replied by hoffb77 on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
It was the load.hal file from a Pico Systems setup I have. His driver is loadrt hal_ppmc. Parallel Port Motion Control is driven on the parport in epp mode. Most boards have an option for epp but its usually hybrid even if the chipset supports it.
I wrote the driver as follows
loadrt hal_ppmc port_addr="0x4010" epp_dir=1
I never had to add that until i got the startech card. I never saw anyone having to use that on any other PPMC setup. I got the idea to do that from the LinuxCNC parport docs.
I wrote the driver as follows
loadrt hal_ppmc port_addr="0x4010" epp_dir=1
I never had to add that until i got the startech card. I never saw anyone having to use that on any other PPMC setup. I got the idea to do that from the LinuxCNC parport docs.
Please Log in or Create an account to join the conversation.
23 Jun 2022 23:43 #245743
by andypugh
Replied by andypugh on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
Late to the party, but LinuxCNC does not need a driver for the parallel port. Or, more accurately, LinuxCNC provides a driver that interfaces to the card at the register level.
So, not seeing a driver loaded is not necessarily a problem.
So, not seeing a driver loaded is not necessarily a problem.
Please Log in or Create an account to join the conversation.
24 Jun 2022 00:15 #245746
by longtimer
Replied by longtimer on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
Thanks for the response. I figured that that was the case based on the communications so far and reading through the forums. Unfortunately, I have been unable to get successful interactions with my mill with either of the cards that I have purchased, one the StarTech mentioned above and the other a more generic card.
Any suggestions on how to proceed are appreciated.
Any suggestions on how to proceed are appreciated.
Please Log in or Create an account to join the conversation.
24 Jun 2022 20:17 #245806
by longtimer
Replied by longtimer on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
So I started down the build path and have successfully built linuxCNC. Unfortunately, I don't see any specific LinuxCNC instructions for generally building drivers or for getting the necessary header files to build the drivers that the card wants. Any suggestions?
Alternatively, I would be happy to not mess around with this crappy card that claims linux support but provides no depth to its instructions. I just haven't been able to find one that is actively sold and matches the different chipsets listed.
Alternatively, I would be happy to not mess around with this crappy card that claims linux support but provides no depth to its instructions. I just haven't been able to find one that is actively sold and matches the different chipsets listed.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
24 Jun 2022 21:37 #245812
by tommylight
Replied by tommylight on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
Attach the hal file so we can have a look.
Please Log in or Create an account to join the conversation.
25 Jun 2022 00:32 #245825
by longtimer
Replied by longtimer on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
Thanks again for the help.
I have attached the .hal file. For reference, I have tried the following individual lines to load the LinuXCNC parport driver.
1) with only the PEXIP2 card in place
loadrt hal_parport cfg="0xd800 out"
loadrt hal_parport cfg="0xd880 out"
loadrt hal_parport cfg="0xd800"
loadrt hal_parport cfg="0xd880"
2) with other not working parallel port card in place along with PEXIP2
loadrt hal_parport cfg="0xc800 out"
loadrt hal_parport cfg="0xc880 out"
loadrt hal_parport cfg="0xc800"
loadrt hal_parport cfg="0xc880"
3) with additional support for epp
loadrt hal_ppmc port_addr="0xd800" epp_dir=1
loadrt hal_ppmc port_addr="0xd880" epp_dir=1
loadrt hal_parport port_addr="0xd800" epp_dir=1
loadrt hal_parport port_addr="0xd880" epp_dir=1
I have attached the .hal file. For reference, I have tried the following individual lines to load the LinuXCNC parport driver.
1) with only the PEXIP2 card in place
loadrt hal_parport cfg="0xd800 out"
loadrt hal_parport cfg="0xd880 out"
loadrt hal_parport cfg="0xd800"
loadrt hal_parport cfg="0xd880"
2) with other not working parallel port card in place along with PEXIP2
loadrt hal_parport cfg="0xc800 out"
loadrt hal_parport cfg="0xc880 out"
loadrt hal_parport cfg="0xc800"
loadrt hal_parport cfg="0xc880"
3) with additional support for epp
loadrt hal_ppmc port_addr="0xd800" epp_dir=1
loadrt hal_ppmc port_addr="0xd880" epp_dir=1
loadrt hal_parport port_addr="0xd800" epp_dir=1
loadrt hal_parport port_addr="0xd880" epp_dir=1
Please Log in or Create an account to join the conversation.
25 Jun 2022 20:22 #245877
by hoffb77
Replied by hoffb77 on topic Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
That PPMC is for calling Pico Systems board drivers. I showed you the whole line for reference. you wont get anywhere with ppmc unless you have a ppmc.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Enabling StarTech PEXIP2 Parallel Port Card (AX99100)
Time to create page: 0.093 seconds