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

More
03 Apr 2025 09:07 #325596 by ContinenteCNC
6 AM, Tom   The sun is still sleeping.

Rob, great projects you've been working on! One day I will get there.

Guys, I will be right back in one or two days. I need to assist a client "two europe diameters" away from my place.

See you!
The following user(s) said Thank You: rodw

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

More
03 Apr 2025 13:17 #325615 by andypugh
The message is something that i introduced, and it means that the parport_pc kernel driver has not found the card. However that doesn't mean that the LinuxCNC driver won't work.
github.com/LinuxCNC/linuxcnc/commit/7bd5...dedfd986fb84f6a9c4a6
It's not easy to know what to do in this scenario. There needs to be some indication that there is not _necessarily_ a parport at the give address (but, also, there might be...)
The following user(s) said Thank You: tommylight

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

More
03 Apr 2025 14:59 #325622 by PCW
Rather than a pop-up error message, it seems this would better be just a message
in the log, so if you are trying to debug a parallel port issue, you get notified, but you don't
have a constant nuisance alarm when things are OK.
The following user(s) said Thank You: tommylight

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

  • 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:33 #325642 by langdons
I wasn't aware any log even existed.

Don't rely on logs, they are too often ignored and forgotten.

Prompts are good, but annoying.

Maybe the prompt could have a checkbox for "suppress this warning forever"

Maybe stepconf should just have a little checkbox that says "notify user if port not detected".

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
03 Apr 2025 22:03 #325647 by langdons
It gets annoying after the umpteenth time.

It's just a nuisance.

Like mosquitoes (where I live there's no malaria).

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.

Time to create page: 0.096 seconds
Powered by Kunena Forum