Parport error in .hal killing CNC start-up

More
27 Jul 2020 18:08 - 27 Jul 2020 18:10 #176111 by vbigger
Good Morning,
After lots of troubleshooting, I'm still can't get LinuxCNC to open. Trying to control a Denford micromill modified with a CNC4PC parallel 's BoB following J.Summit's blog. Seems I'm having trouble with the onboard HP parallel port (0x378)? Tried assigning with several renditions of 0x378; 378; "378-37b in 37c-37f out"; 0x0378; ....

I'm a clueless Linux newbee.... but I've seen several problems solved when forum guru's look at the .hal or error code, so if you could check out mine, I would love to have your input. See attached.

File Attachment:

File Name: LinuxCNCErrorFile.txt
File Size:57 KB

File Attachment:

File Name: micromill.hal
File Size:3 KB

Thank ahead everyone!
Attachments:
Last edit: 27 Jul 2020 18:10 by vbigger. Reason: fixed attachment in middle of text

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

More
27 Jul 2020 18:22 - 28 Jul 2020 06:19 #176113 by Clive S
Is the port enabled in the bios?

and have you tried loadrt hal_parport cfg= "0 out "

Edited as Toms post
Last edit: 28 Jul 2020 06:19 by Clive S.

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

More
27 Jul 2020 18:32 #176118 by tommylight
Add this to the hal file and delete what you have there
loadrt hal_parport cfg="0 out"

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

More
27 Jul 2020 20:59 - 27 Jul 2020 21:01 #176148 by vbigger
Bios shows:
Serial port A 3F8-3FF, IRQ 4
Parallel port 378-37F, IRQ 7, DMA 3

loadrt parport_hal cfg= "0 out" show no apparent change, new error code and .hal attached

ALSO: I couldn't get steppers to move in stepconf

File Attachment:

File Name: 2ndmicromill.hal
File Size:3 KB

File Attachment:

File Name: 2LinucCNCerror.txt
File Size:54 KB
Attachments:
Last edit: 27 Jul 2020 21:01 by vbigger. Reason: added stepconf info

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

More
27 Jul 2020 21:52 - 27 Jul 2020 21:54 #176151 by PCW
You cannot have a space after the"=" in the cfg="0 out" token

halcmd: loadrt hal_parport cfg= "0 out"
Invalid parameter `0 out'

halcmd: loadrt hal_parport cfg="0 out"
config string '0 out'
Last edit: 27 Jul 2020 21:54 by PCW.

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

More
27 Jul 2020 22:33 #176155 by vbigger
Tthat worked; program opened.
Thank you PCW!

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

Time to create page: 0.158 seconds
Powered by Kunena Forum