Mint 20 problem, looks like not the right kernel

More
25 Feb 2023 12:41 #265322 by sajurcaju
Replied by sajurcaju on topic Mint 20 problem, looks like not the right kernel
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 or Create an account to join the conversation.

More
25 Feb 2023 13:32 #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 or Create an account to join the conversation.

More
25 Feb 2023 13:36 #265330 by sajurcaju
Replied by sajurcaju on topic Mint 20 problem, looks like not the right kernel
My last post on the previous page shows my lspci

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

More
25 Feb 2023 13:43 #265331 by sajurcaju
Replied by sajurcaju on topic Mint 20 problem, looks like not the right kernel
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 or Create an account to join the conversation.

More
25 Feb 2023 20:19 #265342 by andypugh
Does it also say "This is not necessarily an error"?

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

More
25 Feb 2023 20:22 #265344 by sajurcaju
Replied by sajurcaju on topic Mint 20 problem, looks like not the right kernel
Yes. If there is a way to proceed, that will be great. I'm at a loss.

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

More
25 Feb 2023 20:37 #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 or Create an account to join the conversation.

More
25 Feb 2023 21:37 #265356 by sajurcaju
Replied by sajurcaju on topic Mint 20 problem, looks like not the right kernel
I'm out of time this evening, unfortunately. Will update tomorrow, and thanks.

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

More
25 Feb 2023 22:16 #265360 by sajurcaju
Replied by sajurcaju on topic Mint 20 problem, looks like not the right kernel
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
The following user(s) said Thank You: tommylight

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

Time to create page: 0.059 seconds
Powered by Kunena Forum