**** BEGIN LOGGING AT Thu Aug 19 02:59:57 2010 Aug 19 06:37:04 hi guys, can anyone with debug board help me? Aug 19 06:37:28 i have .34 kernel which fails to resume Aug 19 06:37:52 i want to know PC where it hangs Aug 19 06:38:35 can anyone run kernel, suspend/resume and tell me PC? thanks. Aug 19 06:40:10 gena2x: jtag does not work in suspend Aug 19 06:41:29 lindi-: if it just suspends and not resumes at all, it will be answer too Aug 19 06:41:47 but i think it hangs somewhere while early resume Aug 19 06:42:12 gena2x: can you turn a LED on early in he u-boot resume code? Aug 19 06:44:46 lindi-: i tried panic() call, but somehow in suspend process it didn't blink my led. Aug 19 06:45:03 but in usual life it blinks Aug 19 06:45:25 i mean then i panic kernel not while suspending Aug 19 06:45:56 also, i see that if i add tons of debugging (classical debug kernel), it starts working Aug 19 06:46:51 so, the code itself may be relatively ok, and this is some not-easy-to-find syncronisation or timeout Aug 19 06:47:20 downloading and checking kernel should take not more than 30 mins. Aug 19 06:47:47 but other ways are much much more painful. Aug 19 06:50:15 and also, it is actually running something, as fr is hot (as opposed to cold in suspend) Aug 19 06:51:10 ehh... ok, i'll go hard and long way... Aug 19 07:03:43 hi phh Aug 19 07:03:58 how can I remove all the prints from the gps activator? Aug 19 07:04:41 when doing ./gps/3 2>&1 > /dev/null I've lots of things like 00000000r_read(38) Aug 19 07:04:48 hi mickey|office Aug 19 07:17:13 hi GNUtoo|htcdream Aug 19 07:17:37 I lost my nexusone in a train station during my vacations :( Aug 19 07:26:52 Hi Aug 19 07:30:39 JaMa: Ping Aug 19 07:31:05 pong Aug 19 07:33:12 JaMa: Thanks for all your help yesterday. I now have local builds using a user.collection working with the SRC_URI pointing at the local file system. I just wanted to ask about the installation of the resulting .ipk file. I can scp that over to the openmoko and simply opkg install file.ipk? Just checking. Aug 19 07:40:26 Arigead: if the version is higher than what is currently in feed then yes Aug 19 07:40:52 Arigead: or if you're using image built by you and feeds only on your buildhost... Aug 19 07:41:35 JaMa: So I can up the version in my recipe to make sure. Aug 19 07:50:39 morning gnu Aug 19 07:50:41 too Aug 19 08:25:42 hi all Aug 19 08:26:25 is GPS working in newest SHR-u Aug 19 08:30:13 ~nf Aug 19 08:30:14 The #openmoko-cdevel Newsflash Bulletin Board. (continued at ~NF2. For help see ~NF-help) - - - Recommended URLs and channels(chanlogs etc):see ~RL - - - NEWSFLASH [2010-07-08 11:25 UTC]: SHR-unstable moved to 2.6.32 kernel; gena2x works on overclocking Neo and making Glamo faster. Aug 19 08:34:05 hi all Aug 19 08:34:07 is GPS working in newest SHR-u Aug 19 08:34:52 yes it should work Aug 19 08:35:46 just installed it, but cant get a fix Aug 19 08:35:53 rest works fine Aug 19 08:38:31 going to take a walk, maybe then get a fix Aug 19 08:39:12 Rukk: this is usual and most popular problem with gps on fr Aug 19 08:39:29 Rukk: so away and stand for 5 minutes for fix Aug 19 08:39:34 for sure :) Aug 19 08:39:47 going to try, thx Aug 19 08:39:55 personally I'm never had fix with 2.6.32 Aug 19 08:40:24 max_posedon: are you sure you gps were powered up? Aug 19 08:40:54 I just started tangogps, in shr-U Aug 19 08:41:30 this may be just some shr problem, but also... something with glamo-mci. Aug 19 09:15:33 hmm, netsplit day Aug 19 09:43:52 *nod* Aug 19 09:44:07 hi mickey|office Aug 19 09:44:15 Posix.system( @"$cmdline > /dev/null &" ); called like that: Aug 19 09:44:32 launchProcessInBackground( "/usr/bin/gps" ); Aug 19 09:44:42 makes the phone crash.... Aug 19 09:44:56 so... Aug 19 09:45:00 I bet it's the classic thing Aug 19 09:45:15 for instance long time ago I made an application in java for the bug device Aug 19 09:45:25 it needed mplayer Aug 19 09:45:36 mplayer was launched from java but didn't run at first Aug 19 09:45:53 becuase stdin,stdout,stderr were not read Aug 19 09:47:42 maybe I should try that: Aug 19 09:47:59 gps 2>&1 > /dev/null but there is still something that prints something Aug 19 09:48:14 less prints Aug 19 09:48:15 but still some prints Aug 19 09:48:37 Deubeuliou, hi Aug 19 09:48:55 so you lost your nexusone...too bad Aug 19 09:49:10 gps 2>&1 > /dev/null is wrong Aug 19 09:49:24 DocScrutinizer, ah? what is right then Aug 19 09:49:29 gps > /dev/null 2>&1 is what you want Aug 19 09:49:38 ah? Aug 19 09:49:49 I want everything redirected to /dev/null Aug 19 09:49:59 I'll try Aug 19 09:49:59 exactly Aug 19 09:50:21 wow Aug 19 09:50:51 could you explain a bit more on why it works and the previous one didn't Aug 19 09:51:09 &1 is the filehandle of stdout Aug 19 09:51:18 and 2 is stderr Aug 19 09:51:26 I know that Aug 19 09:51:37 you're redirecting 2 to stdout, then youre redirecting 1 to null Aug 19 09:51:42 2 still stdout Aug 19 09:51:48 but...why putting 2>&1 at the end works Aug 19 09:52:03 ok Aug 19 09:53:47 2>&1 means "redirect 2 to the file tha 1 is pointing NOW" Aug 19 09:55:02 ok Aug 19 09:55:02 thanks a lot Aug 19 09:55:16 after all &1 means "address of 1", even in c Aug 19 09:55:17 I think I got it Aug 19 09:55:38 basically it's only syntax Aug 19 09:55:50 if you don't put 2>&1 at the end it does: Aug 19 09:56:48 gps ;2>&1(of nothing) >(of 2&1) /dev/null Aug 19 09:57:33 but if you do the countrary it does: Aug 19 09:58:03 gps > /dev/null (redirect 1 to /dev/null) 2>&1 (redirect 2 to 1,which goes to /dev/null) Aug 19 10:05:42 thanks a lot DocScrutinizer Aug 19 10:05:49 I'll test the changes in the code and see Aug 19 10:06:30 mickeyl, mickey|office ping Aug 19 10:06:35 I think my theory was just Aug 19 10:07:08 launchProcessInBackground( "/usr/bin/gps" ); //reboots the phone Aug 19 10:07:30 launchProcessInBackground( "gps > /dev/null 2>&1" ); //doesn't reboots the phone Aug 19 10:07:36 thanks a lot DocScrutinizer Aug 19 10:07:52 so... Aug 19 10:07:57 I give you the source Aug 19 10:08:08 me or you removes the prints Aug 19 10:08:11 and we're done Aug 19 10:08:16 no? Aug 19 10:21:42 ping mickeyl mickey|office Aug 19 10:35:48 GNUtoo|laptop: what is "gpS"? Aug 19 10:36:03 gps not gpS Aug 19 10:36:16 GNUtoo|laptop: yeah, what is it? Aug 19 10:36:20 GPS :) Aug 19 10:36:24 how to explain that: Aug 19 10:36:33 it's from the android-rpc recipe Aug 19 10:36:50 basically it's a FLOSS binary that activates the GPS on the htcdream Aug 19 10:36:56 source code available Aug 19 10:37:08 phh did all the work, I only dumped,tested etc... Aug 19 10:37:47 and mickeyl adapted it for the htcdream Aug 19 10:38:04 only that we don't want to launch a program,we prefer using a lib in vala Aug 19 10:38:54 GNUtoo|laptop: "gps" is somewhat bad name :) Aug 19 10:38:55 and because some prints access stderr and that we don't read that...it makes the phone crash Aug 19 10:39:10 lindi-, we will get rid of that and make something automatic soon Aug 19 10:39:20 basically you click on navit Aug 19 10:39:22 and it works Aug 19 10:39:27 for instance Aug 19 10:39:36 or tango/foxtrot gps Aug 19 10:41:25 mickeyl, piing Aug 19 10:43:09 be back later then Aug 19 13:10:43 hi mickeyl Aug 19 13:10:51 did you get my mail? Aug 19 13:43:29 GNUtoo|laptop: ya, got it. while i don't understand it, it's worth a try removing all debug output Aug 19 13:43:51 ok Aug 19 13:44:07 in java when you execute a program Aug 19 13:44:11 like mplayer Aug 19 13:44:19 you need to read the stdout,stderr Aug 19 13:44:25 if you don't the program blocks Aug 19 13:46:20 hmm Aug 19 15:34:18 mickeyl, it seems that if I run elm loop instead of glib mainloop in vala I don't get dbus dignals. I suppouse i have to integrate one loop into the other. How to do that? Aug 19 16:00:56 * PaulF lost all his messages in opimd again. Not sure how the hell that happens :/ Aug 19 16:13:46 mickeyl, neverimnd, found an example in eflvala sources :9 Aug 19 16:14:43 mickeyl, how do I compile cornucopia with a devshell? Aug 19 16:15:07 sh autogen.sh Aug 19 16:15:11 oe_runconf Aug 19 16:15:14 oe_runmake Aug 19 16:15:16 is enough? Aug 19 16:15:40 pespin: can you commit this to emtooth? http://gitorious.org/~jama/angstrom/jama-shr-experimental/commit/dfc7ea79fce9936bef58a0a4abe89819db65d38f Aug 19 16:16:19 pespin: better link http://gitorious.org/~jama/angstrom/jama-shr-experimental/blobs/raw/org.openembedded.dev/recipes/openmoko-3rdparty/emtooth/depends.eina.patch Aug 19 16:17:34 JaMa|wrk, sure. I'm rewritting emtooth in vala right now though ) Aug 19 16:17:41 also if I make a git patch, will you ajust the autotools Aug 19 16:17:54 pespin: ok.. so I'll keep this patch only in OE.. Aug 19 16:19:14 JaMa|wrk, nah wait a moment, I'll sent it :) Aug 19 16:23:06 JaMa|wrk, btw, is mercurial suported in OE? I'm planning to move to it from svn with new vala code Aug 19 16:27:04 pespin: it is, but only few recipes are using it (there were also some issues with it) Aug 19 16:27:34 JaMa|wrk, done Aug 19 16:27:42 bitbake@jama ~/dev/recipes $ find . -name \*hg.bb Aug 19 16:27:42 ./mozilla/firefox_hg.bb Aug 19 16:27:42 ./mozilla/fennec_hg.bb Aug 19 16:27:42 ./ushare/ushare_hg.bb Aug 19 16:27:51 and 6 more Aug 19 16:28:13 ok Aug 19 16:30:22 phh, hi Aug 19 16:30:42 I convert the gps activator into a lib Aug 19 16:31:16 and I remove every printf from all the libs under it and withing gps.c(wich is the activator) Aug 19 16:31:29 if I run it as a lib it reboots the phone... Aug 19 16:33:52 I'll try something Aug 19 16:49:47 mickeyl, ping Aug 19 16:50:07 sigh....I don't know vala, I don't know fso, etc... Aug 19 16:54:12 mickeyl, ping Aug 19 16:54:17 there is: Aug 19 16:54:24 var guard = new GProcessGuard(); Aug 19 16:54:30 var ok = guard.launch( { "/bin/sleep", "1" } ); Aug 19 16:54:41 can I use ok to stop the process? Aug 19 16:56:14 sigh maybe I should abandon everything,but a palm pre and do something else Aug 19 16:56:21 s/but/buy Aug 19 16:56:35 I'm definitely not the person for n900 Aug 19 16:58:51 you really need to do that in vala ? Aug 19 16:59:52 I think so Aug 19 17:00:07 hmmm maybe ok is a pid Aug 19 17:01:08 ouch no Aug 19 17:01:12 it returns an error Aug 19 17:01:42 phh, what do you think, If I remove every print will it work? Aug 19 17:01:49 I think not Aug 19 17:01:51 but.... Aug 19 17:02:01 I'll try launching a binary which prints nothing Aug 19 17:02:05 well I'd say the problem is more in the timer things Aug 19 17:02:05 and use git as source Aug 19 17:02:16 it's not timer related: Aug 19 17:02:29 a system of gps that goes to /dev/null works Aug 19 17:02:42 the same system that doesn't go to /dev/null crashed the phone Aug 19 17:03:13 gps > /dev/null 2>&1 //ok Aug 19 17:03:19 gps //not ok Aug 19 17:03:24 all are launched with vala Aug 19 17:03:43 I don't know how to redirect a printf of a lib to /dev/null....hmmmm Aug 19 17:03:58 and I'm lost in fso+vala Aug 19 17:04:07 glib got no good tutorial for vala Aug 19 17:25:54 does someone else than mickeyl knows fso internals? Aug 19 17:33:00 how do I include fsobasics? Aug 19 17:33:09 I want to use libfsobasics Aug 19 17:33:14 sigh mickeyl Aug 19 17:33:30 maybe I shouldn't do that part.... Aug 19 17:35:53 sigh Aug 19 17:36:15 I'll read my mails then Aug 19 17:47:24 JaMa|wrk: is linphone in shr repo? Aug 19 17:59:38 mickeyl, in elm.vapi, Elm.List should inherit Elm.Scroller imho Aug 19 18:01:08 e Aug 19 18:07:56 mickeyl, neverimind again, c api seems to have changed since I used that ;) Aug 19 18:47:57 I'll go bye Aug 19 18:48:06 too bad mickeyl is not there Aug 19 18:52:53 hi Aug 19 18:53:11 hi dcordes Aug 19 18:53:16 I feel bad Aug 19 18:53:31 GNUtoo|laptop: I have a problem. Although I added the xf86-input-tslib in htc-qsd8.inc it was not included in the image I rebuilt Aug 19 18:53:45 vala+fso is hard Aug 19 18:53:50 GNUtoo|laptop: I thought it might be related to the image being built completely before Aug 19 18:54:06 ah? Aug 19 18:54:08 GNUtoo|laptop: do I have to do something special for new package to include in built ? Aug 19 18:55:11 yes Aug 19 18:55:14 bump PR Aug 19 18:55:19 which PR ? Aug 19 18:55:26 how did you include it? Aug 19 18:55:27 http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=fd13cdbe0b1f2fead0c281010830c55984e8a362 I am tlaking about that Aug 19 18:55:31 like so Aug 19 18:55:47 ah ok Aug 19 18:55:54 bump PR of the inc file that include them Aug 19 18:55:56 it's in tasks Aug 19 18:56:19 task-x11.bb Aug 19 18:56:39 that should work Aug 19 18:56:53 too bad I spent the day hitting the head against the walls with vala+fso Aug 19 18:56:58 mickeyl was not there to help Aug 19 18:58:32 is it safe to opkg update;opkg upgrade the om-gta02 now? Aug 19 18:58:41 by now I mean I'll do it now if it's safe Aug 19 19:00:42 dcordes, I'll go Aug 19 19:01:32 alright will bump task-x11.bb pr by one Aug 19 19:06:48 ~nf Aug 19 19:06:49 The #openmoko-cdevel Newsflash Bulletin Board. (continued at ~NF2. For help see ~NF-help) - - - Recommended URLs and channels(chanlogs etc):see ~RL - - - NEWSFLASH [2010-07-08 11:25 UTC]: SHR-unstable moved to 2.6.32 kernel; gena2x works on overclocking Neo and making Glamo faster. Aug 19 20:49:56 JaMa|wrk, is emtooth set to autorev in OE? could you set to use rev78? I'm gonna be using same svn repo for new vala version. Aug 19 20:51:29 pespin: yes and yes Aug 19 20:51:51 Q-Master: look yourself but iirc it should be Aug 19 20:57:54 JaMa|wrk, thnks :) Aug 19 20:59:56 mickeyl, ping Aug 19 21:00:31 is there anyone that knows fso internals? Aug 19 21:10:28 I'll go Aug 19 21:10:29 bye Aug 19 21:13:40 efl vala bindings has problems with refrencing objects... u.u I have to save a reference of each single elm object in order to maintain them alive... Aug 19 21:14:37 iliwi dev is saving each of them in an array to keep them alive. I'm copying that strategy till I find a better one xD Aug 19 21:42:33 JaMa, new vala version of emtooth is here: http://code.google.com/p/emtooth/source/browse/#svn/trunk/app2 Aug 19 21:42:42 C emtooth is in .../app Aug 19 21:43:33 JaMa, would you mind creating an oe recipe for it? it's just changing some things from C version I think Aug 19 21:43:39 require vala and eflvala Aug 19 21:44:49 (btw new version only supports device listing atm, but I hope I'll get quickly to the same usage state as the older one) Aug 19 21:45:42 maybe during weekend, now sleep() Aug 19 21:46:09 JaMa|Zzzz, sure :) Aug 19 21:48:54 anyone has babiloo working in shr-t ? Aug 19 21:49:13 if I select a sdict dictionnary, i keeps tleling me I have to load a dict Aug 19 21:49:34 like if the ui was lacking something Aug 19 21:58:17 do'h, to load one has to select "save" button... Aug 20 01:41:54 * djbclark misses GNUtoo|htcdream Aug 20 01:42:37 * djbclark wishes people would just say what they want to talk about, and then leave email addresses for themselves if they don't hear back in a while. Aug 20 01:43:50 djbclark: Do you want to have an email address of GNUtoo? Aug 20 01:44:58 PaulF: nope **** ENDING LOGGING AT Fri Aug 20 02:59:56 2010