[Machinekit] RE: Just Some Ideas/Seth

2019-03-14 Thread Mala Dies
Hello,

If you are using MachineKit and are rebooting instead of powering off and 
then booting, make sure your image on your eMMC is wiped clean or hold down 
your S2 button each time you boot. 

Network Abort issues arise.

Seth

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Re: Installing Machinekit on Beaglebone Black to Use on PC Desktop

2019-03-14 Thread Mala Dies
Hello,

I was unaware that you posted here. Try this idea and please let me know if 
it works:

sudo /sbin/route add default gw 192.168.7.1
echo -e "nameserver 8.8.8.8\nnameserver 1.1.1.1" | sudo tee -a /etc/resolv.conf 
>/dev/null

Seth

P.S. I found that on a person's github page. It may work.



On Thursday, March 14, 2019 at 3:59:56 AM UTC-5, Sardar Vayghannezgad wrote:
>
> Hi all,
> I have been struggling for the past ten days, as a brand new user, to get 
> my Beaglebone Black rec C (element 14) to run Machinekit on my Win 8.1 PC. 
> To save you the long story, I am totally lost. What I've been able to learn 
> during 
> my time playing with all the software and hardware around me from forums, 
> blogs, sites, personal intuition, etc comes down to:
>
>- successfully flashing an image on a microSD card and then transfer 
>them on to the BB-Black, so that it can run without the flash card inside,
>- connecting BBB to my PC via puTTY and to the internet (albeit, 
>apparently Google only, as I cannot have puTTy download any packages)
>
> Since I am desperately looking for some dummies pointers on the issues I 
> have, I'm giving all the software/hardware coordinates I think are 
> important:
>
> The image I'm using is from here 
> 
>
> My Questions are:
>
>1. BBB does show up on my PC with the default image 
>
> it comes out with, and I can go through the instructions available on 
> Beagleboard/getting 
>started webpage 
>, but once I replace it with another Image 
>
> 
>, it doesn't seem to appear as a drive on my PC nor anywhere on the 
>Device Manager. However, I can putty it to my PC, and share my PC WiFi 
> with 
>it. Given that I have installed the required drivers from BBoard 
>Getting Started 
>, Is this normal?!! If not, What is it that causes this? (I have 
>searched high and low online, but haven't come up with a concrete 
>conclusion)
>2. I can use my PC WiFi to connect BBB to the Google per online 
>instructions, yet any attempt, via puTTY, to download Machinekit 
>Packages 
>
> (Just in case, is the link right for my case?!!) from the related 
>website leads in the error:
>
> machinekit@beaglebone:~$ sudo apt-get install machinekit-xenomai
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package machinekit-xenomai
>
>
> or
> machinekit@beaglebone:~$ sudo apt-get install machinekit-posix
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package machinekit-posix
>
>   3. I have downloaded the Machinekit Client on my PC. What 
> else do I need? I can see online that I need download tightVNC viewer both 
> on my PC and on the BBB via puTTY. right? Provided that I can do so, do I 
> need to download a VCP (Visual Control Panel) like QtQuickVcp to use in 
> conjunction with Machinekit? Should I install this on my PC or BBB or 
> both?!!!
>
> 4. My keyboard is misspelling on ThightVNC window. How can I 
> fix this? 
>
> Any help, however small, would be appreciated.
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] RE: Why are We Using an Older Kernel for the MachineKit for the BBB?

2019-03-14 Thread Mala Dies
Hello Sir,

Got it. I am staying w/ the 3.8.x kernel then. Supportive people are nice, 
too.

Seth

P.S. I did get the 3.8.x kernel and I am upgrading right now via apt. Yea 
boy!

