#emc | Logs for 2009-05-27

[00:56:47] <skunkworks> made it home!
[01:43:10] <Jymmm> jmk-wvm: Thus the time-lapse video =)
[01:47:24] <L84Supper_> L84Supper_ is now known as L84Supper
[02:00:35] <tomp> tomp is now known as tom3p
[02:36:31] <jepler> skunkworks: welcome home
[02:36:33] <jepler> we're still here
[03:49:31] <Roguish_> Seb: you out there?
[03:51:14] <Roguish_> Is Seb K around?
[04:53:56] <boozoo> nick maddash
[04:59:50] <maddash> i had a hypertraumatic experience with tomcat/java servlet technology today
[04:59:55] <maddash> * maddash shudders
[05:00:12] <maddash> I hope to never re-experience that. thank god for python.
[09:33:09] <piasdom> g'mornin all
[09:34:09] <micges> good morning
[12:40:11] <archivist> * archivist is a happy bunny today, found a book at home "Machine Tool Reconditioning" by connelly, amazon prices are silly
[13:27:49] <skunkworks350> skunkworks350 is now known as skunkworks_
[14:49:03] <aarongr11> hello; i am using emc2 2.3.1 . my driver requires the enable lines to be in a low state for my motors to move. is there a way in emc2 to keep the enable lines high untill emc sends a signal for the motors to move ?
[14:49:50] <archivist> you need to keep enabled to stop random movement
[14:49:52] <EbiDK|AWAY> http://www.cnczone.com/forums/showthread.php?t=81836 I want a CNC PCB router, should I build or buy(new or second-hand)? My budget is 250 EUR + shipping. I need it to be able to work on 160x100mm prints, 320x200mm would be nice too. It needs to be precise enough to do prints for SMD work.
[14:51:13] <aarongr11> i see, thanks archivist.
[14:53:29] <EbiDK|AWAY> BTW, this might be fun for other electronics people on here: http://www.instructables.com/contest/led09/
[14:56:27] <jepler> aarongr11: emc provides a pin for when motors should hold position (the "machine on") state. the HAL pins are called axis.#.amp-enable-out (# = 0, 1, ..). You can make this signal "active low" on the parport by setting the corresponding "invert". If you can use stepconf, this is the output signal called "amplifier enable"
[14:56:57] <jepler> (the "amplifier enable" for all axes turn on and off at the same time, so it's just fine to use axis.0.amp-enable-out and apply it to a single enable for all your axes)
[14:57:44] <jepler> so at least you can turn your amplifiers off when in estop or machine off modes, but for the reason archivist mentions you wouldn't want to turn the X axis amplifier off just because the ongoing motion is only in Y or Z
[14:57:55] <archivist> I have mine enabled at power on
[14:59:30] <aarongr11> ahh ok, i'll try that then. thanks for the advice guys.
[15:43:02] <motioncontrol> good morning.i want use with emc 2.3.0 for override axis control a rotative switch.i thing a mux component .it's unique solution or is possible use the gray conversion?
[16:04:11] <Jymmm> We dont need no stinking encoders... http://www.freescale.com/files/sensors/doc/data_sheet/MMA7261QT.pdf
[16:14:44] <geo01005> seb_kuzminsky: So no work was done on SPI during the fest?
[16:14:54] <geo01005> Good morning my the way :)
[16:25:22] <skunkworks_> It was good to meet seb_kuzminsky and lerman_.
[16:25:43] <skunkworks_> I missed Lerman__ at last years fest.
[16:25:59] <Jymmm> skunkworks suckup ;)
[16:26:09] <archivist> * archivist just misses all the fun
[16:26:41] <skunkworks_> oh - you are just jealous ;)
[16:28:53] <geo01005> I would have loved to have been there.
[16:30:31] <skunkworks_> stuart has quite a lot of machines
[16:30:35] <motioncontrol> good morning.i want use with emc 2.3.0 for override axis control a rotative switch.i thing a mux component .it's unique solution or is possible use the gray conversion?
[16:35:34] <seb_kuzminsky> geo01005: yeah, no spi stuff :-(
[16:35:46] <seb_kuzminsky> i hope to work on it at home some time in the next few weeks
[16:35:51] <seb_kuzminsky> hi skunkworks :-)
[16:36:35] <geo01005> seb_kusminsky: Looks like you still have some other things ahead of SPI on the HM2 TODO list?
[16:37:11] <seb_kuzminsky> ugh, the todo list
[16:37:41] <seb_kuzminsky> i think i'll ignore the todo list and hack on spi ;-)
[16:38:26] <geo01005> Sounds good to me.
[16:39:31] <geo01005> I haven't have much time to work on my reprap lately.
[16:40:08] <motioncontrol> good morning seb.i have acquire of mesa a 5i20 card and 7i64 and 7i46 spi interface.Peter speeck me the development for spi bus.the project is compl,ete?
[16:44:44] <seb_kuzminsky> hi motioncontrol, the spi work is not yet started, but it's the next thing i'm planning to do
[16:45:54] <motioncontrol> ok thenak seb, i thing is good solution for maschine with more i/o.I have the hardware for prove the system.
[16:46:15] <seb_kuzminsky> aha, a volunteer tester! :-)
[16:46:29] <Jymmm> bka.... Beta Bitch =)
[16:46:44] <geo01005> Seb: Made any headway on your mill conversion?
[16:46:51] <seb_kuzminsky> ugh, no :-(
[16:47:12] <seb_kuzminsky> i saw Jon Elson's servo X2 at Fest and it made me all excited to work on mine again
[16:47:37] <geo01005> Is yours an X2?
[16:47:43] <seb_kuzminsky> yeah
[16:47:58] <motioncontrol> yes. i will free
[16:48:01] <Jymmm> X2 == Mini Mill ???
[16:48:40] <seb_kuzminsky> Jymmm: yes, http://www.harborfreight.com/cpi/ctaf/displayitem.taf?Itemnumber=44991
[16:49:10] <Jymmm> Oh, that thing.... ew
[16:49:13] <skunkworks_> seb also got to jog around the mill jmk was working on..
[16:49:26] <seb_kuzminsky> heh, that pretty much made my trip :-)
[16:49:46] <seb_kuzminsky> and then seeing cradek bust out the facemilling program about as fast as he could type...
[16:49:55] <skunkworks_> yes - scary
[16:50:31] <skunkworks_> seb_kuzminsky: did you see http://jmkasunich.com/pics/pcbmill-table-2937.jpg
[16:50:45] <seb_kuzminsky> i'd have never thought to use g91 incremental mode, but it's so the right way to do that job
[16:50:57] <seb_kuzminsky> wow!
[16:51:10] <seb_kuzminsky> that looks great
[16:51:58] <Jymmm> This look insteresting... can do quad encoders and (R/C) servos... http://www.mil.ufl.edu/~chrisarnold/components/microcontrollerBoard/AVR/avrlib/
[16:52:47] <Jymmm> Heh... connect a GPS to the spindle and you have total position reference
[16:53:02] <Jymmm> We dont need no stinking encoders!
[16:53:29] <SWPLinux> see ya. travel time
[16:53:52] <Jymmm> who was that masked man?????????
[16:54:07] <geo01005> So will there be any summary of what happened at the fest?
[17:00:03] <geo01005> Seb: You know I will be willing to beta test the SPI code as well.
[17:16:14] <skunkworks_> well - I walked around and looked at things. (That is what I do) So it was a success for me
[17:17:03] <geo01005> Did you take your servo amp?
[17:17:17] <skunkworks_> steves_logging brought a 4 brush servo that I played with. (hooked into my servo amp set at 5 amps)
[17:17:19] <skunkworks_> yes
[17:17:36] <skunkworks_> So people would walk by and try to spin the shaft ;)
[17:18:45] <geo01005> Anything happen with lathe roughing cycles, or mill pocketing cycles?
[17:32:23] <EbiDK|AWAY> Why must CNC machines be so expensive....
[17:32:39] <archivist> cheap if you self build
[17:33:16] <EbiDK|AWAY> archivist: Not according to cnczone.com.
[17:33:24] <EbiDK|AWAY> http://www.cnczone.com/forums/showthread.php?p=618220
[17:34:12] <toastatwork> uh, 500-750 isn't bad
[17:34:20] <toastatwork> compared to the 60,000 dollar machine i'm sitting next to
[17:34:32] <toastatwork> so i guess it depends on your frame of reference
[17:35:09] <EbiDK|AWAY> toastatwork: Yeah I know, but my budget is something like 250 EUR and I need it to be able to do 160x100mm PCBs for SMD components
[17:35:58] <toastatwork> well, i don't know what to tell you?
[17:36:16] <toastatwork> you could bargain hunt and try to piece together parts that are thrown out or something
[17:36:26] <toastatwork> i think someone in here got a machine working for around that?
[17:36:31] <toastatwork> more, but around that
[17:36:34] <toastatwork> 300-350 eur
[17:37:01] <EbiDK|AWAY> Of course it's cheap compared to getting the PCBs made at http://www.olimex.com/pcb/index.html (roughly 34 EUR per board for me) but I don't have lots of money available till sometime late next year
[17:37:29] <Jymmm> http://www.batchpcb.com/index.php/Faq
[17:37:29] <toastatwork> well, you may just wind up having to wait if you really can't afford building the machine
[17:37:36] <Jymmm> $2.50USD /sq/in
[17:38:23] <archivist> dont buy it all at once
[17:39:08] <EbiDK|AWAY> Jymmm: Ooh nice, thanks.
[17:41:24] <skunkworks_> the big thing is it has to have 0 backlash - expecially for surface mount.
[17:42:42] <EbiDK|AWAY> archivist: How'd I use it if I don't have it all anyway? :p
[17:43:22] <toastatwork> i think he's suggesting that you piece it together a little at a time
[17:43:24] <toastatwork> as you have funds
[17:43:27] <archivist> I started cutting with only 1 axis under cnc
[17:43:43] <archivist> added more as I could
[17:44:10] <Jymmm> one axis?
[17:44:16] <archivist> last couple of weeks I finally got to 5 axis
[17:44:20] <Jymmm> wth did you make with one axis?
[17:44:28] <archivist> gears
[17:44:40] <Jymmm> O_o
[17:45:47] <archivist> first proper work was X Y and A Z being hand worked
[17:46:25] <EbiDK|AWAY> toastatwork: Yeah but that's no fun, might as well save up over time and buy it when I can afford it then.
[17:48:29] <archivist> you can be building and learning
[17:50:55] <EbiDK|AWAY> I'm already learning at a course, that's why I have access to machines so I could build my own.
[17:51:51] <archivist> I get some materials from the local scrap yard
[17:52:32] <archivist> used an old lathe for parts and an old tool setting machine for parts
[17:53:09] <archivist> new rotary for B and borrowed new rotary for A
[17:54:34] <skunkworks_> archivist: any recent pictures?
[17:55:10] <archivist> time I did another page
[17:56:33] <archivist> but Im chopping and changing daily
[17:56:40] <skunkworks_> heh
[17:57:14] <archivist> damn thing is not big enough
[18:00:18] <toastatwork> we are actually making some new bearings that would make a really cool A axis
[18:00:28] <toastatwork> like a trunnion
[18:00:44] <toastatwork> except fully/near fully supported down the length, instead of just at the ends
[18:00:49] <skunkworks_> most of what stuart does is 5 axis. It was awesome to see them all in 1 place
[18:01:55] <archivist> Im using the 5th axis mainly to set a fixed angle for A, 5 never run at the same time ....yet
[18:02:00] <EbiDK|AWAY> BTW, can you get desktop mills for working in aluminum and what's the price range I'd be looking at?
[18:02:11] <toastatwork> manual or cnc
[18:02:15] <EbiDK|AWAY> CNC
[18:02:41] <toastatwork> i'm probably sticking my foot in my mouth but turnkey cnc, desktop form factor, is a couple thousand
[18:03:06] <EbiDK|AWAY> Would be nice to have one so if it's not too crazy expensive I might save for one at some point
[18:03:08] <toastatwork> if you're willing to build it yourself from a manual base, the manual mill is 500 plus the 200-300 in gear you'll need to get it to cnc.
[18:03:24] <EbiDK|AWAY> toastatwork:
[18:03:27] <toastatwork> and anyone who says otherwise is right, because I've never built one
[18:03:30] <EbiDK|AWAY> toastatwork: What currency?
[18:03:35] <toastatwork> USD
[18:03:38] <toastatwork> sry
[18:03:41] <EbiDK|AWAY> Okies
[18:03:58] <toastatwork> i have not seen a turnkey cnc package for under 3000
[18:04:04] <toastatwork> but i do not spend a huge amount of time looking
[18:04:14] <EbiDK|AWAY> I should get me a job when I'm done with this course :p would make buying stuff like this much easier
[18:04:29] <toastatwork> lol
[18:05:04] <EbiDK|AWAY> I'm on unemployment benefit and it's also the unemployment people that's paying for the course so they can get some CNC operators :p
[18:05:21] <toastatwork> my work will let me use any machine that's open
[18:05:35] <toastatwork> but it takes some time to get them to let you program
[18:05:42] <EbiDK|AWAY> Uh huh
[18:08:23] <geo01005> If you are only interested in PCB routing have you considered a machine with a wood frame?
[18:09:31] <EbiDK|AWAY> geo01005: Will that be sturdy enough?
[18:09:55] <geo01005> Depends on how you build it, and what wood you use.
[18:11:44] <geo01005> http://www.cncroutersource.com/cnc-router-plans.html
[18:11:49] <piasdom> EbiDK|AWAY: did you look at www.sherline.com yet ?
[18:13:18] <geo01005> You could also use a two position Z axis to reduce the cost till you can afford better. Use a solenoid to push the Z axis down...
[18:15:48] <geo01005> I have seen that design on some commercial PCB routers.
[18:17:20] <obinou> EbiDK|AWAY: Hello ! I'm also in the process of building a *very* low cost machine , for the same application (PCB) . I used a small window as the frame, and two old ink-printers linear-moving guides
[18:17:52] <obinou> I just had to buy the mini-dremel
[18:17:58] <obinou> ~20€
[18:18:16] <obinou> all the rest is harvested
[18:19:54] <obinou> BTW, for PCB milling, what is the smallest tool you can find ? I couldn't find one smaller than 0.25mm
[18:19:56] <EbiDK|AWAY> piasdom: Yeah, decided it was too expensive but it sounds like my budget is just too small. I'd need the CNC version of this one: http://www.sherline.com/5400pg.htm
[18:20:56] <piasdom> EbiDK|AWAY: that's the one i have(CNC)
[18:21:09] <EbiDK|AWAY> obinou: Haven't looked into tools yet.
[18:21:23] <obinou> ok
[18:22:31] <obinou> I think for pcb (and only that) , wood should do it, if you choose a good steady wood and a make solid fixitures
[18:22:59] <obinou> to avoid vibrations (my dremel generate very few vibration)
[18:24:04] <geo01005> http://littlemachineshop.com/products/product_view.php?ProductID=1765
[18:24:05] <obinou> I also have doubts about the stepper motors : they are low-cost 7.5degree
[18:24:27] <obinou> and I drive them in 1/8steps
[18:27:44] <EbiDK|AWAY> http://www.probotix.com/FireBall_v90_cnc_router_kit/ What do you guys think of this one?
[18:27:48] <obinou> oh ! and I use drawers slides for the axis: I found some with no lateral jitter
[18:28:57] <archivist> skunkworks, pics quick and dirty http://www.collection.archivist.info/archive/DJCPD/PD/2009/2009_05_27_cnc/
[18:30:07] <obinou> EbiDK|AWAY: cool but overkill for pcb milling I'd say
[18:30:46] <piasdom> did you did see this line? The base kit is supplied as a mechanical machine kit only. No motors, electronics, spindle or software is included.
[18:31:20] <EbiDK|AWAY> Yeah I saw
[18:31:29] <obinou> yes, the bill wil jump the $1000 with that
[18:32:28] <obinou> (NEMA23 motors are expensive, and since they are powerful you need an expensive control card, too)
[18:32:47] <SWPLinux> compared to what?
[18:33:39] <obinou> to nothing: the need is just pcb milling
[18:34:25] <SWPLinux> I was wondering what you consider expensive, since you can drive 3 or 4 axes of average NEMA23 motors with a $100 (or less) driver board
[18:34:51] <obinou> the demo shown is wood milling, at least 2mm deep, full speed. In this case, I can see it's necessary.
[18:35:06] <obinou> yes but 3x NEMA23 motors ?
[18:35:12] <SWPLinux> (plus, I was just making adapter plates to mount my NEMA42 motors to NEMA34 mounts, so NEMA23 doesn't sound "powerful" to me :) )
[18:35:19] <SWPLinux> sure, NEMA23 are tiny
[18:35:20] <obinou> you hit the $200
[18:35:29] <obinou> ;-)
[18:35:48] <obinou> I use NEMA11 motors :-)
[18:36:12] <SWPLinux> I didn't know they went down that far
[18:36:18] <SWPLinux> I've heard of NEMA17
[18:37:08] <obinou> 28x28mm cube ;-)
[18:37:15] <obinou> very tiny
[18:37:23] <SWPLinux> yeah, sounds it
[18:37:38] <SWPLinux> that might be able to drive the speed adjustment wheel on my Bridgeport
[18:37:43] <SWPLinux> but maybe not
[18:38:21] <archivist> add gearing then it can
[18:38:34] <obinou> you get max. 12Ncm
[18:38:37] <SWPLinux> yeah, probably os
[18:38:38] <archivist> just takes.........longer
[18:38:39] <SWPLinux> so
[18:38:50] <SWPLinux> I guess a VFD is a better plan then :)
[18:38:52] <obinou> that's the tradeoff I choose, too
[18:39:13] <obinou> I'm going slooooow ;-)
[18:39:21] <SWPLinux> I have the VFD, and should probably wire it up some day
[18:39:41] <SWPLinux> though the vari-speed head isn't ideal for VFD use
[18:52:23] <archivist> EbiDK|AWAY, btw home brew at its finest http://jmkasunich.com/pics/pcbmill-table-2937.jpg
[18:53:00] <archivist> I think he is using "whats available"
[18:53:44] <archivist> and it is intended for pcb milling
[19:08:33] <motioncontrol> good evening.exist in emc2 the component for convert binary to gray code?
[19:18:01] <micges> motioncontrol: no there isn't such component
[19:24:19] <seb_kuzminsky> micges: did you have a chance to try out the hm2 stepgen fixes i did at Fest?
[19:25:02] <micges> nope still wait for machine..
[19:25:59] <seb_kuzminsky> ok.. i think you'll like it :-)
[19:26:15] <micges> especially velocity mode :)
[19:27:35] <seb_kuzminsky> why do you want velocity mode?
[19:27:48] <seb_kuzminsky> are you using steppers & encoders?
[19:28:33] <micges> for controlling thc
[19:28:55] <seb_kuzminsky> gotcha
[19:29:07] <micges> much easier
[19:29:37] <seb_kuzminsky> you'll run a pid loop trying to keep torch voltage at some setpoint, with the output of the pid being the stepgen vel cmd?
[19:30:05] <micges> yes
[19:30:33] <micges> will be first plasma
[19:30:34] <seb_kuzminsky> let me know how it works :-)
[19:31:25] <micges> 3 oxygen builded already, last one one mesa
[19:31:36] <seb_kuzminsky> m5i20 or hm2?
[19:31:55] <micges> last one is that on which bugs show up
[19:32:04] <seb_kuzminsky> ah heh :-/
[19:32:14] <micges> 5i20
[19:32:18] <motioncontrol> one question.i have the tool magazine , moved at motor with analog drives and one encoder for position tool.is possible connect the encoder on digital imput on m5i20 , load the encoder component and positioning the magazin tool with a pid component?
[19:32:42] <micges> I've asked PCW for firmware
[19:32:52] <seb_kuzminsky> motioncontrol: that sounds like it would work
[19:33:15] <seb_kuzminsky> motioncontrol: or you could use the encoder feature of the 5i20 firmware and skip the software encoder counter
[19:33:46] <micges> seb: http://www.uni-kat.pl/galeria.html
[19:33:57] <micges> all machines on emc2
[19:34:49] <seb_kuzminsky> neat micges :-)
[19:35:41] <alex_joni> micges: is that twice the same interface here? http://www.uni-kat.pl/images/galeria/sprzedaz/maszyna2.html
[19:36:30] <alex_joni> micges: all machines?
[19:36:40] <alex_joni> did you put emc2 on the Haas lathe? :P
[19:37:11] <micges> oh two machines are not retroffitet yet :)
[19:37:52] <micges> seb: that is buggy machine: http://www.uni-kat.pl/images/galeria/plazma/plazma03_800_536px.jpg
[19:38:16] <micges> alex_joni: yes thats two panels
[19:38:25] <micges> machine is huge
[19:38:36] <micges> flat-rotational laser
[19:38:52] <alex_joni> how did you do it?
[19:38:58] <alex_joni> remote X session?
[19:39:08] <alex_joni> or VNC of some sort?
[19:39:16] <alex_joni> or did you use 2 x AXIS?
[19:40:10] <micges> vga splitter and two sets of usb inputs (keyb and mice) switchable
[19:40:21] <alex_joni> ah, cool
[20:36:42] <motioncontrol> good evening. excuse for repeat the question but i don't understand.i have on my maschine the tool magazini with encoder for position and the motor for movement with analog drive.can i control the tool magazine ?
[20:46:19] <motioncontrol> one question the pid.c component can call in hal file ?
[20:57:18] <rbertoche> hello there
[20:59:01] <rbertoche> Having problems to get emc2 to work over a recompilled kernel
[20:59:26] <rbertoche> "failed to map shmem" error on emc
[21:03:53] <skunkworks_> I think most of the people that could help you with that issue are traveling right now.
[21:04:13] <skunkworks_> can I ask why you didn't use the livecd distribution?
[21:09:25] <motioncontrol> one question please for my magazine tool.can i control the movement the motor magazine with analog drive , with encoder comp and pid component?
[21:13:25] <motioncontrol> Please can i control the tool magazine?
[21:51:39] <rbertoche> A live cd would probably work, but it doesn't fit my needs. I have non-debian things in my computer that should run along with emc.
[21:53:35] <rbertoche> thanks anyway, skunkworks
[21:55:44] <SWPLinux> rbertoche: are you trying to find out how to install EMC2?
[21:57:32] <Guest335> hello guys
[21:57:33] <SWPLinux> rbertoche: ah, ok. shared memory problem
[21:58:11] <SWPLinux> rbertoche: you may need to increase your shared memory limit
[21:58:47] <Guest335> just solved my erratic/stalling stepper problem
[21:59:02] <SWPLinux> yay!
[21:59:22] <Guest335> changed everything to sheilded wire, and it went away
[21:59:44] <archivist> noise getting back to driver inputs
[21:59:46] <rbertoche> shared memory limit is about 20mb right now
[21:59:47] <Guest335> simple fix, and probably shoulda started that way, but i'm still amped that it was an easy fix
[22:00:01] <SWPLinux> rbertoche: ok, that should be enough :)
[22:00:27] <SWPLinux> rbertoche: another thing that could cause that is a mismatch between the shared memory IDs (specified in the ini file)
[22:00:36] <rbertoche> I did not change it
[22:00:45] <rbertoche> oh
[22:00:47] <SWPLinux> I'd have to start looking at the source to see other possible causes
[22:01:20] <rbertoche> what ini file?
[22:01:31] <archivist> Guest335, can also be something electronics engineers call noise immunity where the interface voltages are too close to spec
[22:01:37] <SWPLinux> when you start EMC2, you specify an ini file. that's the one
[22:01:59] <rbertoche> good work, guest335
[22:02:25] <Guest335> since my z driver is right next to part of my power supply, should i try and sheild the drive itself somehow?
[22:02:29] <Guest335> thanks!
[22:03:37] <rbertoche> actually i usually don't
[22:03:43] <Guest335> archivist, do you think i should drop the voltage from my i/o board to 3.5 volts instead of 5?
[22:04:17] <rbertoche> specify an ini file
[22:04:31] <rbertoche> nd
[22:05:18] <archivist> Guest335, maybe depends which direction the noise is , scope helps so you can see the problem
[22:05:43] <Guest335> ahh ok
[22:05:52] <SWPLinux> rbertoche: how are you starting EMC2, and when do you see the shared memory error?
[22:06:02] <SWPLinux> (bbias - gotta get more coffee)
[22:06:57] <Guest335> my drives require a resistor if the voltage is over 5v
[22:08:31] <SWPLinux> Guest335: for the logic, or as current limiting to the motors?
[22:09:35] <archivist> what model are the drivers
[22:11:51] <rbertoche> <SWPLinux> : Well, I simply run "emc" over some console or gui program
[22:12:15] <SWPLinux> hmm
[22:12:34] <SWPLinux> from a terminal? from some GUI "Run Command" dialog? ...
[22:12:50] <SWPLinux> does the config picker show up when you run it?
[22:13:20] <SWPLinux> I'm just trying to figure out where in the startup process the error shows up, and how you see it
[22:32:44] <rbertoche> It happens after selecting an exemple machine to run.
[22:32:50] <rbertoche> example*
[22:33:36] <SWPLinux> ok, so you get the config picker, choose something like sim/axis, and you get the error
[22:33:38] <SWPLinux> ?
[22:36:44] <rbertoche> Something like that. I dont see how to create my own machine, though
[22:38:45] <alex_joni> rbertoche: nothing relevant in dmesg?
[22:40:03] <SWPLinux> alex_joni: I see where the error is printed (rtai_ulapi.c, line 454-ish), and I only see a few places where the function is called
[22:40:43] <SWPLinux> but I don't know what's happened lately to the way the shared memory key is determined (SHMEM_KEY is no longer in the configs)
[22:42:30] <alex_joni> my guess would be missing udev rules for /dev/rtai_shm
[22:42:45] <alex_joni> rbertoche: try creating /dev/rtai_shm by hand and see if that works
[22:42:47] <SWPLinux> oh, that's a good guess
[22:43:53] <alex_joni> we had this for 6.06: http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/debian/extras-Ubuntu-6.06/etc/udev/rules.d/emc2.rules?rev=1.2
[22:45:14] <alex_joni> it depends on the rtai version
[22:45:29] <alex_joni> the 3.6.x we use on 8.04 handles udev just fine (finally)
[22:45:40] <alex_joni> can't speak for 3.7.x though
[22:45:47] <alex_joni> * alex_joni is off for tonight
[22:46:03] <SWPLinux> see ya
[22:48:24] <rbertoche> How to create it? leave it blank? don't know what to write on it.( oh, too late.)
[22:58:37] <rbertoche> Running from i didn't get this error, but got insmod: error inserting '/usr/realtime/modules/emc2/motmod.ko': -1 Unknown symbol in module univstep_load.hal:7: exit value: 1 univstep_load.hal:7: insmod failed, returned -1
[22:59:24] <SWPLinux> do you have a Pico Systems board?
[22:59:30] <rbertoche> No
[22:59:34] <SWPLinux> if not, the driver can't load
[23:00:28] <rbertoche> ?? I don't want it to load. Emc needs it to run?
[23:01:20] <SWPLinux> you selected that config, I presume
[23:01:34] <rbertoche> Where? don't think so
[23:01:46] <SWPLinux> in the config picker
[23:02:52] <rbertoche> no, I didn't. The config picker is where you select which machine you want to run?
[23:03:00] <SWPLinux> yes
[23:05:05] <rbertoche> How can I create a new machine from there? something seems wrong, i can't find it
[23:07:58] <SWPLinux> since you compiled yourself, the config picker probably won't prompt you to make a copy of the config you select
[23:08:24] <SWPLinux> what hardware do you plan to use? (parallel port, Mesa, Pico, STG ...)
[23:08:51] <rbertoche> I don't want to make a copy, I want to set a new machine
[23:09:33] <SWPLinux> you make a new machine by starting from scratch, or by copying an existing config that's close to what you want and modifying it
[23:09:44] <rbertoche> Ok
[23:09:55] <SWPLinux> or, if you plan to use software step generation on the parallel port, you can use the program "stepconf"
[23:10:17] <SWPLinux> that will create a config based on values you enter into a wizard-like UI
[23:13:03] <rbertoche> stepconf won't open eithwr
[23:13:16] <SWPLinux> what is the error?
[23:14:19] <SWPLinux> well, someone else will have to continue this. I've got to get on a plane
[23:14:24] <SWPLinux> good luck with it
[23:14:32] <rbertoche> some problem with opening it from a ln, it does run, but the machine ...
[23:14:36] <rbertoche> thank you!
[23:15:00] <rbertoche> too late again.
[23:15:31] <rbertoche> ... but the machine generated from it won't run either
[23:18:17] <rbertoche> Actually, this computer won't run any machine for real. It doesn't have a parallel port or IO board.
[23:19:08] <rbertoche> But the software in it is the same that the real cnc will have
[23:19:44] <rbertoche> Leaving, gonna check it later