Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread Peter C. Wallace
On Thu, 26 Feb 2015, Marius Liebenberg wrote:

 Date: Thu, 26 Feb 2015 11:44:07 +
 From: Marius Liebenberg mar...@mastercut.co.za
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] hm2_eth driver missing
 
 I just did a fresh pull and compiled from source. There are no hm2_eth
 drivers anywhere that I can find. The firmware for 7i80 is not under the
 lib/firmware directory either.
 How do I go about to get the complete source to build from?

To get the uspace version of linuxcnc

you must:

  ./configure --with-realtime=uspace


for wheezy heres the whole shebang:

cd ~
sudo apt-get install git-core gitk git-gui
sudo apt-get build-dep linuxcnc
sudo apt-get install linux-image-3.2.0-4-rt-686-pae
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout master
git pull
cd src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid



 -
 Regards / Groete

 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 746 6064
 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread sam sokolik
You also want to read up on the configuration of the interface\

http://linuxcnc.org/docs/2.7/html/man/man9/hm2_eth.9.html

some more info..
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace

sam



On 2/26/2015 8:26 AM, Marius Liebenberg wrote:
Thanks Peter, the shebang does it nicely :)
 I was not aware that I had to have a different flavour to run the
 ethernet stuff. If I had done it right from the word go, where would I
 have found the information? Or maybe I should ask where would one read
 to find out about the different configurations for linuxcnc at compile
 time?
 I have compiled linuxcnc a thousand times but I must say that I never
 had any reason to look for another config so I am a bit ignorant here.


 -- Original Message --
 From: Peter C. Wallace p...@mesanet.com
 To: Marius Liebenberg mar...@mastercut.co.za; Enhanced Machine
 Controller (EMC) emc-users@lists.sourceforge.net
 Sent: 2015-02-26 15:34:08
 Subject: Re: [Emc-users] hm2_eth driver missing

 On Thu, 26 Feb 2015, Marius Liebenberg wrote:

 Date: Thu, 26 Feb 2015 11:44:07 +
 From: Marius Liebenberg mar...@mastercut.co.za
 To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 Subject: [Emc-users] hm2_eth driver missing

 I just did a fresh pull and compiled from source. There are no hm2_eth
 drivers anywhere that I can find. The firmware for 7i80 is not under
 the
 lib/firmware directory either.
 How do I go about to get the complete source to build from?

 To get the uspace version of linuxcnc

 you must:

   ./configure --with-realtime=uspace


 for wheezy heres the whole shebang:

 cd ~
 sudo apt-get install git-core gitk git-gui
 sudo apt-get build-dep linuxcnc
 sudo apt-get install linux-image-3.2.0-4-rt-686-pae
 git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
 cd linuxcnc-dev
 git checkout master
 git pull
 cd src
 ./autogen.sh
 ./configure --with-realtime=uspace
 make
 sudo make setuid


 -
 Regards / Groete

 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 746 6064
 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub
 for all
 things parallel software development, from weekly thought leadership
 blogs to
 news, videos, case studies, tutorials and more. Take a look and join
 the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread Marius Liebenberg


-- Original Message --
From: Peter C. Wallace p...@mesanet.com
To: Marius Liebenberg mar...@mastercut.co.za; Enhanced Machine 
Controller (EMC) emc-users@lists.sourceforge.net
Sent: 2015-02-26 17:13:54
Subject: Re: [Emc-users] hm2_eth driver missing

On Thu, 26 Feb 2015, Marius Liebenberg wrote:

Date: Thu, 26 Feb 2015 15:04:32 +
From: Marius Liebenberg mar...@mastercut.co.za
To: Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] hm2_eth driver missing

Am I right to say that I cannot run this implementation on Ubuntu 
10.04?
I have to move to Debian?

It _might_ work on 10.04 though you may have to build your own 
Preemt-RT kernel. I have only run uspace on Ubuntu 12.04, 14.04 and 
Debian wheezy
  Ok that sounds good. I have 14.04 on me development machine that I can 
test this on.


Note that the best performance I have had so far is with a current 
Preemt-RT kernel (3.18.7-rt1)

Hm2_eth/uspace even works suprisingly well on a intel I5 based Laptop




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread Marius Liebenberg
Am I right to say that I cannot run this implementation on Ubuntu 10.04? 
I have to move to Debian?

