* skyfox00 has returned in full force.
ah-ha! I found the userspace <-> kernel communications interface - it's called connector
it's in kernel config, under drivers / connector. called the "unified userspace <-> kernelspace linker"
it works on top of netlink. it may be useful for implementing kernel command handlers for userspace code
[09:11:06] <alex_joni> http://www.mjmwired.net/kernel/Documentation/connector/
cradek_ is now known as cradek
good morning cradek
I'm sure puzzled by skyfox00's symptoms
I haven't read back yet
it's as though all the inputs work but all the outputs are broken
18:41:32 <skyfox00> ok, dout-00 has a LOW and dout-01 has a HIGH regardless of setp pluto-servo.dout-0[1/2] true/false
and broken to set values either, as the watchdog would do
maybe he got a bad pluto?
back on 08-30 he did get the LED to blink with the pluto firmware -- http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2007-08-30.txt
could his power supply be wrong or bad?
once again, beats me
18:01:32 <skyfox00> and touching the Q[ABZ]* pinheaders causes the counters to jump around then return to zero...
seems like this is a pretty risky way to test whether inputs are working :-P
good morning skunkworks_
Good morning. Wine tasting on the island girl (boat) last night. Bit sluggish this morning.
is that what the _ means
mental note - eat something before going on a wine cruise.
heh - no. I have a computer on at home on logged into irc.
uh-oh. another _
does anyone think they understand this discussion about the touch off screen?
sounds like the users are entering non-numeric characters and something goes wrong
it grays out the OK button (and tells you why) whenever the entry is invalid
(that's a feature)
I usually use <home>, <shift>-<end>, then type in the number (in other programs that have the same problem)
does the dialog select all the edit text when it pops up?
so you think they get something crazy in there and don't know how to delete it?
even a leading space can be a problem, I think
I've wondered if people just see it grey out and freak, not understanding what's going on
but each time the screen is shown it's supposed to be filled with "0.0" and all text selected
so when they dismiss it and bring it back, OK should be ready to click
if the text is all selected when the dialog appears, then it's probably something different
I wish I knew if there was a bug, or if the design could be improved
gotta run for a bit - just thought I'd stick that out there
I don't know which it is
we had another report a while back about it doing something strange, but I never understood what it was, and I don't remember if/how it was resolved
the number is fed to the gcode interpreter, so stuff like extra spaces should be accepted (and is in my testing)
crap. that's something I think we'll need to think about soon. people using EMC on non-net-connected machines, and how they get updates
jepler, regarding the touch-off dialog, there must be something else happening before the text is passed to the interp, or the dialog wouldn't be able to tell you the number is invalid
jepler: after you left last night I reported the results of my testing of pluto... you see it?
skyfox00: no, let me scroll back
18:41:32 <skyfox00> ok, dout-00 has a LOW and dout-01 has a HIGH regardless of setp pluto-servo.dout-0[1/2] true/false
18:42:16 <skyfox00> they do not seem to be Z though..
I can't understand the behavior you're seeing
I cant either.
well, I'll try the latest cvs-version and see how that works, etc.
you're sure you were testing the right pins?
I think so...
am I right in thinking that you did get the LED to ramp on a different system with the Live CD? If so, can you recreate that situation? It could rule out damage to the board.
yeah, in the past I did get the LED to fade in and out on the fast computer with the nvidia card running a buggy kernel and the cvs version of emc!
can you boot from the LiveCD on the computer you're using now?
I can boot the liveCD on the 350Mhz ok, but it takes forever to load(only 128MB ram).... when I tried to run the pluto.hal file to see if the LED would blink, it bombed out because the halfile was modified to work with the cvs version(dots v. dashes) and then the parport was hanged and I didnt want to reboot again..
thats the only reason I want the cvs version, it can recover from EPP errors...
is there a pluto demo config on the liveCD? (I don't track pluto development closely)
there is a lathe pluto config, but no LED blink demo
... running lathe-pluto and jogging the X axis should also make the LED turn on and off
well, except it'll ferror real quick
then the led will go off?
yeah emc will stop trying to drive the X axis servo as soon as it sees it's not getting encoder feedback
well, I could just do halrun -I and then loadrt pluto_servo then start doing setp's, right?
and addfs and so forth
ok, what did addfs do agian?
ok, I just read, for adding threads
unless you arrange for the "write" function to be executed periodicaly, nothing will happen
so you create a thread with 'loadrt threads', add functions to the thread with 'addf', and tell the threads to start executing with 'start'
all these things are (should be) in the .hal file you're using now
yeah, buts its the cvs-version syntax...
but I think I can manage..
skyfox00, meet nano. nano, meet skyfox00
nano is a simple text editor :)
or you can use gedit or whatever
oh, yeah, I use mc/mcedit and pico for other things...
I know how to use a text editor, I wrote a moving map display program in one.
in C, that is.
hey, its the best linux map program I have!
map like GPS / terrain, or map like dynamic network map? (or something else)
ok, yeah, reads data from a GPS and then displays B&W 1M/Pixel photo's
does routes/waypoints, etc....
I actualy open sourced it for trade for a 1.33 Ghz toshiba portege 3500
* skyfox00 grins
ok, I'm gona go try some stuff... thanks for all the help
enjoy (hope the plutoo isn't shot)
* skyfox00 is away: for now...
* skyfox00 is back
ok, I just tested pluto on the 350Mhz using the liveCD and the behavior is the same, the LED never blinks and touching the encoder inputs makes the counters jump and ecoder 0 always reverts back to 13 after a few seconds...
doesn't sound too good
what power supply are you using?
its the same one I was using befor that worked fine...
does the pluto board come with any test software?
check it the same way on the PC that worked before
come to think of it, yeah, I will try that...
fenn: yeah, it comes with a few sample firmwares & windows loader app
* fenn thinks skyfox00 might need to learn how to de-solder chips
LEDblink.rbf makes the LED blink!
skyfox00: are you plugging the pluto directly into the parport, or through a cable of some kind?
I learned my lesson about using cables a long time ago ;)
um, straight into the computer
LEDblink.rbf doesn't use EPP communication though
no, and I'm running it useing the windows FPGAconf.exe on a pnasonic CF-25 166Mhz that does not do EPP
my point is the pluto can still blink the LED
which version of emc are you testing with?
the live CD would be emc 2.1.6 I think
next I plan to load the liveCD up on a computer that has worked befor...
oh rats, I forgot the liveCD in the other building... brb
* skunkworks_ has about 15 coppies laying around
oh, as to unsoldering chips, just strap the board down and use a heat gun untill the solder melts and then pull the chip in question of with tweazers...
off with tweazers.
what virtualization does the compile server use?
skunkworks_: vmware I think
the gratis vmware server, to be more specific
I thought vmware was a pay software? no?
* skunkworks_ googles
you can get a free-of-charge version now
it's a minor pain to set up and run
My brother designes circut boards for a living and has to solder down 40 pins/inch somtimes(with a sterio-microscope) and so If I need to replace a chip....
there's another free vmware product called "vmware player"; I don't understand what the differences are
also, If you get a board hot and tap it on the bench, ALL the chips will come off.
works well for the mass slavedge of parts from old junker boards...
well, the music played...
ok, it booted, time to crawl down behind the computer and plug pluto in ;0
did the fat lady sing?
Ubuntu startup music.
then it's not over yet
it's not over till the fat lady sings
Yuck! its dusty down there...
does Ubuntu have a feature I dont know about?(I did have to unplug the speakers so I could plug in the usb thumbdrive...)
skyfox00: sorry, that was a quote from some movie
ok, pluto works fine, the LED fades in/out and all the counters started up a 0.
probably a bad programming last time
so the 350Mhz just cant cut the mustard
alex_joni: even with the liveCD, pluto did not work right on the 350.
jepler: you still here?
hmmm. Subversion uses binary deltas
well, looks like I need to find a new host for pluto.
so the liveCD works on the other PC but not on the slow one you want to use?
nothing works on the 350, everything works on the 1.8
(dispite having a buggy kernel and nvidia card)
on the 1.8, that is
the kernel on the liveCD isn't buggy ...
at least, not that we know of
the 1.8 had a buggy realtime kernel and the cvs-version of emc ran fine(exploded every once and awhile)
did you try the liveCD also - just to do an exact comparison between the 1.8 and the 350?
yes, I just did a check with the same liveCD/halfile on both the 1.8 and the 350. 1.8 worked fine, 350 gave strange results...
well, tedious though it ma ybe, I'd try every possible parallel port BIOS setting, with a liveCD reboot in between (possibly from power-down)
the liveCD on the 350 gave identical results to the cvs-emc2(compiled by me) testing I was doing yesterday.
a couple of hours doing that will tell you if it's impossible to get it to work, or if it's just not configured correctly
then you may be able to not boot from CD, but that's not as definitive a test
pluto MUST have the parport in EPP mode to work...
its an old computer with an updated BIOS so it may just not work right...
EPP and ECP both support EPP. additionally, there are at least two versions of ECP to choose from
or was that two versions of EPP? I don't remember
the liveCD gives you a known working software setup with which to test the BIOS settings
it also take forever to boot ;)
if you test BIOS settings with your own compile, then you don't know if it's the pluto software or the BIOS causing the problem
yeah, that's why I say a coupld of hours ;)
I'm not ready for any gray hair yet.
besidesd, I would much prefer a faster computer anyway ;)
* alex_joni chose to switch directly to white hair
gray is not fun
* skyfox00 prefers to not beat a dead BIOS
well, I have stuff I need to do...(other than what I want to do) But I'm sure I'll be back with more questions sooner or later.
ok, I may be able to wrangle a 500Mhz for pluto... bye for now, though!
come back as long as it's with good news :-P
seriously .. good luck
I'm glad the hardware isn't damaged at least
yeah, me to, and thanks for having so much patience!
* fenn prefers a mad-scientist streak of white hair
good night all
jmkasunich_ is now known as jmkasunich
I just tested a 500Mhz (works with the pluto) with emc2, and got the go-ahead to turn it into a dedicated emc2 box!
I mean, that's good news
jepler is happy it isn't his programming :)
welllll I still wouldn't rule that out
oh yeah, no kidding.... I'm happy his programming wasn't the problem to!
however it becomes an issue I can ignore
skyfox00: what are you going to use the pluto to run?
you mean, what kind of machine?
there may be some detail of EPP programming that I overlooked
since "it works for me"
the 500Mhz is an amd athlon, and could do EPP 1.x(dont remember) and EPP 1.9(I think)
for instance, I think I noticed that the drivers for elson's boards keep setting the SPP direction register when the EPP direction changes; pluto doesn't do that. Maybe if they did, it would have worked on skyfox's machine
skunkworks: dinky little sherline mill with the headstock spacer and lash adjustment nuts on x/y.
and I actually discovered I have a machine (1GHz fairly modern) where pluto doesn't work -- it behaves about like skyfox00 described his system
jepler: eww - yeck
nothing wrong with dinky
my only milling machines are jokes
I have tried it on about 5 machines - all >1ghz without a problem.
well, "only milling machine". I have another CNC'd device but it's really a joke
jepler: no it isn't. I think you will get a lot of use out of it.
well, I want to(some day) designe/build small(model sized) diesel aircraft engines.... And then 'not dinky' helps alot...
[22:58:30] <skyfox00> http://jesseg.nikola.com:8080/foamboard/
I got to fly that beast ;)
fun hobby -- or I should say fun-sounding hobby
by the way, I think we have one user cutting foam with an XYUV machine and emc
fly-by-wire is fun.
what is an XYUV amchine?
XY UV describes the arrangement of the motors
X and Y you know
for a foam-cutting machine, U and V are parallel to X and Y but some distance away
4 total motors
some sort of hot wire cutter?
in foam cutting you have a heated wire that runs between the two sides
it was a nighmare to cut the wing profile on that ping foam airplane... so I can see how a cnc foam cutter would be nice... such a machine was even talked about.
how did you cut it?
how it ended up being done, a stiff wire was bent into the profile and screwed down to a board, power was then applied and the 8 foot piece of foam was pushed through... perhaps its time to make a 8' x 4' x 6" cnc foam mill.
I think the farthest out we ever had it was about half a mile or so...
ugly thing aint it?
I don't know if you've heard of CNC Workshop, a yearly gathering in Illinois .. but one of the regulars has promised to bring a homemade CNC foam cutting machine next year
that works - I made some foam wings using a wire stretch between the chuck and tailstock of a 6ft lathe. metal paterns where stuck on each end of the foam block and 2 people (one on each end) pushed it thru. the wire was made hot by a beefy powersupply.
yeah, thats the redneck way to do it ;)
skyfox00: the video is awsome
hmmm, which one? we did a bunch and I can't remember which ones made it up on the net...
every time someone stumbles into the "net unhooked my existing signal" problem I second-guess the decision not to backport the code in TRUNK that makes it an error
hmmm. there are no min_output and max_output parameters for the 5i20 PWM
that could result in some strange behavior...
SWPadnos: there's code which is intended to clip to the max hardware limits
hal_m5i20.c: 914 // Truncate volts to DAC limits.
ok, so it should be limited to _/- 10, doesn't the canonical DAC have limits though?
ok, I need to go grease my boots, cya leter!
see you skunkworks
SWPadnos: yes I believe it does
well .. not entirely sure
ok - me either :)
I copied min-dc and max-dc from somewhere for pluto-servo
if there's no min or max, and i have +/- 2.5V device, do i use dac-nn-gain? and if it's not bipolar, do i use offset?
tomp, yes, you use offset and scale to move the output to where you need it
there should still be a limit though
i'm playing with it in halcmd right now...
err - right, gain - not scale ;)
despites HAL trying to standardize things like analog outputs, I don't think that it specifies what voltage you get anywhere when you set gain=1, offset=0, value=1; for example, with pwmgen I think that gives you 100% duty cycle but which would give a variety of resulting output voltages depending on the output driver and filter used
it looks like the 5i20 driver is intended to give +1V on the 7i22 board in this case
I thought that by default, inputting 1 should give you 1V on the output
well, what is "the output"?
sorry - the analog voltage output should be 1V for an input of "1" and gain of 1 and offset of 0
you can put other things than a 7i22 on the 5i20 pwm and direction pins
I don't know if scale is supposed to be equivalent to gain or if they're reciprocals
maybe a single-ended 0-5 converter for instance
in pluto I think I make value -1 .. 1 be "full scale" with gain=1
since there's no particular DAC to go with it I dunno if that's a worse decision than anything else
yeah - I'm not sure there's any possibility of uniformity
but maybe -3..3 should be full scale, since Voh is around 3v