Parallel Port Tester

More
20 Aug 2020 20:23 #178872 by tommylight
Replied by tommylight on topic Parallel Port Tester

Refusing to run as root without fallback UID specified

Why are you running as root ?

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

More
20 Aug 2020 22:46 #178882 by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
Not sure why. I have managed to get ptest to work and it outputs
Note: Using POSIX realtime
config string '0xdcb0 out'
Linux parallel port @56496 not found
halcmd:
When I do lspci I get
03:01.0 Parallel controller: Device 1c00:2170 (rev 0f)
03:02.0 Parallel controller: Device 1c00:2170 (rev 0f)
which I have assumed that as I have two cards in that I should have a parallel port.
Will look to see if I have the correct port address .I also had thgis
3:01.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 dca0
Region 1: I/O ports at dca8
Thanks again

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

More
21 Aug 2020 06:13 #178899 by tommylight
Replied by tommylight on topic Parallel Port Tester

config string '0xdcb0 out'
Linux parallel port @56496 not found
.......
Region 0: I/O ports at dca0
Region 1: I/O ports at dca8

The address has changed to dca0.
That will happen as the assignment of resources in BIOS is set to Auto, so check if the BIOS has such a setting and set it to manually assign them.

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

More
21 Aug 2020 06:35 - 21 Aug 2020 06:47 #178902 by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
"Why are you running as root ?"

When I used Nano I had to go into su to save file and should have come out back into where ptest is

Modified file today and ran ptest and got
hamish@Hamish:~/Downloads$ halrun -I -f ptest.hal
Note: Using POSIX realtime
config string '0xdca0 out'
Linux parallel port @56480 not found

"That will happen as the assignment of resources in BIOS is set to Auto, so check if the BIOS has such a setting and set it to manually assign them. " Thats today occupied once I figure out but ???
Last edit: 21 Aug 2020 06:47 by shortcircuit48.

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

More
21 Aug 2020 07:02 #178903 by tommylight
Replied by tommylight on topic Parallel Port Tester
Try
dca8

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

More
21 Aug 2020 07:56 - 21 Aug 2020 11:28 #178909 by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
Before I go any further on another wild goose chase i have found the following
1 I can run the latency test on its own and its about 50000, however I cannot abuse the system as nothing will load.
2 I can open my browser and then launch the latency test and I loose control as mouse darts all over the place
3 I am using an old Dell Dimension 3100 and when I look at the Linuxcnc section "Hardware that works" it indicates ""No Built in Serial or Parallell Ports!!!"
In view of the above am I wasting my time with the Dell and if so any recommendations as to which hardware to get?
Thanks

I can get a refurbished unit off ebay for way under £50
Last edit: 21 Aug 2020 11:28 by shortcircuit48.

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

More
21 Aug 2020 13:18 #178920 by tommylight
Replied by tommylight on topic Parallel Port Tester
That is old, so most of the issues are due to very limited RAM memory.
As for the parallel port, just have a look on the back side, there should be a female DB25 connector, violet colour, it is the biggest connector on the back.

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

More
21 Aug 2020 13:56 #178921 by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
Yes , there was one card and I added another, neither of which were violet in colour. I think I will look for a replacement either new or from ebay. I have noted a thread on this topic and will now read through it. I did increase RAM but will find out to what.

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

More
27 Aug 2020 10:49 - 27 Aug 2020 12:43 #179678 by shortcircuit48
Replied by shortcircuit48 on topic Parallel Port Tester
Back again. I now have a HP 500B MT desktop. My first problem came as it only had one port able to take the parallel port card and this was occupied by an Ethernet card even although there was an onboard Ethernet connection. After much trial and error freed up the port and internet now connected to onboard. Parallel port card now fitted and if enter lspci --vv the card appears with port reference. I change the reference in the tester but port is not found when attempting to run.

Screen shot

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



hamish@debian:~/Downloads$ halrun -I -f ptest.hal
Note: Using POSIX realtime
config string '0xec00 out'
Linux parallel port @60416 not found

I am sure it must be simple but any advise would be appreciated.
Last edit: 27 Aug 2020 12:43 by shortcircuit48.

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

More
27 Aug 2020 14:35 #179688 by Todd Zuercher
Replied by Todd Zuercher on topic Parallel Port Tester
Did you try it with the 0xe880 address?

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

Time to create page: 0.092 seconds
Powered by Kunena Forum