On Thursday, March 14, 2019 at 4:35:22 PM UTC-5, Robert Nelson wrote:
>
> On Thu, Mar 14, 2019 at 4:27 PM Mala Dies > 
> wrote: 
> > 
> > Hello, 
> > 
> > I was just reading the github.com page for MachineKit. I see under 
> Stretch, we are supposed to get the binary files. 
> > 
> > ... 
> > 
> > Curious minds want to know. 
> > 
> > Seth 
> > 
> > P.S. I do not mind the prepackaged version. Do not misunderstand me. I 
> was just wondering. 
>
> The "old" 3.8.x based image is well known..  It works as is, any 
> updates and you are really on your own.. 
>
> There is a newer image here, using v4.19.x-rt, it's just not as much 
> utilzed.. 
>
>
> https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#microSD.2FStandalone:_.28machinekit.29_Based_on_Debian_Stretch_with_4.19.x_rt_kernel_with_U-Boot_Overlays
>  
>
> Regards, 
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] RE: Why are We Using an Older Kernel for the MachineKit for the BBB?

2019-03-14 Thread Robert Nelson
On Thu, Mar 14, 2019 at 4:27 PM Mala Dies  wrote:
>
> Hello,
>
> I was just reading the github.com page for MachineKit. I see under Stretch, 
> we are supposed to get the binary files.
>
> ...
>
> Curious minds want to know.
>
> Seth
>
> P.S. I do not mind the prepackaged version. Do not misunderstand me. I was 
> just wondering.

The "old" 3.8.x based image is well known..  It works as is, any
updates and you are really on your own..

There is a newer image here, using v4.19.x-rt, it's just not as much utilzed..

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#microSD.2FStandalone:_.28machinekit.29_Based_on_Debian_Stretch_with_4.19.x_rt_kernel_with_U-Boot_Overlays

Regards,
-- 
Robert Nelson
https://rcn-ee.com/

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] Machinekitclient, remote stdout shows up as error dialogs

2019-03-14 Thread schoone...@gmail.com

This is in hand.

A long time ago, possibly in linuxcnc, someone set the behaviour of the 
print functions to be contrary to what was expected,

instead of fixing them so that they didn't spew unwanted info.

A recent commit changed this because some info was not being printed 
when it should be, but with knock on as you found.


The behaviour will be reverted shortly and the print issue re-visited later.

regards
On 13/03/19 23:31, fritz wrote:

I am using a BBB running the latest MK with Cetus.

My ini has DEBUG=0

When I connect with MachinkitClient to the session, a bunch of stuff 
that was  being printed to sdout


and also to the the log during my tinkering phase comes up as error 
dialogs like in the attached screenshot.


Any suggestions as to why?


My config is at https://github.com/coldelectrons/mk-lowrider2

The log from one such session in /var/log/linuxcnc.log:

Mar 13 22:16:48 lowriderbone msgd:0: startup pid=14423 
flavor=rt-preempt rtlevel=1 usrlevel=1 halsize=524288 shm=Posix cc=gcc 
6.3.0 20170516  version=v0.1~-~1dfa004
Mar 13 22:16:48 lowriderbone msgd:0: ØMQ=4.2.1 czmq=4.0.2 
protobuf=3.0.0 atomics=gcc intrinsicslibwebsockets=2.0.3

