Mint 20 problem, looks like not the right kernel

More
3 years 8 months ago #265322 by sajurcaju
The problem is that when I am on the real-time kernel and type:
sudo cat /proc/ioports | grep parport
It only shows the motherboard port, the card is not identified and doesn't have an address for the parallel port. When I'm on the not-real-time kernel, both parallel ports show up with addresses.

I just tried putting the address for the card (from the not-real-time kernel) into my Stepconf. Trying to run the machine, it errors out, no parallel port found.

Please Log in to join the conversation.

More
3 years 8 months ago #265329 by andypugh
proc/ioports only ever shows motherboard ports, as far as I know.
You need lspci to see the PCI ports.

Please Log in to join the conversation.

More
3 years 8 months ago #265330 by sajurcaju
My last post on the previous page shows my lspci

Please Log in to join the conversation.

More
3 years 8 months ago #265331 by sajurcaju
I just tried all four addresses for the second parallel port:
0xccc0 0xcce0 0xccc8 0xccd0
Trying to run LinuxCNC, they all give the error:
No parport registered at <whichever address I'm trying>

Please Log in to join the conversation.

More
3 years 8 months ago #265342 by andypugh
Does it also say "This is not necessarily an error"?

Please Log in to join the conversation.

More
3 years 8 months ago #265344 by sajurcaju
Yes. If there is a way to proceed, that will be great. I'm at a loss.

Please Log in to join the conversation.

More
3 years 8 months ago #265348 by andypugh
Try the parallel port tester to see if you can drive outputs or read inputs.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Parallel_Port_Tester

Please Log in to join the conversation.

More
3 years 8 months ago #265356 by sajurcaju
I'm out of time this evening, unfortunately. Will update tomorrow, and thanks.

Please Log in to join the conversation.

More
3 years 8 months ago #265360 by sajurcaju
I'm less pressed for time than I thought.

Andy, I'm amazed and pleased. I can flip outputs in the tester (according to my meter) using the second address; I can also start gmoccapy without erroring out.
I could have gotten by on one parallel port, just barely. I had plans for every pin. Having a second port will help with future expansion.

Thanks to all who replied

Please Log in to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum