**** BEGIN LOGGING AT Thu Nov 22 02:59:58 2012 Nov 22 07:28:50 good morning! Nov 22 07:29:15 time has passed since I used to join this channel Nov 22 07:29:16 :) Nov 22 16:23:59 'GLib : g_initable_new_valist: assertion `G_TYPE_IS_INITABLE (object_type)' failed' Nov 22 16:24:01 hi Nov 22 16:24:11 I've that ^^^ with the following code: Nov 22 16:24:48 _fso(FREE_SMARTPHONE_DEVICE_TYPE_INFO,FSO_FRAMEWORK_DEVICE_ServiceDBusName,FSO_FRAMEWORK_DEVICE_InfoServicePath,FSO_FRAMEWORK_DEVICE_InfoServiceFace); Nov 22 16:27:16 hmmm let me try something Nov 22 16:27:31 oh I missed the proxy Nov 22 16:27:43 FREE_SMARTPHONE_DEVICE_TYPE_INFO_PROXY Nov 22 16:41:49 hello...anyone know how to bitbake meta-toolchain-openmoko? had no problem with meta-toolchain but openmoko isn't found... Nov 22 16:42:03 get morphis's layer Nov 22 16:42:10 and bitbake the devshell inside Nov 22 16:42:34 https://github.com/morphis/meta-staging Nov 22 16:42:44 https://github.com/morphis/meta-staging/blob/master/recipes-devtools/devshell/devshell.bb Nov 22 16:42:47 there is that inside Nov 22 16:43:47 can i use this with existing openembedded? Nov 22 16:44:09 will this work with old om200x distros also? Nov 22 16:44:23 17:36:10 < JaMa> if you want to compile them, then you have to checkout very old version of oe-classic Nov 22 16:44:57 ahh I tought it was for working on SHR Nov 22 16:45:05 like current SHR Nov 22 16:45:23 nope need old one...toolchain on site works only on old ubuntu based distros Nov 22 16:45:44 and i don't really want gnewsense... Nov 22 16:46:29 I use trisquel and it's better indeed Nov 22 16:47:09 i'm trying on parabola but will try on trisquel also too Nov 22 16:47:28 i actually like the interface of gnewsense it's just too old... Nov 22 16:57:43 i'm guessing i just need to follow instructions with openembedded-core replaced by openembedded? Nov 22 17:01:47 i'm hoping to do small changes like updating browser, webkit, adding otr to pidgin. hopefully i'll manage some of them... Nov 22 17:06:40 there is no oe-init-build-env in classic. what to do to set environment there? Nov 22 17:07:37 maybe looking trough the getting started of the old openembedded wiki and going trough history Nov 22 17:11:30 http://www.openembedded.org/wiki/Getting_started_with_OE-Classic Nov 22 17:11:54 (this is the old page - the getting started guide has been replaced recently) Nov 22 17:12:27 found it too thanks Nov 22 17:26:06 strange.... Nov 22 17:26:15 2000-01-01T06:37:44.366455Z [INFO] phoneuid : GLib : Machine: ���� Nov 22 17:28:13 ah let me try something Nov 22 17:32:13 'GLib : g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed' Nov 22 17:32:17 hmmm Nov 22 17:32:33 still it seem to detect the A3 Nov 22 17:34:30 machine = g_value_get_string(g_hash_table_lookup(cpuinfo, "Hardware")); Nov 22 17:34:36 revision = g_strdup(g_hash_table_lookup(cpuinfo, "Revision")); Nov 22 17:34:41 both don't work Nov 22 17:34:46 first say it's not a string Nov 22 17:40:02 I'll ask in #gnome Nov 22 17:40:15 I've done that so fast without looking much at the doc right now Nov 22 17:40:24 (people need A4 very soon) Nov 22 17:47:42 dos1, hi, do you know dbus in C? Nov 22 17:54:25 GNUtoo-desktop: what do i put in DISTRO = for om2009? Nov 22 17:55:00 hmmm look in conf/distro to see if it's still htere Nov 22 17:55:03 *there Nov 22 17:55:08 because maybe it got removed Nov 22 17:55:47 yes there is only warning to use SHR when you use DISTRO=openmoko Nov 22 17:56:09 i guess angstrom-2010 Nov 22 17:56:22 i guess i'll just change sources later Nov 22 17:56:48 heh Nov 22 17:56:56 is machine bealeboard? Nov 22 17:57:04 *beagleboard Nov 22 17:57:15 that was suggested for gat-01 Nov 22 17:57:20 *gta Nov 22 17:57:27 om-gta01 Nov 22 17:57:29 is machine Nov 22 17:57:55 angstrom-2010 is quite different then om2009 Nov 22 18:05:58 yeah there is also om-gta02 Nov 22 18:08:26 actually i found in openmoko.conf Nov 22 18:08:28 Sorry, The Openmoko distribution has been removed on Aug 10, 2010. Nov 22 18:09:53 yes, that's why I said you need old oe-classic Nov 22 18:10:37 old revision of oe-classic if it wasn't clear Nov 22 18:14:51 where is it available? Nov 22 18:15:33 ? Nov 22 18:16:22 older version of openembedded classic from e.g. 2009 Nov 22 18:17:16 are you asking how to checkout older revision with git? Nov 22 18:17:36 git checkout -b old-foo some_revision_you_want Nov 22 18:19:13 i figured that out. which verion is suitable? Nov 22 18:19:35 *version Nov 22 18:20:29 you can try something from the same date as those toolchains were created but I really don't know hash of good revision 3+ years ago Nov 22 18:21:03 i'm guessing fso? Nov 22 18:21:50 ? Nov 22 18:22:21 fso branch Nov 22 19:17:54 evening all Nov 22 19:18:15 mrmoku, hi Nov 22 19:18:20 I need your help! Nov 22 19:18:29 hi GNUtoo-desktop Nov 22 19:18:40 I hope I will be able to help Nov 22 19:18:41 mrmoku, I can't get dbus in C work Nov 22 19:18:53 ahh? Nov 22 19:18:57 http://git.shr-project.org/git/?p=libphone-ui.git;a=blob;f=src/phoneui-utils-sound.c;h=5a398f7db507adad29d646cba77f1d260f9798d5;hb=gta04-hwrouting Nov 22 19:19:25 g_hash_table_lookup(cpuinfo, "Hardware") is (null) according to: Nov 22 19:19:46 * mrmoku fetching Nov 22 19:19:58 machine = g_hash_table_lookup(cpuinfo, "Hardware");g_message("machine value type = %s",G_VALUE_TYPE_NAME(machine)); Nov 22 19:20:03 it's in a branch Nov 22 19:20:52 and once that's resolved I've no idea what to do to get the suffix working Nov 22 19:21:18 because I've to set it in this line: Nov 22 19:21:20 683 suffix = strdup(""); Nov 22 19:21:30 and the whole stuff uses callbacks and don't block Nov 22 19:21:36 should I use a glib cond? Nov 22 19:24:03 GNUtoo-desktop: just remove the (void)cpuinfo :-) Nov 22 19:24:19 ok Nov 22 19:24:21 I removed it Nov 22 19:24:24 but then I forgott Nov 22 19:24:35 I should have reverted the remove somehow Nov 22 19:24:52 locally it is removefd Nov 22 19:25:17 http://paste.debian.net/211599/ Nov 22 19:25:23 still prints (null) Nov 22 19:25:51 GNUtoo-desktop: regarding the suffix... strcmp returns 0 if the strings match Nov 22 19:25:52 and it does print the keys however Nov 22 19:26:02 so you want !strcmp(..) && !strcmp(..) Nov 22 19:26:06 ok Nov 22 19:26:19 ah right Nov 22 19:26:22 -1,0,1 Nov 22 19:26:35 I wrote that a bit quickely Nov 22 19:26:49 at least you're still writing :-) Nov 22 19:27:56 we're in deep trouble, we need to support A4 as soon as possible, that's why Nov 22 19:28:25 2000-01-01T08:12:28.410706Z [INFO] phoneuid : GLib : machine value type = (null) Nov 22 19:28:40 and 2000-01-01T08:12:28.412109Z [INFO] phoneuid : GLib : list[1] = Hardware Nov 22 19:28:49 and also: 2000-01-01T08:12:28.415863Z [INFO] phoneuid : GLib : list[7] = Revision Nov 22 19:30:05 hmm Nov 22 19:33:27 mrmoku, maybe you could answer to 2) if you don't know 1) Nov 22 19:33:41 how do I remount the information until that point: Nov 22 19:34:08 683 suffix = strdup(""); Nov 22 19:34:20 because the whole stuff is async Nov 22 19:36:33 GNUtoo-desktop: what do you mean by 'remount' ? Nov 22 19:37:51 to take that infos and put it in like 683 Nov 22 19:38:00 like goes up the functions calls Nov 22 19:38:09 and make it stick in the suffix variable Nov 22 19:38:22 should I wait with glib cond or something like that? Nov 22 19:38:31 because the whole stuff is async Nov 22 19:39:26 GNUtoo-desktop: you have to restructure and continue sound_init from the callback Nov 22 19:39:46 just call phoneui_utils_sound_identify_machine() there Nov 22 19:40:26 ah ok Nov 22 19:40:29 so I can't block Nov 22 19:40:35 no Nov 22 19:40:47 because there was also 2 other approaches involving blocking Nov 22 19:41:02 ok Nov 22 19:41:08 thanks a lot Nov 22 19:41:33 I'm quite out of the loop... but IIRC sync dbus calls have been removed somewhere Nov 22 19:41:53 mrmoku: wb and evening :) Nov 22 19:42:09 ok Nov 22 19:43:04 JaMa: yo :-) Nov 22 19:43:07 thx Nov 22 19:49:42 a{sv}: info Nov 22 19:49:54 v is value? Nov 22 19:50:01 and s string? Nov 22 19:50:41 hmmmm I'll ask again in #gtk+ abuot the error Nov 22 19:57:01 GNUtoo-desktop: yup, v is value and s is string Nov 22 19:57:08 s is the index (Hardware) Nov 22 19:57:13 and v the value Nov 22 19:58:48 * GNUtoo-desktop really wonder why it fails then Nov 22 20:04:52 mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/Info org.freesmartphone.Device.Info.GetCpuInfo Nov 22 20:04:52 ({'CPU revision': <'2'>, 'Features': <'swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls'>, 'Revision': <'A3'>, 'CPU implementer': <'0x41'>, 'CPU architecture': <'7'>, 'CPU variant': <'0x3'>, 'BogoMIPS': <'191.40'>, 'CPU part': <'0xc08'>, 'Hardware': <'GTA04'>, 'Serial': <'0000000000000000'>},) Nov 22 20:04:58 that's what it returns Nov 22 20:09:23 it segfault if I replace Hardware by hardware Nov 22 20:12:10 it's been some hours that I'm at that and I start becomming nervous Nov 22 20:14:53 it does not segfault with Hardware? Nov 22 20:15:45 no Nov 22 20:16:01 but it returns a (null) type printed with that: Nov 22 20:16:08 * mrmoku trying to find in mdbus2 source if <> stands for string Nov 22 20:16:28 g_message("machine value type = %s",G_VALUE_TYPE_NAME(machine)); Nov 22 20:18:20 GNUtoo-desktop: and machine is a GValue* ? Nov 22 20:18:38 no Nov 22 20:18:52 then it's quite understandable it returns (null) :-P Nov 22 20:18:57 ok Nov 22 20:20:20 now it segfault Nov 22 20:20:22 let me try Nov 22 20:21:27 GValue* machine; Nov 22 20:21:33 machine = g_hash_table_lookup(cpuinfo, "hardware"); Nov 22 20:21:33 g_message("machine value type = %s",G_VALUE_TYPE_NAME(machine)); Nov 22 20:21:35 setgfault Nov 22 20:21:47 ah sorry Nov 22 20:21:53 hardware instead of Hardware Nov 22 20:22:39 2000-01-01T09:34:29.972504Z [INFO] phoneuid : GLib : machine value type = (null) Nov 22 20:22:41 still Nov 22 20:23:34 it returns a gpointer Nov 22 20:23:43 hmm Nov 22 20:24:42 if I cast that to string Nov 22 20:24:44 and print it Nov 22 20:24:46 I've that: Nov 22 20:24:53 2000-01-01T09:36:31.402863Z [INFO] phoneuid : GLib : machine type = ���� Nov 22 20:25:36 typedef void* gpointer; Nov 22 20:26:47 let me try something Nov 22 20:26:56 _contact_lookup_callback has an example Nov 22 20:28:03 GNUtoo-desktop: ahh... wait... ist it GValue or GVariant... probably the second Nov 22 20:28:10 2000-01-01T09:39:57.538635Z [INFO] phoneuid : GLib : machine type = GTA04 Nov 22 20:28:16 finally Nov 22 20:28:20 thanks a lot!!!!!! Nov 22 20:28:50 I didn't do anything :-) Nov 22 20:29:07 you helped me not to get nervous maybe Nov 22 20:29:15 *not to get too much nervous Nov 22 20:30:42 ok :) Nov 22 20:30:52 GNUtoo-desktop: so what was the solution? Nov 22 20:31:02 to use Gvariant Nov 22 20:31:08 and gvariant_get_string Nov 22 20:32:00 char* machine; Nov 22 20:32:06 machine = g_strdup(g_variant_get_string(g_hash_table_lookup(cpuinfo, "Hardware"),NULL)); Nov 22 20:35:26 ok, GVariant then :-) Nov 22 21:52:47 mrmoku, hmmm Nov 22 21:52:56 now it fails here: Nov 22 21:53:04 2000-01-01T11:04:36.541962Z [CRITICAL] phoneuid : GLib : g_hash_table_lookup: assertion `hash_table != NULL' failed Nov 22 21:53:16 device_name = g_key_file_get_string(keyfile, alsa, "hardware_control_name", NULL); Nov 22 21:53:33 alsa is alsa_gta04a3 Nov 22 22:13:49 mrmoku, do you have an idea? **** ENDING LOGGING AT Fri Nov 23 02:59:58 2012