Parallel Port Tester
06 Nov 2019 13:43 #149713
by ytiuqibu
Replied by ytiuqibu on topic Re:Parallel Port Tester
Can this be incorporated into the Axis UI? When we run it and then start Axis the tester disappears.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
06 Nov 2019 18:42 #149742
by Todd Zuercher
Replied by Todd Zuercher on topic Re:Parallel Port Tester
Not really, any hal pins for the parallel port that are used in your cnc config interfear with their use in the parallel port tester.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
06 Nov 2019 21:06 #149750
by tommylight
Replied by tommylight on topic Re:Parallel Port Tester
Attachments:
Please Log in or Create an account to join the conversation.
06 Nov 2019 22:42 #149766
by ytiuqibu
Replied by ytiuqibu on topic Re:Parallel Port Tester
Thanks - that makes sense
Please Log in or Create an account to join the conversation.
06 Nov 2019 22:43 #149767
by ytiuqibu
Replied by ytiuqibu on topic Re:Parallel Port Tester
Thanks I will try to get my head around how to make changes to the Axis UI
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
06 Nov 2019 22:45 #149768
by tommylight
Replied by tommylight on topic Re:Parallel Port Tester
www.google.com/search?source=hp&ei=uUzDX...a7DFcQ4dUDCAU&uact=5
First 3 results have everything.
First 3 results have everything.
Please Log in or Create an account to join the conversation.
07 Nov 2019 12:02 #149841
by ytiuqibu
Replied by ytiuqibu on topic Re:Parallel Port Tester
Thanks - will have a good look at those soon.
Please Log in or Create an account to join the conversation.
- radek_marko
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 18
11 Apr 2020 16:44 #163637
by radek_marko
Replied by radek_marko on topic Parallel Port Tester
This is my version of parallel port tester for dual-port setup.
In my case, I have one LPT port onboard (address 0x278) and the second is on PCI card reported as:
In my case, I have one LPT port onboard (address 0x278) and the second is on PCI card reported as:
lspci -v
02:02.0 Parallel controller: Device 1c00:2170 (rev 0f) (prog-if 01 [BiDir])
Subsystem: Device 1c00:2170
Flags: medium devsel, IRQ 11
I/O ports at bc00 [size=8]
I/O ports at b800 [size=8]
Attachments:
Please Log in or Create an account to join the conversation.
12 Apr 2020 13:41 #163757
by jensor
Replied by jensor on topic Parallel Port Tester
Sorry I never got back on this . I later discovered that there was an internal patch cable failure (one pin was open) connecting the adapter card to the connector on the rear of the chassis. Cable had worked fine for years and suddenly failed intermittently at first. Pulled my hair out on this one - I would replace the board with a new one without also changing the patch cable. Duh! The original board was working fine.
Please Log in or Create an account to join the conversation.
- shortcircuit48
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
20 Aug 2020 20:05 - 20 Aug 2020 20:05 #178862
by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
I hope you can bear with me. I spent hours just trying to load Linuxcnc and went round in circle due to my own stubbornness however will now ask quicker.
I modified line1 by replacing 0x378 with 0xdcb which I think is my parallel port address. When i run ptest I get
"halrun -I -f ptest.hal
Refusing to run as root without fallback UID specified
To run under a debugger with I/O, use e.g.,
sudo env RTAPI_UID=`id -u` RTAPI_FIFO_PATH=$HOME/.rtapi_fifo gdb /usr/bin/rtapi_app
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: exit
Refusing to run as root without fallback UID specified
To run under a debugger with I/O, use e.g.,
sudo env RTAPI_UID=`id -u` RTAPI_FIFO_PATH=$HOME/.rtapi_fifo gdb /usr/bin/rtapi_app
Is there something elseI need to change. Thanks in advance
I modified line1 by replacing 0x378 with 0xdcb which I think is my parallel port address. When i run ptest I get
"halrun -I -f ptest.hal
Refusing to run as root without fallback UID specified
To run under a debugger with I/O, use e.g.,
sudo env RTAPI_UID=`id -u` RTAPI_FIFO_PATH=$HOME/.rtapi_fifo gdb /usr/bin/rtapi_app
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: exit
Refusing to run as root without fallback UID specified
To run under a debugger with I/O, use e.g.,
sudo env RTAPI_UID=`id -u` RTAPI_FIFO_PATH=$HOME/.rtapi_fifo gdb /usr/bin/rtapi_app
Is there something elseI need to change. Thanks in advance
Last edit: 20 Aug 2020 20:05 by shortcircuit48.
Please Log in or Create an account to join the conversation.
Time to create page: 0.116 seconds