Re: [Emc-users] Arduino with Ubuntu 8.04

2008-10-04 Thread sam sokolik
I am home - what do you want to do about suzi? love you sam - Original Message - From: "Steve Hobbs" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Wednesday, September 24, 2008 5:02 PM Subject: Re: [Emc-users] Arduino with Ubuntu 8.04

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-10-04 Thread Steve Hobbs
Works perfectly - both the Arduino comms (ftdi_sio) and EMC2. Thank you. Steve On Tue, 2008-09-30 at 19:48 -0500, Jeff Epler wrote: > Alex Joni has uploaded a new version of the kernel package which > includes the ftdi_sio driver. If you can, please try the new kernel > package by downloading >

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-10-01 Thread alan
Re Kernel update, Downloaded this onto desktop and then all I had to do was double click and installer ran automatically. Now works fine with my Diecimilia board whereas before I could not download to the chip before, so far so good. I'm not in my workshop so unable to try emc actually running, bu

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-30 Thread Jeff Epler
Alex Joni has uploaded a new version of the kernel package which includes the ftdi_sio driver. If you can, please try the new kernel package by downloading http://www.linuxcnc.org/hardy/dists/hardy/base/binary-i386/linux-image-2.6.24-16-rtai_2.6.24-16.30.linuxcnc.4_i386.deb and installing it

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-24 Thread Steve Hobbs
The final piece of the jigsaw, in case anyone has similar problems. The Arduino IDE wouldn't talk to the Arduino board because serial.debug_rate in ~/.arduino/preferences.txt was set to 14400, a value not supported by the port (something to do with the ftdi_sio driver?). Setting this value to 960

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread Steve Hobbs
Sorry, me again. Update manager has just popped up to offer me one update: linux-image-2.6.24-16-rtai. It looks like it wants to reinstall the release kernel in place of my patch. Any idea why? Do I just have to keep saying No? Steve ---

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread Steve Hobbs
Fantastic - it works! Thank you for your help Jeff. Just for the record then, I've rebuilt and installed the kernel according to Jeff's recipe and now the Arduino talks happily with EMC2 again. The Arduino IDE still fails to connect to the Arduino board, but that's for another day since I can pro

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread paul_c
On Sunday 21 September 2008, Dirk wrote: > If you are lucky you can use the debian way of compiling   > kernels. This will solve dependency's too. Try: apt-get install kernel- > kpkg" this will install all stuff needed to compile your own kernel in   > a nice .deb package. That should be kernel-pa

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread Dirk
On 21 sep 2008, at 19:25, Jeff Epler wrote: > On Sun, Sep 21, 2008 at 05:54:34PM +0100, Steve Hobbs wrote: >> 3.1 I tried to follow Jeff's instructions to build the kernel with >> the driver included, but came off the rails at step 3 with: >> dpkg-src: command not found > looks like I me

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread Jeff Epler
On Sun, Sep 21, 2008 at 05:54:34PM +0100, Steve Hobbs wrote: > 3.1 I tried to follow Jeff's instructions to build the kernel with > the driver included, but came off the rails at step 3 with: > dpkg-src: command not found looks like I meant dpkg-source Jeff

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread Dirk
On 21 sep 2008, at 18:54, Steve Hobbs wrote: > OK, here's what I've found so far. > > 1. The ftdi_sio driver is included in the generic 8.04 kernel and the > Arduino attaches to port /dev/ttyUSB0 as expected. > > 1.1. Both GtkTerm and the Python serial library can then communicate > with th

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread Steve Hobbs
OK, here's what I've found so far. 1. The ftdi_sio driver is included in the generic 8.04 kernel and the Arduino attaches to port /dev/ttyUSB0 as expected. 1.1. Both GtkTerm and the Python serial library can then communicate with the Arduino (I programmed it to act like a serial loopback

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-21 Thread Dirk
I don't have any experience with arduino on linux except for the usage with emc2. But, just to make sure, are you 100% certain that you choose the correct serial port and the correct arduino board in the arduino interface? I assume you have read the instructions for ubuntu at the arduino s

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-20 Thread Jeff Epler
On Sun, Sep 21, 2008 at 12:40:09AM +0100, Steve Hobbs wrote: > > I'm not sure what to tell you -- I just tested the code from > > http://axis.unpy.net/01198594294 again and it (still) works for me. > > Today, I'm using emc 2.2, ubuntu 8.04, and the arduino diecimilila > > board. The sketch was com

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-20 Thread Steve Hobbs
t; observation went, and I'll try to build and send you the module). > > Regards, > Alex > > - Original Message - > From: "Steve Hobbs" <[EMAIL PROTECTED]> > To: "Enhanced Machine Controller (EMC)" > Sent: Sunday, September 21, 2008 12:36

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-20 Thread Alex Joni
September 21, 2008 12:36 AM Subject: Re: [Emc-users] Arduino with Ubuntu 8.04 > Wow! > > Thanks, but before I dive in so deeply, how likely is it that the > problem really is the missing ftdi_sio driver? Was this driver included > in the Ubuntu 6.06 / EMC2 Live CD installat

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-20 Thread Steve Hobbs
Wow! Thanks, but before I dive in so deeply, how likely is it that the problem really is the missing ftdi_sio driver? Was this driver included in the Ubuntu 6.06 / EMC2 Live CD installation? (I never checked, because it all just worked) Steve On Sat, 2008-09-20 at 15:37 -0500, Jeff Epler wrote:

Re: [Emc-users] Arduino with Ubuntu 8.04

2008-09-20 Thread Jeff Epler
I haven't tested this myself, and it will be a time-consuming process, but you can rebuild the realtime kernel with this driver included. 0. Because you're going to overwrite the installed kernel, install a generic kernel so you can still boot even if something goes wrong with the new kernel you'r

[Emc-users] Arduino with Ubuntu 8.04

2008-09-20 Thread Steve Hobbs
I've just upgraded my machine to Ubuntu 8.04 using the EMC2 live CD. I've been working on a jog pendant and DRO using an Arduino Diecimila and everything was working fine with Ubuntu 6.06, but since the upgrade neither the Arduino IDE nor my Python interface code can talk to either of my Arduino b