Re: [Emc-users] Emc-users Digest, Vol 133, Issue 31

2017-05-11 Thread Gene Heskett
On Thursday 11 May 2017 16:00:56 Tim wrote:

> > End of Emc-users Digest, Vol 133, Issue 31
>
> message 4
>
> > Gene Heskett wrote
> >
> > >>>Not according to htop Chris. This is a quad core, 64 bit per core
> > >>> armhf processor supposedly running at a minimum speed of 800MHz,
> > >>> claims 1.2 GHz top.  And the effect is apparently random per
> > >>> boot, I'll reboot after doing something, the keyboard is
> > >>> unusable, I give up and reboot it again, and its working 100%. 
> > >>> It may, or may not, go to pot with extended uptime.  Its on now,
> > >>> and amanda will back it up about 1:30 in the morning, and
> > >>> tomorrow morning it may act as if the keyboard stuff is out in
> > >>> the swap file.  Thats laggy, but nothing like when it decides to
> > >>> start ignoring keyup's.  ATM its loaded under 2.0, and the
> > >>> screensaver metaballs is by far the biggest load.  htop says
> > >>> swap is empty, but I've never had any experience using a swap
> > >>> file till now. So I wonder if htop is lying to me about it.
> > >>>
> > >>>I've had the usb monitor thing running several times, and that
> > >>> got me to throw away a usb extension cord that was picking up
> > >>> megabits of raw noise so I plugged the rx buttons directly into
> > >>> the pi, and without too much between the keyboard and the button
> > >>> but 25 feet of air, and it never misses a keystroke.  Of course
> > >>> since the sd card is on the usb stuff, I also see the "disk"
> > >>> traffic, but its not "busy".  Next reboot, the usbtrace looks
> > >>> the same but no response to keyup events about 90% of the time. 
> > >>> The events are getting thru the rx buttons, but the pi is
> > >>> ignoring them.
> > >>>
> > >>>I would think, since the boot is the same sequence of events
> > >>> every time, that the results would be pretty consistent, but
> > >>> they are not.  Random as all get out.
> > >>>
> > >>>Were you getting an up-board? Or was that Erik?
>
> Gene I had same issues even though I was using, or when not using the
> wifi on pi 3
> this took care of it for me. Also, the kernel you are using is not the
> only RT-Preempt for the pi:

Oh. do tell me more plz.  This one is 
>
Linux raspberrypi 4.4.4-rt9-v7+ #7 SMP PREEMPT RT Mon Mar 7 14:53:11 UTC 
2016 armv7l GNU/Linux

> sudo nano /boot/cmdline.txt
>
> #Add the following
>
> dwc_otg.fiq_fsm_enable=0 dwc_otg.fiq_enable=0 dwc_otg.nak_holdoff=0

Thats all in there already.

> sudo reboot -n
>
>
>
> See posts at this site about rt patched kernels on pi2 & 3 freezing
> during wifi use
>
> https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=159170

Thats been a very rare occurrence.  Maybe twice in 5 months?  So its not 
really on my radar here, just the local to the machine keyboards.
>
> May this will do it for you I hope
> Tim March

Wifi is disabled & radio turned off, always has been almost since day 2, 
when I ran ip and it found most of the neighborhood.  Bad dog, no 
biscuit that it was enabled by default.

Thanks Tim March.

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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing On Older Computer

2017-05-11 Thread Jon Elson
On 05/11/2017 12:28 PM, Todd Zuercher wrote:
> - Original Message -
>> From: "Jon Elson" 
>> To: "Enhanced Machine Controller (EMC)" 
>> Sent: Thursday, May 11, 2017 12:58:08 PM
>> Subject: Re: [Emc-users] Installing On Older Computer
>>
>> On 05/10/2017 10:22 PM, Todd Zuercher wrote:
>>> Latency is fine with Lucid(RTAI). With Wheezy(RTAI) the
>>> latency test will not even open, it just hangs with
>>> nothing coming up in the terminal window, but the pc
>>> itself still keeps going (can open other programs).
>> OK, there's the problem.  Something is really wrong in the
>> RT system, or maybe just the CPU is being slowed down
>> drastically for some reason.  The drivers for certain
>> graphics cards can do bad things, but that usually requires
>> a graphical display to be running.
>>
>> Jon
>>
> It is only running with on board video (no video cards), there is a display 
> attached.
>
> If I boot from the Linuxcnc live Wheezy ISO (using a USB thumb drive).  It 
> eventually boots and opens a desktop.  If I open a terminal window and type 
> Linuxcnc.  The config picker opens, I select something, then nothing else 
> seems to happen.  The computer is not locked up, I can open and do other 
> things, but no word of anything from Linuxcnc, and the terminal window is 
> blank.  (going from memory here, as the machine is running production work 
> now.) The same thing happens with the latency test.
>
> I know there is something very wrong. But I don't know were to even look to 
> find out what.
>
This sounds like a real time overload, using up 100% of the 
CPU time.  You could try slowing the RT threads down to 
something like 1/10th the rate (multiply bast thread and 
servo thread period X 10) and see if it works.  But, then, 
it would be best to find out what the real problem is.  
First, do
  more /proc/cpuinfo

and see what the bogomips reading is, and if it seems 
correct for the processor and clock speed.

Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread Gregg Eshelman
I'm interested in how you did your tool changer, for whenever I get around to 
finishing a 9x20 conversion.

On Thursday, May 11, 2017, 7:57:13 AM MDT, Les Newell 
 wrote:I have done a lathe ATC, which was fairly 
painless. I have a router that 
is due for a retrofit and it has an ATC. I'll probably be starting on it 
sometime around July/August.

There are various ways to do tool changers. My lathe ATC uses a Python 
script which I wrote as a quick hack though it works so well I never 
bothered to turn it into a proper hal module. For the router I'll 
probably use ClassicLadder.

Les

