2 Parallel Ports - 1 Intenal, 1 PCI Parallel Port Card not configuring

More
2 years 7 months ago #296709 by Cant do this anymore bye all
I'll see your fuzzy from lack of sleep and raise 2 weeks of flu in the Aussie Summer. lol
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago - 2 years 7 months ago #296734 by moazzam
Hi!
Yes ... I agree ... The plugin Parallel port card seems not to have a driver installed. I am attaching the results of "sudo dmesg | grep parport" and  "lspci -nv"
Being a novice to Linux the question may sound stupid but how do you install the driver of PCI Parallel Card?
Regards.
Last edit: 2 years 7 months ago by moazzam.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296751 by tommylight

Being a novice to Linux the question may sound stupid but how do you install the driver of PCI Parallel Card?
Regards.
Not stupid at all, Linux and LinuxCNC have it's own drivers for it and as long as it is not one of those "software emulated ports" they just work, no install needed.
0xd010 or 0xd000 is the address for the add on card, the built in is at 0x378.
Add both those (try 010 first, the 000 for the add on one) in the stepconf wizard.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago - 2 years 7 months ago #296752 by Todd Zuercher
I agree the on board parallel port should working correctly at address 0x378 and isn't the problem.

Built in parallel ports will not show up in lspci lists, because they are not part of the PCI bus.

The system isn't picking up the additional card as a parallel port. Is it a PCIe card? I've found PCIe parallel port cards are often buggy and not well supported. But even though it may not be properly configured as a parallel port in the system, it may still work with Linuxcnc. (Linuxcnc doesn't use the system's parallel port drivers.) Try configuring Linuxcnc with the parallel port driver to directly access the ports by their addresses.
Code:
loadrt hal_parport cfg="0xd000 out 0x378 out"
and if that doesn't work try.
Code:
loadrt hal_parport cfg="0xd010 out 0x378 out"

If that fails, your only or best option will likely be to try a different card.
Last edit: 2 years 7 months ago by Todd Zuercher.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296753 by tommylight
The add on card is being listed by lspci, in both cases, but the OP keeps failing to use
sudo lspci -v
As that gives info for stuff that normally shows with access denied or does not show at all.
Without that, i can not say with greater certainty what is wrong, but so far having the card listed by lspci and no driver loaded usually means dirty slot/card contacts or malfunctioning card.
First, do what Todd suggested, in that order. Might need to reboot the PC if the first fails to work and the second try reports "recourse busy".

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296771 by Cant do this anymore bye all
From what I see is that there’s no driver being loaded, this may or may not be a problem. It may be a problem if the card requires a driver to setup any registers in the chip.
But the easiest course maybe to try another card.
The following user(s) said Thank You: moazzam

Please Log in or Create an account to join the conversation.

Time to create page: 0.229 seconds
Powered by Kunena Forum