<wpwrak> wolfspraul: hmm, you said that project creation wasn't automatic, yet i could add ben-counterweight without problems. seems that things work smoothlier than expected (either by me or by you :)
<wolfspraul> wpwrak: I gave you super powers :-)
<wolfspraul> Indefero has three levels, normal user, 'staff' and 'admin'
<wolfspraul> I made you staff right away, actually I would also make you admin but it's only possible with a manual mysql command and I was too lazy and forgot what the actual extra power of admin is.
<wpwrak> wolfspraul: aaah ! :) i kinda suspected that :) thanks !
<wpwrak> wolfspraul: heh, being able to create my own projects already is plenty :)
<wolfspraul> I think admins can delete stuff permanently
<wolfspraul> it's actually good to make that a bit harder, accounts can be compromised etc.
<wolfspraul> no need to be so public to have the 'kill' button right on the homepage :-)
<wpwrak> yup. actually, a revision control system underneath would be nice. you never know why bad things may happen, so it's reassuring if you can fix them in any case.
<wpwrak> well, a feature request for the future perhaps
<wpwrak> wolfspraul: btw, do you think you;ll have some use for the counterweight ? i expect that i'll have it in decent shape after the weekend.
<wolfspraul> hmm
<wolfspraul> in mass-production not right away, but of course we can use it as a give-away, I'm sure David would love to have a few etc.
<wolfspraul> we can also use this chance to experiment how to make more
<wpwrak> wolfspraul: david, for heavy metal :)
<wpwrak> wolfspraul: for mp, you'd want to have something rohs-compatible anyway. lead doesn't look too pretty there ...
<wpwrak> (make more) i'm using a wooden mold right now. already did ~12 pieces and the mold is still good. yield depends a lot on handling, though, so this is bad. there are a number of possibilities for making this more predictable. also, an aluminium mold should last quite a long time.
<wpwrak> right now, it works like this: the mold is "flat", i.e., has the profile of the counterweight seen from above. i pour liquid solder inside, then i tap it with a pcb and let it cool
<wpwrak> the taping is critical: the faster, the more accurate the thickness. the slower, the more time for air to escape. there's also some effect on getting the solder to flow into all the corners.
<wpwrak> so all this is nice for experimenting but too unreliable for anything else. the next step would be to try gravitation casting. maybe even the same mold will do. (mill is busy until friday with a scan, so reuse makes sense)
<wpwrak> if that doesn't work, i may try heating the alloy while already in the mold. that may give more reliable definition. (i already got a nearly perfect cast with the primitive approach, so it's now all about making this reproducible)
<wpwrak> for large-scale production, you;d want to change the material and then you'd have to find out what your local companies can offer. cad files should be no problem.
<tuxbrain> wpwrak: Yeah! (both for heavy metal and to have some counterweight once ready :)
<wolfspraul> kristoffer: morning :-)
<wolfspraul> genius or weirdo?
<wolfspraul> sounds tiring...
<kristoffer> wolfspraul, hey man :) Just answerd an email from you. Im off to school in a second (big exam in two weeks), but I can catch you later tonight.
<kristoffer> cya then
<mirko> morning
<mirko> anything special about the serial connection at sakc? i just get crypted symbols with baudrate 57600 (tried otehrs as well)
<xiangfu> mirko: do you use a TTL -- RS232 convert ? ( I don't have sakc. just some idea)
<mirko> xiangfu: sure i use - the setup is working fine with all my other embedded devices (such as the nanonote, the picture-frame, etc.)
<mirko> xiangfu: i also _see_ symbols scrolling over, however no human readable characters... usually that's the case of wrong settings... however i thought these are fixed within the SoC in this case, so i wonder...
<xiangfu> mirko: then I have no idea. :(. form the sakc uboot. it's definitely  57600.
<mirko> xiangfu: it's not just uboot/kernel - it's the same while flashing...
<mirko> when flashning the jz4725 there's no software involved (except the stage-binaries which are the same as i used for the picture frame and the nanonote)
<mirko> weird - just dropped carlos an email
<mirko> maybe he can give me some hints
<xiangfu> sure
<unclouded> kyak: thanks for the fixes to the freedroid Makefile
<wolfspraul> mirko: did you write your mail to Carlos in private? I don't see it over the list yet...
<wolfspraul> also, please remember to upload sakc binaries, no matter how preliminary they are, so Adam can get into the mode of flashing & trying them
<wolfspraul> these are different from our official releases, so don't hesitate to upload anything :-)
<wolfspraul> otherwise Adam can only reflash Ben images and naturally they will not even boot
<mirko> wolfspraul: i wrote to him in private, yes
<mirko> wolfspraul: i need the serial connection to see what's going on
<mirko> wolfspraul: it "looks" good from the outside-so if i get a shell via USB i'll upload bins
<wolfspraul> great, thanks!
<mirko> but the serial connection is important
<wolfspraul> yes sure, but if your image boots, at least that's a start
<bartbes> the ben automounts sd cards, but how do I make it mount it on /card (or at least symlink)?
<mth> the automounting is probably done by a program/script that is run on hotplug events
<bartbes> HMM
<bartbes> oops
<bartbes> caps lock on 2nd keyboard
<mth> cat /proc/sys/kernel/hotplug
<bartbes> oh I think the conf is in
<bartbes> /etc/hotplug.d/block
<bartbes> and mounting is in 40-mount
<bartbes> (just confirmed that)
<bartbes> I wonder where it is configured..
<xiangfu> bartbes: under /etc/config/. name is "mount" I think. I am booing my nanonote now.
<bartbes> oh there we go
<bartbes> the one named fstab
<bartbes> right, so it basically says it will check fstab
<bartbes> already
<bartbes> now to add the device to fstab
<bartbes> not sure how I am supposed to do that
<bartbes> (since fstab itself only states it is auto-generated)
<bartbes> ah
<bartbes> of course openwrt docs
<bartbes> restarts nanonote
<bartbes> xiangfu: thx, I got it to work
<xiangfu> bartbes: you are welcome :)
<kristianpaul> nice pics
<kristianpaul> ops
<bartbes> nice cybering kristianpaul
<qi-bot> [commit] Xiangfu Liu: add fw_env.config for change kernel commandline http://qi-hw.com/p/openwrt-xburst/e67fd6e
<kristianpaul> bartbes: hola
<kristianpaul> :)
<wpwrak> rafa: you have to give me an ultimatum for the install session :) without a bit of pressure, i keep on dragging things out indefinitely.
<qi-bot> [commit] Xiangfu Liu: enable [setfont2] and [uboot-envtools] package in config http://qi-hw.com/p/openwrt-xburst/33d2680
<larsc> nanonote support is now upstream :) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e6b78c4f224925c71cce57033b1e6e30dd56add7
<xdpirate> nice one larsc!
<wpwrak> larsc: congratulations ! so it's champagne and girls tonight ? :-)
<larsc> wpwrak: unfortunately not. to much work to do :/
<wpwrak> larsc: sigh. what happened to the good old times, when returning heroes were welcomed with a parade and an orgy ?
<wpwrak> i really miss good old rome and the apollo program ...
<bartbes> especially the combination of the two
<wpwrak> bartbes: hmm, apollo's antagonist in style, dionysus, might be the better companion for a bit of fun, though
<mth> larsc: congrats!
<bartbes> does anyone have experience with compiling c++ programs which link against lua on openwrt?
<wpwrak> hmm, no commit notifications for ben-counterweight yet :-(
<wpwrak> tuxbrain: so .. how many counterweights do you think you'll want ?
<rafa> wpwrak: haha.. yes, you are right :D
<rafa> wpwrak: just that I was with few free time :(..
<tuxbrain> congrats lars!!!!!
<tuxbrain> wpwrak: don't know how much is the price?
<viric_> what is about 'congrats'? :)
<kristoffer> larsc, congratz!
<viric_> Ah, support upstream :)
<kristoffer> yes, nothing like that taste of vanilla
<viric_> I also enjoy that! In what release it is going to appear first?
<larsc> the next
<larsc> 2.6.36
<viric_> great. Congratulations
<qi-bot> [commit] Bas Wijnen: start wrapper; proper serial port baudrate http://qi-hw.com/p/iris/7659673
<wpwrak> tuxbrain: depends on how many you need and in what form :) varies between "i send you files" over "you pay the shipping" to "now it's actually turning into real work".
<wpwrak> rafa: (you not having time) better than you angrily watching the clock while i'm busy doing other stuff :)
<tuxbrain> wpwrak: then I will reformulate the question... what is the scale price? :P
<tuxbrain> price scale sorry, too sleepy
<shevek> Does anyone know how the kernel powers the Ben off?  According to the programmer's manual, this can be done using the rtc, but setting the PD bit doesn't cause a power down.
<larsc> shevek: use the source ;) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/mips/jz4740/reset.c;h=5f1fb95c0d0daf980bc20194be8bb4c6f35f002d;hb=HEAD
<wpwrak> tuxbrain: haven't figured out what i would have to charge for it if i have to charge for it. so it's better to try to keep it simple enough that it's not worth the effort to put a price on it :) but just tell me what quantity you intend to use. then we'll see how to best get this done.
<tuxbrain> lets say 20 , do an estimation of what will be the cost including shipping and we can decide if it worth the effort (yours and mine)
<wpwrak> tuxbrain: 20 should still be within the range of "pay me a beer or two when we meet anywhere" :) weight would be about 400 g, so shipping shouldn't be too evil either. provided that there are no restrictions on lead.
<wpwrak> tuxbrain: do you have a fedex/dhl/ups/tnt/etc. account the shipping could be charged to ?
<tuxbrain> where are your from?
<tuxbrain> I have no direct acount but I can ask to my courier to pickup there.
<wpwrak> tuxbrain: i live in argentina
<tuxbrain> fuck
<shevek> larsc: There may be a big power saving opportunity there, then. :-)  The kernel does what I did, followed by while (1) asm("wait"); which means it just sits there waiting if power down doesn't work.  So if it doesn't, the system doesn't really power anything down.
<wpwrak> ;-)
<tuxbrain> sorry
<tuxbrain> well then you can send it to rafa, I will meet him at the end of this month or begins of september
<larsc> shevek: line 70
<wpwrak> tuxbrain: oh, the two of you will meet. perfect then.
<shevek> larsc: Yes, that's what I'm doing in Iris as well, and it doesn't do anything.
<larsc> well, here it shutsdown the system
<wpwrak> tuxbrain: he'll have to pick them up himself, though :) (he lives within walking distance from my place)
<shevek> larsc: Hmm, you should notice indeed; otherwise it can't be powered up using the power button.
<tuxbrain> hehehe :) ok I will ask him also to transfer you some beer , I wil transfer to him here in spain slow-fi beer
<wpwrak> beer store-and-forward :)
<wpwrak> rafa just agreed :)
<wpwrak> rafa: of course, you could also have answered right here ;-)
<rafa> tuxbrain: can I drink the half of beers for wpwrak?
<rafa> tuxbrain: btw, I need to buy a nanowar version as well
<rafa> for a friend
<tuxbrain> rafa:You have a full slow-fi beer to you, don't need to split the packet :), you will act as proxy and also as destination address
<rafa> ;-)
<shevek> larsc: It works now, I forgot to open the gate again.  Thanks!
<bartbes> this is weird
<bartbes> the official tcl package
<bartbes> is semi-broken
<bartbes> removes it
<bartbes> no use for a broken interp
<mth> bartbes: they might have upped the version without testing whether it still works
<mth> I had a lot of cross compilation problems with Tcl in openMSX
<rafa> wpwrak: so, which is the deal?.. tuxbrain gets the lead and we get the same weight on beers?
<wpwrak> rafa: half a liter of beer ? hmm, i've seen better deals :)
<wpwrak> rafa: maybe the weight in nanonotes. that would be about two of them ;-)
<rafa> jaja.. well, you define that with tuxbrain, I am happy just with two beers as usual :D
<rafa> bah.. we, south americas, are so cheap :)
<Textmode> wpwrak: with or without batteries?
<wpwrak> Textmode: good idea :) the battery is something like 20g, too :)
<kristianpaul> larsc: :)
<wolfspraul> wpwrak_: ben-counterweight commitlogs should work now
<wolfspraul> there are 2 steps that need to be done manually right now after the first commit
<wpwrak_> wolfspraul: thanks !
<wolfspraul> wpwrak_: since you are the kicad expert...
<wolfspraul> what do you think about adding some server-side scripts where a commit of kicad files will automatically generate a PNG or PDF version of the schematics
<wolfspraul> or other magic like some of your bom scripts etc.
<wolfspraul> I would be very open minded to working on some kicad automation on the projects server
<wolfspraul> of course it needs to make sense
<wpwrak_> it's a bit tricky: if you use my print from command line patch, then you need to find the top-level .sch file, then print that one
<wolfspraul> well first I would like to understand what could create value
<wpwrak_> but yes, easily/browser-viewable schematics are definitely a good thing
<wolfspraul> a lot of people like to look over schematics, but installing kicad is a big burden
<wolfspraul> so if a commit could trigger the generation of PNG/PDF schematics, I think that would be valuable
<wpwrak_> yup, agreed
<wolfspraul> similar for the BOM maybe, although as you know I am somewhat cautious on the value of some of your scripts in that area :-)
<wolfspraul> kicad is still an electrical design tool for me, at some point the business/price/sourcing side starts, with separate tools
<wolfspraul> warehouse management, etc.
<wolfspraul> so maybe we start with the png/pdf schematics then?
<wpwrak_> my bom scripts are definitely just a first step
<wpwrak_> the problem with the schematics conversion is that you need to plot from the root. if the .sch file is a sub-sheet, and you try to plot just that file, it will come out wrong.
<wpwrak_> "plot just that file" = open foo.sch and try to plot it, or use eeschema --plot foo.sch, there foo.sch is the sub-sheet
<wolfspraul> understood
<wolfspraul> one radical solution would be to commit the live script into the repository :-)
<wolfspraul> the perfect storm in terms of taking over the server :-)
<wpwrak_> yeah :)
<wpwrak_> also running kicad on arbitrary schematics may be a bit dangerous
<wolfspraul> so we don't know which .sch is the root
<wpwrak_> less than heekscad, though ;-) fewer bugs
<wpwrak_> you could scan them for ... $Sheet ... F1 "foo.sch"
<wpwrak_> that is, F1 "foo.sch" in a $Sheet ... $EndSheet block
<wpwrak_> the one(s) that have such a block are parents of foo.sch
<wpwrak_> recurse until you find no further parents. of course, they could probably be in a different directory
<wolfspraul> sounds complicated
<wpwrak_> a good hint are also .pro files
<wpwrak_> e.g., if there's a bar.sch and a bar.pro, then you may want to --plot the .sch whenever a .sch in the same directory changes
<wolfspraul> I think much easier maybe to have a file named 'git-hooks' or so in the root dir, and then 'root-sch path/to/root.sch' in it
<wolfspraul> that would also allow us to add more logic maybe around bom later
<wpwrak_> yes, that would work, too