On 09/05/2017 21:17, dan...@austin.rr.com wrote:
> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
> experience doing that with LinuxCNC?
>
> I do see some $2000 spindle options.  Any recommendations?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Emc-users Digest, Vol 133, Issue 31

2017-05-11 Thread Tim
> End of Emc-users Digest, Vol 133, Issue 31
message 4
> Gene Heskett wrote
> >>>Not according to htop Chris. This is a quad core, 64 bit per core armhf
> >>>processor supposedly running at a minimum speed of 800MHz, claims 1.2
> >>>GHz top.  And the effect is apparently random per boot, I'll reboot
> >>>after doing something, the keyboard is unusable, I give up and reboot it
> >>>again, and its working 100%.  It may, or may not, go to pot with
> >>>extended uptime.  Its on now, and amanda will back it up about 1:30 in
> >>>the morning, and tomorrow morning it may act as if the keyboard stuff is
> >>>out in the swap file.  Thats laggy, but nothing like when it decides to
> >>>start ignoring keyup's.  ATM its loaded under 2.0, and the screensaver
> >>>metaballs is by far the biggest load.  htop says swap is empty, but I've
> >>>never had any experience using a swap file till now. So I wonder if htop
> >>>is lying to me about it.
>
> >>>I've had the usb monitor thing running several times, and that got me to
> >>>throw away a usb extension cord that was picking up megabits of raw
> >>>noise so I plugged the rx buttons directly into the pi, and without too
> >>>much between the keyboard and the button but 25 feet of air, and it
> >>>never misses a keystroke.  Of course since the sd card is on the usb
> >>>stuff, I also see the "disk" traffic, but its not "busy".  Next reboot,
> >>>the usbtrace looks the same but no response to keyup events about 90% of
> >>>the time.  The events are getting thru the rx buttons, but the pi is
> >>>ignoring them.
>
> >>>I would think, since the boot is the same sequence of events every time,
> >>>that the results would be pretty consistent, but they are not.  Random
> >>>as all get out.
>
> >>>Were you getting an up-board? Or was that Erik?
>
Gene I had same issues even though I was using, or when not using the 
wifi on pi 3
this took care of it for me. Also, the kernel you are using is not the 
only RT-Preempt for the pi:


sudo nano /boot/cmdline.txt

#Add the following

dwc_otg.fiq_fsm_enable=0 dwc_otg.fiq_enable=0 dwc_otg.nak_holdoff=0

sudo reboot -n



See posts at this site about rt patched kernels on pi2 & 3 freezing 
during wifi use

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=159170

May this will do it for you I hope
Tim March


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread Gene Heskett
On Thursday 11 May 2017 13:24:08 TJoseph Powderly wrote:

> gene
> i was just reading about armbian preempt-rt sources
>
> look at https://github.com/armbian/build
> look at https://github.com/armbian/build/tree/master/config/boards for
> boards
> look at rt patch at
> https://github.com/armbian/build/tree/master/patch/kernel/sun8i-defaul
>t/30-real-time143-full-plus-rt-fixes.patch.disabled
>
> people have been trying to get a generic build for preempt-rt on many
> of the raspi-esque boards
> (orangepi bananapi cubieboard lime odroid pine64 tinkerboard udoo )
> and people have been having trouble doing it
>
> https://forum.armbian.com/index.php?/topic/2881-realtime-patch-not-wor
>king-with-orangepi-plus-2/
>
> this is pretty deep water!
>
> it MAY be possible
> you'd need a build environment, and likely crosscompiling
>
> i am guessing here,
> but i think that cloning that git repo, then renaming
> 30-real-time143-full-plus-rt-fixes.patch.disabled
> to
> 30-real-time143-full-plus-rt-fixes.patch
> and building, will get you a preempt-rt image
>
>
> maybe ;-)
>
> regards
> tomp tjtr33
>
To me, the pi is a dead end. Its horrible keyboard response is killing 
any wish to actually use it standing in front of the machine. Biggest 
problem is that it ignores keyup events, so the auto-repeat kicks in, 
and if its the backspace that sticks,  half a line or more of a hal file 
is erased and the only thing you can do is kill the editor w/o a save 
and start over. A reboot will often fix it, for half a day maybe, or it 
could make it so bad you have to use the power switch to reboot it.

I now have on this desk, and up-board with and intel atom cpu, 2G of ram, 
and 16Gm of eMMC memory built in. About $125 shipped by fedex from the 
Netherlands.  And a fresh copy of our hybrid install iso. And I have a 
terabyte backup disk by seagate, $65 with taxes at Staples, powered by a 
stock usb-2 cable.  Works nice

That atom is now a quad core, running at about the same speed as the pair 
of D525MW hearted machines I've been running lcnc on for several years 
and happy as a pig in cool mud over how they've worked.  If this one 
will work as well I'll be a happy camper.  I just joined their forum 
because I need to get 2 things, first being the drill pattern it bolts 
to, and 2nd, is the gpio layout a clone of the pi's 40 pin header. In 
which case there may be a measureable chance of hm2_rpspi.so spi driver 
actually driving the SPI interface to a 7i90. On an intel powered board. 
Yeah, I  dream big. :)
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread hubert
Danny where are you located, if you are in the Austin Tx area I am just 
60 miles north of you.

My spindle is belt driven by an AC servo motor max 8000 RPM. While I do 
have an addon 2 RPM Spindle for Micro Machining it is not ATC capable.

Hubert


