Parallel Port Tester

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

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

More
6 years 6 months ago #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:
Code:
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]

File Attachment:

File Name: ptest.hal
File Size:2.3 KB

File Attachment:

File Name: ptest.xml
File Size:13.44 KB

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

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

More
6 years 2 months ago - 6 years 2 months ago #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
    Last edit: 6 years 2 months ago by shortcircuit48.

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

    Time to create page: 0.329 seconds
    Powered by Kunena Forum