Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 20 Oct 2017, 21:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
LinuxCNC (EMC2) on Puppy
Post new topic   Reply to topic View previous topic :: View next topic
Page 8 of 9 [135 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 28 Sep 2014, 08:51    Post subject:  

Small improvement for Ubuntu8.4-test-2.iso in case of frugal install or CD boot to add save partition option and make possible remastering from frugall install.
Patched initrd.gz to use save partition (ext2 or ext3).
Download from here (also uploaded in http://www.mydrive.ch/).
Rename initrd.gz-patch to initrd.gz and replace the old with the patched one inside /casper directory. Create ext2 or ext3 partition with Label casper-rw and add persistent to the kernel boot line.
Still can't make save file to work the same way.

Toni
Back to top
View user's profile Send private message MSN Messenger 
Revolverve

Joined: 08 Nov 2008
Posts: 99
Location: 45°17'24.9"N 72°16'03.2"W

PostPosted: Thu 06 Nov 2014, 04:09    Post subject:  

Took the time to try a frugal install of DebianDog-Jwm-3.4-9-rtai-686-pae-2.iso for real machine testing.
.
Work beautifully! on a fast "desktopless"... motherboard is sitting in an open cardboard box...with 2 cheap pci parallel port card to a small 3 axis steppers based cnc ,2nd port is for an encoders board not yet configure for linuxcnc.

Its an hotgrade from Coolcnc .
Take less than 190mb of ram .

Look stable.

Well done Saintless ,Vtpup ,Mr Kauler,Dr. Debian & all.
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1207
Location: Republic of Vermont

PostPosted: Thu 06 Nov 2014, 10:21    Post subject:  

Good to hear Revolverve! Keep us posted on this rig, pease!

(though all thanks due to Saintless...)

Very Happy Very Happy Very Happy

_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Tahrpup.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

Acer Iconia A1-830 Atom x86 Android tablet
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
vtpup


Joined: 15 Oct 2008
Posts: 1207
Location: Republic of Vermont

PostPosted: Thu 06 Nov 2014, 10:32    Post subject:  

Some possibly extraneous, possibly dumb ideas, but I've been running Debian on an X86 tablet under Android as an image, and RDPing to it locally (ie to localhost).

It just occurred to me that a headless board might work in the opposite direction from a tablet. In other words, RDP or VNC to the headless board from the tablet and use the tablet for running the CNC machine.

I've already seen examples of people using cheap or discarded cell phones as DRO's via bluetooth. This would take it a step further -- the phone or tablet could be both a DRO and the CNC interface to a headless board running LinuxCNC in Debian -- or ideally Puppy.

Right now, the keyboard desktop computer and monitor take up a lot of space in a hobby size CNC setup. It would be interesting to just have a tablet in hand, like a CNC pendant that gives readouts and does the typing. If you added ftp you could send the G-code files as well.

_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Tahrpup.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

Acer Iconia A1-830 Atom x86 Android tablet
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
Revolverve

Joined: 08 Nov 2008
Posts: 99
Location: 45°17'24.9"N 72°16'03.2"W

PostPosted: Thu 06 Nov 2014, 12:41    Post subject:  

Yep Vtpup , you would become another tweaker in the recycling kingdom ..
or inspiration for the future saint of recyclers,no offence to anybody,pls.

You mean an Arm puppy rtai? Faithful you....ask you know who,
your trusty puppy's "Petr Mitrichev on skies" Very Happy
Call it St-Bernard....mmm,no, too big of a dog for a tiny distro,....
Sorry for my avalange of lack of seriousness ,could not resist...
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 06 Nov 2014, 12:50    Post subject:  

Thank you for testing this, Revolverve!

Nice to read it works.
Maybe Vtpup will edit the first post with links:
Ubuntu8.4-test-2.iso - for old hardware.
DebianDog-Jwm-3.4-9-rtai-686-pae-2.iso - for newer hardware.
Both posts include Direct download link and Mirror download link.
It will be easier to find them in case someone else needs small linuxcnc distro (till someone makes puppy-linuxcnc version).

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
vtpup


Joined: 15 Oct 2008
Posts: 1207
Location: Republic of Vermont

PostPosted: Thu 06 Nov 2014, 15:01    Post subject:  

Revolverve wrote:

You mean an Arm puppy rtai?


No, revolverve, something much simpler to accomplish (well that remains to be seen!!)

What I mean is. a single board computer driving the steppers running LinuxCNC and, say rdesktop server, or tightvncserver.

It wouldn't need a keyboard or monitor.

And then a tablet or cellphone running an RDP or VNC client app.

It wouldn't need to run puppy or Debian (though that would be nice). But an Android client app would work, too. Thus no need to use an ARM puppy (for ARM tablets) or an x86 Debian on the tablet.

What you'd end up with is the CNC desktop shown on your tablet or cellphone, controlling the CNC board. If you need to load files on the CNC board you could also set things up to allow ftp.

All this seems do-able, though the devil is in the details, and I don't know if there would be a problem running an RDP server concurrently with LinuxCNC on the controller board....

But maybe it could work......!



@saintless: done -- first post in thread updated. Thanks! Very Happy

_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Tahrpup.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

Acer Iconia A1-830 Atom x86 Android tablet
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
vtpup


Joined: 15 Oct 2008
Posts: 1207
Location: Republic of Vermont

PostPosted: Thu 06 Nov 2014, 15:12    Post subject:  

I might fool around with that concept using saintless LinuxCNC distros. I'll set up a testbed that can't actually move a mill, for safety sake.

There are some alternate LinuxCNC interfaces which are simpler than the main one, and might be more suitable for a touch screen on a tablet. I'll look into that.

_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Tahrpup.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

Acer Iconia A1-830 Atom x86 Android tablet
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
Revolverve

Joined: 08 Nov 2008
Posts: 99
Location: 45°17'24.9"N 72°16'03.2"W

PostPosted: Thu 06 Nov 2014, 21:48    Post subject:  

Vtpup ,
For touch:http://linuxcnc.org/docs/html/gui/touchy.html
Your project sound kind of grbl?
Sorry very poor networking knowledge for me..cannot help.

Go ahead,have fun!

your right ,safety first...mine got no limit switch,can do 1200ipm ,
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 07 Nov 2014, 12:37    Post subject:  

Hi, Vtpup.

I had positive experience controling desktop pc (Debian) from tablet (Android) using TeamViewer. Mostly using the tablet to start playing videos on the desktop pc.
There is android version and deb package for download and also puppy linux package (somewhere in this forum). If you decide to try it make sure the version on the tablet is newer (or the same) as TeamViewer version on the desktop pc. I remember I had troubles to connect if TeamViewer version on the tablet is older.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
vtpup


Joined: 15 Oct 2008
Posts: 1207
Location: Republic of Vermont

PostPosted: Fri 07 Nov 2014, 17:16    Post subject:  

I was successful last night in remotely running LinuxCNC from my tablet.

LinuxCNC itself was running on Ubuntu 8.04 on the IBM Thinkad 600e. I was able to run a remote server by setting Ubuntu's Preferences to allow Remote Desktop -- the remote server is an existing feature of a full Ubuntu install.You just have to set the parameters and it becomes active.

It took quite awhile to figure out the parameters to get the tablet and server handshaking. The client software was androidVNC, running on an Acer Iconia A1-830 tablet.

I tried a number of more modern RDP clients, none of which connected, but finally realized that Ubuntu's "Remote Desktop" was not an RDP server but a VNC server, despite the R and D in the name.

Ubuntu also uses the address 192.168.1.201:0 to mean screen 0 on the IP address -- while the client understands it as port 0. Took some time to get that straightened out, but eventually I was rewarded with a connection.

How did it work? Well I'm pretty sure I could have cut parts, but the buttons on the screen are somewhat on the small side. Revolverve above suggested a different LinuxCNC interface with huge buttons that would have been ideal as a replacement.

Unfortunately it is designed to be used in conjunction with a mechanical jog wheel on a mill -- with inputs from that wheel. Thus the equipment it can be used with is very specialized, and it won't work in my situation.

I think the original interface is usable but not ideal.

_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Tahrpup.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

Acer Iconia A1-830 Atom x86 Android tablet
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 10 Jan 2015, 04:09    Post subject:  

Linux-headers-3.4-9-rtai-686-pae for DebianDog-Jwm-3.4-9-rtai-686-pae-2.iso (in case installing virtualbox or similar software) you can download here:
linux-headers-3.4-9-common-rtai_3.4.55-4linuxcnc_i386.deb
linux-headers-3.4-9-rtai-686-pae_3.4.55-4linuxcnc_i386.deb
linux-kbuild-3.4_3.4-linuxcnc2_i386.deb
Download all three deb packages in some-folder-name and install them by typing:
Code:
sudo dpkg -i /path-to/some-folder-name/*.deb

Fix missing gcc dependencies by typing:
Code:
sudo apt-get -f install

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Sat 05 Sep 2015, 02:43; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
vtpup


Joined: 15 Oct 2008
Posts: 1207
Location: Republic of Vermont

PostPosted: Mon 12 Jan 2015, 11:09    Post subject:  

(double post-- deleted-- corrected "invisibility" error in post)
_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Tahrpup.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

Acer Iconia A1-830 Atom x86 Android tablet
www.sredmond.com

Last edited by vtpup on Mon 12 Jan 2015, 14:50; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
vtpup


Joined: 15 Oct 2008
Posts: 1207
Location: Republic of Vermont

PostPosted: Mon 12 Jan 2015, 11:14    Post subject:  

Thanks saintless, as always!
I've been fooling around with some interesting CNC stuff lately.

It is possible to run an R3 Uno Arduino board (clones available these days for about $9) to do all of the real time work for the stepper motor drivers. it runs a program called Grbl. However, it can only handle one CNC G-code instruction at a time, which it receives over USB.

So a second computer is used for a graphic user interface, and a cache for those instructions, which it sends to the Grbl/Arduino controller as needed. It also receives status information via the USB connection, and so it can update a graphic display of where the machine is.

This frees the GUI computer of needing a real time operating system,

I have been experimenting with a $35 Raspberry Pi B+ board as a GUI control computer, running software by user "zapmaker" here:

http://zapmaker.org/raspberry-pi/running-grbl-controller-on-raspberry-pi/

Raspberry PI runs Raspbian, a Debian fork for its Arm v6 processor.

I will say, that the LinuxCNC/Ububtu or Debdog combination is far more sophisticated and the 3D display of the running mill is great. But it does require a computer with a parallel port, and the computer must have low realtime lag -- a combination increasingly hard to find nowadays.

But zapmaker's Grbl control program does get the job done, and that's the important part. I haven't yet cut anything with it though it does seem to run well.

I also hope to experiment with Puppy for the Raspberry Pi to see if that could run zapmaker's control program, an there may be other interesting possibilities.

Anyway, that's catching up with what I've been trying out.

_________________
Acer Aspire 5349-2635 laptop dual proc, 4gb ram, frugal Tahrpup.
1999 Thinkpad 600e hacked Pent 3, overclocked 800 mHz, 490 kb running Lupu 528

Acer Iconia A1-830 Atom x86 Android tablet
www.sredmond.com

Last edited by vtpup on Mon 12 Jan 2015, 14:51; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 12 Jan 2015, 12:06    Post subject:  

Empty space (Spacebar) at the end of url (after ..raspberry-pi/ )makes your post invisible.
vtpup wrote:
I don't understand what happened to my last posts -- the text isn't visible Shocked
Anyway:

Thanks saintless, as always!
I've been fooling around with some interesting CNC stuff lately.

It is possible to run an R3 Uno Arduino board (clones available these days for about $9) to do all of the real time work for the stepper motor drivers. t runs a program called Grbl. However, it can only handle one CNC G-code instruction at a time, which it receives over USB.

So a second computer is used for a graphic user interface, and a cache for those instructions, which it sends to the Grbl/Arduino controller as needed. It also receives status information via the USB connection, and so it can update a graphic display of where the machine is.

This frees the GUI computer of needing a real time operating system,

I have been experimenting with a $35 Raspberry Pi B+ board as a GUI control computer, running software by user "zapmaker" here:

http://zapmaker.org/raspberry-pi/running-grbl-controller-on-raspberry-pi/

Raspberry PI runs Raspbian, a Debian fork for its Arm v6 processor.

I will say, that the LinuxCNC/Ububtu or Debdog combination is far more sophisticated and the 3D display of the running mill is great. But it does require a computer with a parallel port, and the computer must have low realtime lag -- a combination increasingly hard to find nowadays.

But zapmaker's Grbl control program does get the job done, and that's the important part. I haven't yet cut anything with it though it does seem to run well.

I also hope to experiment with Puppy for the Raspberry Pi to see if that could run zapmaker's control program, an there may be other interesting possibilities.

Anyway, that's catching up with what I've been trying out.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 8 of 9 [135 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1107s ][ Queries: 12 (0.0094s) ][ GZIP on ]