[SOLVED] get to work an old stepper_mm machine

More
1 year 10 months ago #317140 by cromlin
Hello. I've been using linuxcnc from emc2 until 2019. now I have to restore my old machine. I cut foam. I installed 2.7.4 old distro but cannot get it to work. I saved old config files, try to use them but cannot get to work.
as far as I remember I only changed standart_pinout and that's all. Motors are connected and I cannot rotate them by hand, but cannot remember what should I do more.
from default
net Xstep => parport.0.pin-03-out
net Xdir  => parport.0.pin-02-out
net Ystep => parport.0.pin-05-out
net Ydir  => parport.0.pin-04-out
to
net Xstep => parport.0.pin-02-out
net Xdir  => parport.0.pin-03-out
net Ystep => parport.0.pin-04-out
net Ydir  => parport.0.pin-05-out.
I remember I inverted them with
setp parport.0.pin-03-out-invert 1
but it doesn't help also.
machine is very simple stepper_mm with parport.
it seems something simple but I cannot remember. please help if possible.

edit: I started Stepper Configuration Wizard and remembered that machine is based on L297.
then I tried cat /proc/ioports and lspci -v but haven't found anything 0378-037a or 278: is it possible my parallel port is dead or maybe wheezy didn't install driver for it? maybe try buster.
edit: BIOS says parport is 378, irq7.
EDIT: holy moses! i lurked linuxcnc forums and somehow from other topics found something "holds" or uses parport. then after
Code:
sudo rmmod ppdev sudo rmmod lp
parport "freed" and motors began to move. thanks to linuxcnc.
I leave this thread in case if someone will be also googling similar problem.

Please Log in to join the conversation.

More
1 year 9 months ago #318065 by tommylight
Thank you for reporting back with the solution.

Please Log in to join the conversation.

Time to create page: 0.825 seconds
Powered by Kunena Forum