On 5/11/17 11:42 AM, dan...@austin.rr.com wrote:
> Which spindle did you get?  Options that looked appealing to me:
>
> http://www.ebay.com/itm/1-8KW-ATC-Water-Cooled-Automatic-Tool-Change-Spindle-Motor-ISO20-220V-5-4A-CNC-/112396640759?hash=item1a2b5ca1f7:g:5UIAAOSwawpXtUTl
>
> http://www.ebay.com/itm/2HP-1-5kw-24000RPM-ISO20-3-bearings-Automatic-Tool-Changes-ATC-Spindles-/262522320679?hash=item3d1f8cb727:g:9NYAAOSwRJ9Xhg6v
>
> Danny
>
>  hubert  wrote:
>> Jan did one for my Mill.  It uses BT30 tool holders.  I am not familiar
>> with tool holding on the router.  We used the carousel component for
>> storage and presentation of the tool.  We used pneumatic cylinders for
>> draw bar and movement of the tool to and from the spindle.  We also had
>> to make sure the spindle stopped in the right orientation for the tool
>> change.
>>
>> Hubert
>>
>>
>> On 5/11/17 8:33 AM, Les Newell wrote:
>>> I have done a lathe ATC, which was fairly painless. I have a router that
>>> is due for a retrofit and it has an ATC. I'll probably be starting on it
>>> sometime around July/August.
>>>
>>> There are various ways to do tool changers. My lathe ATC uses a Python
>>> script which I wrote as a quick hack though it works so well I never
>>> bothered to turn it into a proper hal module. For the router I'll
>>> probably use ClassicLadder.
>>>
>>> Les
>>>
>>> On 09/05/2017 21:17, dan...@austin.rr.com wrote:
 I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
 experience doing that with LinuxCNC?

 I do see some $2000 spindle options.  Any recommendations?

 Thanks,
 Danny

>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>>>
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread dannym
Yeah I noticed those.  Thing is, that's 32kg.  It's heavy because it's 9KW but 
that's far more power than I'd ever use.  I'd have to do a stepup from our 208v 
3ph to even power it.

I do like to do 3d carving, at 32kg that's just not practical, that'd have to 
be moved really slowly.

Danny


 Todd  Zuercher  wrote: 
> I think it will depend on your uses.  For Us I think I'd be more inclined to 
> go with one of these Chinese HSD knockoffs.
> http://www.ebay.com/itm/9KW-220V-380V-ATC-Spindle-Motor-Air-Cooled-Short-Nose-BT30-24000rpm-Replace-HSD-/201831379913?var=&hash=item2efe1673c9:m:mQD4-vmKjabnXvCs-RHemqQ
> 
> - Original Message -
> From: dan...@austin.rr.com
> To: "Enhanced Machine Controller (EMC)" 
> Cc: "hubert" 
> Sent: Thursday, May 11, 2017 12:42:35 PM
> Subject: Re: [Emc-users] Anyone done an ATC?
> 
> Which spindle did you get?  Options that looked appealing to me:
> 
> http://www.ebay.com/itm/1-8KW-ATC-Water-Cooled-Automatic-Tool-Change-Spindle-Motor-ISO20-220V-5-4A-CNC-/112396640759?hash=item1a2b5ca1f7:g:5UIAAOSwawpXtUTl
> 
> http://www.ebay.com/itm/2HP-1-5kw-24000RPM-ISO20-3-bearings-Automatic-Tool-Changes-ATC-Spindles-/262522320679?hash=item3d1f8cb727:g:9NYAAOSwRJ9Xhg6v
> 
> Danny
> 
>  hubert  wrote: 
> > Jan did one for my Mill.  It uses BT30 tool holders.  I am not familiar 
> > with tool holding on the router.  We used the carousel component for 
> > storage and presentation of the tool.  We used pneumatic cylinders for 
> > draw bar and movement of the tool to and from the spindle.  We also had 
> > to make sure the spindle stopped in the right orientation for the tool 
> > change.
> > 
> > Hubert
> > 
> > 
> > On 5/11/17 8:33 AM, Les Newell wrote:
> > > I have done a lathe ATC, which was fairly painless. I have a router that
> > > is due for a retrofit and it has an ATC. I'll probably be starting on it
> > > sometime around July/August.
> > >
> > > There are various ways to do tool changers. My lathe ATC uses a Python
> > > script which I wrote as a quick hack though it works so well I never
> > > bothered to turn it into a proper hal module. For the router I'll
> > > probably use ClassicLadder.
> > >
> > > Les
> > >
> > > On 09/05/2017 21:17, dan...@austin.rr.com wrote:
> > >> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
> > >> experience doing that with LinuxCNC?
> > >>
> > >> I do see some $2000 spindle options.  Any recommendations?
> > >>
> > >> Thanks,
> > >> Danny
> > >>
> > >
> > > --
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> > >
> > 
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing On Older Computer

2017-05-11 Thread Przemek Klosowski
On Wed, May 10, 2017 at 12:22 PM, Todd Zuercher 
wrote:

> Is there a trick to installing Linuxcnc/Wheezy on an older single core
> computer?
>
> I have a machine that has been happily running Linuxcnc for some time on
> an older Linuxcnc Ubuntu 10,04 install.
> It is an older P4 2.8gHz cpu (single core) with 1G memory and works
> reasonably well with Lucid. This PC is a little bit special in that it has
> some ISA slots on the motherboard and 1 ISA card is used by Linuxcnc to
> interface with the machine.
>
> I have tried several times to test or install the newer Linuxcnc/Wheezy
> iso. But it boots and runs painfully slow, and neither the latency tests or
> Linuxcnc will open. Trying to start Linuxcnc from the command line tells me
> nothing.
>
> Any ideas why this machine refuses to work with the newer version?
>

It's gotta be video drivers... can you run it in single user mode? Can you
switch to teh text coinsole (Ctrl-Alt-F1 (or 2 or 3)).
Do you see the graphical desktop at all?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing On Older Computer

2017-05-11 Thread Todd Zuercher

- Original Message -
> From: "Jon Elson" 
> To: "Enhanced Machine Controller (EMC)" 
> Sent: Thursday, May 11, 2017 12:58:08 PM
> Subject: Re: [Emc-users] Installing On Older Computer
> 
> On 05/10/2017 10:22 PM, Todd Zuercher wrote:
> > Latency is fine with Lucid(RTAI). With Wheezy(RTAI) the
> > latency test will not even open, it just hangs with
> > nothing coming up in the terminal window, but the pc
> > itself still keeps going (can open other programs).
> OK, there's the problem.  Something is really wrong in the
> RT system, or maybe just the CPU is being slowed down
> drastically for some reason.  The drivers for certain
> graphics cards can do bad things, but that usually requires
> a graphical display to be running.
> 
> Jon
> 

