- Configuring LinuxCNC
- Advanced Configuration
- PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20152
- Thank you received: 6856
24 Mar 2025 15:31 #324784
by tommylight
Replied by tommylight on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
From Longdons:
Ubiuntu:Debian:-
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.
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
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.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
24 Mar 2025 15:33 #324786
by langdons
Replied by langdons on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
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.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
24 Mar 2025 18:01 #324802
by langdons
Replied by langdons on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
To OP:
Try changing 0xd000 to 0xd010
See if that works.
Try changing 0xd000 to 0xd010
See if that works.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
24 Mar 2025 18:07 #324805
by langdons
Replied by langdons on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
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.
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.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
24 Mar 2025 18:10 #324806
by langdons
Replied by langdons on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
Maybe just buy a Sunix card; they are very inexpensive.
I might be able to get an extra one for free.
I might be able to get an extra one for free.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 335
- Thank you received: 129
24 Mar 2025 20:30 #324816
by unknown
Replied by unknown on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
No need to guess,Then look for the an entry mentioning a parallel port, it's been mentioned a number of times throughout the thread
sudo cat /proc/ioports
The following user(s) said Thank You: ContinenteCNC
Please Log in or Create an account to join the conversation.
- ContinenteCNC
-
- Offline
- Premium Member
-
Less
More
- Posts: 90
- Thank you received: 40
02 Apr 2025 20:23 #325539
by ContinenteCNC
Replied by ContinenteCNC on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
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?
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
-
- Away
- Moderator
-
Less
More
- Posts: 20152
- Thank you received: 6856
02 Apr 2025 21:33 #325550
by tommylight
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
Replied by tommylight on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
Why?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.
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.
- langdons
- Offline
- Elite Member
-
Less
More
- Posts: 287
- Thank you received: 24
02 Apr 2025 22:53 #325558
by langdons
Replied by langdons on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
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.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 335
- Thank you received: 129
02 Apr 2025 23:59 #325562
by unknown
Replied by unknown on topic PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
First thing you need to do is get the pci_id.
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.
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.
- Configuring LinuxCNC
- Advanced Configuration
- PCIe - No parport registered at "0x " . This is not Always an error.Continuing.
Time to create page: 0.094 seconds