Advanced Search

Search Results (Searched for: )

  • cmorley
  • cmorley
03 Apr 2025 02:30
Replied by cmorley on topic How to access rt pins in user space

How to access rt pins in user space

Category: General LinuxCNC Questions

The HAL python module allows reading or arbitrary pins and signals without connecting to them.
It's written in C++ but shows the process and borrows C code from HAL cmd.
  • ContinenteCNC
  • ContinenteCNC's Avatar
03 Apr 2025 02:15

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

That would be great!

I don't know if it helps, but if so I can install 2 Sunix cards (one PCI and one PCIe) and share with you a anydesk login.
  • tommylight
  • tommylight's Avatar
03 Apr 2025 01:52

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

I am more interested in finding what is causing them to show on one PC and not show on the other PC, and i am sure it is not in software as i tried two installs on the same PC with the same card and it did not show on both.
I am also sure that same PC has marginal BIOS battery as it did show "load setup defaults and continue" more than once lately.
  • ContinenteCNC
  • ContinenteCNC's Avatar
03 Apr 2025 01:44

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

First thing you need to do is get the pci_id.
modinfo parport_pc

That will show you a list of PCI IDs and module parameters.

Then you can use modprobe to load partport_pc using the parameter that's required to set the address of the card.

Now whether the kernel module loads automatically for that card will depend on whether the PCI ID is a match with the driver.
If you can give me your kernel version and PCI ID of the card I can check the kernel sources and see if I can find a match. If not for the kernel you're running but one that might.
In all honesty for the headaches that a parallel port can cause a mesa 7i92 plugged into your existing breakout boards is a better solution. Latency isn't a problem, migration to a another PC is easier.
But I get that parallel port cards can be cheaper.


I love mesa cards, but unfortunately I can only use them in high end projects. Things get expensive really fast bellow equator line. 

I believe I have attached everthing you've asked. Let me know if you need some more info. Thanks!
  • ContinenteCNC
  • ContinenteCNC's Avatar
03 Apr 2025 01:29

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

I wonder if there is a way to force these Sunix cards to load parport_pc driver and module from the I/O ports address?

So it will showup in dmesg as a proper enumerated parallel port.

Why?
I had two of those, both showed everything on 2 different PC's, but 1 did not show driver and kernel module on a 3'rd PC. Same card did show on 1 PC and did not show on another PC.
On the PC that did not show modules another PCI card did not show modules loaded, after showing them and working for years.
All this points to something in BIOS causing that, but i am out of luck as i can not find any more of those Sunix cards.
Here is one example of it showing modules loaded
forum.linuxcnc.org/10-advanced-configura...uing?start=20#324494

I thought it might be something trivial to do, but if it is not, nevermind. It is marginally more convenient to find base, extended addresses and available modes (they showup in dmesg and /proc/sys/dev/parport/parport*)

And the bash script I wrote to automate reports assumes it is an enumerated port. If its not, it won't work. 

I tried using modprobe, setpci and some others, but linux is high in my list of "things I like doing, but I'm also bad at doing".
Displaying 17506 - 17510 out of 17510 results.
Time to create page: 0.339 seconds
Powered by Kunena Forum