Mar 13 22:16:48 lowriderbone msgd:0: configured: sha=1dfa004
Mar 13 22:16:48 lowriderbone msgd:0: built:  Jan 23 2019 10:18:33 
sha=1dfa004
Mar 13 22:16:48 lowriderbone msgd:0: register_stuff: actual hostname 
as announced by avahi='lowriderbone.local'
Mar 13 22:16:48 lowriderbone msgd:0: zeroconf: registering: 'Log 
service on lowriderbone.local pid 14423'
Mar 13 22:16:49 lowriderbone msgd:0: zeroconf: registered 'Log service 
on lowriderbone.local pid 14423' _machinekit._tcp 49152 TXT 
"uuid=52fba462-bda9-46a5-89f0-21996d5170ff" 
"instance=b1da9886-45dd-11e9-8743-c8a030ad5fb2" "service=log" 
"dsn=tcp://lowriderbone.local:49152"
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt memmapped gpio 
port 2 to 0xb6f36000, oe: 0xb6f36134, set: 0xb6f36194, clr: 0xb6f36190
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt pin 7 maps to 
pin 2-2, mode 85
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt pin 8 maps to 
pin 2-3, mode 85
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt pin 9 maps to 
pin 2-5, mode 85
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt pin 10 maps to 
pin 2-4, mode 85
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt memmapped gpio 
port 0 to 0xb6f34000, oe: 0xb6f34134, set: 0xb6f34194, clr: 0xb6f34190
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt pin 17 maps to 
pin 0-27, mode 85
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt pin 11 maps to 
pin 0-30, mode 85
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt pin 13 maps to 
pin 0-31, mode 85
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt memmapped gpio 
port 1 to 0xb6f32000, oe: 0xb6f32134, set: 0xb6f32194, clr: 0xb6f32190
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt memmapped gpio 
port 3 to 0xb6f3, oe: 0xb6f30134, set: 0xb6f30194, clr: 0xb6f30190

Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt prussdrv_init
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt prussdrv_open
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt 
prussdrv_pruintc_init

Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt prussdrv_map_prumem
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt PRU data ram mapped
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt num_pwmgens : 0
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt num_stepgens: 6
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt num_encoders: 0
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt Init pwm
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt Init stepgen
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt hpg_stepgen_init
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt Init encoder
Mar 13 22:16:50 lowriderbone msgd:0: hal_lib:14428:rt creating 
ladder-state
Mar 13 22:16:51 lowriderbone msgd:0: hal_lib:14450:user INFO 
CLASSICLADDER-   No ladder GUI requested-Realtime runs till HAL closes.




--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups "Machinekit" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Installing Machinekit on Beaglebone Black to Use on PC Desktop

2019-03-14 Thread Sardar Vayghannezgad
Hi all,
I have been struggling for the past ten days, as a brand new user, to get 
my Beaglebone Black rec C (element 14) to run Machinekit on my Win 8.1 PC. 
To save you the long story, I am totally lost. What I've been able to learn 
during 
my time playing with all the software and hardware around me from forums, 
blogs, sites, personal intuition, etc comes down to:

   - successfully flashing an image on a microSD card and then transfer 
   them on to the BB-Black, so that it can run without the flash card inside,
   - connecting BBB to my PC via puTTY and to the internet (albeit, 
   apparently Google only, as I cannot have puTTy download any packages)
   
Since I am desperately looking for some dummies pointers on the issues I 
have, I'm giving all the software/hardware coordinates I think are 
important:

The image I'm using is from here 


My Questions are:

   1. BBB does show up on my PC with the default image 
   
it comes out with, and I can go through the instructions available on 
Beagleboard/getting 
   started webpage 
   , but once I replace it with another Image 
   

   , it doesn't seem to appear as a drive on my PC nor anywhere on the 
   Device Manager. However, I can putty it to my PC, and share my PC WiFi with 
   it. Given that I have installed the required drivers from BBoard Getting 
   Started 
   , Is this normal?!! If not, What is it that causes this? (I have 
   searched high and low online, but haven't come up with a concrete 
   conclusion)
   2. I can use my PC WiFi to connect BBB to the Google per online 
   instructions, yet any attempt, via puTTY, to download Machinekit Packages 
   
(Just in case, is the link right for my case?!!) from the related 
   website leads in the error:
   
machinekit@beaglebone:~$ sudo apt-get install machinekit-xenomai
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package machinekit-xenomai


or
machinekit@beaglebone:~$ sudo apt-get install machinekit-posix
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package machinekit-posix

  3. I have downloaded the Machinekit Client on my PC. What 
else do I need? I can see online that I need download tightVNC viewer both 
on my PC and on the BBB via puTTY. right? Provided that I can do so, do I 
need to download a VCP (Visual Control Panel) like QtQuickVcp to use in 
conjunction with Machinekit? Should I install this on my PC or BBB or 
both?!!!

4. My keyboard is misspelling on ThightVNC window. How can I 
fix this? 

Any help, however small, would be appreciated.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.