Paralell port problems SOLVED!

More
10 years 7 months ago #71646 by andypugh
I have a feeling that parport_pc is _required_ to use the 0,1,2 index addressing.

linuxcnc.org/docs/2.7/html/hal/parallel-port.html#_loading

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

More
10 years 7 months ago #71648 by gizmo6023

andypugh wrote: I have a feeling that parport_pc is _required_ to use the 0,1,2 index addressing.

linuxcnc.org/docs/2.7/html/hal/parallel-port.html#_loading


Does the step config wizzard set these values some place I can verify them?
loadrt hal_parport cfg="configuration string"
loadrt hal_parport cfg="0"
loadrt hal_parport cfg="0x378"
loadrt hal_parport cfg="0 in"
addf parport.0.read base-thread
addf parport.0.write base-thread

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

More
10 years 7 months ago #71654 by andypugh

gizmo6023 wrote: Does the step config wizzard set these values some place I can verify them?


Yes, absolutely.

Stepconf is just a utility that creates a HAL and an INI file. These two files are human-readable and human-editable, and you should expect to have to do so for anything other than a very conventional machine setup.

If you look at the .hal file in the configuration directory that stepconf creates you should be able to see all the parport-related commands.

You might find that it references data in the .ini file, in the format [SECTION]VALUE

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

More
10 years 7 months ago #71666 by gizmo6023
Success!
I finally stumbled across the solution, my system does not like the parport index numbers for some reason and providing the hex address for the first port got that one working. There seems to be a change on the parport 2 setup screen, there used to be a label for the address now it is an unlabeled box with index # 1 inserted by default. I finally decided to try plugging the hex address for port 2 in and now it works as advertised.
Perhaps a label will save some one else some aggravation if things don't just work automatically.

Thanks for all the help andypugh

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

Time to create page: 0.101 seconds
Powered by Kunena Forum