Error while opening Linuxcnc

More
26 Sep 2019 11:54 - 26 Sep 2019 12:09 #146247 by zbysiek12345
Hi!

This is my first post on forum.

I have LinuxCNC 2.7.14 on Debian, but I also need this on Ubuntu (Because of CAD/CAM software). So I install LinuxCNC 2.7.14 on Ubuntu Precise 12.04 x86 (32-bit) with the 3.4-9-rtai-686-pae RTAI kernel. Everything was seems to be fine, LinuxCNC opening on sample configs, but I can't figure out why he doesn't on my machine configuration.

This is my error log:

Warning: Spoiler!


So I try to install it in run in place way. Then I got this error in my linuxcnc_debug and linuxcnc_print files:

Warning: Spoiler!


Warning: Spoiler!


EDIT:Ok so in rip installation error occurred because config was made for 2.7.14 and rip is in 2.8. So somebody have an idea why in normal installation I have problem?
Last edit: 26 Sep 2019 12:09 by zbysiek12345.

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

More
26 Sep 2019 12:16 #146249 by tommylight
There is an incorrect symbol in the ini file before coordinates, it should be ' same as after it.

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

More
26 Sep 2019 14:03 #146261 by pl7i92
Replied by pl7i92 on topic Error while opening Linuxcnc
at the kinetics if you go for standard XYZ you can leve the coordinates unacount

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

More
27 Sep 2019 08:37 - 27 Sep 2019 08:42 #146351 by zbysiek12345
I was need to add my parrel port on my PCI card manually.

For others with similar problem:

lspci -v

search your parrrel port card. In my case was named "Serial controller: Device 1c00:3250"
REMEMBER adresses on I/O ports and IRQ number. I have here two adresses but only one was correct
so if in first try it won't be working try with other.

edit this file with sudo, I use vim.

sudo vi /etc/modprobe.d/alsa-base.conf

add this:

# LPC parport to PCI-E card
alias parport_low level parport_pc
options parport_pc io=0xe100 irq=16,auto

this is my config. You probably have diffrent adress and irq.
Change it with remembered one from your card.

sudo reboot

now in dev directory you should have file parport0. number depends of parrel ports you have/add.

Go to your machine config and find file "myconfig.hal" (example, I don't know how you name your canfiguration ) and find:

loadrt hal_parport cfg="0xe100 out"

"0xe100" is my card adress. write here your and save.
Last edit: 27 Sep 2019 08:42 by zbysiek12345.

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

More
27 Sep 2019 10:58 #146364 by pl7i92
Replied by pl7i92 on topic Error while opening Linuxcnc
you can also use a terminal to get your adress
type
dmesg | grep parpo*

respond looks like
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]

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

Time to create page: 0.148 seconds
Powered by Kunena Forum