-- Original Message --
From: sam sokolik sa...@empirescreen.com
To: Marius Liebenberg mar...@mastercut.co.za; Enhanced Machine 
Controller (EMC) emc-users@lists.sourceforge.net
Sent: 2015-02-26 16:36:34
Subject: Re: [Emc-users] hm2_eth driver missing

You also want to read up on the configuration of the interface\

http://linuxcnc.org/docs/2.7/html/man/man9/hm2_eth.9.html

some more info..
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace

sam



On 2/26/2015 8:26 AM, Marius Liebenberg wrote:
Thanks Peter, the shebang does it nicely :)
I was not aware that I had to have a different flavour to run the
ethernet stuff. If I had done it right from the word go, where would I
have found the information? Or maybe I should ask where would one read
to find out about the different configurations for linuxcnc at compile
time?
I have compiled linuxcnc a thousand times but I must say that I never
had any reason to look for another config so I am a bit ignorant here.


-- Original Message --
From: Peter C. Wallace p...@mesanet.com
To: Marius Liebenberg mar...@mastercut.co.za; Enhanced Machine
Controller (EMC) emc-users@lists.sourceforge.net
Sent: 2015-02-26 15:34:08
Subject: Re: [Emc-users] hm2_eth driver missing

On Thu, 26 Feb 2015, Marius Liebenberg wrote:

Date: Thu, 26 Feb 2015 11:44:07 +
From: Marius Liebenberg mar...@mastercut.co.za
To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
Subject: [Emc-users] hm2_eth driver missing

I just did a fresh pull and compiled from source. There are no 
hm2_eth
drivers anywhere that I can find. The firmware for 7i80 is not under
the
lib/firmware directory either.
How do I go about to get the complete source to build from?

To get the uspace version of linuxcnc

you must:

   ./configure --with-realtime=uspace


for wheezy heres the whole shebang:

cd ~
sudo apt-get install git-core gitk git-gui
sudo apt-get build-dep linuxcnc
sudo apt-get install linux-image-3.2.0-4-rt-686-pae
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout master
git pull
cd src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid


-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 746 6064
--
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your 
hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join
the
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Dive into the World of Parallel Programming The Go Parallel Website, 
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub 
for all
things parallel software development, from weekly thought leadership 
blogs to
news, videos, case studies, tutorials and more. Take a look and join 
the
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users





--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread Marius Liebenberg
  Thanks Peter, the shebang does it nicely :)
I was not aware that I had to have a different flavour to run the 
ethernet stuff. If I had done it right from the word go, where would I 
have found the information? Or maybe I should ask where would one read 
to find out about the different configurations for linuxcnc at compile 
time?
I have compiled linuxcnc a thousand times but I must say that I never 
had any reason to look for another config so I am a bit ignorant here.


-- Original Message --
From: Peter C. Wallace p...@mesanet.com
To: Marius Liebenberg mar...@mastercut.co.za; Enhanced Machine 
Controller (EMC) emc-users@lists.sourceforge.net
Sent: 2015-02-26 15:34:08
Subject: Re: [Emc-users] hm2_eth driver missing

On Thu, 26 Feb 2015, Marius Liebenberg wrote:

Date: Thu, 26 Feb 2015 11:44:07 +
From: Marius Liebenberg mar...@mastercut.co.za
To: Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net
Subject: [Emc-users] hm2_eth driver missing

I just did a fresh pull and compiled from source. There are no hm2_eth
drivers anywhere that I can find. The firmware for 7i80 is not under 
the
lib/firmware directory either.
How do I go about to get the complete source to build from?

To get the uspace version of linuxcnc

you must:

  ./configure --with-realtime=uspace


for wheezy heres the whole shebang:

cd ~
sudo apt-get install git-core gitk git-gui
sudo apt-get build-dep linuxcnc
sudo apt-get install linux-image-3.2.0-4-rt-686-pae
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout master
git pull
cd src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 746 6064
--
Dive into the World of Parallel Programming The Go Parallel Website, 
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub 
for all
things parallel software development, from weekly thought leadership 
blogs to
news, videos, case studies, tutorials and more. Take a look and join 
the
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread Peter C. Wallace
On Thu, 26 Feb 2015, Marius Liebenberg wrote:

 Date: Thu, 26 Feb 2015 15:04:32 +
 From: Marius Liebenberg mar...@mastercut.co.za
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] hm2_eth driver missing
 
 Am I right to say that I cannot run this implementation on Ubuntu 10.04?
 I have to move to Debian?

