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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
24 Mar 2025 15:31 #324784 by tommylight
From Longdons:
Ubiuntu:
02:00.0 Parallel controller [0701]: SUNIX Co., Ltd. Multiport serial controller [1fd4:1999] (prog-if 03 [IEEE1284])
    Subsystem: SUNIX Co., Ltd. Multiport serial controller [1fd4:0100]
    Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 13
    I/O ports at e030 [size=8]
    I/O ports at e020 [size=8]
    I/O ports at e000 [size=32]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
    Capabilities: [80] Express Legacy Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Kernel driver in use: parport_serial
    Kernel modules: parport_serial
Debian:
02:00.0 Parallel controller [0701]: SUNIX Co., Ltd. Multiport serial controller [1fd4:1999] (prog-if 03 [IEEE1284])
	Subsystem: SUNIX Co., Ltd. Multiport serial controller [1fd4:0100]
	Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 13
	I/O ports at e030 [size=8]
	I/O ports at e020 [size=8]
	I/O ports at e000 [size=32]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Kernel driver in use: parport_serial
	Kernel modules: parport_serial
-
So both show drivers and modules loaded, leading to conclude not a Linux issue.
Back to chasing bus master and other flags, although we already have instances where bus master shows and does not show with the corresponding driver/module showing and not showing.
The following user(s) said Thank You: ContinenteCNC

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

More
24 Mar 2025 15:33 #324786 by langdons
My PC is an old, cheapo HP Compaq.
The following user(s) said Thank You: tommylight

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

More
24 Mar 2025 18:01 #324802 by langdons
To OP:
Try changing 0xd000 to 0xd010
See if that works.

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

More
24 Mar 2025 18:07 #324805 by langdons
i think you should always try the first "IO ports at... XXXX ...".

If that gives an error, try every "" port in order until you get no error.

If they all give an error, then IDK.

The parport_serial kernel module works.

Was the parallel port card installed when you installed Linux?

Make sure all necessary hardware is in the machine when you install, and make sure all unnecessary hardware is not in the machine during the time of installation.

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

More
24 Mar 2025 18:10 #324806 by langdons
Maybe just buy a Sunix card; they are very inexpensive.

I might be able to get an extra one for free.

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

More
24 Mar 2025 20:30 #324816 by unknown
No need to guess,
sudo cat /proc/ioports
Then look for the an entry mentioning a parallel port, it's been mentioned a number of times throughout the thread
The following user(s) said Thank You: ContinenteCNC

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

More
02 Apr 2025 20:23 #325539 by ContinenteCNC
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.

It would make my life easier. I wrote a bash script to automate PCI card report creation ( forum.linuxcnc.org/18-computer/54368-pci...-box?start=30#325532 ) and I have a bunch of PCI cards to test and report, and some of them are Sunix.

Do any of you guys know a way?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
02 Apr 2025 21:33 #325550 by tommylight

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
The following user(s) said Thank You: ContinenteCNC

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

More
02 Apr 2025 22:53 #325558 by langdons
I think they work consistently on HP PCs.
The following user(s) said Thank You: ContinenteCNC

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

More
02 Apr 2025 23:59 #325562 by unknown
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.
The following user(s) said Thank You: ContinenteCNC

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

Time to create page: 0.094 seconds
Powered by Kunena Forum