Unable to update parport in hal

More
7 years 5 months ago #133696 by phoenix
Whenever i try to update my parport 0x378 in.
__. Hal file it shows error when starting axis

Please Log in to join the conversation.

More
7 years 5 months ago #133698 by pl7i92
hi 0x378 is out
Code:
loadrt hal_parport cfg="0x378 out" setp parport.0.reset-time 6000 loadrt stepgen step_type=0,0,0

Please Log in to join the conversation.

More
7 years 5 months ago #133699 by pl7i92
please check with a terminal if it response as you like
also adress and configuration EPP ECP
dmesg | grep parpo*
[ 18.197034] parport_pc 00:01: reported by Plug and Play ACPI
[ 18.197109] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[ 18.292110] lp0: using parport0 (interrupt-driven).

Please Log in to join the conversation.

More
7 years 5 months ago #133704 by phoenix
I tried this but whenever i change parport from 0 to 0x378 axis shows an error
Also do i need to change step type from 0, 0,0


Cause it showing only direction signals on parellal port steps not shown

Please Log in to join the conversation.

More
7 years 5 months ago #133708 by phoenix
Do i need to make any changes on this file

Please Log in to join the conversation.

  • InMyDarkestHour
  • New Member
  • New Member
More
7 years 5 months ago #133734 by InMyDarkestHour
Replied by InMyDarkestHour on topic Unable to update parport in hal
Go here
linuxcnc.org/docs/

Pick you version
And read the docs.

Please Log in to join the conversation.

More
7 years 5 months ago #134289 by andypugh

Bhushan wrote: Whenever i try to update my parport 0x378 in.
__. Hal file it shows error when starting axis


The parport address is what it is, you can't change it.

So, first, find out where the parport is, then use that address.

Please Log in to join the conversation.

More
7 years 5 months ago #134294 by cmorley
What was wrong with 0 for the parport address?
linux should designate the first found parport as 0.

Also mentioning the actual error message would be helpful.
Sometimes the error is something besides what it seems.

Chris M

Please Log in to join the conversation.

Time to create page: 0.185 seconds
Powered by Kunena Forum