Testing add on PCI PP, how do I know if it's working properly in test/demo mode?

More
4 years 5 months ago - 4 years 5 months ago #242655 by Kilohertz
Yes it’s working with the original card that I bought a few weeks ago WC3510, At least it’s loading up the little LEDs on the test panel on the screen with halrun.

Cheers

ps is HALrun a LinuxCNC thing or just Linux thing?
Last edit: 4 years 5 months ago by Kilohertz.

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

More
4 years 5 months ago #242685 by tommylight
The following user(s) said Thank You: Kilohertz

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

More
4 years 5 months ago #242806 by Kilohertz
So being the adventurous type I decided to switch computers and try the PCI card in another box, and I couldn’t get it to work this morning. This box doesn’t have an onboard parallel port, so I’m going to make it my research project while waiting for the new PCI card to arrive, to see if I can figure out why the card works on some motherboards and not others. Hopefully I’ll be able to contribute something to this forum now that I am quite in tune with this crazy Linux CNC thing ha ha.

Cheers
The following user(s) said Thank You: tommylight

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

More
4 years 5 months ago #242814 by Todd Zuercher
First suspect would probably be the PCI slots on the MB. They often get crudded up on older boards when not used for a long time. Dust them out well then, insert and remove a card wrapped with a sheet of paper a few times to remove the tarnish buildup on the pins in the slot. Reinsert the card and try again.
The following user(s) said Thank You: tommylight, Kilohertz

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

More
4 years 5 months ago - 4 years 5 months ago #242886 by Kilohertz
SUCCESS!  Again. image missing /media/kunena/emoticons/silly.png

I figured out what the problem was...in the file ptest.hal there is reference to the parallel port address which must match what the port is of your PP card, and I forgot to update that address in that file...jeeez. After I did that and ensured I loaded the correct port in halcmd, it worked on several MBs, both Wheezy and Deb10. One thing I noticed is that halcmd in Deb10 gives you an indication that something has happened, i.e. it says Using realtime POSIX or something like that, even though it says it didn't find the port, in Wheezy, there is absolutely no indication that you entered anything at the halcmd line, i.e. you enter the loadrt command and it just goes back to halcmd:  no response, even though it did load properly.

Here is the link to the PP tester and the test file I have been using, remember to change the loadrt address to  match the one in your computer. image missing /media/kunena/emoticons/laughing.png

Parallel Port tester

Cheers!
Last edit: 4 years 5 months ago by Kilohertz.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.070 seconds
Powered by Kunena Forum