#emc | Logs for 2008-10-13

Back
[01:25:40] <Da1> Da1 is now known as Dr0nE
[01:25:45] <Dr0nE> hello
[01:26:40] <Dr0nE> i have an issue with compiling emc2 on ubuntu 8.04 in simulator mode.
[01:27:13] <cradek> hi
[01:28:35] <Dr0nE> when configuring with "--enable-run-in-place --enable-simulator" i get emc2/rtlib/hal_lib.so and emc2/rtlib/trivkins.so not found/cannot load
[01:29:09] <Dr0nE> the rtlib folder is empty
[01:29:24] <cradek> hard to guess what the problem is from that - can you post the entire configure and compile log on pastebin.ca?
[01:29:25] <Dr0nE> any idea what i'm missing here?
[01:29:58] <cradek> I'm sure there is a message that says what is going wrong, but you might have missed it.
[01:30:28] <cradek> I'll help you spot it if you can post the logs
[01:30:53] <Dr0nE> one thing i did notice during compilation was that it couldnt copy a file to "../share/locale/de/LC_MESSAGES/rs274_err.mo"
[01:31:10] <JymmmEMC> Dr0nE: http://pastebin.ca
[01:31:17] <Dr0nE> posting as we speak
[01:31:19] <cradek> that may be another problem, but probably not the important one
[01:32:29] <Dr0nE> http://pastebin.ca/1225539 i believe those are what you are asking for
[01:33:30] <cradek> close but I was hoping to see the output of the configure (stdout, stderr) and make
[01:34:06] <Dr0nE> is it redirected to a file i can post ?
[01:34:23] <cradek> no, I think you will have to do it yourself
[01:34:29] <cradek> you can use the program "script"
[01:34:33] <cradek> % script
[01:34:36] <cradek> % ./configure ....
[01:34:38] <cradek> % make
[01:34:39] <cradek> % exit
[01:34:49] <jepler> ("%" represents the shell prompt)
[01:35:36] <cradek> hi jepler
[01:35:49] <jepler> hi cradek
[01:37:41] <Dr0nE> http://pastebin.ca/1225545
[01:39:11] <jepler> ok, the build is stopping at that first error (that is the normal behavior of 'make':): #
[01:39:15] <jepler> cp: cannot create regular file `../share/locale/de/LC_MESSAGES/rs274_err.mo': Permission denied
[01:39:56] <jepler> so your next task is to figure out why that error is given. "ls -ld ../share/locale/de/LC_MESSAGES" will show you whether the directory exists, and if so who the owner is. my guess is that you did something with "sudo" when not directed to do so, and ended up with a directory that cannot be written by your user.
[01:40:04] <cradek> that's odd because that 'share' directory is in the emc2 tree. Did you change some permissions after you got the cvs checkout?
[01:40:27] <cradek> ha, jepler is faster and gives good advice.
[01:41:23] <Dr0nE> lol, locale folder was created by root.
[01:42:09] <cradek> you should not use sudo for ANY part of the cvs checkout or configure/build
[01:42:19] <jepler> to recover from this, you need to: sudo chown (your username) (top emc2 directory)
[01:42:20] <cradek> the beauty of simulator mode is it doesn't need any root permissions
[01:42:34] <jepler> e.g., sudo chown drone ~/emc2
[01:42:49] <jepler> er, that's not quite right
[01:42:49] <cradek> jepler: do you mean chown -R?
[01:42:52] <Dr0nE> i didnt know simulator would run that way until i stumbled onto run-in-place
[01:43:01] <jepler> chown -R drone ~/emc2
[01:43:13] <Dr0nE> its building the rtlib folder now
[01:44:02] <Dr0nE> ahh there we go, emc is loading
[01:47:46] <Dr0nE> nice, thanks for the help at finding the screwup lol
[01:48:00] <jepler> you're welcome
[01:48:07] <cradek> welcome, they should all be that easy.
[01:48:23] <Dr0nE> hehe
[01:50:01] <cradek> so today I needed to use my flood coolant, after not using it for a while. I found that the tubing was plugged (it has happened before)
[01:50:13] <cradek> so I figured I'd blow it out with compressed air
[01:50:38] <cradek> so just curious - before blowing compressed air into one end of some tubing, what's something you might want to check?
[01:52:36] <SWPadnos> the pressure rating of the tubing vs. the pressure of the air source
[01:52:59] <cradek> heh, simpler than that -- where the other end is pointing
[01:53:15] <SWPadnos> heh
[01:53:37] <cradek> (it cleared right out)
[01:53:50] <jmkasunich> was it pointing at you?
[01:53:52] <SWPadnos> good thing you wear glasses
[01:54:17] <cradek> jmkasunich: oh, more or less
[01:54:45] <jmkasunich> don't you hate it when that happens
[01:54:57] <jmkasunich> I've done similar things when working with liquid cooled drives at work
[01:55:06] <jmkasunich> disconnect, then go to blow out the residual water inside the heatsink
[01:55:08] <cradek> actually I thought it was funny... sometimes I'm an idiot
[01:55:11] <jmkasunich> bloosh all over me
[01:55:52] <SWPadnos> better than flaming shoe polish
[01:56:07] <SWPadnos> good thing I had almost no hair at the time
[01:56:11] <cradek> SWPadnos: you're supposed to put the lid on...
[01:56:18] <SWPadnos> yes, well I know that now
[01:56:29] <cradek> haha
[01:56:42] <SWPadnos> and my eyebrows grew back, so no harm done
[01:56:43] <jmkasunich> SWPadnos with no hair.... I'm having trouble picturing that
[01:56:56] <SWPadnos> just look up any basic trainee. I pretty much looked like that :)
[01:57:01] <cradek> yeesh
[01:57:03] <SWPadnos> but not as mean
[01:59:13] <JymmmEMC> SWPadnos: There ya are! You been hiding
[01:59:31] <SWPadnos> nope. I was
[01:59:34] <SWPadnos> (wait for it)
[01:59:38] <SWPadnos> outside!
[02:00:05] <JymmmEMC> SWPadnos: What's "outside" and do you need a passport?
[02:00:42] <SWPadnos> I think it's when you're not in the house, but I'm not sure
[02:00:46] <SWPadnos> my passport seems to be good there
[02:00:57] <SWPadnos> no visa requirement
[02:01:13] <JymmmEMC> Is that like walking from the garage to the kitchen?
[02:01:24] <SWPadnos> what's walking?
[02:01:42] <JymmmEMC> SWPadnos: When you scott your ass across the floor
[02:01:48] <JymmmEMC> scoot
[02:01:59] <SWPadnos> I have carpet
[02:02:13] <JymmmEMC> ok, the thing you do when you get rug burns
[02:02:27] <SWPadnos> I use a rolling chair - no burns
[02:02:58] <JymmmEMC> SWPadnos: BTW... 1-Shot wasn't it in this respect.
[02:03:15] <SWPadnos> I say that you mentioned you got it working - cool
[02:03:27] <SWPadnos> s/say/sae/
[02:03:30] <SWPadnos> err - saw
[02:03:30] <JymmmEMC> SWPadnos: 1-Shot is when you apply power, then trigger it using an independant button across the START contacts.
[02:03:36] <SWPadnos> yes
[02:03:53] <SWPadnos> does it not work if you leave the start input shorted?
[02:04:11] <JymmmEMC> Needed Interval, which latches the relay for the during set when power is applied to the coil.
[02:04:22] <JymmmEMC> s/during/duration/
[02:05:15] <JymmmEMC> no need to short the START contacts, just switched it to INTERVAL
[02:05:31] <SWPadnos> ok, interesting. I looked on the manufacturer site, and none of their "datasheets" actually described what the output does or what the input needs to do to make it happen
[02:06:33] <JymmmEMC> Yeah, I know. kinda sucks. Also the REPEAT cycles for set time on/off, so if set for 30s, it cycles on for 30s, then off for 30s
[02:06:45] <JymmmEMC> continously
[02:07:13] <SWPadnos> ah, fixed 50% duty cycle - how crappy
[02:07:28] <JymmmEMC> eh
[02:08:48] <JymmmEMC> The ONLY cavet about the whole thing I did, was that it triggers the fog for the set during after the end of each heat cycle. Not a big big deal, but did't want to rewire the fog machien itself.
[02:09:40] <JymmmEMC> If (when) the fog machine dies, I can just buy another one and the motion trigger will just plug into it.
[02:10:39] <SWPadnos> cool
[02:12:06] <JymmmEMC> What I didn't realize is that the timer on the motion light starts when there is no more motion, so that will kind work in my favor with this.
[02:12:50] <JymmmEMC> If the rat bastards take longer than a minute to get their candy, the fog won't retrigger
[02:30:37] <JymmmEMC> fudge.... the PLAY button on my MP3 player is also the OFF button if you hold it long enough =(
[02:32:59] <JymmmEMC> I don't want to buy another timer relay and really don't need it, but anyone have any ideas on how to hold the PLAY button for 1-2s while the fog is going for 7seconds?
[02:33:48] <JymmmEMC> I have an extra pole on the timer relay I can use
[02:34:44] <jmkasunich> does it need 1-2 seconds, or just a very short blip?
[02:35:28] <JymmmEMC> a blip. I found that if I let it play till the last MP3 is done, it stops and CUE's song one.
[02:35:48] <JymmmEMC> so I can get a nice cycle going
[02:35:51] <jmkasunich> are you planning to hack the player (solder wires to the button)
[02:36:04] <JymmmEMC> Yeah, it's a $10 MP3 player =)
[02:36:12] <JymmmEMC> take san SD card
[02:36:32] <jmkasunich> IF the buttons are not multiplexed or anything, you could probably do it with a cap and a resistor
[02:36:39] <jmkasunich> two wires from button
[02:36:51] <jmkasunich> wire 1 goes to one side of spare relay contact
[02:37:04] <jmkasunich> wire 2 goes to one end of a cap
[02:37:12] <jmkasunich> other end of cap goes to other side of the relay contact
[02:37:18] <jmkasunich> resistor goes across cap
[02:37:33] <jmkasunich> the resistor should be large - like 1Megohm or something
[02:37:51] <jmkasunich> cap should be meduim to large - 0.1uF ceramic might be big enough
[02:38:07] <jmkasunich> if you have to go bigger it will likely be electrolytic, gotta get the polarity right
[02:38:25] <jmkasunich> YMMV - this is just speculating
[02:39:17] <jmkasunich> it should be harmless to try - I don't see how this setup could damage the player
[02:39:41] <SWPadnos> negative-going spike when the relay disconnects?
[02:39:50] <JymmmEMC> so while the relay is closed for 7s, the button on the mp3 player would only see like .5s closure (at least in theory)?
[02:40:15] <jmkasunich> jymm something like that
[02:40:18] <SWPadnos> hmm. no, I guess there shouldn't be a spike
[02:40:20] <jmkasunich> SWPadnos: shouldn't
[02:41:08] <jmkasunich> JymmmEMC: the actual length that it sees will depend on the cap and on the MP3 player internals
[02:41:17] <jmkasunich> might be _very_ short, like a few milliseconds
[02:41:32] <jmkasunich> if it doesn't work with a 0.1uf cap, use something larger
[02:41:39] <JymmmEMC> it might be enough, I can play with it some more later on and find out
[02:42:08] <JymmmEMC> Lil too late to taking apart the mp3 this evening
[02:43:10] <JymmmEMC> http://www.uberbargain.com/archives/2006/07/emprex_mp1003_m_1.php
[02:43:45] <JymmmEMC> It's a POS, but will do the job for sound effects purposes
[03:14:47] <dareposte2> how old's the MP3 convo?
[03:14:51] <dareposte2> just got back..
[03:21:04] <dareposte2> that old huh
[04:37:47] <KrashKing> ello
[06:51:19] <alex_jon1> alex_jon1 is now known as alex_joni
[11:16:35] <BigJohnT> I just installed the LiveCD with 8.04 and can not figure out how to get higher than 800x600 resolution on my monitor... Anyone have a hint?
[11:17:06] <BigJohnT> I've went to "monitor resolutions settings" but the max is 800x600
[11:27:52] <archivist> wasnt there a similar problem on the lists the other day
[11:28:37] <BigJohnT> I must have missed it
[11:30:06] <BigJohnT> * BigJohnT searches
[11:44:30] <cradek> BigJohnT: I think that means it wasn't able to read your monitor's specs. sometimes a kvm switch or old monitor cable will cause this
[11:44:42] <cradek> you can look up your monitor's specs and put them in xorg.conf
[11:44:56] <BigJohnT> thanks cradek
[11:45:24] <BigJohnT> I found this page while searching the irc logs https://help.ubuntu.com/community/FixVideoResolutionHowto
[11:45:28] <cradek> do you have any unusual monitor wiring or is it just a normal cable?
[11:45:36] <BigJohnT> * BigJohnT looks
[11:45:44] <archivist> I havnt done it the hard way for a long time
[11:45:59] <BigJohnT> standard monitor cable
[11:46:15] <BigJohnT> vga cable
[11:46:26] <cradek> whoa, lots of information there
[11:46:34] <cradek> good find.
[11:46:37] <BigJohnT> maybe I need the dvi cable
[11:47:18] <cradek> https://help.ubuntu.com/community/FixVideoResolutionHowto#Undetected Monitor Specs
[11:47:22] <cradek> this was my guess
[15:48:37] <alex_joni> http://www.diseara.ro/images/poza_zilei/647.jpg
[15:49:27] <archivist> hehe
[15:49:43] <alex_joni> sad but true
[15:50:19] <archivist> no building codes to control such sillyness
[15:50:43] <alex_joni> the sad part is they had proper authorisation to build that
[15:51:29] <archivist> council failed to remove lamp post?
[15:52:52] <archivist> * archivist dissappears to see lead casting outside
[15:56:56] <alex_joni> guess they didn't bother
[16:12:56] <Guest490> we will just work around that...
[16:13:00] <Guest490> Guest490 is now known as skunkworks
[18:50:31] <BigJohnT> http://www.cnczone.com/forums/showthread.php?t=66275
[18:53:45] <SWPadnos> 75ns steplen, 100ns stepspace, 100ns dirspace, probably 100ns dirhold
[18:54:44] <SWPadnos> I got that like this: steplen=step clock width, stepspace="step execution time", dirsetup and dirhold both="direction execution time"
[18:54:45] <BigJohnT> is that just the chip?
[18:54:50] <SWPadnos> no idea
[18:55:25] <SWPadnos> the IM483 is a driver, not a chip (according to Google)
[18:55:32] <BigJohnT> nope it's a driver
[18:55:41] <BigJohnT> your the googlemister
[18:56:00] <BigJohnT> * BigJohnT bows
[18:56:06] <SWPadnos> heh
[18:56:30] <BigJohnT> and I'm on highspeed here :O
[18:57:05] <SWPadnos> 2Mdown/256kup DSL here
[18:57:14] <SWPadnos> "high enough speed"
[18:57:31] <BigJohnT> I don't know the speed here but it is faster than my dialup at home
[18:57:38] <SWPadnos> aheh
[18:59:14] <BigJohnT> every now and then the squirrels will chew through the string going out to the hwy :)
[21:47:37] <alex_joni> good night all
[21:53:52] <coden4life> night
[22:46:30] <john_f> Will latency test give meaningful results if run from the live CD?
[22:48:57] <jepler> john_f: yes, it should.
[22:50:34] <john_f> OK I was getting good results like 9800ns and 14000ns until while "abusing" the computer until I opened Open Office then the numbers jumped about 5X higher.
[22:51:40] <john_f> What happens when you try to run too many things at once using the live CD. Is there an issue with swap space?
[22:52:46] <john_f> I just wanted to give a potential computer an initial screening before installing the whole OS on the HD
[23:42:22] <nopmop> hi all
[23:47:58] <coden4life> what is happening nopmop
[23:50:32] <nopmop> not much coden4life
[23:50:39] <nopmop> just chillin down here before going to bed
[23:50:46] <nopmop> cross compiling some stuff
[23:50:47] <nopmop> you?
[23:51:49] <coden4life> going through some emc manuals
[23:52:04] <nopmop> i stumbled on this channel by chance btw
[23:52:27] <nopmop> i'm not into machining...although it's pretty fascinating
[23:53:05] <coden4life> most people I work with it is a job but for me it is a profession / life
[23:53:31] <coden4life> think I am the only one in the shop with my own machines
[23:54:18] <coden4life> what are you cross compiling ... for what OS's / chipsets
[23:54:36] <nopmop> i'm fiddling with some mips embedded stuff
[23:54:43] <nopmop> mips-uclib
[23:55:28] <coden4life> nice.... I am also waiting on my AVR cd so I don't have to retype some of the examples in the c for avr butterfly book I got
[23:55:29] <coden4life> lol
[23:56:01] <coden4life> thinking about using the avr butterfly for my spindle controls
[23:56:34] <coden4life> has a nice tut in the book for controling motor speeds and such
[23:56:38] <nopmop> nice
[23:57:11] <KrashKing> is there a way to export a file from mach3 that will work with EMC2?
[23:57:30] <nopmop> me, just fiddling with a soho router. I know very little about PICs, ISP etc.
[23:57:40] <SWPadnos> only if Mach3 allows you to save the G-code when you import other kinds of files
[23:57:47] <KrashKing> ok
[23:58:03] <KrashKing> I'd like to do the gcod eon this machine, running XP
[23:58:05] <nopmop> I just looked into CNC a few months ago really, to understand how it was controlled/done. ...the step-motors and all. you know. heh
[23:58:08] <SWPadnos> if you already have G-code, well that's what EMC uses too
[23:58:21] <SWPadnos> coden4life, I don't think the AVRButterfly has a serial port. at least not at 12V levels
[23:59:51] <coden4life> o so the serial connection I use to program the avr board is only 9v.... but I would need 12