[Emc-developers] hal_parport.c read_all write_all

2020-02-20 Thread Thomas J Powderly

Does any one use the read_all or write_all functions of hal_parport?

from my copy of hal_parport.c

"""

// TJP i dont see parport.read_all or write_all used in ANY supplied 
parport hal cfgs
// TJP it seems parport.read_all and write_all were intended for a 
single pport

// TJP and parport.n.read_port. parport.b.write_port  were for multiple
// TJP confirmed, read_all and write_all not used in supplied cfgs
// TJP i think they can be removed without harm
static void read_all(void *arg, long period);
static void write_all(void *arg, long period);
"""

tomp



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] invalid config name, got 'HO?TMO?2', expected 'HOSTMOT2'

2020-02-20 Thread Peter C. Wallace

On Fri, 21 Feb 2020, Juergen Gnoss wrote:


Date: Fri, 21 Feb 2020 04:01:07 +
From: Juergen Gnoss 
Reply-To: EMC developers 
To: "emc-developers@lists.sourceforge.net"

Subject: [Emc-developers] invalid config name, got 'HO?TMO?2',
expected 'HOSTMOT2'



somebody any idea where that error comes from?

it is a fresh pncconf'ed configuration on a stretch machine

here the debug output :

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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0-pre0-1056-ge3548bc38
Machine configuration directory is '/home/jgnoss/linuxcnc/configs/bwoodrouter'
Machine configuration file is 'bwoodrouter.ini'
INIFILE=/home/jgnoss/linuxcnc/configs/bwoodrouter/bwoodrouter.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH
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
Found file(REL): ./bwoodrouter.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script

trivkins: coordinates:XYYZ
  Joint 0 ==> Axis X
  Joint 1 ==> Axis Y
  Joint 2 ==> Axis Y
  Joint 3 ==> Axis Z

hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at :03:05.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
hm2/hm2_5i25.0: invalid config name, got 'HO?TMO?2', expected 'HOSTMOT2'
hm2_5i25.0: board fails HM2 registration
RTAPI_PCI: Unmapped 65536 bytes at 0x7f612f334000
Driver probe function failed!
hm2_pci: error registering PCI driver
hm2_pci: rtapi_app_main: Operation not permitted (-1)
./bwoodrouter.hal:9: waitpid failed /usr/bin/rtapi_app hm2_pci
./bwoodrouter.hal:9: /usr/bin/rtapi_app exited without becoming ready
./bwoodrouter.hal:9: insmod for hm2_pci failed, returned -1
1605
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



My first guess would be dirty PCI slot

Peter Wallace
Mesa Electronics



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] invalid config name, got 'HO?TMO?2', expected 'HOSTMOT2'

2020-02-20 Thread Juergen Gnoss



somebody any idea where that error comes from?

it is a fresh pncconf'ed configuration on a stretch machine

here the debug output :

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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0-pre0-1056-ge3548bc38
Machine configuration directory is '/home/jgnoss/linuxcnc/configs/bwoodrouter'
Machine configuration file is 'bwoodrouter.ini'
INIFILE=/home/jgnoss/linuxcnc/configs/bwoodrouter/bwoodrouter.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH
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
Found file(REL): ./bwoodrouter.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script

trivkins: coordinates:XYYZ
   Joint 0 ==> Axis X
   Joint 1 ==> Axis Y
   Joint 2 ==> Axis Y
   Joint 3 ==> Axis Z

hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at :03:05.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
hm2/hm2_5i25.0: invalid config name, got 'HO?TMO?2', expected 'HOSTMOT2'
hm2_5i25.0: board fails HM2 registration
RTAPI_PCI: Unmapped 65536 bytes at 0x7f612f334000
Driver probe function failed!
hm2_pci: error registering PCI driver
hm2_pci: rtapi_app_main: Operation not permitted (-1)
./bwoodrouter.hal:9: waitpid failed /usr/bin/rtapi_app hm2_pci
./bwoodrouter.hal:9: /usr/bin/rtapi_app exited without becoming ready
./bwoodrouter.hal:9: insmod for hm2_pci failed, returned -1
1605
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Buildbot Documentation

2020-02-20 Thread Sebastian Kuzminsky

On 2/19/20 10:16 PM, Phill Carter wrote:

I have been getting 403 Forbidden on the
http://buildbot.linuxcnc.org/doc/ 
page for several days.


Fixed.  Thanks for the bug report.



The http://buildbot.linuxcnc.org/ 
page could do with a bit of updating. I would be happy to modify it
if I was pointed in the right direction.

I think it just needs a bit of an update to add later branches plus I
see that the signing key is not needed (at least it wasn't for me for
a Stretch master upgrade). Quite a few people seem to get hung up
with this so if it is not required then it probaly would be better to
delete it.


Thanks for the offer of help, it's much appreciated.

That webpage is not part of a public git repo, so the easiest way for 
you to update it is probably to download the html file, modify it to 
what you think it should be, and email me the final version.  I'll get 
it where it needs to go from there.



--
Sebastian Kuzminsky


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [Emc-users] LCNC for raspbian-armhf on rpi4

2020-02-20 Thread Gene Heskett
On Thursday 20 February 2020 07:41:41 Gene Heskett wrote:

> The build of a fresh pull of todays master is trotting right along, so
> in an hour or so there s/b fresh downloads of master (2.9.0-pre)
> available on my site.  These run on raspian-10.3 armhf flavor. There
> is also a 149 meg preempt-rt.tgz kernel. Still a 4.19.71-rt, but not a
> 2.5 gig dl.
>
> Goto the link in the sig, add 'lathe-stf' to the address bar & hit
> return, find the linuxcnc4pi4b link in the listing, click and you
> should see the new stuff.
>
> Since the rpi4 is running apache2, I may see if I can nat a different
> i/o port in my router to give folks direct access to the pi's build
> directory.  But that will also take a bit of apache2 configuration on
> the pi, so it probably won't happen today. If and when I get it
> working, I'll append it to my sig. In the meantime its available now
> at the old link in the paragraph above. And in runs fine on my rpi4b. 
> Have fun all.
>
> Cheers, Gene Heskett

Whomever is downloading the 2.5 gig kernel image from 173.205.33.27 (GIT) 
in McLean VA, why?

There is an installable kernel there thats only 149 megs, called 
rt-kernel.tgz. Please get it instead and use it. It's exactly the same 
thing but just stripped down to what you need from that image. I've only 
a 300k upload speed.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] LCNC for raspbian-armhf on rpi4

2020-02-20 Thread Gene Heskett
The build of a fresh pull of todays master is trotting right along, so in 
an hour or so there s/b fresh downloads of master (2.9.0-pre) available 
on my site.  These run on raspian-10.3 armhf flavor. There is also a 149 
meg preempt-rt.tgz kernel. Still a 4.19.71-rt, but not a 2.5 gig dl.

Goto the link in the sig, add 'lathe-stf' to the address bar & hit 
return, find the linuxcnc4pi4b link in the listing, click and you should 
see the new stuff.

Since the rpi4 is running apache2, I may see if I can nat a different i/o 
port in my router to give folks direct access to the pi's build 
directory.  But that will also take a bit of apache2 configuration on 
the pi, so it probably won't happen today. If and when I get it working, 
I'll append it to my sig. In the meantime its available now at the old 
link in the paragraph above. And in runs fine on my rpi4b.  Have fun 
all.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers