2010-08-05 02:59 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 :) 2010-08-05 03:01 wpwrak: I gave you super powers :-) 2010-08-05 03:01 Indefero has three levels, normal user, 'staff' and 'admin' 2010-08-05 03:02 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. 2010-08-05 03:02 wolfspraul: aaah ! :) i kinda suspected that :) thanks ! 2010-08-05 03:02 wolfspraul: heh, being able to create my own projects already is plenty :) 2010-08-05 03:03 I think admins can delete stuff permanently 2010-08-05 03:03 it's actually good to make that a bit harder, accounts can be compromised etc. 2010-08-05 03:03 no need to be so public to have the 'kill' button right on the homepage :-) 2010-08-05 03:04 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. 2010-08-05 03:04 well, a feature request for the future perhaps 2010-08-05 03:14 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. 2010-08-05 03:14 hmm 2010-08-05 03:15 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. 2010-08-05 03:15 we can also use this chance to experiment how to make more 2010-08-05 03:16 wolfspraul: david, for heavy metal :) 2010-08-05 03:16 wolfspraul: for mp, you'd want to have something rohs-compatible anyway. lead doesn't look too pretty there ... 2010-08-05 03:18 (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. 2010-08-05 03:20 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 2010-08-05 03:21 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. 2010-08-05 03:22 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) 2010-08-05 03:24 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) 2010-08-05 03:25 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. 2010-08-05 03:34 wpwrak: Yeah! (both for heavy metal and to have some counterweight once ready :) 2010-08-05 03:37 kristoffer: morning :-) 2010-08-05 03:37 genius or weirdo? 2010-08-05 03:37 sounds tiring... 2010-08-05 03:46 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. 2010-08-05 03:46 cya then 2010-08-05 04:20 morning 2010-08-05 04:21 anything special about the serial connection at sakc? i just get crypted symbols with baudrate 57600 (tried otehrs as well) 2010-08-05 04:36 mirko: do you use a TTL -- RS232 convert ? ( I don't have sakc. just some idea) 2010-08-05 04:36 xiangfu: sure i use - the setup is working fine with all my other embedded devices (such as the nanonote, the picture-frame, etc.) 2010-08-05 04:37 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... 2010-08-05 04:40 mirko: then I have no idea. :(. form the sakc uboot. it's definitely  57600. 2010-08-05 04:40 xiangfu: it's not just uboot/kernel - it's the same while flashing... 2010-08-05 04:41 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) 2010-08-05 04:41 weird - just dropped carlos an email 2010-08-05 04:41 maybe he can give me some hints 2010-08-05 04:43 sure 2010-08-05 04:55 kyak: thanks for the fixes to the freedroid Makefile 2010-08-05 05:07 mirko: did you write your mail to Carlos in private? I don't see it over the list yet... 2010-08-05 05:07 also, please remember to upload sakc binaries, no matter how preliminary they are, so Adam can get into the mode of flashing & trying them 2010-08-05 05:08 these are different from our official releases, so don't hesitate to upload anything :-) 2010-08-05 05:08 otherwise Adam can only reflash Ben images and naturally they will not even boot 2010-08-05 05:48 wolfspraul: i wrote to him in private, yes 2010-08-05 05:49 wolfspraul: i need the serial connection to see what's going on 2010-08-05 05:49 wolfspraul: it "looks" good from the outside-so if i get a shell via USB i'll upload bins 2010-08-05 05:49 great, thanks! 2010-08-05 05:50 but the serial connection is important 2010-08-05 05:55 yes sure, but if your image boots, at least that's a start 2010-08-05 10:20 the ben automounts sd cards, but how do I make it mount it on /card (or at least symlink)? 2010-08-05 10:23 the automounting is probably done by a program/script that is run on hotplug events 2010-08-05 10:24 HMM 2010-08-05 10:24 oops 2010-08-05 10:24 caps lock on 2nd keyboard 2010-08-05 10:24 cat /proc/sys/kernel/hotplug 2010-08-05 10:24 oh I think the conf is in 2010-08-05 10:24 /etc/hotplug.d/block 2010-08-05 10:25 and mounting is in 40-mount 2010-08-05 10:25 (just confirmed that) 2010-08-05 10:28 I wonder where it is configured.. 2010-08-05 10:31 bartbes: under /etc/config/. name is "mount" I think. I am booing my nanonote now. 2010-08-05 10:31 oh there we go 2010-08-05 10:32 the one named fstab 2010-08-05 10:32 right, so it basically says it will check fstab 2010-08-05 10:32 already 2010-08-05 10:32 now to add the device to fstab 2010-08-05 10:33 not sure how I am supposed to do that 2010-08-05 10:33 (since fstab itself only states it is auto-generated) 2010-08-05 10:37 bartbes: http://wiki.openwrt.org/doc/uci/fstab 2010-08-05 10:37 ah 2010-08-05 10:37 of course openwrt docs 2010-08-05 10:41 restarts nanonote 2010-08-05 10:59 xiangfu: thx, I got it to work 2010-08-05 11:00 bartbes: you are welcome :) 2010-08-05 11:34 nice pics 2010-08-05 11:34 ops 2010-08-05 11:38 nice cybering kristianpaul 2010-08-05 11:39 [commit] Xiangfu Liu: add fw_env.config for change kernel commandline http://qi-hw.com/p/openwrt-xburst/e67fd6e 2010-08-05 11:42 bartbes: hola 2010-08-05 11:42 :) 2010-08-05 12:07 rafa: you have to give me an ultimatum for the install session :) without a bit of pressure, i keep on dragging things out indefinitely. 2010-08-05 12:09 [commit] Xiangfu Liu: enable [setfont2] and [uboot-envtools] package in config http://qi-hw.com/p/openwrt-xburst/33d2680 2010-08-05 12:41 nanonote support is now upstream :) http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e6b78c4f224925c71cce57033b1e6e30dd56add7 2010-08-05 12:42 nice one larsc! 2010-08-05 12:45 larsc: congratulations ! so it's champagne and girls tonight ? :-) 2010-08-05 12:51 wpwrak: unfortunately not. to much work to do :/ 2010-08-05 12:52 larsc: sigh. what happened to the good old times, when returning heroes were welcomed with a parade and an orgy ? 2010-08-05 12:53 i really miss good old rome and the apollo program ... 2010-08-05 12:54 especially the combination of the two 2010-08-05 12:57 bartbes: hmm, apollo's antagonist in style, dionysus, might be the better companion for a bit of fun, though 2010-08-05 13:05 larsc: congrats! 2010-08-05 13:40 does anyone have experience with compiling c++ programs which link against lua on openwrt? 2010-08-05 14:02 hmm, no commit notifications for ben-counterweight yet :-( 2010-08-05 14:23 tuxbrain: so .. how many counterweights do you think you'll want ? 2010-08-05 15:26 wpwrak: haha.. yes, you are right :D 2010-08-05 15:27 wpwrak: just that I was with few free time :(.. 2010-08-05 15:32 congrats lars!!!!! 2010-08-05 15:32 wpwrak: don't know how much is the price? 2010-08-05 15:44 what is about 'congrats'? :) 2010-08-05 15:48 larsc, congratz! 2010-08-05 16:00 Ah, support upstream :) 2010-08-05 16:01 yes, nothing like that taste of vanilla 2010-08-05 16:01 I also enjoy that! In what release it is going to appear first? 2010-08-05 16:02 the next 2010-08-05 16:02 2.6.36 2010-08-05 16:02 great. Congratulations 2010-08-05 16:20 [commit] Bas Wijnen: start wrapper; proper serial port baudrate http://qi-hw.com/p/iris/7659673 2010-08-05 16:32 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". 2010-08-05 16:32 rafa: (you not having time) better than you angrily watching the clock while i'm busy doing other stuff :) 2010-08-05 16:34 wpwrak: then I will reformulate the question... what is the scale price? :P 2010-08-05 16:35 price scale sorry, too sleepy 2010-08-05 16:36 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. 2010-08-05 16:46 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 2010-08-05 16:46 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. 2010-08-05 16:48 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) 2010-08-05 16:55 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. 2010-08-05 16:56 tuxbrain: do you have a fedex/dhl/ups/tnt/etc. account the shipping could be charged to ? 2010-08-05 16:57 where are your from? 2010-08-05 16:58 I have no direct acount but I can ask to my courier to pickup there. 2010-08-05 16:58 tuxbrain: i live in argentina 2010-08-05 16:58 fuck 2010-08-05 16:58 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. 2010-08-05 16:58 ;-) 2010-08-05 16:58 sorry 2010-08-05 16:59 well then you can send it to rafa, I will meet him at the end of this month or begins of september 2010-08-05 16:59 shevek: line 70 2010-08-05 16:59 tuxbrain: oh, the two of you will meet. perfect then. 2010-08-05 16:59 larsc: Yes, that's what I'm doing in Iris as well, and it doesn't do anything. 2010-08-05 17:00 well, here it shutsdown the system 2010-08-05 17:00 tuxbrain: he'll have to pick them up himself, though :) (he lives within walking distance from my place) 2010-08-05 17:00 larsc: Hmm, you should notice indeed; otherwise it can't be powered up using the power button. 2010-08-05 17:02 hehehe :) ok I will ask him also to transfer you some beer , I wil transfer to him here in spain slow-fi beer 2010-08-05 17:04 beer store-and-forward :) 2010-08-05 17:04 rafa just agreed :) 2010-08-05 17:05 rafa: of course, you could also have answered right here ;-) 2010-08-05 17:07 tuxbrain: can I drink the half of beers for wpwrak? 2010-08-05 17:09 tuxbrain: btw, I need to buy a nanowar version as well 2010-08-05 17:09 for a friend 2010-08-05 17:13 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 2010-08-05 17:20 ;-) 2010-08-05 17:50 larsc: It works now, I forgot to open the gate again.  Thanks! 2010-08-05 18:07 this is weird 2010-08-05 18:07 the official tcl package 2010-08-05 18:07 is semi-broken 2010-08-05 18:07 removes it 2010-08-05 18:08 no use for a broken interp 2010-08-05 18:16 bartbes: they might have upped the version without testing whether it still works 2010-08-05 18:16 I had a lot of cross compilation problems with Tcl in openMSX 2010-08-05 19:39 wpwrak: so, which is the deal?.. tuxbrain gets the lead and we get the same weight on beers? 2010-08-05 19:47 rafa: half a liter of beer ? hmm, i've seen better deals :) 2010-08-05 19:47 rafa: maybe the weight in nanonotes. that would be about two of them ;-) 2010-08-05 19:51 jaja.. well, you define that with tuxbrain, I am happy just with two beers as usual :D 2010-08-05 19:51 bah.. we, south americas, are so cheap :) 2010-08-05 19:55 wpwrak: with or without batteries? 2010-08-05 20:19 Textmode: good idea :) the battery is something like 20g, too :) 2010-08-05 21:11 larsc: :) 2010-08-05 23:37 wpwrak_: ben-counterweight commitlogs should work now 2010-08-05 23:37 there are 2 steps that need to be done manually right now after the first commit 2010-08-05 23:38 wolfspraul: thanks ! 2010-08-05 23:40 wpwrak_: since you are the kicad expert... 2010-08-05 23:41 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 2010-08-05 23:41 or other magic like some of your bom scripts etc. 2010-08-05 23:41 I would be very open minded to working on some kicad automation on the projects server 2010-08-05 23:41 of course it needs to make sense 2010-08-05 23:44 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 2010-08-05 23:45 well first I would like to understand what could create value 2010-08-05 23:45 but yes, easily/browser-viewable schematics are definitely a good thing 2010-08-05 23:45 a lot of people like to look over schematics, but installing kicad is a big burden 2010-08-05 23:46 so if a commit could trigger the generation of PNG/PDF schematics, I think that would be valuable 2010-08-05 23:46 yup, agreed 2010-08-05 23:46 similar for the BOM maybe, although as you know I am somewhat cautious on the value of some of your scripts in that area :-) 2010-08-05 23:47 kicad is still an electrical design tool for me, at some point the business/price/sourcing side starts, with separate tools 2010-08-05 23:47 warehouse management, etc. 2010-08-05 23:47 so maybe we start with the png/pdf schematics then? 2010-08-05 23:48 my bom scripts are definitely just a first step 2010-08-05 23:50 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. 2010-08-05 23:51 "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 2010-08-05 23:51 understood 2010-08-05 23:51 one radical solution would be to commit the live script into the repository :-) 2010-08-05 23:51 the perfect storm in terms of taking over the server :-) 2010-08-05 23:52 yeah :) 2010-08-05 23:52 also running kicad on arbitrary schematics may be a bit dangerous 2010-08-05 23:53 so we don't know which .sch is the root 2010-08-05 23:53 less than heekscad, though ;-) fewer bugs 2010-08-05 23:54 you could scan them for ... $Sheet ... F1 "foo.sch" 2010-08-05 23:54 that is, F1 "foo.sch" in a $Sheet ... $EndSheet block 2010-08-05 23:55 the one(s) that have such a block are parents of foo.sch 2010-08-05 23:56 recurse until you find no further parents. of course, they could probably be in a different directory 2010-08-05 23:56 sounds complicated 2010-08-05 23:56 a good hint are also .pro files 2010-08-05 23:57 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 2010-08-05 23:57 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 2010-08-05 23:57 that would also allow us to add more logic maybe around bom later 2010-08-05 23:57 yes, that would work, too