#emc | Logs for 2009-06-07

[00:58:03] <Jymmm> try converting the gif to jpg and see if that helps any
[01:18:57] <Jymmm> SWPadnos: you asleep yet?
[02:00:55] <mozmck> what all needs to be setuid in order to run emc as a normal user?
[02:01:36] <jeshua> SWPadnos: the +5v from the USB did the trick! Thanks a billion!!! :)
[02:01:42] <mozmck> I have emc, emc_module_helper, bfload, pci_write, and pci_read all setuid
[02:04:51] <jepler> everything that needs to be setuid should be made setuid by 'sudo make setuid' (for run-in-place) or 'sudo make install' (for run-installed)
[02:05:37] <jeshua> does anyone know of a decent opensource or linux GCode from DXF project?
[02:06:02] <mozmck> ok. everything I listed is what the makefile makes setuid except "emc"
[02:06:12] <mozmck> I did that one just because it is still not working.
[02:09:04] <jepler> it should not be necessary to make the emc script setuid. if it's the problem you mentioned earlier (symbol version), it's a kernel/rtai misconfiguration, and randomly making things setuid won't fix it
[02:09:08] <jepler> bbl
[02:09:15] <mozmck> jeshua: look here http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Cam
[02:09:37] <mozmck> no, I have emc running now, but I have to sudo to run it.
[02:09:43] <jeshua> thanks! mozmck
[02:11:36] <mozmck> no problem.
[02:12:57] <KimK> Have there been any issues with bringing up the HAL manual from the gnome menu? Mine won't start it. But just the HAL manual, the others are all fine. And I can go into /usr/share/doc/emc2 and bring all up fine. Also from command line all OK. But not HAL Manual from Gnome. Permissions look same, menu item properties look same. Any ideas?
[02:13:27] <jepler> if mozmck comes back, someone please refer him to section "check your locked memory limit" of http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?RtaiSteps
[02:13:31] <jepler> bbl really this time
[02:13:44] <KimK> OK jepler
[02:14:47] <KimK> from jepler: if mozmck comes back, someone please refer him to section "check your locked memory limit" of http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?RtaiSteps
[02:14:47] <skunkworks> <jepler> if mozmck comes back, someone please refer him to section "check your locked memory limit" of http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?RtaiSteps
[02:14:51] <skunkworks> heh
[02:15:12] <KimK> two keyboards are better than one
[02:15:13] <mozmck> thanks!
[02:15:33] <mozmck> hope I'm not being too much of a pain...
[02:15:58] <KimK> Not to me, I'm the guy that can't make the Gnome menu work, LOL
[02:16:36] <skunkworks> KimK: how is it going?
[02:17:43] <mozmck> hmm, that page mentions a soft memlock which I didn't see mentioned elsewhere...
[02:19:15] <KimK> skunkworks: Not going too bad, I'm at a friend's helping with his EMC2 retrofit on a Kasuga knee mill. Just coming on, got encoders on, +24V sense power on, drives and everything else off. Fixing start-up issues first.
[02:19:36] <skunkworks> nice!
[02:20:29] <KimK> It would be nicer if I could open the HAL manual from the start menu. Oh well.
[02:21:03] <skunkworks> I spent the peicing togater a 2 stage air compressor. (turned out great)
[02:21:06] <KimK> I got it open the hard way. Maybe someone has had the same problem and can advise me.
[02:21:34] <KimK> Ah, two-stage. What's the planned system pressure?
[02:22:19] <skunkworks> I have not gotten that far yet. (I am only running 1hp atm)it doesn seem to pump up to 150 without a problem.
[02:23:01] <KimK> "without a problem" is always a good sign
[02:25:01] <skunkworks> acutally the compressor looks brand new. A coworker wondered if I wanted some 'air compressor parts' (for some reason there was this nice shiny compressor.)
[02:25:43] <skunkworks> they thought they would make a compressor out of parts but gave up.
[02:27:08] <KimK> It was free? Even better. We were talking at the Wichita Fest about machines that "follow you home". Sounds like you got one of those.
[02:27:55] <KimK> mozmck: So, did it work?
[02:28:00] <mozmck> got it working as a normal user now!
[02:28:11] <KimK> congrats
[02:28:45] <mozmck> I'm not sure now if it was the soft memlock or removing the tab characters and using spaces in the other line (hard memlock)
[02:29:00] <mozmck> I may go play with it again...
[02:29:01] <mozmck> bbl
[02:29:56] <KimK> There goes a true enthusiast. Just gets it fixed, and says, let's try to break it again.
[02:30:39] <KimK> We need more people like that, I think
[02:31:45] <mozmck> you have to have the soft memlock as well it looks like.
[02:33:11] <KimK> Glad you got it figured out. Do you know anything about the Gnome (start) menu?
[02:33:33] <mozmck> A little.
[02:34:08] <mozmck> what's not working?
[02:34:59] <KimK> I can't open the HAL manual from there, All other manuals open OK. And I can open all manuals from the command line or GUI from /usr/share/doc/emc2
[02:35:32] <KimK> Permissions and contents of "Main Menu" property editor look same. I'm stumped.
[02:35:58] <KimK> Maybe I missed something obvious though?
[02:36:11] <mozmck> is that manual in the same place as the others?
[02:36:41] <KimK> Yes, /usr/share/doc/emc2 and all manuals open from there
[02:37:10] <KimK> but not HAL manual from start menu
[02:37:28] <mozmck> the file for that menu is /usr/share/applications/emc2-halmanual.desktop
[02:37:31] <KimK> Nothing happens there. No error message
[02:37:49] <mozmck> you should be able to open it with a text editor and see if the link is correct
[02:38:09] <KimK> Really? All mine are pointed to the other. I'm 8.04 and 2.3.1
[02:38:29] <KimK> Oh, for the menu, sorry
[02:38:40] <mozmck> yes, the menu item is a .desktop file
[02:38:45] <KimK> I'll look now
[02:47:19] <mozmck> bbl
[02:48:21] <KimK> Good and bad .desktop files have mostly the same info (some missing), but in a different order. I wouldn't have thought that order was critical?
[02:48:55] <KimK> I could try re-ordering the bad file by hand and see, though?
[02:49:14] <mozmck> I wouldn't have though so, but you could try.
[02:49:38] <KimK> OK, you had good luck earlier, we'll try to make it two for two, LOL
[02:51:25] <mozmck> :-) have to go right now, be back later. Hope you get it!
[03:00:21] <KimK> Thanks. I finally did get it, but it was a forehead-slapper. File names did not exactly match, and I missed that twice. Oh well, it's fixed now, thanks for your advice! (And we're two for two)
[03:07:02] <mozmck> good?
[03:07:11] <mozmck> not ?, !
[03:19:57] <KimK> ?
[03:20:24] <mozmck> I meant: good!
[03:24:14] <KimK> Ha, Oh, OK
[04:57:47] <LawrenceG> skunkworks, you still about?
[08:39:36] <EbiDK> EbiDK is now known as EbiDK|AWAY
[10:48:00] <issy> hi all
[11:55:21] <JanVanGilsen> does anybody know what to do with the /ENCA0, /ENCB0 and /IDX0 on mesa's 7i33 board when not using diferential signals? leave it open or connect it to GND?
[12:18:08] <BigJohnT> on my 5i20 I just left them floating...
[13:05:02] <BigJohnT> yea! getting closer, one more piece of the puzzle done :)
[13:08:55] <alex_joni> cool
[13:26:15] <BigJohnT> hi alex_joni
[13:27:03] <BigJohnT> I have it now where it removes any offset in a controlled manner as I move the Z axis up :)
[13:27:12] <BigJohnT> after the torch is off
[13:38:05] <cradek> JanVanGilsen: I expected to find that in the manual but didn't ... My spindle encoder is not differential and I think I just left the /A /B inputs unhooked
[14:12:34] <pcw> JanVanGilsen: Leave the inverted inputs open, I'll put a note in the manual about TTL inputs
[14:12:36] <pcw> (if you ground the /xxx inputs the TTL encoder outputs would have to drive the termination)
[14:42:20] <skunkworks> pjm_: how is the mill?
[14:55:21] <pjm_> skunkworks , hi, yes it is excellent - not had too much time to cnc lately as work have had me running all over the place
[14:55:38] <pjm_> but the next step is to get a Mesa card and do the IO properly
[14:56:02] <skunkworks> nice!
[14:56:41] <pjm_> yeah it will be good
[14:57:02] <pjm_> plus i need to get on with the 4th axis and adding in the relevant microstepping drive etc
[14:57:57] <pjm_> brb the kids are in a frenzy
[14:58:46] <skunkworks> heh
[14:58:54] <skunkworks> logger_emc: bookmark
[14:58:54] <skunkworks> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-06-07.txt
[15:19:01] <skunkworks> huh - there is not current printer port lathe setups using the encoder in count mode. (single phase encoder). the nist lathe uses the counter.
[15:34:02] <bogie> how can it be if i'm constantly getting "joint 0 (or 1) following error" in manual (F3) mode and never - in MDI? i tried to change all parameters in ini file but cannot do anything. emc stoppes working on a random step.
[15:52:58] <cradek> bogie: manual mode uses slightly higher acceleration than mdi in the default g64 mode
[15:53:22] <cradek> if you program G61 you'll probably get the same following errors with MDI
[15:56:12] <bogie> does it mean that making acceleration bigger i can rid off of this error. it never jappened before i changed input_scale to turn units from cm to mm.
[15:56:16] <bogie> ?
[15:56:24] <bogie> happened
[20:24:36] <eric_unterhausen> anyone upgraded to ubuntu 9.04 on their non-cnc machine?
[20:25:58] <jimbo132> Root password for your release 8.04
[20:45:38] <roh> eric_unterhausen yes. some workstations here are 9.04. works fine so far
[21:04:43] <jimbo132> Is the latency of your machine still important if you are using the MESA 5i22 card?
[21:12:36] <SWPadnos> jimbo132, yes, but much less so
[21:13:00] <SWPadnos> you would only have to run the "servo thread" on the PC CPU, which typically runs at 1 kHz
[21:13:49] <SWPadnos> most PCs would have no latency problem for that thread, but some, especially with (a) certain proprietary graphics drivers or (b) power management (SMI) problems, might not work well
[21:14:47] <SWPadnos> instead of needing something with max latency in the 10-20 microsecond range, you could use a PC with up to around 100 microsecond latency (as long as you're sure that's really the maximum)
[21:15:03] <alex_joni> otoh emc2 only checks latency problems on the servo thread
[21:15:22] <alex_joni> so if you get a message reporting problems from emc2, then it might be an issue
[21:15:35] <alex_joni> even with mesa cards, or other servo cards
[21:28:39] <alex_joni> good night all
[23:55:21] <skunkworks> http://www.electronicsam.com/images/house/enclosed.JPG
[23:56:06] <skunkworks> has sawdust on it now http://www.electronicsam.com/images/house/PICT1656.JPG
[23:58:57] <skunkworks> Dad had an old induction motor he let me use. 1hp 1800rpm
[23:59:27] <skunkworks> The thing reminds me of a air starter for a diesle when it starts.
[23:59:27] <jimbo132> Is there a way to output the XY and Z data on a serial port or preferable multiple ports?