**** BEGIN LOGGING AT Sat Jan 08 02:59:57 2011 Jan 08 07:31:16 pespin: yeah, feel free to do some cleaning :-) Jan 08 07:31:56 pespin: and ping me if you're level of trac admin is not sufficient Jan 08 11:59:32 does anyone know where I could download lowlevel_foo-gta01bv4-1.3.0+git20071214+svnr3648-r1.bin and u-boot-gta01bv4-1.3.0+git20071214+svnr3648-r1.bin ? Jan 08 11:59:47 trying to follow http://wiki.openmoko.org/wiki/Neo1973_Debug_Board_v2/Unbricking but can't get the files :) Jan 08 12:01:20 heyho Jan 08 12:03:22 morning morning Jan 08 12:03:40 mickeyl: moin Jan 08 12:03:46 mrmoku: one of these days it might be handy if I had access to the SHR git Jan 08 12:03:56 any idea on PDP? Jan 08 12:04:00 onen|openBmap: ! Jan 08 12:04:07 onen|openBmap: happy new year, my friend. all the best for 2011. Jan 08 12:04:08 mickeyl: send me ypur key then Jan 08 12:04:10 onen|openBmap: how are things? Jan 08 12:04:22 mickeyl: frohe neues Jahr du Alter ;-) Jan 08 12:04:25 hehehe Jan 08 12:04:35 mrmoku: will do Jan 08 12:05:06 and as our git has access per repo a list of repos Jan 08 12:05:19 mickeyl: I wish to you and your lady all the best (health being the first) for the new year! Jan 08 12:05:45 onen|openBmap: thanks a lot. greetings back from Sabine Jan 08 12:05:52 mickeyl: well I switch job a year ago, from research to software development (java) Jan 08 12:06:01 oh! Jan 08 12:06:03 mickeyl: so I think I have learned quite a lot already Jan 08 12:06:21 that sounds good Jan 08 12:06:24 is it fun? Jan 08 12:06:31 mrmoku: ah, i see. which server are you using? Jan 08 12:06:47 gitosis Jan 08 12:06:57 mickeyl: what makes me look at my old code with some kind of "curiosity" ;-) Jan 08 12:07:12 mickeyl: it is yes. started with existing code maintenance + small changes Jan 08 12:07:19 mickeyl: pushed some rework and refactoring Jan 08 12:07:48 mickeyl: start a new project, everything from scratch, with a good spirit team, willing to do things right, and with modern methods Jan 08 12:08:30 onen|openBmap: excellent. that sounds like a good environment to work with. did you have to move for that or are still in the vincinity of Paris? Jan 08 12:08:39 mickeyl: and I try to work on a more regular basis on my obm client. not far from a release Jan 08 12:09:06 mickeyl: does moving to the building 200 m far from where I did work count as a "move" ? ;-) Jan 08 12:09:20 mickeyl: still the same company Jan 08 12:09:30 mickeyl: another entity of the group Jan 08 12:09:44 hehe, right. cooll Jan 08 12:10:01 mickeyl: yes, big companies do not have only bad sides Jan 08 12:10:08 mickeyl: also advantages Jan 08 12:10:19 mickeyl: and you how are things going? Jan 08 12:10:38 mickeyl: working as freelance? Jan 08 12:10:50 mickeyl: hired by nokia to work on ofono? Jan 08 12:12:03 fairly well in general. i had a very busy 2010 as me and my colleague have been building up our mobile application development company (focusing on Apple iOS, but also targeting Android with freelancers). I could spend very little time with FSO. This has now changed a bit and i try to sneak on more time, especially we have some promising progress on new platforms (n900, palm pre). Jan 08 12:12:33 so FSO has stalled a bit in 2010, but will gain more speed in 2011 Jan 08 12:13:09 and some random private notice... Sabine is pregnant in the 5th month... which makes for an adventurous future as well ;) Jan 08 12:31:58 freesmartphone.org: 03mickey 07cornucopia * re24133e8834e 10/fsotdld/src/plugins/provider_location_gpsd/libgps.vapi: fsotdld: bind more of libgps Jan 08 12:34:06 mickeyl: so... any idea about PDP ? :-) Jan 08 12:34:27 did you manage to get a BT? Jan 08 12:34:47 well Jan 08 12:34:52 before you do that i can try on my cinterion Jan 08 12:35:05 which is pretty close to the calypso Jan 08 12:35:31 let me finish the vapi first Jan 08 12:35:36 mickeyl: (bt) yeah, even posted it here :) Jan 08 12:35:58 it smells very much like a problem in glib though :/ Jan 08 12:36:20 let me scroll up Jan 08 12:36:47 http://shr.pastebin.com/SJ6ukBJm Jan 08 12:37:09 hmm :/ Jan 08 12:37:14 ok Jan 08 12:37:23 i will take a look asap Jan 08 12:37:26 ok Jan 08 12:37:56 and trying on something different than armv4t might indeed be interesting Jan 08 12:38:05 to see if it's a glib armv4t only problem Jan 08 12:38:42 yes Jan 08 12:38:49 my cinterion is connected to the PC Jan 08 12:38:58 so i'll try on x86 first Jan 08 12:40:40 good Jan 08 12:40:51 Hi all Jan 08 12:41:01 morning GarthPS Jan 08 12:42:31 congrats and good luck with your forthcomming april fish mickeyl! :p Jan 08 12:43:16 ;) thanks. schedule is mid-may though, expect me to have _very_ few time for FSO in the first months ;) Jan 08 12:43:35 that's why i plan to move it forward by a huge bit in the next months Jan 08 12:44:23 mickeyl: miscount.. yeah I will be not that surprised :) Jan 08 12:44:59 anyone used libgps before? Jan 08 12:45:16 which huge firward? gdbus fix/improvement? what else ? Jan 08 12:45:43 some gps mouvement in fso too? cool :) i am interested :p Jan 08 12:46:45 well, i want to sort fsotdld out (starting atm. by integrating gpsd plugin, then finishing the overall logic of how to communicate location information to clients), i want to improve the resource API a bit to make it even more failure proof against crashes/restarts of individual components, and then there's the big gap for settings and events, which i want to tackle both Jan 08 12:47:25 that plus some little port work (n900, palm pre) should keep me busy until summer Jan 08 12:49:51 hum ok . iam here for the pre/pre2 :). fsotdld will replace the actuall gps api in fso right? is there something to read about it actualy? Jan 08 12:52:43 yes, fsotdld will offer a new dbus-based GPS API that clients can use. there are no docs yet, but the API will be the first incarnation of our agent-based APIs, i.e. you register as a consumer of location data, and then you have to implement a small API that will be called with subsequent reports, depending on the accuray you have requested. you will receive subsequent reports with increasing accuracy, depending on available sources. Jan 08 12:53:07 the sources will be completely transparent Jan 08 12:53:45 i.e. fsotdld will provide you with cell-tower-based, access point-based, and gps-based, depending on available hardware, networking or not, and implemented location providers Jan 08 12:54:05 small API, very high level Jan 08 12:54:26 if you want more details, you can still use gpsd, which will be underlying Jan 08 12:54:46 but most apps should not have to Jan 08 12:54:59 mickeyl: more details like what ? Jan 08 12:55:42 well, at least for GPS, there's a ton of obscure information which you usually don't need Jan 08 12:55:48 health of the sattelites Jan 08 12:55:54 so fso will take care of reserving the gps ressource including waking gps up etc Jan 08 12:55:55 detailed status Jan 08 12:56:17 yes, if you use the high level API, based on the accuracy that you requested, gps will be woken up or no Jan 08 12:56:18 t Jan 08 12:56:40 if everything you want is the city you are in, we don't need to fire up GPS Jan 08 12:56:42 oh yeah right :) I know some about that, my last payed work was around GPS stuff :) Jan 08 12:57:01 right ok Jan 08 12:57:04 understood Jan 08 12:57:30 i will add elementary's map view to zhone2 Jan 08 12:57:39 to make it a demo for fsotdld Jan 08 12:58:06 mickeyl: it will not be a waste of time If I implement gpsd in my app in addition to fsotdld. like this i can begin gpsd coding pending fsotdld to be out Jan 08 12:58:39 zhone2 I forgot about it :) Jan 08 12:58:50 for sure. if you abstract how the location data comes into your app, then you can change the underlying agent later Jan 08 12:59:02 ya, zhone2 is to be forgotten Jan 08 12:59:19 one of these days I will work on a real good demo client Jan 08 12:59:37 but that will have to wait until any FOSS UI reaches the level of abstraction i like Jan 08 12:59:48 yop , like this i will gain the support of more linux based distros (even not linux based but that an other story) Jan 08 13:00:47 ok thx for all these informations mickeyl! Jan 08 13:01:45 -- of course, until all linux distros/phones will support fso :) Jan 08 13:01:46 np, sorry for not getting back to you earlier via email, but i just didn't know about the plan on my own Jan 08 13:01:52 hehe, yeah Jan 08 13:01:57 world domination has been postponed ;) Jan 08 13:02:08 mickeyl: yeah np I don't doubt about it Jan 08 13:02:19 ;) Jan 08 13:03:39 better late than never ;) Jan 08 13:03:48 right Jan 08 13:08:52 ok so back to wirlddomination i.e fso-installer for the moment :) Jan 08 13:10:20 yay Jan 08 13:23:26 mrmoku, hi! did you read the pair of trac bugs I passed you yesterday night? Jan 08 13:36:39 mrmoku: PDP looks good here. although i could not connect on IPCP layer (i need to buy a new SIM card, this one has no flat rate), setting the credentials and initiating the context worked ok. i could see talking through ppp and nothing (except mdbus2 -sl *sigh*) crashed Jan 08 13:38:25 mrmoku: could you test with a neo via forwarding? Jan 08 13:38:32 i have already 2.27.x here Jan 08 13:38:35 (glib) Jan 08 13:38:57 mickeyl: Herzliche Glückwunsch!!!!!! Jan 08 13:39:28 danke :) Jan 08 13:39:48 mickeyl: this means you will not have *any* time left for FSO in 2012 ;-) Jan 08 13:40:50 mickeyl: is your company selling top shelf software. or are you developing for others more as a service company? Jan 08 13:41:12 onen|openBmap: we'll see... i will take a couple of months off from work in early 2012 to fully concentrate on the little one, so once and then i might be able to code a bit Jan 08 13:41:43 onen|openBmap: we have a handful of apps in the store, but this is just for fun and reference. developing for others is where we really earn money. Jan 08 13:42:36 developing and selling own apps is a lottery game for a small publisher Jan 08 13:44:09 mickeyl: indeed Jan 08 13:44:32 mickeyl: I cross read the conversation above, about your new fso service Jan 08 13:44:39 mickeyl: you talked about location service Jan 08 13:44:59 mickeyl: after the next release of my client, i plan working on location service, based on obm data Jan 08 13:45:15 mickeyl: what I have in mind, is a plugin for geoclue Jan 08 13:45:32 mickeyl: how related are geoclue and your project? Jan 08 13:46:16 i never got the hang of geoclue. while the idea is nice, it always striked me as being half-finished. plus, geoclue does not care at all about the problem of activating/deactivating resources Jan 08 13:46:17 mickeyl: ok, will try that then Jan 08 13:47:27 in essence, it's our own geoclue, but with integration into the FSO resource system and integrated w/ fsogsmd and wpa_supplicant for AP / Cell Towers Jan 08 13:47:47 onen|openBmap: for FSO it'd be best if we had a web service Jan 08 13:48:22 mickeyl: we do have: GSM and WiFi Jan 08 13:49:21 mickeyl: my idea is to develop a local db use location service. no network connection service needed Jan 08 13:49:47 onen|openBmap: ok, that would augment the services we currently use over the network Jan 08 13:50:09 mickeyl: let me know if you see this fitting to FSO. We could then discuss how to. For now I understand I can go for geoclue. Right? Jan 08 13:50:44 mickeyl: http://openbmap.org/api/openbmap_api.php5 Jan 08 13:50:49 onen|openBmap: fore sure, there might still be folks that use geoclue. if you have a C api, we can easily cook an fsotdld plugin out of it Jan 08 13:50:53 +1 for no network phone tower database Jan 08 13:51:01 ooh, nice Jan 08 13:51:11 you already have the webservice Jan 08 13:51:13 didn't know that Jan 08 13:51:54 mickeyl: gsm web api has been available for more than a year, easily. ;-) in which world are you living for not knowing that! :P Jan 08 13:52:13 hehe Jan 08 13:52:25 well, as i've said, i couldn't pay much attention to non-iOS things in 2010 :) Jan 08 13:52:54 ssam: proof of concept exist for months (unusable, but just the basis of what it could be). I plan to start working back on this. Jan 08 13:53:34 :-) Jan 08 13:54:37 mickeyl: well I have to ask to the right people, but it is not clear to me what language would fit to develop a geoclue plugin (C obviously, but I am thinking more of java/vala/python). It would be ideal if a simple layer would allow that future service to run on android... Jan 08 13:55:35 mickeyl: maybe java specific implementation for android, and python or vala for real Linux systems implementations will have to be Jan 08 13:56:08 mickeyl: on android, most of people are more than happy to use Google services anyway. so it might be difficult to find interested people in that community Jan 08 13:56:20 mickeyl: works with fsogsmd on my laptop forwarding to the calypso Jan 08 13:56:33 mrmoku: ok, which version of glib are you running on the laptop? Jan 08 13:56:50 error: unable to chain up to base constructor requiring arguments Jan 08 13:56:50 public class LabelBox : Elm.Box { Jan 08 13:56:50 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jan 08 13:56:53 onen|openBmap: yeah, the android folks are so used to permanent network connection it might be toughh Jan 08 13:57:01 mickeyl, can you tell me what I'm doing wrong please? Jan 08 13:57:11 Version : 2.26.1-1 Jan 08 13:57:25 mrmoku: ok, that's the version we have on arm as well... hmm Jan 08 13:57:26 mickeyl: so it's not 2.27 fixing it Jan 08 13:57:51 pespin: if there is no constructor without arguments in the base class, you need to add a custom constructor to your LabelBox Jan 08 13:58:01 mickeyl: for me the local approach is two folds: 1. efficiency of battery usage (and availability of network connection) 2. privacy Jan 08 13:58:32 mickeyl, ah ok, and from there call base(params) right? Jan 08 13:58:36 pespin: yep Jan 08 13:59:04 onen|openBmap: for sure. however, at the end of the day most folks are using the location data to query more data, which -- usually -- comes from the network Jan 08 13:59:18 like maps or services Jan 08 13:59:18 mickeyl: fsogsmd rev on FR is a567dc74696fb342fd5abc8388d1dd6064e62219 Jan 08 13:59:26 nothing interesting fsogsmd related after that Jan 08 13:59:43 so that boils down to glib on armv4t being subtly broken Jan 08 13:59:46 fun :/ Jan 08 13:59:49 *sigh* Jan 08 14:00:16 hmm Jan 08 14:00:24 which vala version do we have in OE? Jan 08 14:00:32 there is one fix that came later then my last snapshot Jan 08 14:00:40 i should cut a new release just to make sure it's not that Jan 08 14:00:44 let me do that right now Jan 08 14:00:51 good :) Jan 08 14:01:16 interesting would be to test it on a OE built thing Jan 08 14:01:21 with different arch Jan 08 14:01:26 yeah Jan 08 14:01:27 pity gnutoo is not around Jan 08 14:01:32 he could test on the dream Jan 08 14:01:36 yep Jan 08 14:01:59 mickeyl, uhm Jan 08 14:01:59 error: invocation not supported in this context Jan 08 14:01:59 base(parent); Jan 08 14:02:29 let me try Jan 08 14:02:54 mickeyl: correct. nevertheless: point 1 might still be useful for some usage (OSM maps can also be embedded); point 2 is about dividing what information knows every service you use Jan 08 14:02:57 maybe because Elm.Box is not coming from Glib.Object? Jan 08 14:04:25 mickeyl: if you use google maps for all your searches, google knows all the geographical points you show interest to, even if everytime you talk to a different service afterwards for every query Jan 08 14:05:12 pespin: this works fine here: Jan 08 14:05:21 public class MyBox : Elm.Box Jan 08 14:05:21 { Jan 08 14:05:21 public MyBox() Jan 08 14:05:21 { Jan 08 14:05:21 base( null ); Jan 08 14:05:23 } Jan 08 14:05:24 mickeyl: well of course this makes sense more for a big company like google, which knows a lot more things about you (emails, documents, books, firends, etc.) Jan 08 14:05:25 } Jan 08 14:06:04 mickeyl: if you replace google maps by a web service from another company doing just that, this is maybe not that much different as a local location service Jan 08 14:06:10 onen|openBmap: sure. i don't doubt the privacy aspect, so querying an offline database can definitely make sense even if you _have_ network Jan 08 14:07:13 my biggest issue if the update of the local database, which I would like to be incremental. I have understood debian package system has tools for that. not sure how to do that otherwise Jan 08 14:07:52 hmm Jan 08 14:08:05 mickeyl, ops, I had a remaining "void" in the constructor. But I get another error: Jan 08 14:08:08 error: derived compact classes may not have instance fields Jan 08 14:08:08 public class LabelBox : Elm.Box { Jan 08 14:08:24 Does someone can help me on this : (hopping it is enought explicit) Jan 08 14:08:25 if it's an sql database you can always add migration scripts in postinstall instead of overwriting the whole db Jan 08 14:08:48 I'm using this: Jan 08 14:08:48 public LabelBox(Elm.Object parent, string label, string Value) { Jan 08 14:08:49 Jan 08 14:08:49 base(parent); Jan 08 14:08:59 = >http://pastebin.com/rxurxqVm Jan 08 14:09:23 about checking a variable's value in a list Jan 08 14:09:54 pespin: compact classes have little value beyond binding in vapi. try removing all [Compact] statements from the elm.vapi Jan 08 14:10:49 GarthPS: hmm, my shell foo is little, but would an if-else-cascade be too handish? Jan 08 14:11:34 GNUtoo|laptop: ahh... hi :-) Jan 08 14:11:45 GNUtoo|laptop: we would have some small important test for you to do Jan 08 14:11:46 mickeyl: for me if_else means in a target and i want it checked at the begining Jan 08 14:11:55 mrmoku, hi Jan 08 14:12:03 * GNUtoo|laptop wants to test Jan 08 14:12:15 I could do a test target but I wanted to try it Jan 08 14:12:20 GNUtoo|laptop: does org.freesmartphone.GSM.PDP.SetPdpCredentials work for you on the dream? Jan 08 14:12:31 that's 3g? Jan 08 14:12:40 I've no 3g suscription Jan 08 14:12:46 mrmoku: 0.11.3.1 up on fso Jan 08 14:12:48 no connection needed Jan 08 14:12:51 ah ok Jan 08 14:12:53 then I try Jan 08 14:13:00 just sets apn, user and password Jan 08 14:13:02 and won't connect Jan 08 14:13:06 do I need a sim card? Jan 08 14:13:13 mickeyl: ^^? Jan 08 14:13:15 because I started to boot without sim? Jan 08 14:13:18 s/?// Jan 08 14:13:18 GNUtoo|laptop meant: because I started to boot without sim Jan 08 14:13:28 good question Jan 08 14:13:33 never tried that command without one Jan 08 14:13:40 worth a try anyways Jan 08 14:13:42 ok I'll add one Jan 08 14:15:51 mickeyl, uhm I sed all "[Compact]" but I still get same error :S Jan 08 14:16:00 phonefsod not running, hmmm Jan 08 14:16:01 maybe something inheriting from evas.vapi which is compact? Jan 08 14:16:10 I'll build Jan 08 14:16:27 pespin: possible Jan 08 14:17:13 ok I'll sed evas.vapi too Jan 08 14:17:58 GNUtoo|laptop: phonefsod not needed Jan 08 14:18:01 just use mdbus2 Jan 08 14:18:02 ok Jan 08 14:18:13 request the GSM resource Jan 08 14:18:21 mickeyl: yeah, I have though about that. This is an sqllite db. And you would have to manage building a script from the version you run- the latest version of the db, to send to the client, to update its db Jan 08 14:18:22 call SetFunctionality Jan 08 14:18:29 mickeyl: not a big deal for now Jan 08 14:18:35 SetFunctionality full 1 '' Jan 08 14:18:40 if you have no PIN Jan 08 14:18:47 mickeyl: I'll see this point later Jan 08 14:19:02 give it a bit of time to startup and call PdpSetCredentials then Jan 08 14:19:06 onen|openBmap: yep Jan 08 14:19:24 mickeyl, I get a C error with Compact removed in evas.vapi -> http://paste.pocoo.org/show/317100/ Jan 08 14:20:12 here's the little code I'm using -> http://paste.pocoo.org/show/317101/ Jan 08 14:20:17 root@htcdream ~ # mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.PDP.SetCredentials apn username pass => () Jan 08 14:20:32 shit Jan 08 14:20:34 works then Jan 08 14:20:40 root@htcdream ~ # mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.PDP.GetCredentials => ("apn","username","pass") Jan 08 14:20:45 with phonefsod started Jan 08 14:20:48 and without sim Jan 08 14:21:04 and GetContextStatus ? Jan 08 14:21:37 mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.PDP.GetContextStatus => org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) Jan 08 14:21:38 pespin: hmm, bummer. this means we can basically not derive our own classes from E classes, since the type models are not compatible. you need to solve this with aggregating Jan 08 14:21:52 GNUtoo|laptop: hmm Jan 08 14:21:54 mrmoku, note that I've an old gdbus build Jan 08 14:22:02 I'm building the lastest right now Jan 08 14:22:11 I think the build I get was from yesterday night Jan 08 14:22:11 ok, maybe retry when the build finished? Jan 08 14:22:20 should be new enough though Jan 08 14:22:26 ahh... the one you get now? Jan 08 14:22:54 ouch the electricity will go off Jan 08 14:22:57 maybe Jan 08 14:23:07 ENEL dislikes you? Jan 08 14:23:17 lol maybe Jan 08 14:23:57 fwiw Jan 08 14:24:08 mdbus2 seems to crash - still or again - on empty a{sv} Jan 08 14:24:09 *sigh* Jan 08 14:24:15 mickeyl, you mean doing it like public class LabelBox { private Elm.Box box; blablabla } ? Jan 08 14:24:35 pespin: yes. i don't see another way currently. might ask in #vala though Jan 08 14:24:54 ok Jan 08 14:25:36 mrmoku: didn't we (rather you) fix that once? Jan 08 14:28:44 hopefully the laptop didn't shut down this time Jan 08 14:28:54 anyway I bet it's some kind of truffa as always Jan 08 14:29:17 mickeyl do you think it's possible to write sth like efl-gobject? Jan 08 14:29:18 if you usee too much electricity at the same time it goes down Jan 08 14:29:24 so, I'm building Jan 08 14:29:50 mickeyl, btw AKM8976 got decoded Jan 08 14:29:58 accelerometers of nexusone Jan 08 14:30:06 htc dream has nearly the same Jan 08 14:30:12 but you don't care about htc dream anymore Jan 08 14:30:16 playya_: possible, for sure, might be quite a task though Jan 08 14:30:36 GNUtoo|laptop: nice. yes, the nightmare with wifi and gps pretty much ruined the experience for me Jan 08 14:30:51 on nexusone wifi is WEXT Jan 08 14:30:59 gps is free software Jan 08 14:31:11 it uses AT commands Jan 08 14:31:26 the only issue ...cough ....cough....is alsa Jan 08 14:32:06 and wifi is not too hard to make work on htcdream Jan 08 14:32:15 basically it needs something like Jan 08 14:32:29 .irq = MSM_GPIO_TO_INT(29) Jan 08 14:32:34 and to pass that to the driver Jan 08 14:32:45 the only problem is that when I tried it blocks the phone Jan 08 14:32:53 but I don't know nothing about that sutff..... Jan 08 14:33:01 I asked multiple time to kvalo Jan 08 14:33:05 I have to send a mail Jan 08 14:33:28 if that's fixed, the only remaining tasks are integration + better alsa Jan 08 14:33:40 that is to say intone+mplayer works really fine Jan 08 14:33:49 but not VOIP stuff etc... Jan 08 14:34:17 is anything of the nexusone integrated in OE? Jan 08 14:34:24 no Jan 08 14:34:49 as there is no working alsa yet I didn't integrate into oe Jan 08 14:34:56 there is a hack tough Jan 08 14:35:05 http://wiki.freesmartphone.org/index.php/HardwareComparison Jan 08 14:35:23 you can use sdl file to write to the DSP Jan 08 14:35:26 no routing etc... Jan 08 14:36:15 hmm Jan 08 14:36:25 i'm afraid that all rules it out as... uninteresting Jan 08 14:36:27 for me at least Jan 08 14:36:27 I started to write an alsa driver Jan 08 14:36:33 don't need more 80% complete ports Jan 08 14:36:38 we already have so many :/ Jan 08 14:36:39 but it played 4x faster Jan 08 14:36:40 yes Jan 08 14:36:58 the only blocking point is alsa Jan 08 14:37:07 on the nokia900 the blocking point is the modem Jan 08 14:37:48 yeah, where are the libisi folks Jan 08 14:37:50 I sent a mail about what kernel to use for n900 on shr-dev ml Jan 08 14:38:18 mrmoku, is busy with other bugs Jan 08 14:38:22 yeah, seen it Jan 08 14:39:07 freesmartphone.org: 03mickey 07cornucopia * r69255441f533 10/fsotdld/src/plugins/provider_location_gpsd/ (libgps.vapi plugin.vala): fsotdld: provider_location_gpsd: first version working Jan 08 14:39:23 nice for the commit Jan 08 14:39:32 if gpsd can be used it's so nice Jan 08 14:39:44 yeah, paul triggered that Jan 08 14:39:59 re-use of stuff makes things easier Jan 08 14:40:15 folks can chose whether to use gpsd or fso API then. and we don't have to implement all the gps protocols Jan 08 14:40:52 indeed Jan 08 14:41:07 how n900 case will be handled? Jan 08 14:41:12 and palm-pre case too Jan 08 14:41:19 as they don't speak NMEA Jan 08 14:41:42 well, i write plugins for fsotdld Jan 08 14:41:48 if someone writes plugins for gpsd, good Jan 08 14:41:50 BTW, i somewhat negotiated that if we (i) come with a justified enough approach and implementation for turning on/off hooks, it'll get accepted. It seems that almost everything needed for proper power management and agps is there. Almost but not all. Gotta try to do that if i'll feel sane enough today/tomorrow. Jan 08 14:41:51 but not me :) Jan 08 14:41:52 yes but will they export gpsd? Jan 08 14:42:05 no Jan 08 14:42:06 (negotiated with gpsd folks) Jan 08 14:42:10 ok Jan 08 14:42:12 PaulFertser: nice! Jan 08 14:42:44 PaulFertser: libgps is actually quite straightforward these days. no need to use the dbus interface (which is disabled by default anyways) Jan 08 14:43:11 mickeyl: (nice) if i manage to it might have a chance to be nice... Jan 08 14:43:12 so next week or so i have the first fully working fsotdld with a nice API and using gpsd underlaying Jan 08 14:43:24 mickeyl: I fixed some segfault in mdbus2... some (long) time ago... don't remember which though Jan 08 14:44:02 ok, Jan 08 14:44:20 will build a debug version for mdbus2 and have a quick look then Jan 08 14:45:04 hmm, oh Jan 08 14:45:15 hmm, perhaps i had just a too old version installed :) Jan 08 14:46:04 ya, works fine now Jan 08 14:46:19 :) Jan 08 14:46:26 that's the best errors ;) Jan 08 14:46:31 yup Jan 08 14:47:43 should i bump the vala version in OE or are you on that? Jan 08 14:48:05 I'm busy dayworking :/ Jan 08 14:48:44 ok, i'll do it then Jan 08 14:48:49 mrmoku, http://pastebin.com/rmR42Pk9 Jan 08 14:49:30 GNUtoo|laptop: and fsogsmd did segfault? Jan 08 14:49:38 timeout looks like that Jan 08 14:49:45 which would be great ;) Jan 08 14:49:50 not sure Jan 08 14:50:19 yes it did Jan 08 14:50:45 good... then let's hope the vala bump fixes it :) Jan 08 14:51:44 mickeyl: btw gpsd already implements something similar to fso resources: it keeps the device's fd open only if there's a client for this device present. I'm going to try to add a hook to enable additional scriptable action. So that when any client requests the device, it can automatically put the FSO resource to on state. Jan 08 14:54:39 good, that's handy Jan 08 14:54:56 that resembles our good old fso-gpsd plugin from FSO1 Jan 08 14:57:39 mickeyl: well, for proper operation it would need to be a plugin (i.e. linked with the gpsd executable). I doubt gpsd devs would accept hooks of that kind, that's inelegant. But forking a calling a script won't allow to use the FSO resource in the "auto" state (without some strange hacks to call fsoraw with a script that would terminate itself if gpsd dies). Jan 08 15:00:12 PaulFertser: resource handling can also be done by FSO Jan 08 15:00:27 if someone requests "GPS", we can start gpsd Jan 08 15:00:37 so either way will work Jan 08 15:00:46 just a question of which is the more natural usecase Jan 08 15:01:01 mickeyl: (start gpsd) that would be wrong imho, as it'd be unnaturally unfair to libgps-using applications. Jan 08 15:01:13 well, yes Jan 08 15:01:46 i don't care much about legacy as you know, so i won't do much towards that, but of course i welcome if all apps continue to work Jan 08 15:02:09 in the case of fsotdld, fsotdld will request the resource GPS if someone requests location data with an accuracy that goes beyond what wifi and cell towers provide Jan 08 15:02:13 mickeyl: i'd not call libgps apps legacy, i think that's still the most relevant way in the open world. Jan 08 15:02:22 yes, sure Jan 08 15:02:23 mickeyl: yeah, cool. Jan 08 15:03:41 mickeyl: and i think you know gpsd switched to JSON for their protocol and as such it became much more extensible, flexible and reasonable than the previous one. Jan 08 15:04:56 PaulFertser: yeah, i've seen that. that's quite cool, although i'm not using it yet. the fields as found in the gps_data_t and gps_fix_t structure are enough for fsotdld for now Jan 08 15:05:21 I'm glad you liked at least something about gpsd :) Jan 08 15:06:13 hehe. i still think it was the wrong decision to not use dbus properly but rather abandond it (almost), especially if they're now using json... but well... their choice :) Jan 08 15:07:03 and external process control is always annoying to me, that's why i rather use libraries that fork or spawn threads Jan 08 15:07:11 but oh well... can't have everything Jan 08 15:07:52 You can dynamically add and remove devices to gpsd via its special control socket interface. Jan 08 15:08:42 moo Jan 08 15:08:53 boo Jan 08 15:12:10 yeah, at the end of the day using gpsd solves the two most important problems: for me, not having to implement more gps protocols, for others, having a nice dbus based API (that noone is using) next to an established API Jan 08 15:12:48 gpsd is a process? Jan 08 15:13:02 unfortunately, yes Jan 08 15:14:04 well, there's (2) ptrace() Jan 08 15:14:34 umm not exactly Jan 08 15:14:59 maybe more like strace(1) Jan 08 15:15:18 wtf is gdb using? Jan 08 15:15:33 anyway you got the idea Jan 08 15:15:52 somebody has GDB problems? Jan 08 15:15:55 nasty nasty nasty Jan 08 15:15:58 yeah, not saying that it's not possible to control processes Jan 08 15:16:04 still i prefer to not do it if possible :) Jan 08 15:16:14 taking care about all the different cases of failure is annoying Jan 08 15:16:35 esp detecting the gpsd process getting started is an abomination Jan 08 15:17:21 DocScrutinizer: gdb uses ptrace system call yes Jan 08 15:17:43 I'd guess replacing gpsd by a wrapper that handles fsoraw and calls real gpsd is the easiest way Jan 08 15:19:40 nfc how gpsd is started. If it's a generic execve() then it might get a bit more involved to write a sort of wrapper Jan 08 15:20:15 but even for .so you *can* create wrappers Jan 08 15:20:27 gpsd is a typical unix style daemon Jan 08 15:20:55 with a pid file and control over unix socket and/or tcp Jan 08 15:20:58 lindi-: yet I gather it's started on demand Jan 08 15:21:32 different people start it differently Jan 08 15:21:38 eeew Jan 08 15:21:57 with usb gps devices there are some udev rules to start gpsd when you plug an usb serial device Jan 08 15:22:08 so use inotify() maybe? Jan 08 15:22:09 with normal serial ports it's not possible to detect new gps devices Jan 08 15:22:31 so this does not really apply to freerunner where people are not plugging and unplugging the gps device Jan 08 15:23:57 some devices have pluggable GPS Jan 08 15:24:00 like the bug device Jan 08 15:24:05 it's more a question of attitude, i.e. who wants to be the hardware controlling process Jan 08 15:24:05 but it's not a phone Jan 08 15:24:42 oh well, maemo liblocation is the one piece of blob I really can feel with them why they want to keep it as their property and not disclose the brilliant inside gear Jan 08 15:25:47 is that ironic or is it really good? anyways, a good location API is not trivial, especially if you want to cover multiple sources and try to be nice to battery Jan 08 15:25:52 is gpsd using /sys nodes to access the hw? Jan 08 15:25:59 DocScrutinizer: no Jan 08 15:26:15 FSCK Jan 08 15:26:42 it can talk to serial ports, unix sockets or tcp I think Jan 08 15:26:45 mickeyl: that's not (completely) ironic Jan 08 15:27:21 I'd not say it's really good, but it somehow manages all the domains you mentioned Jan 08 15:27:38 right Jan 08 15:28:11 CoreLocation is another vendor's approach on that which i like a lot and try to mimick with fso's new API Jan 08 15:28:15 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components/Using_Location_API Jan 08 15:29:08 first and foremost major downside: it's a lib Jan 08 15:29:42 they fsckng spoiled it another time, ignoring dbus Jan 08 15:32:04 I particularly appreciate the "wired or" of frequency and precision requirements of concurrent apps asking for a fix. And app deciding if the precision of the received msgs/signals is sufficient Jan 08 15:32:33 geoclue has something like that too Jan 08 15:32:37 a very battery and resource economic way, that still keeps flexibility Jan 08 15:33:19 ya, that looks ok. quite similar to CoreLocation Jan 08 15:33:34 a bit more fine grained Jan 08 15:34:23 dunno how far sre is with gps on the n900 Jan 08 15:34:42 basically it's reverse engneered but not implemented Jan 08 15:34:48 ok Jan 08 15:34:57 so all is know if I remember well Jan 08 15:35:08 there are the wireshark plugins Jan 08 15:35:10 etc.. Jan 08 15:35:16 and stub code Jan 08 15:35:18 in libisi Jan 08 15:35:23 but that's all Jan 08 15:35:58 what's missing though is a decent "progress indicator" mechanism. So an app can decide if it's worth waiting another 3 minutes for a fix of sufficient precision, or check out of that game and do an alterbative approach Jan 08 15:36:45 hmm, yeah, system beyond NMEA can provide such progress information Jan 08 15:36:49 what about how android handle GPS? Jan 08 15:37:42 hm, trying to flash u-boot back to my gta01v4 but getting data aborts when uploading the u-boot.bin http://codepad.org/QwklJolz Jan 08 15:37:57 is that breakpoint/load address ok? Jan 08 15:37:59 http://developer.android.com/guide/topics/location/obtaining-user-location.html Jan 08 15:38:02 GNUtoo|laptop: too wordy Jan 08 15:38:07 big interface, too much control Jan 08 15:38:10 *imho* Jan 08 15:38:11 ok Jan 08 15:38:32 striving for the maximum amount of control is not always the best approach for an API Jan 08 15:38:38 ok Jan 08 15:38:48 ynezz: yuck, flashing uboot to gta01? brave :-D Jan 08 15:39:03 ynezz: I assume you got a debug board then Jan 08 15:39:14 yep, it's using debug board Jan 08 15:39:34 flashed qi, but it won't boot so trying to recover it :p Jan 08 15:39:47 are the debug board cable repairable, replacable or could be bought separately? Jan 08 15:39:50 sorry, I completely forgot the few bits I even knew about that particular process Jan 08 15:40:41 * GNUtoo|laptop has no serial anymore because the cable broke in the transport, altough at first sight it doesn't seem damaged at all Jan 08 15:40:56 only testing shows that serial doesn't work Jan 08 15:41:16 ynezz: wpwrak might know the URLs to documentation :-D Jan 08 15:42:05 GNUtoo|laptop: there've been lots of spare FPC around, from OM Jan 08 15:42:13 no idea what became of them Jan 08 15:42:23 hm, I tried all URLs I could find using google, but no success at all Jan 08 15:42:23 ok Jan 08 15:42:45 wonder, why I'm getting that abort while writting u-boot Jan 08 15:42:56 GNUtoo|laptop: I got a 2 or 3 spare here. Nikolaus at goldelico might have more of them Jan 08 15:43:04 ok Jan 08 15:43:19 I think I should contact Nikolaus then Jan 08 15:43:19 maybe the ram isn't initialized correctly by that lowlevelfoo? Jan 08 15:43:25 yes Jan 08 15:43:33 thanks a lot Jan 08 15:44:36 ynezz: it hits me GTA01 debug board flashing has been different to gta02 procedure Jan 08 15:44:59 GNUtoo|laptop: if no luck at all, ping me again Jan 08 15:45:23 ok thanks Jan 08 15:46:54 * DocScrutinizer glares at that lousy FPC Jan 08 15:47:01 ouch mail sending issues Jan 08 15:47:18 the SMTP server I use returns an error Jan 08 15:47:31 Failed; 5.4.0 (other or undefined network or routing status) Jan 08 15:47:38 I wanted to send a mail to smartphone userland Jan 08 15:48:30 GNUtoo|laptop: you should be able to test each trace for correct conductance, and maybe even fix a broken trace Jan 08 15:48:40 ah good idea Jan 08 15:49:24 odds are it's not the FPC but one of the connectors Jan 08 15:49:48 those are at least as lousy as the FPC itself Jan 08 15:50:15 designed for ~20 rounds iirc Jan 08 15:50:35 abysmal crappy design, EE wise Jan 08 15:50:47 ok Jan 08 15:51:35 i have a bunch of spare cables here as well Jan 08 15:51:52 honestly I've actually seen more debug boards with broken connector than working ones Jan 08 15:52:07 heh :-D Jan 08 15:59:08 gena2x: reported my 2.6.37 test results to ml Jan 08 16:13:19 freesmartphone.org: 03morphis 07next * rc3e97e4788db 10msmcomm/msmcomm-specs/src/ (Makefile.am misc.vala state.vala): msmcomm-specs: add state service interface Jan 08 16:13:23 freesmartphone.org: 03morphis 07next * re69ec4fa3fd8 10msmcomm/msmcomm-specs/msmcomm-specs-2.0.pc.in: msmcomm-specs: every client should use libmsmcomm-specs instead of libmsmcommd Jan 08 16:13:25 freesmartphone.org: 03morphis 07next * r5959373d2095 10msmcomm/msmcomm-specs/src/Makefile.am: msmcomm-specs: compile even c files to generate correct library ... Jan 08 16:13:28 freesmartphone.org: 03morphis 07next * r8c109ee225d1 10msmcomm/msmcommd/src/ (5 files): msmcommd: implement first command for state service Jan 08 16:13:31 freesmartphone.org: 03morphis 07next * r9fbcea2c3917 10msmcomm/msmcommd/src/stateservice.vala: msmcommd: handle operation mode unsolicited response Jan 08 16:13:34 freesmartphone.org: 03morphis 07next * rea025b7e0b89 10msmcomm/libmsmcomm-next/msmcomm/miscmessage.vala: libmsmcomm-next: correct time source values Jan 08 16:13:35 freesmartphone.org: 03morphis 07next * rd2729f32bd97 10msmcomm/libmsmcomm-next/msmcomm/messagedisassembler.vala: libmsmcomm-next: add public methods to retrieve group/message id from data buffer Jan 08 16:13:37 freesmartphone.org: 03morphis 07next * rfcf857fe7655 10msmcomm/msmcommd/src/ (baseservice.vala miscservice.vala serviceconv.vala): msmcommd: implement more misc command messages Jan 08 16:13:38 freesmartphone.org: 03morphis 07next * rd886e8d32784 10msmcomm/msmcommd/src/modemchannel.vala: msmcommd: report group and message id of unknown messages Jan 08 16:16:01 GNUtoo|laptop, did you have time to try emtooth2? if not, use rev 105 when trying / commiting recipe :) Jan 08 16:17:31 pespin: have you seen my mail? do you really need glib 2.25.0? Jan 08 16:18:23 Heinervdm, uhm didn't see it Jan 08 16:18:29 Heinervdm, I need gdbus Jan 08 16:18:38 and afaik first version with glib is 2.25 Jan 08 16:18:44 *gbus Jan 08 16:19:14 pespin, I will try to try soon Jan 08 16:19:23 pespin: ah ok, shr-testing will be dbus-glib based, so i can't include it there Jan 08 16:20:40 Heinervdm, you can use emtooth (1) there till you pass to gdbus :) Jan 08 16:21:06 pespin: yes, that's in the feed :) Jan 08 16:21:08 Heinervdm, or you can just upgrade glib2 and still use dbus-glib in phoneu, fso, etc. Jan 08 16:21:17 the development versions have major bugs Jan 08 16:21:24 better raise that requirement to 2.26.1 Jan 08 16:21:34 yes, I was thinking in 2.26 :) Jan 08 16:22:11 mickeyl, ok, I'll change that one in configure.in too Jan 08 16:22:30 pespin: i will only upgrade if it's really needed as i don't want to introduce new bugs :) Jan 08 16:23:06 ok :) Jan 08 16:23:51 mrmoku: can we make a link from http://build.shr-project.org/tests/shr-testing/ to http://build.shr-project.org/shr-testing2011/ ? Jan 08 16:25:21 Heinervdm: sure Jan 08 16:25:47 pespin, NOTE: Running task 5314 of 8435 (ID: 6316, /home/gnutoo/embedded/oe/org.openembedded.dev/recipes/live555/live555_20101015.bb, do_package) Jan 08 16:25:54 I must finish that to be able to try Jan 08 16:25:58 mrmoku: Ok, then i would change the feed for shr-testing, so the testers don't have to change the feed config Jan 08 16:26:24 Heinervdm: done Jan 08 16:26:43 mrmoku: thx Jan 08 16:26:45 I'm the only one having problems with python-numeric when building shr-image? Jan 08 16:26:47 yw Jan 08 16:26:52 freesmartphone.org: 03morphis 07next * r1c324b69a2e2 10msmcomm/msmcomm-specs/src/ (Makefile.am sim.vala): msmcomm-specs: add sim interface specification Jan 08 16:27:14 pespin: I built a lite image yesterday without problems Jan 08 16:27:23 probably doesn't include python-numeric... no idea Jan 08 16:28:34 mrmoku, It was building shr-lite-image wactually :P Jan 08 16:28:38 mrmoku, here's my problem: http://paste.pocoo.org/show/317166/ Jan 08 16:29:13 note the -L/usr/lib in the line before the error Jan 08 16:30:35 pespin: yeah, looks pretty broken Jan 08 16:30:39 was it a build from scratch? Jan 08 16:31:09 mrmoku, yes, with new computer Jan 08 16:31:21 strange Jan 08 16:31:26 I'm using 4 OE_TRHEADS Jan 08 16:32:50 I have BB_NUMBER_THREADS = "2" Jan 08 16:32:57 and PARALLEL_MAKE = "-j 8" Jan 08 16:33:45 I have 4 and 4 Jan 08 16:34:32 hmm... just checked... python-numeric built fine for me Jan 08 16:34:40 mrmoku, I tried rebuilding from sctatch 2nd time like 2 days ago, and I got same error Jan 08 16:34:57 are you using archlinux X86_64 too? Jan 08 16:35:28 mine is uptodate Jan 08 16:35:48 yup Jan 08 16:35:51 uptodate too Jan 08 16:35:55 ugh weird Jan 08 16:36:00 i'm having the -L/usr/lib too in my log Jan 08 16:36:14 so the recipe is defenetly bad Jan 08 16:36:20 I have multilib repo in archlinux, could be that perhaps Jan 08 16:36:56 Heinervdm, I looked at it but I couldn't find where can it be tweaked. I don't know much about python building Jan 08 16:36:56 pespin: i think it's because you have some -dev package installed on your host Jan 08 16:37:16 well, in archlinux when you install a package you get the dev package automatically Jan 08 16:37:42 pespin: it's probably a bug in the makefile of python-numeric Jan 08 16:37:49 hardcoded path Jan 08 16:38:02 pespin: ahh... wait Jan 08 16:38:03 hehe Jan 08 16:38:11 Heinervdm, no makefile I think, only setup.py Jan 08 16:38:12 I'm using JaMa|Off's chroot for building Jan 08 16:38:48 pespin: might be due to archlinux having python3 as default Jan 08 16:39:42 mrmoku, uhm could be. But anyway it's python-numeric bug then Jan 08 16:40:06 I have all python shebangs in bitbake pointing to python2 Jan 08 16:40:12 OE bug that it is trying to use -L/usr/lib and what else from the buildhost Jan 08 16:40:54 I'll post the log to #OE to see if someone can fix it Jan 08 16:41:14 if not... consider to go the chroot way too Jan 08 16:41:17 works like a charm Jan 08 16:41:21 ~hail JaMa|Off Jan 08 16:41:22 * apt bows down to JaMa|Off and chants, "I'M NOT WORTHY!!" Jan 08 16:41:40 hmm pyhton-numeric is from 2005 :) Jan 08 16:41:41 mrmoku, uhm do you have some instructions somewhere? I've never used it Jan 08 16:42:06 pespin: http://build.shr-project.org/tests/jama/chroot/ Jan 08 16:43:09 uuh great, thanks! Jan 08 16:43:14 yw Jan 08 16:45:23 numeric has been superseeded by numpy Jan 08 16:45:34 although some packages still require the old one Jan 08 16:49:29 i think that's a bug in distutils because the setup.py looks correct Jan 08 16:55:01 * mrmoku fires a build with the new vala snapshot to see if that fixes the PDP problems Jan 08 16:55:03 bbl Jan 08 17:17:37 mickeyl, does smartphone-userland ml works? Jan 08 17:18:44 I can send mails to RMS Jan 08 17:18:49 but not to smartphone-userland Jan 08 17:18:59 smartphones-userland lists.linuxtogo.org Jan 08 17:19:11 replace the space by the AT Jan 08 17:21:09 sorry network manager proble Jan 08 17:21:11 *problem Jan 08 17:22:37 pespin, it's packaging stuff and it's at 6583 of 8435 Jan 08 17:23:33 GNUtoo|laptop, ok :) Jan 08 17:32:12 morphis: hi! do you have an idea of how to check the CONFIG_WEBOS_MEDIA_TARGET_SIZE ? I realy don't see how! I am on something hairy like if [ 0.0G -lt 0.5G ] ; then \ but like this i does not work. I need to strip the G plus the comparaison needs enteger Jan 08 17:33:16 oder I drop this test and let the user uses his brain.. Jan 08 17:34:22 GarthPS, expr '0.0G' '<' '0.5G' ? Jan 08 17:34:47 pespin: can you detail a bit plz Jan 08 17:35:10 GarthPS, expr is a command :) Jan 08 17:35:14 expr --help Jan 08 17:35:58 GarthPS, with expr you can do floating point comparision afiak Jan 08 17:36:46 it works with the G appended to both params too Jan 08 17:37:45 pespin: ok I will look at this thx! for your I t should work right ? Jan 08 17:38:42 GarthPS, yw :) Jan 08 17:38:52 in fact it return 0 OR 1. I though it will be ARG1 Jan 08 17:39:06 GarthPS, "for your I t should work right ?" <- I don't understand this Jan 08 17:39:22 s/your/you Jan 08 17:40:03 it works here: Jan 08 17:40:04 $ expr 0.01G '<' 0.1G Jan 08 17:40:04 1 Jan 08 17:40:13 expr 0.2G '<' 0.1G Jan 08 17:40:13 0 Jan 08 17:42:41 pespin: yop thank you!! Jan 08 17:45:24 :) Jan 08 17:46:15 pespin, git am-ing Jan 08 17:46:45 oh that was fast :D Jan 08 17:47:20 I bump to 106 Jan 08 17:47:31 ok perfect Jan 08 17:48:57 pespin: you are my savior! :)$ Jan 08 17:49:28 GarthPS, hehe, I discovered it like 1 month ago :P Jan 08 17:49:40 pespin: ;) Jan 08 17:56:04 pespin: well it work for my first test but note for my seconde one : 16.0G - 6.0G => expr: non-integer argument Jan 08 17:56:29 s/note/not Jan 08 17:58:13 GarthPS, yeah, I suppouse that comparations are done with strings, but of course not mathematical operations hehe Jan 08 17:58:31 GarthPS, where does values come from? Jan 08 17:58:39 s/does/those Jan 08 18:01:47 GarthPS, if they are strings coming from somewhere, you could add a -> tr -d 'G' Jan 08 18:02:22 ugh, he didn't like the answer :P Jan 08 18:02:49 GNUtoo|laptop: the fso mailing lists should work, they're low volume. what happens when you send? Jan 08 18:03:05 I'll resend and tell you Jan 08 18:04:14 - These recipients of your message have been processed by the mail server: smartphones-userland@lists.linuxtogo.org; Failed; 5.4.0 (other or undefined network or routing status) Jan 08 18:04:19 I've tried multiple times Jan 08 18:05:03 hmm Jan 08 18:05:06 let me try Jan 08 18:05:32 ok thanks a lot Jan 08 18:05:38 i sent one, lets see what happens Jan 08 18:05:44 ok Jan 08 18:05:44 GNUtoo|laptop, uhm I just remembered that I forgot to add EXTA_OECONF += "--enable-fso" to the emtooth2 recipe. Could you add it too please? Jan 08 18:05:52 ok Jan 08 18:08:16 GNUtoo|laptop: looks good: http://lists.linuxtogo.org/pipermail/smartphones-userland/2011-January/thread.html Jan 08 18:08:37 strange Jan 08 18:09:09 maybe I should send trough webmail? Jan 08 18:11:41 pespin, rconflicts with emtooth Jan 08 18:11:50 * check_data_file_clashes: Package emtooth2 wants to install file /usr/share/pixmaps/emtooth.png Jan 08 18:11:58 * check_data_file_clashes: Package emtooth2 wants to install file /usr/share/applications/emtooth.desktop Jan 08 18:12:19 I remove emtooth Jan 08 18:12:23 and install emtooth2 Jan 08 18:12:25 GNUtoo|laptop, ah true. I'll change those Jan 08 18:12:48 GNUtoo|laptop, better wait and check newer rev when I'm done in 2 min :) Jan 08 18:15:32 pespin, http://pastebin.com/Dc34agrs Jan 08 18:16:50 GNUtoo|laptop, ok, thanks for output. I didn't try fso integration yet :) Jan 08 18:16:57 ok Jan 08 18:24:14 GNUtoo|laptop, I think everything is fixed in rev 110 :) Jan 08 18:31:26 mickeyl, same stuff with my webmail: Jan 08 18:31:43 : host lists.linuxtogo.org[188.40.83.200] said: 550 unknown user (in reply toRCPT TO command) Jan 08 18:33:49 GNUtoo|laptop, martphones? Jan 08 18:33:59 maybe the problem is a typo? Jan 08 18:34:00 :P Jan 08 18:34:21 ah I'll resend Jan 08 18:34:22 sorry Jan 08 18:36:59 let's see if it works this time Jan 08 18:37:58 does bumping midori to git needs some ack in #oe Jan 08 18:37:59 ? Jan 08 18:38:17 because it fix the segfaults Jan 08 18:38:21 which made it unusable Jan 08 18:38:30 when you clicked on a link Jan 08 18:38:35 before it finished to charge the page Jan 08 18:38:39 it segfaulted Jan 08 18:54:23 GNUtoo|laptop, did you try rev 110? Jan 08 19:18:52 mrmoku, I get lots of these messages when I'm in chroot: Jan 08 19:18:52 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (ca_ES.UTF-8) Jan 08 19:19:34 pespin: hehe, guess jama has no catalan in his chroot ;) Jan 08 19:19:54 mrmoku, hmmm any idea where to change it? Jan 08 19:19:59 /etc/profile? Jan 08 19:20:23 or maybe just do export LC_ALL=C before the chroot? Jan 08 19:21:02 yeah that worked :) Jan 08 19:22:31 :) Jan 08 19:22:42 mickeyl: yeah. vala bump and libfso-glib rebuild fixed it :D Jan 08 19:26:26 * mrmoku dances a mickey-style jig to not have to dig in the deepness of glib/arm foo Jan 08 19:41:40 pespin, no, only rev 106 Jan 08 19:41:43 I'll try 110 Jan 08 19:42:38 GNUtoo|laptop, I've fixed .desktop/.png problem and fsousaged problem from 106 to 110 Jan 08 19:42:49 ok Jan 08 19:47:07 mrmoku: excellent! Jan 08 19:56:04 mickeyl, do you have in min dimplementing this in a reasonable amount of time? http://trac.freesmartphone.org/ticket/499 ;) Jan 08 20:00:06 freesmartphone.org: 03morphis 07next * r24684f6847b9 10msmcomm/libmsmcomm-next/ (10 files in 4 dirs): libmsmcomm-next: implement all unsolicited response messages for misc subsystem Jan 08 20:01:47 pespin: sorry I left brutaly sooner. so I don't know if you answered somethin about my last question Jan 08 20:02:10 GarthPS, uhm yes, but don't remember exactly :P Jan 08 20:02:17 GarthPS, look at logs and comment here what you think :) Jan 08 20:03:25 pespin: where do i foun them ? Jan 08 20:03:41 pespin: neverfmind Jan 08 20:04:37 * GarthPS reading last answer of pespin when I was off Jan 08 20:06:02 pespin: that was about expr '16.0G' '-' '6.0G' => expr: non-integer argument Jan 08 20:06:48 JaMa|Off: now I see what you meant by bitbake disliking branch switches :P Jan 08 20:06:49 pespin: I did not anderstand your " you could add a -> tr -d 'G' " Jan 08 20:07:38 GarthPS, where does those 16.0G strings or whatever come from? Jan 08 20:07:39 For integer arithmetics you could have as well used $((16 - 6)) and for floating point you'd probably need ''bc -l'' Jan 08 20:08:02 PaulFertser, "expr" works too :) Jan 08 20:08:16 but he needs to remove those G before Jan 08 20:08:16 pespin: 16.0G is hard writed from me and the otherone is a user psecified variable's value Jan 08 20:08:22 pespin: yes but that's another fork while $(()) is builtin. Jan 08 20:08:56 PaulFertser, yes but I was speaking about floatin g point arithmetic :) Jan 08 20:09:27 pespin: does expr support floating point? Jan 08 20:09:37 PaulFertser, I think so Jan 08 20:09:37 PaulFertser: for me no Jan 08 20:09:38 let me try Jan 08 20:09:51 pespin: that's why i'm saying you need bc -l anyway. Jan 08 20:09:53 ah no, you are correct Jan 08 20:09:58 ;) Jan 08 20:10:04 :) Jan 08 20:11:01 the G is not a pb I can remove it with "sed s/.$//" Jan 08 20:11:24 but stil, i need to be able to do 16.0 - 6.0 Jan 08 20:11:30 GarthPS, for example, if you have VAR which contain "2321321.0231G", you could do VAR=`echo $VAR | tr -d 'G'` Jan 08 20:11:33 or something similar Jan 08 20:12:16 pespin: wouh sweet another way to do " sed s/.$// " :p Jan 08 20:12:18 Or even RESULT=`echo $VAR - $VAR2 | tr -dG | bc -l` Jan 08 20:13:41 GarthPS, or you could remove the ".0" from the var and then just $((VAR1 - VAR2)) or however that's done Jan 08 20:14:28 pespin: yep but what if the user set 5.5G Jan 08 20:14:38 :) Jan 08 20:14:41 aah ok Jan 08 20:14:43 jeje Jan 08 20:14:49 then use bc -l yes Jan 08 20:15:01 I am on it Jan 08 20:15:02 but I'm not sure is by default in all Linux distros Jan 08 20:15:07 did no know this one Jan 08 20:15:22 for example archlinux doesn't come with it by default Jan 08 20:15:32 so you should print something telling the user to install bc Jan 08 20:15:58 shit I needed morphis Jan 08 20:16:04 oh he is back! :p Jan 08 20:16:10 :) Jan 08 20:16:50 I let those hard mathematics magics :) to ask morphis a question Jan 08 20:17:40 morphis: could you tell me what is wrong here please ? Jan 08 20:17:40 novacom -w run file://bin/sed -- -i -e 's/\/dev\/mapper\/store-root/\/dev\/mapper\/store-fso/g' -e 's/ ro / rw /' /media/internal/init Jan 08 20:17:40 sed: bad option in substitution expression Jan 08 20:17:40 novacom: unexpected EOF from server Jan 08 20:17:59 GarthPS, last comment! I think awk supports floating point arithmetic. You could use it instead of bc, as it's more widespread than bc in distros I think Jan 08 20:18:43 pespin: ahhwhhk :/ :) Jan 08 20:18:53 pespin: will see that...... Jan 08 20:18:58 GarthPS, what about using another separator character here? 's/\/dev\/mapper\/store-root/\/dev\/mapper\/store-fso/g' :P Jan 08 20:19:48 like 's#/dev/mapper/store-root#/dev/mapper/store-fso#g' Jan 08 20:19:55 pespin: I did not understand Jan 08 20:20:02 GarthPS: what about changing the whole init script so we can define it elsewhere which os we can boot? Jan 08 20:20:34 GarthPS, it's not necessary to use '/' as separator in sed ;) Jan 08 20:20:40 GarthPS: for example it calls an extra script when mounting the rootfs and we copy then over this extra script Jan 08 20:20:41 morphis: what will be the pros ? Jan 08 20:21:00 you only have simple copy/move mechanism instead of complex sed stuff Jan 08 20:21:14 pespin: oh right forgot this. but it do you this it is the issue her e? Jan 08 20:21:50 pespin: I will try it Jan 08 20:22:03 GarthPS, at least is far more readable :P Jan 08 20:22:07 GarthPS, btw, about awk: Jan 08 20:22:08 % FACTOR=2.5 Jan 08 20:22:08 % RESULT=`echo $FACTOR|awk '{print 2.5 * $1}'` Jan 08 20:22:08 % echo $RESULT Jan 08 20:22:08 6.25 Jan 08 20:23:28 pespin: thanks you really! to much help here! :) ;) Jan 08 20:23:41 not event have the time to try Jan 08 20:23:45 yet! Jan 08 20:23:54 np :) Jan 08 20:32:39 pespin: http://pastebin.com/KqP8K0LX Jan 08 20:33:23 do you have a clue ? Jan 08 20:45:12 moment Jan 08 20:54:15 GarthPS, uhm I've never used that novacom Jan 08 20:54:41 GarthPS, does it work if you run it directly in the phone? Jan 08 20:55:17 pespin: hum don't remember, i try Jan 08 20:56:28 GarthPS, ah ok, that one is failing -> -e 's# ro # rw #' Jan 08 20:56:38 try using '\ ' instead of ' ' Jan 08 20:59:35 pespin: yop the error is there. so something like this ? -e 's#\ro\#\rw\#g' no Jan 08 21:01:08 GarthPS, you need the spaces before and after the "ro" ? Jan 08 21:01:16 pespin: yop Jan 08 21:01:27 -e 's#\ ro\ #\ rw\ #g' Jan 08 21:03:01 pespin: ok will try that because directly on the device it works with Jan 08 21:03:03 -e 's# ro # rw #g' Jan 08 21:04:29 GarthPS, try using " instead of ' maybe Jan 08 21:04:58 pespin: you want your bl--j-- now ? :) Jan 08 21:05:11 it work escaping space Jan 08 21:05:15 :) Jan 08 21:06:09 lol Jan 08 21:18:26 morphis: so we found out with pespin the solutiuon for init.fso so it is ok for you like this (i.e cp init init.fso; mv init init.webos; sed ù$* init.fso) ? Jan 08 21:18:46 when it is working, it is ok :) Jan 08 21:19:05 or do you think it would bring an advantage to point to another script? Jan 08 21:19:13 morphis: ok then :) Jan 08 21:20:08 ok Jan 08 21:20:22 morphis: I have two question for you about what was already in the fso-installer Jan 08 21:20:40 morphis: hum it will be easier by mail.. Jan 08 21:20:52 :) Jan 08 21:28:49 morphis: sent Jan 08 21:29:44 GarthPS: ok Jan 08 21:30:12 morphis: ok => recieved or ok for the suggestions ? Jan 08 21:30:23 ok for received Jan 08 21:30:29 will look at it in a minute Jan 08 21:32:51 pespin, ping me when you want more tests Jan 08 21:36:16 GarthPS: to 2) yes and no, I need a different target for only flashing the kernel to the device Jan 08 21:36:37 what about the situation when the user wants to update the environment? Jan 08 21:36:53 in development I do very often a make IAMGE=uImage flash-kernel to test new kernels Jan 08 21:37:08 let your setup-init depend on flash-kernel Jan 08 21:37:26 GNUtoo|laptop, rev110 please :) Jan 08 21:37:30 should be the same in the but gives us more flexibility to call each target on its own Jan 08 21:37:32 ok Jan 08 21:37:39 thanks :D Jan 08 21:38:10 GarthPS: and to first) the targets are there cause they are direct dependency on the files on the filesystem Jan 08 21:38:45 morphis: I was thinking of adding an update-install target . I could split it into two other target then 2) should not be an issue anymore. what do you think ? Jan 08 21:38:48 if you write downloads/unpacked-doctor as target make will only execute it when the downloads/unpacked-doctor directory is not there Jan 08 21:39:05 would update-install update rootfs and kernel? Jan 08 21:39:51 morphis: I though about that yes but if you want i split it into update-kernel and update-rootfs Jan 08 21:40:23 jepp, that sounds better Jan 08 21:41:11 about 1) , here at each time i launch memboot or memlaunch I have an re-extraction of webos.. so I don't think It actually works like you would like Jan 08 21:42:10 morphis: so if I do two other target update-kernel and update-rootfs then are you ok with my 2) change ? Jan 08 21:42:27 s/memlaunch/memload Jan 08 21:43:27 2) is ok Jan 08 21:43:57 for 1) it is not working, why I don't know but I find it better if we have this structure for file dependencies Jan 08 21:45:42 morphis: ok so I do the 2) . and so about 1) even if it does not work i let it like this then Jan 08 21:50:28 ERR: Could not get access to org.freesmartphone.ousaged: GDBus.Error:org.freesmartphone.Usage.ResourceUnknown: Resource Bluetooth had never been registered Jan 08 21:50:40 ** (process:12795): CRITICAL **: file src/main.c: line 201: unexpected error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files (g-dbus-error-quark, 2) Jan 08 21:50:46 should I install a clean rootfs? Jan 08 21:51:44 who has bluetooth working on a recent self-built image? Jan 08 21:51:52 on whatever shr phone Jan 08 21:56:15 GNUtoo|laptop, that's n900 FSO bug Jan 08 21:56:29 ok Jan 08 21:56:34 I need om-gta02 then Jan 08 21:57:24 GNUtoo|laptop, I'm rebuilding using JaMa's chroot and I hope I'll be able to do an image and build emtooth2 :) Jan 08 21:57:37 morphis: ... :) I don't stop adding features.. it should be good to stop this and do real test and push it . but it is hard to stop when you have time and things progress Jan 08 21:58:13 ok Jan 08 21:58:20 GarthPS: add features as long as you can Jan 08 21:58:37 if you have something ready, sent it to me and I will test Jan 08 21:58:39 and commit Jan 08 21:58:44 GNUtoo|laptop, you can look for the error string in FSO and try to fix it if you want :) Jan 08 21:58:47 maybe you should ask mickey for commit access too Jan 08 21:59:37 GNUtoo|laptop, oh, but there's the org.bluez error eloew the FSO one Jan 08 21:59:42 yes Jan 08 21:59:44 I'll look Jan 08 21:59:47 give me some time Jan 08 21:59:56 GNUtoo|laptop, did you power up the bluetooth device? is bluetoothd running? Jan 08 21:59:58 fso+SHR is half broken on that rootfs Jan 08 22:00:12 it should be done by fso according to the last plugin code Jan 08 22:00:17 yes Jan 08 22:00:41 but I think I'll need to add some sleep(3) in the code or similar. Jan 08 22:01:12 as I've done in emtooth, to workaround this http://trac.freesmartphone.org/ticket/499 Jan 08 22:01:53 I'll manually power on bt then Jan 08 22:02:35 that would be the best atm Jan 08 22:02:43 discovering.... Jan 08 22:03:14 morphis: about commit access we will see If I really need them Jan 08 22:03:57 I reset the mouse Jan 08 22:04:01 to see Jan 08 22:04:06 because it didn't want to work Jan 08 22:04:27 I had put it in discovery Jan 08 22:04:31 GNUtoo|laptop, don't expect everything to be solved magically now. bluez still continues being a piece of crap :P Jan 08 22:04:37 but emtooth2 should be more robust Jan 08 22:04:55 GarthPS: ok:) Jan 08 22:05:12 :) Jan 08 22:05:27 GNUtoo|laptop, if you can run it from terminal and pass me the logs if something goes wrong Jan 08 22:05:31 connect has no effect Jan 08 22:05:39 I'm running it from terminal Jan 08 22:06:20 GNUtoo|laptop, pass me the log once youy have tried several times :) Jan 08 22:06:37 http://pastebin.com/4SFuKZGm Jan 08 22:07:14 ah now it worked Jan 08 22:07:18 I'll paste new log Jan 08 22:07:57 http://pastebin.com/nBr7EtQU Jan 08 22:10:56 GNUtoo|laptop, as I said, bluetooth/bluez/dbus is responsible for most fails now. Jan 08 22:12:00 ok Jan 08 22:12:49 GNUtoo|laptop, I have lots of problems trying to pair devices too. The dbus message is sent correctly, but then my agent isn't request for pin, or bluez itself timeouts, etc. Jan 08 22:14:01 GNUtoo|laptop, can you pastebin the emtooth2 recipe you have please? Jan 08 22:14:23 I'll try myself, image building finished here :D Jan 08 22:14:52 segfault Jan 08 22:15:04 ugh Jan 08 22:15:16 http://pastebin.com/wq6hB9GX Jan 08 22:17:07 http://pastebin.com/dYXsX39m Jan 08 22:21:43 ~nf Jan 08 22:23:05 * pespin installing package in FR Jan 08 22:23:27 sigh Jan 08 22:23:32 I'm trying trying and trying Jan 08 22:23:40 since I got mouse working Jan 08 22:23:47 and I can't get keyboard working Jan 08 22:24:11 http://pastebin.com/VAM68SHR Jan 08 22:24:42 I think the issue is with the pin Jan 08 22:24:49 I type the pin Jan 08 22:24:52 and nothing appear Jan 08 22:25:01 on the phone side Jan 08 22:25:16 it(somewhat) worked before(tm) Jan 08 22:25:42 GNUtoo|laptop, not my fault :P that's bluez not querying my dbus agent :P Jan 08 22:25:58 ok, so what should we do? Jan 08 22:26:09 ah wait Jan 08 22:26:15 I change keyboard? I change bluez version? I change phone? Jan 08 22:26:18 it has shown 1 time right? -> Agent: request_pin_code Jan 08 22:26:24 yes Jan 08 22:26:25 one time Jan 08 22:26:30 some time ago Jan 08 22:26:44 there was the ok button Jan 08 22:26:47 after the pin Jan 08 22:26:52 if I remember well Jan 08 22:27:55 GNUtoo|laptop, it's a dialog with an entry and an Ok button Jan 08 22:28:16 GNUtoo|laptop, if you got antoher dialog after that with an ok button, it was probably some bluez error saying hello to you ;) Jan 08 22:28:47 ah ok Jan 08 22:28:47 but according to log there wasn't any error Jan 08 22:28:51 I'll restart the phone Jan 08 22:29:16 * pespin too Jan 08 22:29:18 something isn't right Jan 08 22:29:22 maybe fsodeviced crashed Jan 08 22:29:44 I've the yellow led on Jan 08 22:29:47 that isn't normal Jan 08 22:29:54 and fso-apm blocks Jan 08 22:31:10 ah no the led is ok Jan 08 22:31:19 it was because charging status was 0x56 Jan 08 22:31:26 instead of 0x10 Jan 08 22:32:57 ouch Jan 08 22:33:06 phone is discharged Jan 08 22:33:15 and that phone can't recharge easily Jan 08 22:33:24 the charging code is in userland Jan 08 22:33:44 most important thing when trying/working with bluetooth is be sure that bluetoothd is running (as I sad lots of times, it likes to crash among other things) Jan 08 22:34:00 GNUtoo|laptop, discharged completelly? Jan 08 22:36:20 yes Jan 08 22:36:23 GNUtoo|laptop, do you know if it's safe upgrading from feeds in FR now? Jan 08 22:36:26 I'll try to boot it anyway Jan 08 22:36:32 I don't know Jan 08 22:36:32 I'm still using bluez 4.59 here in FR Jan 08 22:36:35 do that: Jan 08 22:36:37 opkg update Jan 08 22:36:43 opkg list-upgradable Jan 08 22:36:45 to see Jan 08 22:38:15 basically to know if last verions of fso and phoneui are working Jan 08 22:38:50 ah maybe it just crashed Jan 08 22:38:57 hmmm with some difficulties Jan 08 22:39:04 you must manually launch phonefsod Jan 08 22:39:09 and similar things Jan 08 22:39:14 I'll wait then ;) Jan 08 22:39:42 anyway, I'll be trying emtooth2 forthe next days ang gdb-ing it too Jan 08 22:40:11 I suggest you to use emtooth2 instead of 1 too Jan 08 22:40:23 as I don't think I will be working in emtooth1 any more Jan 08 22:42:15 I'm getting this in FR but not in PC -> ** (process:306): CRITICAL **: get_dbus_array: assertion `bar != NULL' failed Jan 08 22:42:22 ah no Jan 08 22:42:29 it was phonefsod problem Jan 08 22:42:37 my screen went down Jan 08 22:50:20 GNUtoo|laptop, oh lol. I think input/audio properties are not fully supported yet here. Jan 08 22:50:48 ah? maybe because I run 2.6.28 Jan 08 22:50:50 I'm not saving properties received from bluez as far as I see Jan 08 22:50:56 ah ok Jan 08 22:51:01 GNUtoo|laptop, nono, speaking about emtooth2 code Jan 08 22:51:07 ok Jan 08 22:51:24 I thought you were speaking about emtooth2<->fsodeviced Jan 08 22:51:27 I thought it was already implemented, sorry. It has passed some times since I modified this ;) Jan 08 22:51:34 ok np Jan 08 22:55:18 I'll try to add it in the next days Jan 08 22:55:43 basically it sent the connect petitions but didn't save the new status when it was changed from bluez Jan 08 22:55:56 and UI showed no real status Jan 08 22:58:00 GNUtoo|laptop, if I upgrade SVN rev do I have to upgrade PR too? Jan 08 22:58:11 yes Jan 08 22:58:22 it's not automatic, unless you use autorev Jan 08 23:02:17 argh Illume crashes while upgrading emtooth2 Jan 08 23:05:48 I've that all the time Jan 08 23:05:51 with whatever app Jan 08 23:09:28 hmm in FR I get that assertion null error and emtooth2 crashes quite fast. But I've set some checks to null in code at start of function and the param is not null... Jan 08 23:11:10 ah i think I've found it, that message was not quite exact Jan 09 00:53:23 to whom it may concern: about N900 audio, xprot, and busted speakers: http://talk.maemo.org/showthread.php?p=852708#post852708 Jan 09 00:54:26 so really BE CAREFUL when using ausdi systems that don't have any protection for speakers, on N900 Jan 09 00:54:39 s/ausdi/audio/ **** ENDING LOGGING AT Sun Jan 09 02:59:58 2011