It is only running with on board video (no video cards), there is a display 
attached.

If I boot from the Linuxcnc live Wheezy ISO (using a USB thumb drive).  It 
eventually boots and opens a desktop.  If I open a terminal window and type 
Linuxcnc.  The config picker opens, I select something, then nothing else seems 
to happen.  The computer is not locked up, I can open and do other things, but 
no word of anything from Linuxcnc, and the terminal window is blank.  (going 
from memory here, as the machine is running production work now.) The same 
thing happens with the latency test.

I know there is something very wrong. But I don't know were to even look to 
find out what.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread TJoseph Powderly
gene
i was just reading about armbian preempt-rt sources

look at https://github.com/armbian/build
look at https://github.com/armbian/build/tree/master/config/boards for 
boards
look at rt patch at
https://github.com/armbian/build/tree/master/patch/kernel/sun8i-default/30-real-time143-full-plus-rt-fixes.patch.disabled

people have been trying to get a generic build for preempt-rt on many of 
the raspi-esque boards
(orangepi bananapi cubieboard lime odroid pine64 tinkerboard udoo )
and people have been having trouble doing it

https://forum.armbian.com/index.php?/topic/2881-realtime-patch-not-working-with-orangepi-plus-2/

this is pretty deep water!

it MAY be possible
you'd need a build environment, and likely crosscompiling

i am guessing here,
but i think that cloning that git repo, then renaming
30-real-time143-full-plus-rt-fixes.patch.disabled
to
30-real-time143-full-plus-rt-fixes.patch
and building, will get you a preempt-rt image


maybe ;-)

regards
tomp tjtr33


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread Todd Zuercher
I think it will depend on your uses.  For Us I think I'd be more inclined to go 
with one of these Chinese HSD knockoffs.
http://www.ebay.com/itm/9KW-220V-380V-ATC-Spindle-Motor-Air-Cooled-Short-Nose-BT30-24000rpm-Replace-HSD-/201831379913?var=&hash=item2efe1673c9:m:mQD4-vmKjabnXvCs-RHemqQ

- Original Message -
From: dan...@austin.rr.com
To: "Enhanced Machine Controller (EMC)" 
Cc: "hubert" 
Sent: Thursday, May 11, 2017 12:42:35 PM
Subject: Re: [Emc-users] Anyone done an ATC?

Which spindle did you get?  Options that looked appealing to me:

http://www.ebay.com/itm/1-8KW-ATC-Water-Cooled-Automatic-Tool-Change-Spindle-Motor-ISO20-220V-5-4A-CNC-/112396640759?hash=item1a2b5ca1f7:g:5UIAAOSwawpXtUTl

http://www.ebay.com/itm/2HP-1-5kw-24000RPM-ISO20-3-bearings-Automatic-Tool-Changes-ATC-Spindles-/262522320679?hash=item3d1f8cb727:g:9NYAAOSwRJ9Xhg6v

Danny

 hubert  wrote: 
> Jan did one for my Mill.  It uses BT30 tool holders.  I am not familiar 
> with tool holding on the router.  We used the carousel component for 
> storage and presentation of the tool.  We used pneumatic cylinders for 
> draw bar and movement of the tool to and from the spindle.  We also had 
> to make sure the spindle stopped in the right orientation for the tool 
> change.
> 
> Hubert
> 
> 
> On 5/11/17 8:33 AM, Les Newell wrote:
> > I have done a lathe ATC, which was fairly painless. I have a router that
> > is due for a retrofit and it has an ATC. I'll probably be starting on it
> > sometime around July/August.
> >
> > There are various ways to do tool changers. My lathe ATC uses a Python
> > script which I wrote as a quick hack though it works so well I never
> > bothered to turn it into a proper hal module. For the router I'll
> > probably use ClassicLadder.
> >
> > Les
> >
> > On 09/05/2017 21:17, dan...@austin.rr.com wrote:
> >> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
> >> experience doing that with LinuxCNC?
> >>
> >> I do see some $2000 spindle options.  Any recommendations?
> >>
> >> Thanks,
> >> Danny
> >>
> >
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Installing On Older Computer

2017-05-11 Thread Jon Elson
On 05/10/2017 10:22 PM, Todd Zuercher wrote:
> Latency is fine with Lucid(RTAI). With Wheezy(RTAI) the 
> latency test will not even open, it just hangs with 
> nothing coming up in the terminal window, but the pc 
> itself still keeps going (can open other programs).
OK, there's the problem.  Something is really wrong in the 
RT system, or maybe just the CPU is being slowed down 
drastically for some reason.  The drivers for certain 
graphics cards can do bad things, but that usually requires 
a graphical display to be running.

Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread dannym
Which spindle did you get?  Options that looked appealing to me:

http://www.ebay.com/itm/1-8KW-ATC-Water-Cooled-Automatic-Tool-Change-Spindle-Motor-ISO20-220V-5-4A-CNC-/112396640759?hash=item1a2b5ca1f7:g:5UIAAOSwawpXtUTl

http://www.ebay.com/itm/2HP-1-5kw-24000RPM-ISO20-3-bearings-Automatic-Tool-Changes-ATC-Spindles-/262522320679?hash=item3d1f8cb727:g:9NYAAOSwRJ9Xhg6v

Danny

 hubert  wrote: 
> Jan did one for my Mill.  It uses BT30 tool holders.  I am not familiar 
> with tool holding on the router.  We used the carousel component for 
> storage and presentation of the tool.  We used pneumatic cylinders for 
> draw bar and movement of the tool to and from the spindle.  We also had 
> to make sure the spindle stopped in the right orientation for the tool 
> change.
> 
> Hubert
> 
> 
> On 5/11/17 8:33 AM, Les Newell wrote:
> > I have done a lathe ATC, which was fairly painless. I have a router that
> > is due for a retrofit and it has an ATC. I'll probably be starting on it
> > sometime around July/August.
> >
> > There are various ways to do tool changers. My lathe ATC uses a Python
> > script which I wrote as a quick hack though it works so well I never
> > bothered to turn it into a proper hal module. For the router I'll
> > probably use ClassicLadder.
> >
> > Les
> >
> > On 09/05/2017 21:17, dan...@austin.rr.com wrote:
> >> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
> >> experience doing that with LinuxCNC?
> >>
> >> I do see some $2000 spindle options.  Any recommendations?
> >>
> >> Thanks,
> >> Danny
> >>
> >
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread Gene Heskett
On Thursday 11 May 2017 10:45:12 TJoseph Powderly wrote:

> Erik hello
>
> On 05/11/17 14:01, Erik Christiansen wrote:
> > Gene, what I bought is a Udoo X86, and on their forum there's talk
> > of this and that not working too, at least until someone tells them
> > how to do it. My only issue so far is that I'm a bit down the
> > delivery list, and it may yet be a week or two before mine arrives.
> > (Still, it's better that they hauled up and fixed the PCB issue,
> > rather than ship substandard goods.)
> >
> > It ought to be able to boot from USB or SD card, so just do the same
> > vanilla stuff as in the Udoo howto, which is here?:
> >
> > https://www.udoo.org/tutorial/creating-a-bootable-micro-sd-card-with
> >-linux-ubuntu-from-image/
> >
> > You just grab any linux distro you fancy, off the intertubes. (I've
> > put a ubuntu-16.04.1-desktop-amd64.iso onto a flash drive, and am
> > impatient for the board to arrive.)
>
> i thought about the ud00 x86 for linuxcnc
>
> i read the 'use any linux x86 distro'
>
> but
>
> is there reason to think it can run the linuxcnc iso for x86?
>
> can it become a tiny realtime control?
>
>
> right now i'm trying to get preempt-rt onto an opi+2e for similar
> reasons
>
>
> these tiny boards can drive you nuts
>
> i get the impression that they're all built for settop boxes
>
> and rejects sold as the latest greatest linux microcontroller
>
>
> today i 'fixed' the SD block read fails with a paper shim ( not by
> buying class 10 sd )
>
> today i 'fixed' the 'cant enumerate device on...' by bending down the
> 2 tabs on the usb jack
>
> ( not by buying a new mouse )
>
> i am firm believer in 'things generally work'
>
> and in 'connections are 90% of electrical problems'
>
At least Tomp.

I just got a surprise, the up-board was shipped by Fedex this past Monday 
from a location in the Netherlands, and Fedex just made me sign for it. 
According to the very sparse docs (1 page), I need to find a 5.5-2.1 
plug to put on a 5v4a supply. So I'll have to swap supplies as I have a 
3a and a 4a and the 4a is currently running the pi, no biggie.  The 3 
can do as well, its been tried.

It says bootable usb drive with iso or os preloaded,
connect hdmi, net cable, keyboard and mouse.
connect power supply, wiat for the up bios logo.

For more info goto www.up-community.org.

I have a usb drive, a rotating media 1 terrabyte seagate, $60 at Staples.
I wonder if I can install our wheezy-iso, a fresh copy coming in now via 
zsync.  I'll put it on that drive, boot it and install back to that 
drive.  Or at least thats the plan. :)

This board has an alu baseplate, which seems to be in contact with the 
bottom of the cpu pad, contributing to the cooling by providing a path 
for some of that heat directly to the alu panel I will mount it on which 
is some north of a square foot of 3mm thick alu sheet. The top is also 
well covered with a heat sink. The 40 pin header is oriented the same as 
the pi's header. Looks promising and I saw a reference on the forum that 
its possible the gpio usage actually matches the pi!

Interesting times ahead. But maybe I should find an 8Gb usb keystick.  I 
will, if the drive actually boots.  News at 11. :)

> thanks
>
> Tomp tjtr33
>
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread Chris Albertson
How many tools to you need for one job?  If the number is small it might be
cheaper to simply swap routers, leaving the router bit installed.  $150
will buy you a complete router head

On Tue, May 9, 2017 at 1:17 PM,  wrote:

> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have
> experience doing that with LinuxCNC?
>
> I do see some $2000 spindle options.  Any recommendations?
>
> Thanks,
> Danny
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 

Chris Albertson
Redondo Beach, California
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread John Thornton
My CHNC turret is controlled by Classicladder.

http://gnipsel.com/shop/hardinge/hardinge.xhtml

JT


On 5/9/2017 3:17 PM, dan...@austin.rr.com wrote:
> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
> experience doing that with LinuxCNC?
>
> I do see some $2000 spindle options.  Any recommendations?
>
> Thanks,
> Danny
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Emc-users Digest, Vol 133, Issue 18

2017-05-11 Thread TJoseph Powderly
On 05/09/17 02:41, Tim wrote:
>
> Tom just download everything from links I gave they are direct 
> download links that do work
> Here are the directions again I added a step that I forgot about 
> deleting Emlid reoository
> it is not needed and just gives a error during update. This is a 
> headless image you will be
> adding the desktop yourself just follow the directions.
>
> # Download, extract then install Emlid image to sdcard download at
>
> https://files.emlid.com/images/emlid-raspbian-20160718.img.xz
>
> # On Linux computer download Etcher to write image to sdcard at
>
> https://etcher.io/
>
> Download, extract and run Etcher with administrator rights
> Select the archive file with image and sd card drive letter.
> Click “Flash!”. The process may take a few minutes.
>
> --
>
> # RT-PREEMPT realtime kernel
> # Download kernel image
>
> http://download.frank-durr.de/kernel-4.4.9-rt17.tgz
> # Extract files
> # Start your file manager from terminal with root privileges, my file 
> manager is thunar so I use:
> # sudo thunar
> # Copy extracted files inside boot directory, to boot directory on 
> sdcard choose to overwrite files
> # Copy extracted file lib, to root of other partition on sdcard choose 
> to overwrite files
>
> ---
>
> # Install Sdcard into PI
>
> user = pi
> password = raspberry
>
> # Connect to wired network
> # Or shh from another computers Ethernet connection
>
> 
>
> # See posts at this site about rt patched kernel on pi2 & 3 freezing 
> during wifi use
>
> https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=159170
>
> # Need to add to end of cmdline.txt
>
> sudo nano /boot/cmdline.txt
>
> #Add the following
>
> dwc_otg.fiq_fsm_enable=0 dwc_otg.fiq_enable=0 dwc_otg.nak_holdoff=0
>
> sudo reboot -n
>
> -
>
> # Update to correct keyboard layout
>
> sudo dpkg-reconfigure keyboard-configuration
>
> -
>
> # Generate locales
>
> sudo dpkg-reconfigure locales
> #add correct language
> en_US.UTF-8
> locale -a
> #To check locale
>
> ---
>
> #Update Time Zone
>
> sudo dpkg-reconfigure tzdata
>
> 
>
> Remove emlid repository
>
> sudo rm /etc/apt/sources.list.d/emlid.list
>
> 
>
> sudo raspi-config
> #NOTE: do not Overclock
> 1 Expand File system
>   when finished choose to reboot
> If you need other things enabled such as SPI or C12 ect. it can be 
> done here
> --
>
> sudo apt-get -y update && sudo apt-get -y upgrade
>
> 
>
> # RPI 2 or 3
> sudo apt-get install -y mate-core mate-desktop-environment xorg lightdm
> sudo apt-get install -y network-manager-gnome synaptic iceweasel xterm
>
> # RPI 3
> sudo apt-get install -y pi-bluetooth
> sudo apt-get install -y bluetooth bluez blueman
>
> ---
>
> #Setup network manager
>
> sudo nano /etc/network/interfaces
> #Comment out
> #iface wlan0 inet dhcp
> #iface default inet dhcp
> #iface wlan1 inet dhcp
> #iface eth0 inet manual
> # Use control key and x to save and save to default
>
> -
>
> #Update rpi firmware without over writing rt kernel
>
> sudo apt-get install rpi-update
> sudo SKIP_KERNEL=1 rpi-update
>
> sudo reboot -n
>
> 
>
> #Install Linuxcnc
>
> On RPI goto web page
> http://buildbot.linuxcnc.org/
> Follow directions to install 2.7 or Master, Jessie (uspace: realtime 
> with RT-Preempt, and simulation), armhf
> # first add repository key, open Mate Terminal look for it in system 
> tools menu item, you can copy and paste from web site page:
>
> sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
>
> # Start text editor Pluma with root privliges like this:
>
> sudo pluma /etc/apt/sources.list.d/linuxcnc-buildbot.list
>
> #Add the following to file for 2.7 then save:
>
> deb http://buildbot.linuxcnc.org/ jessie 2.7-sim
> deb-src http://buildbot.linuxcnc.org/ jessie 2.7-sim
>
> # Now update the system:
>
> sudo apt-get update
>
> # Now start Synaptic which will only start from terminal
>
> sudo synaptic
>
> # Type in search box linuxcnc find the following, then click and mark 
> for instal

Re: [Emc-users] Adding an RS485 interface [Was: Re: about to give up on the pi's]

2017-05-11 Thread andy pugh
On 11 May 2017 at 15:22, Gene Heskett  wrote:
> I went to the site, and seemed to not be able to find any reference to
> the architectures it may, or may not run on.

They have a board support package for Beaglebone
https://www.yoctoproject.org/downloads/bsps?release=All&processer%5B%5D=21&title=

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread TJoseph Powderly
Erik hello

On 05/11/17 14:01, Erik Christiansen wrote:
> Gene, what I bought is a Udoo X86, and on their forum there's talk of
> this and that not working too, at least until someone tells them how to
> do it. My only issue so far is that I'm a bit down the delivery list,
> and it may yet be a week or two before mine arrives. (Still, it's better
> that they hauled up and fixed the PCB issue, rather than ship substandard
> goods.)

> It ought to be able to boot from USB or SD card, so just do the same
> vanilla stuff as in the Udoo howto, which is here?:
>
> https://www.udoo.org/tutorial/creating-a-bootable-micro-sd-card-with-linux-ubuntu-from-image/
>
> You just grab any linux distro you fancy, off the intertubes. (I've put
> a ubuntu-16.04.1-desktop-amd64.iso onto a flash drive, and am impatient
> for the board to arrive.)
i thought about the ud00 x86 for linuxcnc

i read the 'use any linux x86 distro'

but

is there reason to think it can run the linuxcnc iso for x86?

can it become a tiny realtime control?


right now i'm trying to get preempt-rt onto an opi+2e for similar reasons


these tiny boards can drive you nuts

i get the impression that they're all built for settop boxes

and rejects sold as the latest greatest linux microcontroller


today i 'fixed' the SD block read fails with a paper shim ( not by 
buying class 10 sd )

today i 'fixed' the 'cant enumerate device on...' by bending down the 2 
tabs on the usb jack

( not by buying a new mouse )

i am firm believer in 'things generally work'

and in 'connections are 90% of electrical problems'


thanks

Tomp tjtr33


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread hubert
Jan did one for my Mill.  It uses BT30 tool holders.  I am not familiar 
with tool holding on the router.  We used the carousel component for 
storage and presentation of the tool.  We used pneumatic cylinders for 
draw bar and movement of the tool to and from the spindle.  We also had 
to make sure the spindle stopped in the right orientation for the tool 
change.

Hubert


On 5/11/17 8:33 AM, Les Newell wrote:
> I have done a lathe ATC, which was fairly painless. I have a router that
> is due for a retrofit and it has an ATC. I'll probably be starting on it
> sometime around July/August.
>
> There are various ways to do tool changers. My lathe ATC uses a Python
> script which I wrote as a quick hack though it works so well I never
> bothered to turn it into a proper hal module. For the router I'll
> probably use ClassicLadder.
>
> Les
>
> On 09/05/2017 21:17, dan...@austin.rr.com wrote:
>> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
>> experience doing that with LinuxCNC?
>>
>> I do see some $2000 spindle options.  Any recommendations?
>>
>> Thanks,
>> Danny
>>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adding an RS485 interface [Was: Re: about to give up on the pi's]

2017-05-11 Thread Gene Heskett
On Thursday 11 May 2017 08:54:14 andy pugh wrote:

> On 7 May 2017 at 21:56, Gene Heskett  wrote:
> > Theres some sort of a ubuntu I never heard of, yocto (whats that?)
> > and whatever is running the fawncy phones these days.
>
> Yocto is a Linux (and a build system) targetting embedded systems.
> I think that the Linux part of Yocto is actually called Poky.
>
> https://www.yoctoproject.org/
>
> It seems to me that it could be a good fit for LinuxCNC, and I have
> been trying to persuade the architect of the project to CNC his
> milling machine for that very reason.

I went to the site, and seemed to not be able to find any reference to 
the architectures it may, or may not run on. A specific search 
for "raspberry pi" with spelling variations all came back empty.

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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone done an ATC?

2017-05-11 Thread Les Newell
I have done a lathe ATC, which was fairly painless. I have a router that 
is due for a retrofit and it has an ATC. I'll probably be starting on it 
sometime around July/August.

There are various ways to do tool changers. My lathe ATC uses a Python 
script which I wrote as a quick hack though it works so well I never 
bothered to turn it into a proper hal module. For the router I'll 
probably use ClassicLadder.

Les

On 09/05/2017 21:17, dan...@austin.rr.com wrote:
> I'm hoping to do an ATC router (primarily wood) next.  Does anyone have 
> experience doing that with LinuxCNC?
>
> I do see some $2000 spindle options.  Any recommendations?
>
> Thanks,
> Danny
>


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adding an RS485 interface [Was: Re: about to give up on the pi's]

2017-05-11 Thread andy pugh
On 7 May 2017 at 21:56, Gene Heskett  wrote:
> Theres some sort of a ubuntu I never heard of, yocto (whats that?) and
> whatever is running the fawncy phones these days.

Yocto is a Linux (and a build system) targetting embedded systems.
I think that the Linux part of Yocto is actually called Poky.

https://www.yoctoproject.org/

It seems to me that it could be a good fit for LinuxCNC, and I have
been trying to persuade the architect of the project to CNC his
milling machine for that very reason.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] crashing under 2.8.0-pre1

2017-05-11 Thread andy pugh
On 11 May 2017 at 03:34, Ralph Stirling  wrote:
>
> Now I can debug the kins.  Rtapi_print is giving me some
> strange formatting.

rtapi_print can't print floats. You get a weird hex-float.

The solution might be to multiply by 1000 and print as an integer. (or
even format with a decimal point in the format string and two
integers)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Forum down?

2017-05-11 Thread giorgio foga
Dear Gene,


no worry ... yesterday night I see the Kurt messages  very nice and it 
explains more than every word. In addition as a kid (but in the 80's) I loved 
watching star trek. I also like the new versions ... and I know some fans would 
have to laugh ... but I'm good in mouth = I'm fine too.


So the proposal of "donate button" is dead.


Regards

Giorgio


kurt message:


Da: Kurt Jacobson 
Inviato: mercoledì 10 maggio 2017 23.24
A: Enhanced Machine Controller (EMC)
Oggetto: Re: [Emc-users] Forum down?

https://youtu.be/MH7KYmGnj40



Da: Gene Heskett 
Inviato: mercoledì 10 maggio 2017 23.49
A: emc-users@lists.sourceforge.net
Oggetto: Re: [Emc-users] Forum down?

On Wednesday 10 May 2017 17:15:05 giorgio foga wrote:

> sorry Gene I'm not american what is means: Yup, its dead
> Jim???  At least I can understand the trend he has developer
> views.
>
>
> regards
>
> giorgio

That is one of the more famous lines from the original Star Trek tv
series.  So old, I think the reruns are still in black & white. Early
1960's stuff.  Actually, I think the line was "He's dead, Jim", said in
a flat monotone voice, but its been modified in common usage rather like
back fence gossip.

We know it well on this side of the pond, and I keep forgetting this list
goes anyplace you can get an internet connection.  My bad and fading
memory at play.
> 
> Da: Gene Heskett 
> Inviato: mercoledì 10 maggio 2017 12.52
> A: emc-users@lists.sourceforge.net
> Oggetto: Re: [Emc-users] Forum down?
>
> On Wednesday 10 May 2017 03:49:24 giorgio foga wrote:
> > Renew my ideas to add "donate" button in top of forum .I know
> > many give a lot to the forum every day  others instead like me
> > much less ... and we are in many ... maybe in this way we can become
> > useful.
> >
> >
> > regards
> >
> > Giorgio
> >
> >
> > 
> > Da: Bengt Sjölund 
> > Inviato: mercoledì 10 maggio 2017 08.50
> > A: Enhanced Machine Controller (EMC)
> > Oggetto: Re: [Emc-users] Forum down?
> >
> > And down again.
> >
> > Cheers
> > Bengt
> >
> > Den 2017-05-09 kl. 15:58, skrev John Thornton:
> > > I had to power cycle it this morning around 5am central time.
> > >
> > > JT
> > >
> > > On 5/9/2017 7:24 AM, Sebastian Kuzminsky wrote:
> > >> It's up from here.
> > >>
> > >> http://isup.me/forum.linuxcnc.org
> > >>
> > >> On May 9, 2017 1:49:45 AM MDT, "Bengt Sjölund" 
>
> wrote:
> > >>> And down again!
> > >>>
> > >>> What is it with the forum that goes down very often?
> > >>>
> > >>> Cheers
> > >>> Bengt
>
> Yup, its dead Jim.
>
> 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)
> Genes Web page 
[http://geneslinuxbox.net:6309/gene/pix/EasterSundayCropped2004-1.jpg]

Gene's Web pages
geneslinuxbox.net
Welcome to Gene's web pages. Here you will find some of the things that make me 
tick, and that help keep me out of the bars. That is me & the missus, Dee 
(Elladene) I ...


> [http://geneslinuxbox.net:6309/gene/pix/EasterSundayCropped2004-1.jpg]
>
[http://geneslinuxbox.net:6309/gene/pix/EasterSundayCropped2004-1.jpg]

Gene's Web pages
geneslinuxbox.net
Welcome to Gene's web pages. Here you will find some of the things that make me 
tick, and that help keep me out of the bars. That is me & the missus, Dee 
(Elladene) I ...


>
> Gene's Web pages
[http://geneslinuxbox.net:6309/gene/pix/EasterSundayCropped2004-1.jpg]

Gene's Web pages
geneslinuxbox.net
Welcome to Gene's web pages. Here you will find some of the things that make me 
tick, and that help keep me out of the bars. That is me & the missus, Dee 
(Elladene) I ...


> geneslinuxbox.net
> Welcome to Gene's web pages. Here you will find some of the things
> that make me tick, and that help keep me out of the bars. That is me &
> the missus, Dee (Elladene) I ...
>
>
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
Emc-users Info Page - 
SourceForge
lists.sourceforge.net
This list is for users of the Enhanced Machine Controller (EMC). Topics include 
how to obtain, install, configure, and use EMC, as well as other general EMC 
related ...


> Emc-users Info Page -
> SourceForge<

Re: [Emc-users] Detective work

2017-05-11 Thread Gregg Eshelman
Sometimes a race condition looks like flaky hardware. Sometimes they kill 
people. Look up what happened with the Therac 25.(That would be a pretty good 
movie.)

On Wednesday, May 10, 2017, 10:34:15 PM MDT, Chris Albertson 
 wrote:The sequence of instructions really is 
different each time you boot.
Certainly interrupts and task switching happens in different places.    The
classic "goof" programmers make in writing systems that have multiple tasks
going on at the same time is the "race".    Program "A" saves the value of
"X" and program "B" reads the value of "X" and this works 99.999 % of the
time but fails randomly 0.0001% of the time.  Same code.  The programmer
forgets that "X" is more then one byte and take a couple machine cycles to
write and as lick would have it program A is interrupted when X is 1/2
written so program B sees gibberish. Then A continues and writes the other
half of X.      So the cost is the same but where each task gets
interrupted is different and  with cooperating real tie tasks, you have to
put up critical sections around accesses to shared shared data.  there are
other things like this too.    Mistakes like this typically look like flaky
hardware
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread Erik Christiansen
On 07.05.17 16:56, Gene Heskett wrote:
> I'm very impressed with the lack of data on the up-shop.net web site as 
> to just what these atom powered things have, they don't even say how 
> wide the gpio count is, so I may have bought a very lightweight 
> paperweight, but the card was accepted for one just like Erik said he 
> had bought. 2 gigs of ram, 16gigs of eMMC for a disk drive. $124 
> shipped.  With suitable drivers, all running x86/intel code, its 
> promising.  The forum is loaded with this and that don't work messages 
> though.

Gene, what I bought is a Udoo X86, and on their forum there's talk of
this and that not working too, at least until someone tells them how to
do it. My only issue so far is that I'm a bit down the delivery list,
and it may yet be a week or two before mine arrives. (Still, it's better
that they hauled up and fixed the PCB issue, rather than ship substandard
goods.)

> I don't see a debian for downloading but I'd prefer it, jessie 
> is close to EOL, and rumors are saying stretch is fairly stable now.  

It ought to be able to boot from USB or SD card, so just do the same
vanilla stuff as in the Udoo howto, which is here?:

https://www.udoo.org/tutorial/creating-a-bootable-micro-sd-card-with-linux-ubuntu-from-image/

You just grab any linux distro you fancy, off the intertubes. (I've put
a ubuntu-16.04.1-desktop-amd64.iso onto a flash drive, and am impatient
for the board to arrive.)

> Theres some sort of a ubuntu I never heard of, yocto (whats that?) and 
> whatever is running the fawncy phones these days.

Heard of it, but never seen it in action. I'd try debian or ubuntu first
- just google for "latest ubuntu iso" or similar.

And in the other post, On 10.05.17 23:42, Gene Heskett wrote:
> I've had the usb monitor thing running several times, and that got me to 
> throw away a usb extension cord that was picking up megabits of raw 
> noise so I plugged the rx buttons directly into the pi, and without too 
> much between the keyboard and the button but 25 feet of air, and it 
> never misses a keystroke.  Of course since the sd card is on the usb 
> stuff, I also see the "disk" traffic, but its not "busy".  Next reboot, 
> the usbtrace looks the same but no response to keyup events about 90% of 
> the time.  The events are getting thru the rx buttons, but the pi is 
> ignoring them.

Presumably the RPi will boot from USB or SD card, so you could grab
another ARMish linux distro off the net, and run that to see if it's
hardware or software that is the issue? At the very least, get away from
any RT kernel, and run a vanilla distro. Then you know where to direct
further energy.

...
> Were you getting an up-board? Or was that Erik?

Not too sure what the up-board is ... ah, it looks neat, but the site is
slow, and it's a bit of a dig to get past the waffle, to find what it
can do. I gave up. Please tell us what it's like once you have it home
from market.

I bought the Udoo thingy because it can handle 3 4K screens
simultaneously, and I need one mobo which can do a bit of video. What I
have stinks. (So the delivery delay is becoming annoying.) It also
looked like a fun bit of kit - but the waiting isn't so much fun. (Did I
mention that?)

Erik

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users