It _might_ work on 10.04 though you may have to build your own Preemt-RT 
kernel. I have only run uspace on Ubuntu 12.04, 14.04 and Debian wheezy

Note that the best performance I have had so far is with a current Preemt-RT 
kernel (3.18.7-rt1)

Hm2_eth/uspace even works suprisingly well on a intel I5 based Laptop



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread Peter C. Wallace
On Thu, 26 Feb 2015, Marius Liebenberg wrote:

 Date: Thu, 26 Feb 2015 14:26:06 +
 From: Marius Liebenberg mar...@mastercut.co.za
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] hm2_eth driver missing

  Thanks Peter, the shebang does it nicely :)
 I was not aware that I had to have a different flavour to run the
 ethernet stuff. If I had done it right from the word go, where would I
 have found the information? Or maybe I should ask where would one read
 to find out about the different configurations for linuxcnc at compile
 time?
 I have compiled linuxcnc a thousand times but I must say that I never
 had any reason to look for another config so I am a bit ignorant here.

The README file in the top level linuxcnc directory has the config info

Here is some information about uspace:

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace


BTW if you have a Intel MAC (may apply to other macs as well)
you need to turn off IRQ coalescing :

sudo ethtool -C ethN rx-usecs 0




 -- Original Message --
 From: Peter C. Wallace p...@mesanet.com
 To: Marius Liebenberg mar...@mastercut.co.za; Enhanced Machine
 Controller (EMC) emc-users@lists.sourceforge.net
 Sent: 2015-02-26 15:34:08
 Subject: Re: [Emc-users] hm2_eth driver missing

 On Thu, 26 Feb 2015, Marius Liebenberg wrote:

 Date: Thu, 26 Feb 2015 11:44:07 +
 From: Marius Liebenberg mar...@mastercut.co.za
 To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 Subject: [Emc-users] hm2_eth driver missing

 I just did a fresh pull and compiled from source. There are no hm2_eth
 drivers anywhere that I can find. The firmware for 7i80 is not under
 the
 lib/firmware directory either.
 How do I go about to get the complete source to build from?

 To get the uspace version of linuxcnc

 you must:

  ./configure --with-realtime=uspace


 for wheezy heres the whole shebang:

 cd ~
 sudo apt-get install git-core gitk git-gui
 sudo apt-get build-dep linuxcnc
 sudo apt-get install linux-image-3.2.0-4-rt-686-pae
 git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
 cd linuxcnc-dev
 git checkout master
 git pull
 cd src
 ./autogen.sh
 ./configure --with-realtime=uspace
 make
 sudo make setuid



 -
 Regards / Groete

 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 746 6064
 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub
 for all
 things parallel software development, from weekly thought leadership
 blogs to
 news, videos, case studies, tutorials and more. Take a look and join
 the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.



 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread Nicklas Karlsson
I am using the Hostmot 2 drivers but are not at the right computer now, I
could check within a few hurs.

 I just did a fresh pull and compiled from source. There are no hm2_eth
 drivers anywhere that I can find. The firmware for 7i80 is not under the
 lib/firmware directory either.
 How do I go about to get the complete source to build from?



 -
 Regards / Groete

 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 746 6064
 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hm2_eth driver missing

2015-02-26 Thread sam sokolik
the 7i80 is similar to the 5i25 cards in that the firmware isn't loaded 
each time - you have to load the using the mesa-flash utility.  
(although it comes with a firmware installed - so you should be able to 
test)

As far as the driver not being there - are you running rt-preemt 
kernel?  My guess if you are running rtai - the hm2_eth isn't built.  
(but that is just a guess)

sam

On 2/26/2015 5:44 AM, Marius Liebenberg wrote:
 I just did a fresh pull and compiled from source. There are no hm2_eth
 drivers anywhere that I can find. The firmware for 7i80 is not under the
 lib/firmware directory either.
 How do I go about to get the complete source to build from?



 -
 Regards / Groete

 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 746 6064
 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users