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

More
1 year 6 months ago #325634 by tommylight

Please Log in to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

More
1 year 6 months ago #325705 by andypugh
Maybe:
"If this message annoys you, add --nocheck to the loadrt hal_parport line"

Please Log in to join the conversation.

More
1 year 6 months ago #325714 by unknown

Please Log in to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

More
1 year 6 months ago #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)

Please Log in to join the conversation.

More
1 year 6 months ago #325717 by ContinenteCNC

Please Log in to join the conversation.

More
1 year 6 months ago #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

Please Log in to join the conversation.

More
1 year 6 months ago #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 to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum