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

2017-05-13 Thread Tim

Gene wrote
I never renamed anything and kernel was updated to new version
which reflects in command
uname -r

Tim March


The updated kernel is not an rt-preempt kernel. Does the linuxcnc-sim run
on that?

Gene here is the output running linuxcnc from terminal on rpi

pi@navio:~ $ linuxcnc
LINUXCNC - 2.8.0-pre1-2771-gdc2ff49
Machine configuration directory is '/home/pi/linuxcnc/configs/sim.axis.foam'
Machine configuration file is 'axis_foam.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 768: can't load tool table.
Found file(LIB): /usr/share/linuxcnc/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins coordinates=xyuv
Note: Using POSIX realtime
task: main loop took 0.013645 seconds
note: MAXV max: 1.200 units/sec 72.000 units/min
note: LJOG max: 1.200 units/sec 72.000 units/min
note: LJOG default: 1.000 units/sec 60.000 units/min
note: AJOG max: 90.000 units/sec 5400.000 units/min
note: AJOG default: 45.000 units/sec 2700.000 units/min
note: jog_order='XYUV'
note: jog_invert=set([])
task: main loop took 0.012554 seconds
task: main loop took 259836.406601 seconds
task: main loop took 0.013945 seconds
task: main loop took 0.011420 seconds
task: main loop took 0.010959 seconds
task: main loop took 0.011337 seconds
task: main loop took 0.012650 seconds
Shutting down and cleaning up LinuxCNC...
task: 699176 cycles, min=0.36, max=259836.406601, avg=0.372714, 8 latency 
excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX realtime
pi@navio:~ $

pi@navio:~ $ uname -r
4.4.9-rt17-v7+
pi@navio:~ $

So it is a realtime kernel
The way I come up with sdcard image is as follows.
I started with a headless sdcard image from Emlid and built from there


Follow these direction in order to make a minamal Raspbian "Debian Jessie" 
install
with a realtime kernel,(ver. 4.4.9-rt17) and Mate Desktop and Linuxcnc
sdcard will work with rpi2 or 3

# 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 privliges, 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 extarcted 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 dhc

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

2017-05-13 Thread Gene Heskett
On Thursday 11 May 2017 14:22:49 Gene Heskett wrote:

> 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-defa
> >ul 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-w
> >or 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. :)
>
The saga continues.

The intel powered board was bricked by my turning off the TCP chip in the 
bios.

So I am back to screwing with the pi's, plural as I bought spares. I had 
a spare that would boot hanging out in the air, and put a fresh install 
of an image dated Apeil 10th.  Booted right up as soon as I fixed the 
video and networking stuffs.  So I fired up synaptic, and had it update 
everything but the kernel.  Died on wolfram engine, server disappeared.

I took that out of the list and it completed the rest of the update AND 
REBOOTED JUST FINE.  Shut down, moved the sd card to the pi I'd been 
fighting with, no boot.  Swapped out the pi for another, booted right 
up.  So that one I took out is marked with an MM. Now I need to recover 
my lcnc configs I saved off a card that wouldn't boot. But first, some 
din-din, its past time I fed the missus, me too since all I've had is 
coffee so far.

Progress, I think. With a different pi, I'll re-test the OSHPark based 
interconnect cables before too long.

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] Emc-users Digest, Vol 133, Issue 31

2017-05-13 Thread Gene Heskett
On Saturday 13 May 2017 13:36:58 Tim wrote:

> Gene
> I never renamed anything and kernel was updated to new version
> which reflects in command
> uname -r
>
> Tim March
>
The updated kernel is not an rt-preempt kernel. Does the linuxcnc-sim run 
on that?
> --
> 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] Emc-users Digest, Vol 133, Issue 31

2017-05-13 Thread Gene Heskett
On Saturday 13 May 2017 12:27:22 TJoseph Powderly wrote:

> gene could you try not changing anything and just boot it
> if the basic simple way to initially check it out , doesnt work,
> then stop and look at whats going on,
> dont change stuff in the beginning
>
Tomp, I have to fix the network stuff, and while /opt/vc/bin/tvservice 
does parse the EDID from the monitor, declaring the best for this 
monitor is 1920x1080, but the pi pays no attention, so I must tell it to 
boost the hdmi signal a bit, and tell it "hdmi_group=2" 
and "hdmi_mode=82" before the monitor will stop telling me its not a 
supported input.  So some of this stuff, like actually getting a picture 
on the monitor, may as well be done up front, along with configuring the 
network so I can access it from another machine.

The most IMPORTANT part of all that is that once resolv.conf is 
configured, don't forget to make it immutable with a root chattr +i 
resolv.conf. If not, it will be cleared on the reboot and the network is 
dead in the water.

I've been doing this for a while.  Using hosts files does give me a 
network with stable addresses, and thats a must here.

> i think you'd like to see something just work
>
> i'd really like you to have success with this
>
> The UDOO X86 Guide: Chapter One - Basic setup
> https://www.youtube.com/watch?v=TBUXpMq06iU
>
> tomp

I've not bought a UDOO. But the up-board, which has more stuff for 40 
dollars less money, has I think been damaged, it takes, from a powerdown 
overnight boot, about 7 minutes to show me the UP logo, and the bios 
that I was able to get into once yesterday to turn the TCP chip off, is 
apparently a one way switch because all it will do is show the logo & 
mouse pointer, no response to any key except ctl-alt-del, which 
apparently reboots it back to the logo in about 2 seconds max.

Bootable usb keys, or bootable usb hard drives, stuck in a usb port are 
ignored.  Always have been. But it looks like I blew about $125 on the 
up-board.  And the forum is loaded by complaints about poor support.

So I'm back to seeing if I can make the pi see a keyboard that isn't from 
this machine. 4 keyboards have been tried on it, and all work alike, 
shitty lags & no keyup's rx'd about 25% of the time. I have looked at 
it, on the pi, with the usb tracer. ANAICT (the sd is also on the usb 
bus and that noise makes it hard to see a keystroke only data burst), 
but the keyboards are working normally from what I was able to pickout.

Yeah, I'd like it to Just Work(TM) too, but this keyboard problem is 
being a cast iron bitch. We'll see what I do next when the update is 
done.

Thanks Tomp.

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] Emc-users Digest, Vol 133, Issue 31

2017-05-13 Thread Gene Heskett
On Saturday 13 May 2017 11:28:15 Tim wrote:

> > 3. Re: Emc-users Digest, Vol 133, Issue 31
> >
> > message 4
> >
> >>> Gene Heskett wrote
> >>
> >> 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
>
> You can try this Gene
>
> RT-PREEMPT realtime kernel
> Download kernel image
>
> http://download.frank-durr.de/kernel-4.4.9-rt17.tgz
>
> # Extract files
> # On a linux box other than pi. Start your file manager from terminal
> with root privliges.
> # Copy extracted files inside boot directory, to boot directory on
> sdcard choose to overwrite files
> # Copy extarcted file lib, to root of other partition on sdcard choose
> to overwrite files
>
> Good luck
>
> Tim March
>
No boot. Putting the names back to default.  Still no luck, it looks at 
the sd card for about 250 milliseconds and quits, no video or further 
keyboard response.

This acts exactly the same as it did after I had allowed apt to update a 
bunch of stuff in the /boot partition on the morning of May 2, so I have 
not allowed this card to be updated till now.  Now, out of 6 or 7 sd 
cards, I am down to only having one that will boot it.  Again.

Currently the boot dir looks like this:
root@coyote:/media/usb1# ls -l
total 27144
-rwxr-xr-x 1 root root   12829 May 12  2016 bcm2708-rpi-b.dtb
-rwxr-xr-x 1 root root   13092 May 12  2016 bcm2708-rpi-b-plus.dtb
-rwxr-xr-x 1 root root   12865 May 12  2016 bcm2708-rpi-cm.dtb
-rwxr-xr-x 1 root root   14175 May 11  2016 bcm2709-rpi-2-b.dtb
-rwxr-xr-x 1 root root   14845 May 11  2016 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root   15350 Dec 22 02:46 bcm2710-rpi-cm3.dtb
-rwxr-xr-x 1 root root   17932 Dec 22 02:46 bootcode.bin
-rwxr-xr-x 1 root root 300 Dec 22 02:48 cmdline.txt
-rwxr-xr-x 1 root root  131097 Mar  7  2016 config-4.4.4-rt9-v7+.old
-rwxr-xr-x 1 root root1915 May 13 12:54 config.txt
-rwxr-xr-x 1 root root   18693 Dec 22 02:46 COPYING.linux
drwxr-xr-x 4 root root8192 Dec 22 15:55 dtbs_rt
-rwxr-xr-x 1 root root2535 Dec 22 02:46 fixup_cd.dat
-rwxr-xr-x 1 root root6622 Dec 22 02:46 fixup.dat
-rwxr-xr-x 1 root root9753 Dec 22 02:46 fixup_db.dat
-rwxr-xr-x 1 root root9753 Dec 22 02:46 fixup_x.dat
-rwxr-xr-x 1 root root 145 Sep 23  2016 issue.txt
-rwxr-xr-x 1 root root 4268272 May 11  2016 kernel7.img
-rwxr-xr-x 1 root root 4231624 May 12  2016 kernel.img
-rwxr-xr-x 1 root root 4376248 Mar  7  2016 kernel_rt-4.4.4-rt9-v7+.img
-rwxr-xr-x 1 root root1494 Dec 22 02:46 LICENCE.broadcom
-rwxr-xr-x 1 root root   18974 Sep 23  2016 LICENSE.oracle
drwxr-xr-x 2 root root   49152 May 13 12:24 overlays
-rwxr-xr-x 1 root root  634532 Dec 22 02:46 start_cd.elf
-rwxr-xr-x 1 root root 4956996 Dec 22 02:46 start_db.elf
-rwxr-xr-x 1 root root 2823396 Dec 22 02:46 start.elf
-rwxr-xr-x 1 root root 3906116 Dec 22 02:46 start_x.elf
-rwxr-xr-x 1 root root 2107458 Mar  7  2016 System.map-4.4.4-rt9-v7+.old

I'll redo it just for s&g. In the meantime I'm re-writing that card with 
the April 10th image just to see if it will even boot. Looks like dd is 
done, brb.  Boots, input not supported.  I was going to login from here 
and fix /boot/config.txt, I think it needs the monitor specified. No, 
can't do that yet, network-mangler at work, got to emasculate that 
puppy. Put my hosts, resolv.conf, and interfaces file, makeing 
resolv.conf immutable while I'm at it, maybe nuke resolvconf too.  And 
fix /boot/cmdline.txt.  Failed, no boot. Put card in another pi, booted 
but no video. Found a card that did boot to good video, copied its 
config.txt to dead tree, booted the test card again, fixed config.txt.

Rebooted, good video, so now I'm doing an update w/o the new kernel and 
without the wolfram engine, which made it about 120 megs into the 240 
meg download and died. Wash, rinse and repeat, times out on the 
remainder of that file, unmark it, and its stumbling along again. If 
when this is all done, the card gets moved to the pi I have bolted into 
the box lid. If it doesn't boot, change the pi. But this upgrade will 
take another couple of hours, so I'll post this.

That attack they're talking about on the news sites sure is reducing the 
net's traffic.  Very slow today.

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


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

2017-05-13 Thread Tim
Gene
I never renamed anything and kernel was updated to new version
which reflects in command
uname -r

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] Emc-users Digest, Vol 133, Issue 31

2017-05-13 Thread Tim
> >>> Gene Heskett wrote
> >>> first thing I noticed is that these kernels are just kernel.img, whereas
> >>> whereas whats running is named in config.txt as 4.4.4-rt9-v7+, so an
> >>> upgrade can replace kernel.img w/o effecting the kernel its actually
> >>> running. So since I'm writing to an sd card I know will boot and run it,
> >>> should I rename this kernel to kernel-4.4.9-rt17.img and
> >>> update /boot/config.txt to match?

Not sure Gene
Plz post how it works out

