4th axis angular need help from newbie!!!

More
22 Feb 2015 00:39 #56194 by libas77
Sorry, the file is attached
Attachments:

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

More
22 Feb 2015 01:21 #56195 by ArcEye
Hi

The problem is your parport

lp, ppdev and parport_pc seem to be loaded, preventing hal_parport from claiming it

I have seen quite a few problems with Wheezy doing this recently

[ 10.779056] lp: driver loaded but no devices found
[ 11.081759] parport_pc 00:07: reported by Plug and Play ACPI
[ 11.081868] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[ 11.168530] lp0: using parport0 (interrupt-driven).
[ 11.175093] ppdev: user-space parallel port driver

[ 104.835739] parport0: lp tried to release parport when not owner
[ 104.839442] parport0: lp tried to release parport when not owner

[ 284.036755] config string '0x378 out '
[ 284.036776] PARPORT: ERROR: port parport0 claim failed


Do a lsmod in a terminal, which should show
parport
lp
ppdev
parport_pc

all loaded

You need to unload 3 of them by
sudo rmmod parport_pc
sudo rmmod ppdev
sudo rmmod lp

in that order probably

Then hopefully your config will load.

Then go to /etc/modprobe.d
create a file called linuxcnc.conf

In it put the lines
blacklist lp
blacklist ppdev
blacklist parport_pc


That should prevent them being loaded again at next boot

If for some reason parport does not get loaded at boot with the other modules missing, open /etc/modules
and insert the line
parport

regards

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

More
22 Feb 2015 17:54 #56213 by libas77
Thanks, I will test it. Yesterday I realised, after restart linux everything was ok, I could start linuxcnc again. After every change in .ini or .hal file I was force to restart linux. It was short term fix.
Now I am struggling with limit and home position. Don't really work. :angry:

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

Time to create page: 0.111 seconds
Powered by Kunena Forum