×
Test (Today)

test of forum features

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

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: 1.607 seconds
Powered by Kunena Forum