> >>>  Didn't want to wait, did it anyway,
> >>> as anything named kernel.img will get wiped by an upgrade.  Time to go
> >>> plug it in and try it.

> >>> If this fixes the keyboard problem, I WILL be a happy camper. Results
> >>> shortly.

#Update rpi firmware without over writing rt kernel

sudo apt-get install rpi-update
sudo SKIP_KERNEL=1 rpi-update

sudo reboot -n


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] Emc-users Digest, Vol 133, Issue 31

2017-05-13 Thread Mark
On 05/13/2017 12:27 PM, TJoseph Powderly wrote:
> gene could you try not changing anything and just boot it
> if the basic simple way to initially check it out , doesnt work,
> then stop and look at whats going on,
> dont change stuff in the beginning
>
> i think you'd like to see something just work
>
> i'd really like you to have success with this
>
> The UDOO X86 Guide: Chapter One - Basic setup
> https://www.youtube.com/watch?v=TBUXpMq06iU
>
> tomp


Yup.  Color me crazy but I always figure if it ain't broke, don't fix it.

Mark

--
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-13 Thread Gene Heskett
On Saturday 13 May 2017 11:28:15 Tim wrote:

> > 3. Re: Emc-users Digest, Vol 133, Issue 31
> >
> > message 4
> >
> >>> Gene Heskett wrote
> >>
> >> 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
>
> You can try this Gene
>
> RT-PREEMPT realtime kernel
> Download kernel image
>
> http://download.frank-durr.de/kernel-4.4.9-rt17.tgz
>
> # Extract files
> # On a linux box other than pi. Start your file manager from terminal
> with root privliges.
> # Copy extracted files inside boot directory, to boot directory on
> sdcard choose to overwrite files
> # Copy extarcted file lib, to root of other partition on sdcard choose
> to overwrite files
>
> Good luck
>
> Tim March
>
first thing I noticed is that these kernels are just kernel.img, whereas
whereas whats running is named in config.txt as 4.4.4-rt9-v7+, so an 
upgrade can replace kernel.img w/o effecting the kernel its actually 
running. So since I'm writing to an sd card I know will boot and run it, 
should I rename this kernel to kernel-4.4.9-rt17.img and 
update /boot/config.txt to match?  Didn't want to wait, did it anyway, 
as anything named kernel.img will get wiped by an upgrade.  Time to go 
plug it in and try it.

If this fixes the keyboard problem, I WILL be a happy camper. Results 
shortly.


> --
> 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] Emc-users Digest, Vol 133, Issue 31

2017-05-13 Thread TJoseph Powderly

gene could you try not changing anything and just boot it
if the basic simple way to initially check it out , doesnt work,
then stop and look at whats going on,
dont change stuff in the beginning

i think you'd like to see something just work

i'd really like you to have success with this

The UDOO X86 Guide: Chapter One - Basic setup
https://www.youtube.com/watch?v=TBUXpMq06iU

tomp


--
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-13 Thread Gene Heskett
On Saturday 13 May 2017 11:28:15 Tim wrote:

> > 3. Re: Emc-users Digest, Vol 133, Issue 31
> >
> > message 4
> >
> >>> Gene Heskett wrote
> >>
> >> 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
>
> You can try this Gene
>
> RT-PREEMPT realtime kernel
> Download kernel image
>
> http://download.frank-durr.de/kernel-4.4.9-rt17.tgz
>
> # Extract files
> # On a linux box other than pi. Start your file manager from terminal
> with root privliges.
> # Copy extracted files inside boot directory, to boot directory on
> sdcard choose to overwrite files
> # Copy extarcted file lib, to root of other partition on sdcard choose
> to overwrite files
>
> Good luck
>
> Tim March
>
I may need it Tim, thanks. 

In the meantime I am fighting with an up-board with an American 
Megatrends EFI bios. I  *think* I have disabled the TPC, but haven't 
been able to do anything since, its stuck overnight on the up-logo, with 
zero keyboard response. I am fixing to go stick a usb key with an 
updated bios in a usb port, and reboot to see if that works, followed by 
a 2nd key with the current lcnc-wheezy.iso on it. I've never dealt with 
this EFI bs before, so its likely I'll need all the luck I can get.

Failing that, I'll put this kernel on the pi, perhaps curing the keyboard 
problem.
> --
> 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] Emc-users Digest, Vol 133, Issue 31

2017-05-13 Thread Tim

> 3. Re: Emc-users Digest, Vol 133, Issue 31
>
> message 4
>
>>> Gene Heskett wrote
>> 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

You can try this Gene

RT-PREEMPT realtime kernel
Download kernel image

http://download.frank-durr.de/kernel-4.4.9-rt17.tgz

# Extract files
# On a linux box other than pi. Start your file manager from terminal 
with root privliges.
# Copy extracted files inside boot directory, to boot directory on 
sdcard choose to overwrite files
# Copy extarcted file lib, to root of other partition on sdcard choose 
to overwrite files

Good luck

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] c++ control Lcnc ... old piece of code

2017-05-13 Thread giorgio foga
The second mail 


halui.cc may be a start example ... but not have function for grab warning user 
messages and user error messages ... these message where came from?


regards

Giorgio



Da: andy pugh 
Inviato: venerdì 12 maggio 2017 15.55
A: Enhanced Machine Controller (EMC)
Oggetto: Re: [Emc-users] c++ control Lcnc ... old piece of code

On 12 May 2017 at 13:28, giorgio foga  wrote:
>
> The question actually for perform the same or similar result not find xemc.cc 
> (because from 2.5 to 2.8 is disappear or because I'm very bad detective...)

It disappeared between 2.7 and 2.8.
https://github.com/LinuxCNC/linuxcnc/blob/2.7/src/emc/usr_intf/xemc.cc
[https://avatars2.githubusercontent.com/u/5650508?v=3&s=400]

LinuxCNC/linuxcnc
github.com
linuxcnc - LinuxCNC controls CNC machines. It can drive milling machines, 
lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and 
more.



Looking through old emails, I saw this discussion given as the reasoning
https://sourceforge.net/p/emc/mailman/emc-developers/thread/20151221024211.GF92296%40unpythonic.net/#msg34710198
Though that is referring to mini and Keystick. I am not sure what the
relationship is with xemc.

--
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
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 ...


--
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] c++ control Lcnc ... old piece of code

2017-05-13 Thread giorgio foga
Sorry but in that time I still did not know the Lcnc project so well ... so did 
not even the mailing list ... just now that you Andy on the forum advised me to 
arrange me to fix a problem I was up and I still have with halcompile I got 
under studying a Yes ... because I saw that it is not possible to correct that 
"problem" for good without knowing at least some of the Lcnc files.

So the question now can be transformed into this: now how now what should you 
do to sniff the Lcnc (user warning and error) signals in a c ++ file? What are 
the files to put in the header of this program? And what structures to use?


I hope all can forgive me bad english.


regards

giorgio



Da: andy pugh 
Inviato: venerdì 12 maggio 2017 15.55
A: Enhanced Machine Controller (EMC)
Oggetto: Re: [Emc-users] c++ control Lcnc ... old piece of code

On 12 May 2017 at 13:28, giorgio foga  wrote:
>
> The question actually for perform the same or similar result not find xemc.cc 
> (because from 2.5 to 2.8 is disappear or because I'm very bad detective...)

It disappeared between 2.7 and 2.8.
https://github.com/LinuxCNC/linuxcnc/blob/2.7/src/emc/usr_intf/xemc.cc
[https://avatars2.githubusercontent.com/u/5650508?v=3&s=400]

LinuxCNC/linuxcnc
github.com
linuxcnc - LinuxCNC controls CNC machines. It can drive milling machines, 
lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and 
more.



Looking through old emails, I saw this discussion given as the reasoning
https://sourceforge.net/p/emc/mailman/emc-developers/thread/20151221024211.GF92296%40unpythonic.net/#msg34710198
Though that is referring to mini and Keystick. I am not sure what the
relationship is with xemc.

--
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
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 ...


--
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