Parallel Port Tester
- shortcircuit48
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
27 Aug 2020 15:01 #179691
by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
Yes. Have just this moment installed Mint 20 and now going to follow procedure to install.
Thanks will keep you updated
Thanks will keep you updated
Please Log in or Create an account to join the conversation.
- shortcircuit48
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
27 Aug 2020 15:39 #179697
by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
That is Linuxcnc now running on Mint 20 which was no bother to install following instructions. Unfortunately I still can not get ptest to work as it still cant find port. Ahead but no further forward.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5008
- Thank you received: 1441
27 Aug 2020 15:44 #179698
by Todd Zuercher
Replied by Todd Zuercher on topic Parallel Port Tester
If your pc only has 1 parallel port, have you tried just using the line
Or if you have 2 ports you might need to useto access the "other" port.
loadrt hal_parport cfg="0"
Or if you have 2 ports you might need to use
loadrt hal_parport cfg="1"
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5008
- Thank you received: 1441
27 Aug 2020 15:49 #179699
by Todd Zuercher
Replied by Todd Zuercher on topic Parallel Port Tester
What does the following command show at a command line?
cat /proc/ioports |grep parport
Please Log in or Create an account to join the conversation.
- shortcircuit48
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
27 Aug 2020 16:13 #179702
by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
Only have one parallel port
~$ loadrt hal_parport cfg="0"
bash: loadrt: command not found
hamish@hamish-HP-500B-Microtower:~$ sudo loadrt hal_parport cfg="0"
[sudo] password for hamish:
sudo: loadrt: command not found
hamish@hamish-HP-500B-Microtower:~$ cat /proc/ioports |grep parport
hamish@hamish-HP-500B-Microtower:~$
Looks like I have a problem with commands. Will look in "packages"?
~$ loadrt hal_parport cfg="0"
bash: loadrt: command not found
hamish@hamish-HP-500B-Microtower:~$ sudo loadrt hal_parport cfg="0"
[sudo] password for hamish:
sudo: loadrt: command not found
hamish@hamish-HP-500B-Microtower:~$ cat /proc/ioports |grep parport
hamish@hamish-HP-500B-Microtower:~$
Looks like I have a problem with commands. Will look in "packages"?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19336
- Thank you received: 6474
27 Aug 2020 20:54 #179739
by tommylight
Did you try lspci -v on Mint 20?
Replied by tommylight on topic Parallel Port Tester
That means no parallel port !hamish@hamish-HP-500B-Microtower:~$ cat /proc/ioports |grep parport
hamish@hamish-HP-500B-Microtower:~$
Did you try lspci -v on Mint 20?
Please Log in or Create an account to join the conversation.
- shortcircuit48
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
27 Aug 2020 23:59 #179759
by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
I have reinstalled Mint 20 and have as yet to install cnc. From lspci -v I get
03:04.0 Parallel controller: Device 1c00:2170 (rev 0f) (prog-if 01 [BiDir])
Subsystem: Device 1c00:2170
Flags: medium devsel, IRQ 10
I/O ports at ec00
I/O ports at e880
Which suggest there is a parport.
Will try later today. Thanks
03:04.0 Parallel controller: Device 1c00:2170 (rev 0f) (prog-if 01 [BiDir])
Subsystem: Device 1c00:2170
Flags: medium devsel, IRQ 10
I/O ports at ec00
I/O ports at e880
Which suggest there is a parport.
Will try later today. Thanks
Please Log in or Create an account to join the conversation.
- shortcircuit48
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
28 Aug 2020 09:25 #179796
by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
I cleaned system out and installed Mint 20 Ulyana along with 2.8test, which appear ok. Latency test has come down but appears a bit high.
I have run the parport tester but it still fails to find port with
Note: Using POSIX realtime
config string '0xec00 out'
Linux parallel port @60416 not found
When I run lspci - vv I get
03:04.0 Parallel controller: Device 1c00:2170 (rev 0f) (prog-if 01 [BiDir])
Subsystem: Device 1c00:2170
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at ec00
Region 1: I/O ports at e880
Does this suggest I do have a parport?
Thanks for help
I have run the parport tester but it still fails to find port with
Note: Using POSIX realtime
config string '0xec00 out'
Linux parallel port @60416 not found
When I run lspci - vv I get
03:04.0 Parallel controller: Device 1c00:2170 (rev 0f) (prog-if 01 [BiDir])
Subsystem: Device 1c00:2170
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at ec00
Region 1: I/O ports at e880
Does this suggest I do have a parport?
Thanks for help
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19336
- Thank you received: 6474
28 Aug 2020 11:41 #179819
by tommylight
'0 out'
instead of the port address, then if that does not work try
config string '0xe880 out'
Restart the PC between tries.
Replied by tommylight on topic Parallel Port Tester
tryconfig string '0xec00 out'
Region 0: I/O ports at ec00
Region 1: I/O ports at e880
'0 out'
instead of the port address, then if that does not work try
config string '0xe880 out'
Restart the PC between tries.
Please Log in or Create an account to join the conversation.
- shortcircuit48
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
28 Aug 2020 13:02 #179827
by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
When I used"0 out" I now get
Note: Using POSIX non-realtime
config string '0 out'
Linux parallel port #0 not found
hal_parport: rtapi_app_main: No such file or directory (-2)
ptest.hal:1: waitpid failed /usr/bin/rtapi_app hal_parport
ptest.hal:1: /usr/bin/rtapi_app exited without becoming ready
ptest.hal:1: insmod for hal_parport failed, returned -1
halcmd:
Using"0xe880" was as previously listed
Note: Using POSIX non-realtime
config string '0 out'
Linux parallel port #0 not found
hal_parport: rtapi_app_main: No such file or directory (-2)
ptest.hal:1: waitpid failed /usr/bin/rtapi_app hal_parport
ptest.hal:1: /usr/bin/rtapi_app exited without becoming ready
ptest.hal:1: insmod for hal_parport failed, returned -1
halcmd:
Using"0xe880" was as previously listed
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds