2011-06-29 05:04 wpwrak: for Ben's kernel, yeah, i copied the ben-wpan-config-2.6.38 2011-06-29 05:05 wpwrak: 512 Mb rootfs - i'm not sure if it is "new", it has been 512 Mb for a while now.. at least for the latest several releases 2011-06-29 05:06 wpwrak: do your explanations about conflicting ieee* kernel modules and testing utils apply to atusb as well? 2011-06-29 05:08 if so, then i perhaps needed to reboot, because i updated the firmware of atusb and then started atrf-xtal 1000 (all successfully) before i tried to do "iz add .. wpan0" and saw "no such device" 2011-06-29 05:08 anyway, will be able to check only in the evening.. 2011-06-29 05:27 kyak: you got your boards and they work? 2011-06-29 05:28 wolfspraul: i got my boards yesterday evening, haven't yet really tried it, just prepared necessary tools 2011-06-29 05:28 the software tools it is 2011-06-29 05:29 ok 2011-06-29 10:23 kyak: (kernel vs. user space) yes, this will apply too 2011-06-29 10:25 kyak: but you're ahead of me there :) having any kernel support for atusb is still brand new. and afaik, it doesn't work yet. stefan is working at it. i'm at a conference this week, so i won't be able to do much (besides daily heavy drinking, of course :) 2011-06-29 10:38 wpwrak: yeah, i noticed that you were mainly experimenting atben<->atben 2011-06-29 10:39 also, if atusb is not yet working, i probably can't do anything but just wait :) 2011-06-29 10:41 kyak: have you tried atrf-rssi with atben yet ? and atrf-txrx -P with a pair of boards (atben/atben, atben/atusb, or atusb 2011-06-29 10:42 /atusb) 2011-06-29 10:44 wpwrak: no, i haven't. Yesterday i ended up with "izcoordinator... " on Ben (i.e. interface wpan0 was brought up) 2011-06-29 10:45 but could'nt do the same on PC. Perhaps due to the kernel vs. user space issue 2011-06-29 10:46 wpwrak: for my understanding, do lowpan tools count as "userland" or "kernel"? 2011-06-29 10:47 the only two things i actually tried on PC were updating of atusb firmware with dfu and runnign atrf-xtal 1000 2011-06-29 10:57 [commit] Werner Almesberger: fisl2011/: don't declare a sole objective for M1; fixed dependencies (master) http://qi-hw.com/p/wernermisc/0a58e05 2011-06-29 10:57 [commit] Werner Almesberger: fisl2011/: _really_ fix dependencies (master) http://qi-hw.com/p/wernermisc/450a20a 2011-06-29 13:21 The build has FAILED, see log here: http://fidelio.qi-hardware.com/~xiangfu/compile-log/openwrt-xburst.full_system-06282011-1433/ 2011-06-29 13:33 [commit] root: fisl2011/: corrected flow.fig; straightened narrative (master) http://qi-hw.com/p/wernermisc/efacc76 2011-06-29 13:33 [commit] root: Merge branch 'master' of git@projects.qi-hardware.com:wernermisc (master) http://qi-hw.com/p/wernermisc/ca5905a 2011-06-29 15:40 rejon: brrr. the temperature is nasty. 2011-06-29 15:41 wpwrak, yeah, i haven't left hotel yet 2011-06-29 15:42 rejon: heh, beat you :) i got to the conference already around noon 2011-06-29 15:55 btw is rms in FISL this year? 2011-06-29 15:59 i don't think so 2011-06-29 16:00 you slide #5 looks interesting for him 2011-06-29 16:01 nice presentation 2011-06-29 16:01 is short, so i guess you speak a lot ;) 2011-06-29 16:02 hopefully willbe streaming or recording for the talks? 2011-06-29 16:03 short ?? it's something like 20-30% too long :) 2011-06-29 16:03 so i'll have to hurry a bit 2011-06-29 16:03 well for me :) 2011-06-29 16:04 you have 1 hr or so? 2011-06-29 16:04 i forgot to ask that first:) 2011-06-29 16:05 1 h minus time for questions and people changing rooms. so about 45 min 2011-06-29 16:06 best whishes then :) 2011-06-29 16:09 i have the open-ended slides towards the end. i could talk for hours about sourcing. i have a rich set of horror stories from openmoko :) 2011-06-29 16:14 openmoko's un-official history teller 2011-06-29 16:15 one of them :) 2011-06-29 16:18 suposelly osgpsby defalt dont read samples compressed as a pack of 4 samples inside a byte 2011-06-29 16:18 (very sample is 2 bits) 2011-06-29 16:18 every* 2011-06-29 16:19 from my sampled data as it is, i ran osgps and i got some tresholds to be triggered 2011-06-29 16:19 afaik not C/A 2011-06-29 16:19 but i had 30s from sampled date, but i dint finshed debug of acquistion at all so i need to check 2011-06-29 16:19 may be simulate sige in hw.. 2011-06-29 16:20 but if iuse the compressed parameter i dont get nothing.. 2011-06-29 16:20 also diging the code i disover if i did active the pack4 parameter for reading compressed data 2011-06-29 16:21 it take, yes athe 4 samples 2011-06-29 16:21 to a LUT 2011-06-29 16:21 but the lut is this    const char val[4]={1,3,-1,-3}; 2011-06-29 16:22 i have some utilities to uncompress this data aswell, that i was using with octave 2011-06-29 16:22 but that LUT never used 3 2011-06-29 16:22 but used 0 2011-06-29 16:22 man, i'm confused know with this ADC 2011-06-29 16:23 or i'm ignoring something about dowconvertion inside sige chip 2011-06-29 16:23 but those values above make sense 2011-06-29 16:23 2 bits ADC, etc.. 2011-06-29 16:24 but why is not zero? 2011-06-29 16:24 is not needed at all? 2011-06-29 16:24 hum.. 2011-06-29 16:24 datasheet make me guess on that, or require to improve my radio eng skills ;) 2011-06-29 16:49 [commit] root: fisl2011/: changed date; cleaned up flow,fig; improved readability of achieve.fig (master) http://qi-hw.com/p/wernermisc/22ff99b 2011-06-29 16:54 rejon: would you happen to have usbboot installed on your laptop ? my ben has a broken kernel and usbboot had a hellish dependency chain 2011-06-29 16:55 blergh. now it's raining, too. well, maybe it'll get a bit warmer ... 2011-06-29 17:12 wpwrak, hahhaa 2011-06-29 17:12 my ben is broken too! 2011-06-29 17:12 i just installd 2011-06-29 17:12 usbboot 2011-06-29 17:12 we can fix our bens 2011-06-29 17:12 ok, i'm heading over to the conference now 2011-06-29 17:12 done with my conference calls for the day 2011-06-29 17:16 heh. i thought you'd skiip today entirely :) 2011-06-29 17:17 i'm at a table/stand roughly in the middle of the exposition area 2011-06-29 17:17 has KDE-Brasil written on it on one side 2011-06-29 17:18 i'm facing roughly the big "telecentro livre" 2011-06-29 17:19 rejon: btw, dress warmly. the hall isn't heated 2011-06-29 17:21 rejon: Sebastien is MIA, I need confirmation from him for the font change 2011-06-29 17:21 sounds good woakas 2011-06-29 17:21 wolfspraul, 2011-06-29 17:21 just trying to keep on top of outstanding stuff 2011-06-29 17:21 hopefully he will like it 2011-06-29 17:21 I like the designs and font style, stupid little 'must not be sold clause', but it doesn't really apply to us... 2011-06-29 17:22 I wonder what's in peoples minds sometimes :-) 2011-06-29 17:22 rejon: is your m1 functional? 2011-06-29 17:22 I demoed to some people today, they loved it. I think I sold 2 (once I have them) 2011-06-29 17:23 now it's pretty nice booting into simple mode, and iterate through patches with button press 2011-06-29 17:23 connect your camera before you boot, just in case 2011-06-29 17:23 your board has a small hardware bug which we can fix ... ahh.. maybe Werner can fix it for you? :-) 2011-06-29 17:24 wpwrak: if you have a chance, you can remove and short L19 on rejon's m1 :-) 2011-06-29 17:24 wpwrak, actually you are right, i will not come to the conf. today 2011-06-29 17:24 wolfspraul: there are some folks here who may actually have a soldering iron :) 2011-06-29 17:24 i will stay here and work, and come out for dinner and drinks 2011-06-29 17:25 rejon: wimp ! :) 2011-06-29 17:25 wpwrak, the second i enter around people, all my productivity will vanish 2011-06-29 17:25 wolfspraul, can vouch for that 2011-06-29 17:26 rejon: ok, then remember this L19 thing. if werner can fix that for you, that'd be great. 2011-06-29 17:27 it's a nasty little bug especially in quick demo situations. and if werner has access to your m1 and an iron, it's fixed in 1 minute. 2011-06-29 17:27 just needs the top acrylic to be off, that's all 2011-06-29 17:27 wolfspraul, ok, remembering...my unit is functional and on the build from mid-may that has working boot-to-render 2011-06-29 17:27 ok i have my case and m1 and projector 2011-06-29 17:27 wpwrak, lets fix in the morning at the venue 2011-06-29 17:27 i don't present until the 2nd 2011-06-29 17:28 wolfspraul, rejon: hmm, i'll see what i can do without my lab 2011-06-29 17:28 :-) 2011-06-29 17:28 rejon: if your M1 works, maybe it's better not to try rework 2011-06-29 17:28 wpwrak: it's the bug you fixed yourself. just remove and short that big capacitor. 2011-06-29 17:29 up to you guys, I'm just connecting... 2011-06-29 17:29 ok cool 2011-06-29 17:29 wolfspraul: capacitor ? ;-) 2011-06-29 17:29 bead? 2011-06-29 17:29 L19 2011-06-29 17:29 it's a big component, should be quite easy, no? 2011-06-29 17:29 up to you guys 2011-06-29 17:30 otherwise I hope Jon doesn't run into the bug when using the camera... 2011-06-29 17:30 wolfspraul: removal may be tricky without proper tools 2011-06-29 17:30 hum, nice weather in Porto Alegre for this month 2011-06-29 17:30 wpwrak: no need remove just short it using a blob of esta~no 2011-06-29 17:31 well, if rejon wants me to give it a try, we can ask the hw guys if they have something. there's one group that recycles electronics into art :) 2011-06-29 17:31 kristianpaul: yeah, that's what i'd try to do 2011-06-29 17:31 kristianpaul: (nice weather) nice = freezing cold with rain ? 2011-06-29 17:31 rejon: workaround is this: if you want to use the camera in a demo, connect the camera (turned on, i.e. sending a signal) before booting your m1 2011-06-29 17:32 then you cannot run into the bug 2011-06-29 17:32 if you first boot your m1, then connect the camera later, it may sometimes not be recognized by m1 until the next reboot... 2011-06-29 17:33 wpwrak: wikipedia saids 14 °C daily mean for june, here is 30 °C with no wind in the evening, is the hell! 2011-06-29 17:33 even 32°C i think 2011-06-29 17:34 kristianpaul: you have 30 C ? bastard ! 2011-06-29 17:34 wpwrak, keep me posted about night plans....laying low until.... 2011-06-29 17:34 rejon: i guess night plans will arrive by email :) 2011-06-29 17:35 wpwrak: i've started atrf-txrx -P both on Ben and PC 2011-06-29 17:35 i see "TX power -4.0 dBm" 2011-06-29 17:36 is it as expected? 2011-06-29 17:36 make this atrf-txrx -P 1 on one of them 2011-06-29 17:36 then they'll start to talk 2011-06-29 17:37 i see ++++ in PC and **** in Ben 2011-06-29 17:37 are they talking now? 2011-06-29 17:38 i gues they are :) 2011-06-29 17:38 with evil plans :) 2011-06-29 17:38 hmm. they're talking. but they don't understand each other 2011-06-29 17:39 hm 2011-06-29 17:40 does dmesg say anything on the ben ? 2011-06-29 17:41 i just had "116 bytes received" message on Ben 2011-06-29 17:41 and now "112 bytes" 2011-06-29 17:41 kyak: in particular, did you disable the various drivers ? (mmc and at86rf230) 2011-06-29 17:41 i did disable the at86rf230 2011-06-29 17:42 i though mmc was already disabled in ben-wpan kernel 2011-06-29 17:42 let me double check. A question - should i reboot Ben with atben in it? 2011-06-29 17:43 shouldn't matter unless you have the mmc driver 2011-06-29 17:44 ok, i rebooted it. Is there anything particulare we are looking for in dmesg? 2011-06-29 17:45 http://projects.qi-hardware.com/index.php/p/wernermisc/source/tree/master/ub 2011-06-29 17:45 note that you have t run the commands by hand, due to the echo bug 2011-06-29 17:45 (unless that's fixed already) 2011-06-29 17:46 i'm running it by hand 2011-06-29 17:46 though you are right, echo looks pretty weird 2011-06-29 17:46 ;-) 2011-06-29 17:46 like it's redirected to stdout instead of /sys.. 2011-06-29 17:47 yup 2011-06-29 17:47 so i unbound it. now atrf-txrx? 2011-06-29 17:47 yes 2011-06-29 17:47 you should get a series of . on both sides 2011-06-29 17:48 nope.. it's the same + and * 2011-06-29 17:48 weird 2011-06-29 17:48 do i need to do anything special on atusb side? 2011-06-29 17:48 ah. yes. you need to upgrade the firmware :) 2011-06-29 17:49 first, ger dfu-util 2011-06-29 17:49 i did that yesterday 2011-06-29 17:49 dfu-util -d 20b7:1540 -D atusb.bin 2011-06-29 17:50 whereas atusb.bin is the latest (by date) from your directory 2011-06-29 17:50 then try http://downloads.qi-hardware.com/people/werner/wpan/bindist/atusb-b0b04ed.bin 2011-06-29 17:50 ah 2011-06-29 17:51 maybe i need to update it. mompls 2011-06-29 17:51 yah, i think it was b0b0 :) 2011-06-29 17:51 i like the crc or whatever it is 2011-06-29 17:51 i'll to update the firmware again 2011-06-29 17:51 it's the shor commit number 2011-06-29 17:52 http://dpaste.com/560901/ 2011-06-29 17:53 heh.. i forgot to stop atrf-txrx during update 2011-06-29 17:53 looks good 2011-06-29 17:54 and it started to use 100% CPU 2011-06-29 17:54 latest version: http://downloads.qi-hardware.com/people/werner/wpan/bindist/atusb-b3b037e.bin 2011-06-29 17:54 whatdid ? 2011-06-29 17:55 nevermind, i just killed it.. and reflashed the atusb-b3b037e.bin 2011-06-29 17:55 haha! 2011-06-29 17:55 now we have dots! 2011-06-29 17:55 running fast 2011-06-29 17:56 yeah ! :) 2011-06-29 17:56 as it should 2011-06-29 17:56 gues b0b0b was not so good after all :) 2011-06-29 17:56 ok, so we know it's working. I guess i can take it from here. Do you need me to run any tests? 2011-06-29 17:57 it may be from befoee bthe latest interrupt changes 2011-06-29 17:57 i'll be interested in collecting a few serial numbers. but i'll di rhat when i'm back home 2011-06-29 17:58 the boards should leave tuxbrain i good working order 2011-06-29 18:00 ok.. i'll travel around and see when these dots turn to something else, thus detecting the wireless "bubble" :) 2011-06-29 18:01 kyak: ah yes, that would be good to know 2011-06-29 18:05 it works with interruptions (-*) when i'm in another room, not sure how it would affect the real TCP transmission 2011-06-29 18:10 hehe, recruited my first listener :) 2011-06-29 18:11 kyak: you could try with dirtpan 2011-06-29 18:13 wpwrak: i'm failing at "iz add.." step 2011-06-29 18:13 or is it not required for dirtpan? 2011-06-29 18:13 should be required 2011-06-29 18:13 i get "Receive failed: Netlink Error (errno = No such device)" on atusb side 2011-06-29 18:13 atben seems fine 2011-06-29 18:14 i guess i'm lacking drivers for at86rf230 2011-06-29 18:15 the above mentioned error is from "iz add wpan-phy0" 2011-06-29 18:15 whet i do a ftp trasnfer it uses tcp isnt? 2011-06-29 18:15 yeah 2011-06-29 18:17 too slow then ,i'll switch to udp, i guess than handshake is adding cpu load to rtems.. 2011-06-29 18:18 s/thnat/that 2011-06-29 18:18 kyak: ah, yes, the atusb side isn't ready yet 2011-06-29 18:18 kyak: you'd need two atbens to play with it for now 2011-06-29 18:19 :o 2011-06-29 18:21 grmbl. how do i leave gmu ?!? 2011-06-29 18:22 remote login, then killall -1 gmu.bin did it :) 2011-06-29 18:27 wpwrak: alt+q 2011-06-29 18:29 wpwrak: ok, so i'll be following stefan's progress for atusb.. Will wait till it becomes usable 2011-06-29 18:32 we should chain him to his computer so he works harder :) 2011-06-29 18:35 not that chaining someone to something ever made their work better :) 2011-06-29 18:36 i dotn get it, why i should use fdopen with sockets? 2011-06-29 18:36 i think galley owners would disagree with you disagreeing :) 2011-06-29 18:36 also provides great motivation for maintaining strict workplace safety :) 2011-06-29 18:38 okay, i'll just use it 2011-06-29 18:39 kristianpaul: should or shouldn't ? 2011-06-29 18:39 should 2011-06-29 18:40 must? :-D 2011-06-29 18:40 "fdopen function can be used to initialize a FILE structure from a file descriptor; however, file descriptors are a purely Unix concept not present in standard C." 2011-06-29 18:41 i fear about that word "initialize" 2011-06-29 18:41 but i guess it mean tell how to do something 2011-06-29 18:41 or read something 2011-06-29 18:42 rejon: fixed my ben :) on another try, it actually booted okay. now t has the latest kernel 2011-06-29 18:42 great wpwrak 2011-06-29 18:43 "The fdopen() function associates a stream with a file descriptor. " ah, thats different 2011-06-29 18:43 kristianpaul: most sources indicate that you shouldn't use FILEs for sockets 2011-06-29 18:43 hum.. 2011-06-29 18:43 kristianpaul: appears to be fragile and unportab;e 2011-06-29 18:43 i dint coded osgps btw :-) 2011-06-29 18:44 but fragile make me thing.. 2011-06-29 18:44 wpwrak: what you suguest instead, use send and receive? 2011-06-29 18:45 yup. they're the best 2011-06-29 18:45 (the whole send* and recv* family. depends a bit on what exactly you need) 2011-06-29 18:46 i just want to stream data from mm1 to PC 2011-06-29 18:46 well to osgps actually 2011-06-29 18:46 wich implemented the FILE for socket 2011-06-29 18:47 may be they never tested it.. 2011-06-29 18:47 may be because i'm new to this, but a FILE for sockets looks usefull :D 2011-06-29 18:48 it does. and it often works, apparently 2011-06-29 18:48 but that's noot really by design 2011-06-29 18:48 so you can have surprises :) 2011-06-29 18:54 shame, when i tought all stuff in *nix was about files :) 2011-06-29 18:55 passing messages.. 2011-06-29 19:02 wpwrak: "Not selling hardware " fro FSIL slides,you still mean sell is the point but not hardware it self, instead what it does, the value it generates, that we should sell? 2011-06-29 19:04 kristianpaul: naw, i wasn't so philosophical ;-) it's just a way of saying that, if you intend to make (and sell) hw, you're at risk of patent attacks 2011-06-29 19:04 ahh 2011-06-29 19:04 kristianpaul: (while the risk is much lower for sw) 2011-06-29 19:05 kristianpaul: (especially free sw) 2011-06-29 19:05 so... 2011-06-29 19:05 i still confuse, man i should asssisted to you talk, or get mad reading the slides :S 2011-06-29 19:06 assist* 2011-06-29 19:06 so that strategy is not an option. and you bhave to kepe listening for therest i say :) 2011-06-29 19:07 but when you mean hardware, you dont meant a product 2011-06-29 19:07 yes, i mean hw as a product 2011-06-29 19:09 wonder how many patent attacks 2011-06-29 19:09 sharism/qi-hardware had have 2011-06-29 19:09 well, openmoko suffered one 2011-06-29 19:10 (via pulster) 2011-06-29 19:10 qi-hw 0 so far 2011-06-29 19:10 pulser?? 2011-06-29 19:10 the same who sell frerunner? 2011-06-29 19:10 or i'm confused? 2011-06-29 19:10 a distributpr 2011-06-29 19:10 yes 2011-06-29 19:10 that one 2011-06-29 19:10 wow 2011-06-29 19:11 indeed,youhave interesting histories to tell from OM :) 2011-06-29 19:11 it was something stupid. we installed mp3 codecs on the freerunners without even thinking there could be a problem 2011-06-29 19:12 well, there was 2011-06-29 19:12 ah, i undertand wolfgang know :) 2011-06-29 19:12 that's why wolfgang is so careful about codecs now. once bitten, twice shy 2011-06-29 19:12 s/knwo/now 2011-06-29 19:12 yup :) 2011-06-29 19:14 rejon: does the hotel have good heating ? i don't feel the cold so much anymore, which is probably a bad sign :) 2011-06-29 19:14 ha 2011-06-29 19:14 that's why i always pack a jumprope 2011-06-29 19:14 on trips 2011-06-29 19:14 yes good heating 2011-06-29 19:20 kewl. or, rather, hot :) 2011-06-29 19:21 wait wait wait,NFS seems to implement fdopen hum 2011-06-29 19:21 wpwrak, forgot to intro you to carol from google last night 2011-06-29 19:21 she runs google summer of code 2011-06-29 19:22 at, google recruiting :) 2011-06-29 19:22 s/at/ah/ 2011-06-29 19:22 may be not 2011-06-29 19:22 she was seated atthe corner, on your side ? 2011-06-29 19:22 damn hot here,i need a fan 2011-06-29 19:23 kristianpaul: GRRRR 2011-06-29 19:25 :D 2011-06-29 19:33 sh*t fdopen is not in K&R, hum.. 2011-06-29 19:34 ah, posix,... 2011-06-29 19:35 okay, let use berkely sockets as wikipedia saids :) 2011-06-29 19:36 :) 2011-06-29 19:52 rejon: does your ttavel kit by any chance contain a usb hub ? 2011-06-29 19:52 s/tt/tr/ 2011-06-29 19:53 wpwrak, nope 2011-06-29 19:53 there is a hw store next to this hotel eko btw 2011-06-29 19:54 oh, kewl. they thought of everything :) 2011-06-29 20:01 hmm, forecast predicts 19 C for tomorrow. then down to 13. wow. sunday minimum will be -1 ! 2011-06-29 20:11 rejon: heading towards the hotel 2011-06-29 20:12 wpwrak, cool...i'm not coming out yet ;) 2011-06-29 20:12 cya in a bit 2011-06-29 21:53 rejon: arrrived at hotel :) 2011-06-29 21:53 rejon: are you still here ? 2011-06-29 22:10 grh somehow I don't get into this channel automatically.