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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
03 Apr 2025 17:54 #325634 by tommylight
I do not mind as it is now.
The following user(s) said Thank You: ContinenteCNC

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

More
03 Apr 2025 21:35 #325643 by unknown
A switch when loading the driver regarding the message, have the message on for debugging and another to just log the message ?

Honestly, as I said in my first post is it that hard to click on the message or just leave it popped up ?

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

More
04 Apr 2025 19:14 #325705 by andypugh
Maybe:
"If this message annoys you, add --nocheck to the loadrt hal_parport line"
The following user(s) said Thank You: tommylight, ContinenteCNC, unknown

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

More
04 Apr 2025 20:37 #325714 by unknown
The following user(s) said Thank You: ContinenteCNC

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

More
04 Apr 2025 20:45 #325715 by ContinenteCNC
I have one more question about this issue recognizing Sunix cards.

So, let's assume these cards are not being automatically recognized as parallel ports because they are not listed as such in kernel.

How is this information stored in kernel? Is it hardcoded?

I know this isn't a issue that deservs so much talk, but if all it takes is someone to code it and ask a pull request to kernel I would love to do this work.

There are also some cards that load parport_serial driver instead of parport_pc. If this is the case I think that would be a coding I could do.

Again, not a big of a deal, but I would like to help and this seem to match my skills.

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

More
04 Apr 2025 20:59 #325716 by andypugh

How is this information stored in kernel? Is it hardcoded?

LinuxCNC works with the parport_pc kernel driver. (previous to this you had to blacklist parport_pc).
This means that you can refer to parport0 and parport1, as enumerated by parport_pc, though I am not sure that many do. 

So the problem is somewhere in parport_pc. 

github.com/torvalds/linux/blob/master/dr...parport/parport_pc.c (maybe)
The following user(s) said Thank You: ContinenteCNC

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

More
04 Apr 2025 21:02 #325717 by ContinenteCNC
Thanks Andy!

I'll give it a go.

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

More
04 Apr 2025 23:22 #325722 by unknown
For the sunix cards that use parport_serial you need to look here for the list of devices.
github.com/torvalds/linux/blob/master/dr...ort/parport_serial.c

But notice that the driver code used is different depending on kernel version. As I linked to before here.
linux-hardware.org/?id=pci:1fd4-1999-1fd4-0100

Use this page to search by PCI ID to see what drivers match what card.
linux-hardware.org/?view=search

Driver matching & Loading (binding)
docs.kernel.org/driver-api/driver-model/binding.html
The following user(s) said Thank You: ContinenteCNC

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

More
05 Apr 2025 01:21 #325731 by ContinenteCNC

For the sunix cards that use parport_serial you need to look here for the list of devices.
github.com/torvalds/linux/blob/master/dr...ort/parport_serial.c

But notice that the driver code used is different depending on kernel version. As I linked to before here.
linux-hardware.org/?id=pci:1fd4-1999-1fd4-0100

Use this page to search by PCI ID to see what drivers match what card.
linux-hardware.org/?view=search

Driver matching & Loading (binding)
docs.kernel.org/driver-api/driver-model/binding.html


Wow! Thank you very much!

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

Time to create page: 0.079 seconds
Powered by Kunena Forum