XHC-HB04 wireless MPG pendant HAL module

More
13 years 1 month ago #39423 by rmagnus
Dear Frederic

THANK YOU for this cool way to control our CNC machines!

I have followed all your instructuions

The make and make install did not work so I kept reading the forum.

but got stuck when installing linuxcnc-dev

I get the error

E:couldn“t find package linuxcnc-dev

PLEASE HELP!!!!

THANK YOU

Sincerely

Rodolfo Magnus

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

More
13 years 1 month ago #39430 by rmagnus
Hello again

At the synaptic package manager I changed the two base emc2.4 for base linuxcnc2.5 and installed linuxcnc-dev

The I managed to run make and make install at the directory where I unpacked your module files.

It ran withour trouble or complaint.

But now I cannot run linuxcnc. It crashes with the following error

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

More
13 years 1 month ago #39431 by rmagnus
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.3
Machine configuration directory is '/home/probotix/emc2/configs/Comet'
Machine configuration file is 'Comet.ini'
INIFILE=/home/probotix/emc2/configs/Comet/Comet.ini
PARAMETER_FILE=emc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1474
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Unrecognized line skipped: POC FMS LEN DIAM COMMENT
Comet.hal:3: Warning: File contains DOS-style line endings.
No input devices could be opened. This usually indicates a misconfigured
system. Please read the section 'PERMISSIONS AND UDEV' in the hal_input
manpage
Comet.hal:14: hal_input exited without becoming ready
1474
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 35.470172] I-pipe: Domain RTAI registered.
[ 35.470187] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 35.470192] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 35.470311] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 35.470317] PIPELINE layers:
[ 35.470322] f8dc5e20 9ac15d93 RTAI 200
[ 35.470327] c085cb20 0 Linux 100
[ 35.516355] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 35.516879] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 35.516895] RTAI[sched]: hard timer type/freq = APIC/12468620(Hz); default timing: periodic; linear timed lists.
[ 35.516906] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1795410000 hz.
[ 35.516914] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 35.517047] RTAI[usi]: enabled.
[ 35.583565] RTAI[math]: loaded.
[ 35.790415] config string '0x378'
[ 37.386277] RTAI[math]: unloaded.
[ 37.434088] SCHED releases registered named ALIEN RTGLBH
[ 37.497500] RTAI[malloc]: unloaded.
[ 37.596066] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 37.600606] I-pipe: Domain RTAI unregistered.
[ 37.600747] RTAI[hal]: unmounted.

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

More
13 years 1 month ago #39432 by rmagnus
Now I am panicking! I have work to do and I cannot use my CNC machine!!!!

HELP PLEASE!!!!

THANK YOU!

SIncerely
Rodolfo

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

More
13 years 1 month ago #39434 by cncbasher
your problem is here

Unrecognized line skipped: POC FMS LEN DIAM COMMENT
Comet.hal:3: Warning: File contains DOS-style line endings.
No input devices could be opened. This usually indicates a misconfigured
system. Please read the section 'PERMISSIONS AND UDEV' in the hal_input
manpage
Comet.hal:14: hal_input exited without becoming ready
1474

have you been editing your hal files etc using windows ?
easy way to solve is open the file in gedit then go to save as , you will find an option to change line endings from windows to Unix/Linux ( bottom right )

this is a common problem with files when editing under windows or transfering from a windows machine using email etc
so always check using gedit and re-save will fix it
The following user(s) said Thank You: rmagnus

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

More
13 years 1 month ago #39437 by andypugh

rmagnus wrote: Now I am panicking! I have work to do and I cannot use my CNC machine!!!!


A major change between version 2.4 and 2.5 was that there was a name-change from emc2 to linuxcnc.

You need to make sure that you have followed all the steps here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5

hal_input gives different names to some buttons in 2,5, ( HAL_INPUT - pin name changed eg. input.0.btn.trigger should be renamed to input.0.btn.joystick)
But it doesn't look like you are getting that far.

Thinking about it, I think I have had exactly the the same error and the cause was unexpectedly simple, I had unplugged the joystick to plug in a USB drive
The following user(s) said Thank You: rmagnus

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

Time to create page: 0.070 seconds
Powered by Kunena Forum