Jon Elson
2017-03-05 19:47:06 UTC
Hello, all,
I'm working on the fix to the hal_ppmc driver discussed last
weekend. So, first is to install a developer clone of the
master 2.8.0~pre1 version. I did this, and found that some
things that worked before are broken.
First item is a loadrt command line option.
The command line (in univpwm_load.hal) is this :
loadrt hal_ppmc port_addr="0xecf8" timestamp="0x00"
And, I get this error :
Found file(REL): ./univpwm_load.hal
Note: Using POSIX realtime
timestamp=0x00: Invalid type character `*'
./univpwm_load.hal:13: waitpid failed
/home/elson/linuxcnc-2.8/bin/rtapi_app hal_ppmc
./univpwm_load.hal:13:
/home/elson/linuxcnc-2.8/bin/rtapi_app exited without
becoming ready
./univpwm_load.hal:13: insmod for hal_ppmc failed, returned -1
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more
information in the log:
/home/elson/linuxcnc_debug.txt
and
/home/elson/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in
the terminal
_______________________________
If I remove the timestamp="0x00" parameter from the command
line, the driver loads, and if I remove the hal code that
uses the pins exported by that option, then most of the
config seems to work. There is no asterisk character in the
command line, as the error line seems to suggest. The port
address parameter is working properly.
Anybody have any idea what is causing this error?
The other thing I observed is that the jog pendant does not
work, but keyboard jogging does work. I haven't done any
digging into why that might be.
Thanks,
Jon
I'm working on the fix to the hal_ppmc driver discussed last
weekend. So, first is to install a developer clone of the
master 2.8.0~pre1 version. I did this, and found that some
things that worked before are broken.
First item is a loadrt command line option.
The command line (in univpwm_load.hal) is this :
loadrt hal_ppmc port_addr="0xecf8" timestamp="0x00"
And, I get this error :
Found file(REL): ./univpwm_load.hal
Note: Using POSIX realtime
timestamp=0x00: Invalid type character `*'
./univpwm_load.hal:13: waitpid failed
/home/elson/linuxcnc-2.8/bin/rtapi_app hal_ppmc
./univpwm_load.hal:13:
/home/elson/linuxcnc-2.8/bin/rtapi_app exited without
becoming ready
./univpwm_load.hal:13: insmod for hal_ppmc failed, returned -1
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more
information in the log:
/home/elson/linuxcnc_debug.txt
and
/home/elson/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in
the terminal
_______________________________
If I remove the timestamp="0x00" parameter from the command
line, the driver loads, and if I remove the hal code that
uses the pins exported by that option, then most of the
config seems to work. There is no asterisk character in the
command line, as the error line seems to suggest. The port
address parameter is working properly.
Anybody have any idea what is causing this error?
The other thing I observed is that the jog pendant does not
work, but keyboard jogging does work. I haven't done any
digging into why that might be.
Thanks,
Jon