Parallel Port Tester

More
7 years 1 month ago - 7 years 1 month ago #143917 by jensor
Replied by jensor on topic Parallel Port Tester
How would ptest.hal be modified to test an parallel port card.
from lspci -v I have:
07:04.0 Communication controller: NetMos Technology PCI 9815 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic 2P0S (2 port parallel adaptor)
Flags: medium devsel, IRQ 20
I/O ports at 1110
I/O ports at 1118
I/O ports at 1120
I/O ports at 1128
I/O ports at 1130
I/O ports at 1100
Kernel driver in use: parport_pc

In ptest.hal i tried changing
loadrt hal_parport cfg="0x378 out"
to:
loadrt hal_parport cfg="0x1110 out"
and then
loadrt hal_parport cfg="0x1120 out"
and got no response with the tester with either of those addresses.
The port tester worked fine with the 0x378 address for the on-board port.
Last edit: 7 years 1 month ago by jensor. Reason: add information.

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

More
7 years 1 month ago - 7 years 1 month ago #143967 by Todd Zuercher
Replied by Todd Zuercher on topic Parallel Port Tester
That is what you have to do. But you may need to try all of the addresses listed to find the one that works. (My money is on 1128.)
Last edit: 7 years 1 month ago by Todd Zuercher.

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

More
6 years 11 months ago #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.

More
6 years 11 months ago #149742 by Todd Zuercher
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.

More
6 years 11 months ago #149750 by tommylight
Replied by tommylight on topic Re:Parallel Port Tester
Outputs and inputs can be added to Axis screen.

Lower right side has outputs 2 to 7 with respective LED's for monitoring purposed, although the update is slow.
Same can be done with inputs.
Note that you can not control outputs from their buttons near the LED.

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

More
6 years 11 months ago #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.

Time to create page: 0.313 seconds
Powered by Kunena Forum