**** BEGIN LOGGING AT Sat Nov 17 03:00:00 2012 Nov 17 17:14:14 hey Nov 17 17:14:27 slyon, hi! Nov 17 17:14:33 I was waiting for you.... Nov 17 17:14:53 we need to discuss again the GTA04 A3 + >A3 detection Nov 17 17:14:58 you started a branch Nov 17 17:15:07 GNUtoo-desktop, yes. what do you think about it? Nov 17 17:15:08 how can I participate? Nov 17 17:15:17 I didn't try it yet Nov 17 17:15:35 we need that as fast as possible Nov 17 17:15:46 GNUtoo-desktop, the detection is finished basically, if you like it that way Nov 17 17:15:48 also I'm trying to convince bluelightning which is an oe dev to try SHR Nov 17 17:15:54 wow Nov 17 17:15:56 cool Nov 17 17:16:09 slyon: Hi! Does frameworkd have an LSB-compatible boot script? Should it probably be committed to FSO git? Nov 17 17:16:33 PaulFertser, was your shadow resource patch merged? Nov 17 17:16:36 we'd just need to adopt if for further gta04 revisions.. for now it can just detect A3 and A4+ Nov 17 17:17:09 nice Nov 17 17:17:34 GNUtoo-desktop: no, it wasn't Nov 17 17:17:44 GNUtoo-desktop, it's just a modification of the kernel_info plugin. the magic happens in ll74: http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsodeviced/src/plugins/gta04_quirks/info.vala;h=d572ba9e237dc7e683ea07b04f62db2ef1be4d81;hb=b52fc1f35f8efd4432a0146da3a58386929a7637#l74 Nov 17 17:18:03 PaulFertser, hmm i'm not very much into frameword... so i dont know Nov 17 17:18:26 slyon, yes I saw the quirk pllugin Nov 17 17:19:21 GNUtoo-desktop, it uses the org.freesmartphone.Device.Info API with a modified Revision field Nov 17 17:19:28 wow Nov 17 17:19:29 GNUtoo-desktop, if you like it we can merge it to master Nov 17 17:19:32 yes Nov 17 17:19:34 please do Nov 17 17:19:37 will do Nov 17 17:19:44 can you also merge PaulFertser ' Nov 17 17:19:47 s patch Nov 17 17:19:51 where is it? Nov 17 17:19:53 BTW, i have a small patch to enable gta04 pdp connectivity without fsonetworkd, imho that would be a clean integration into Debian and other systems. I'll post it hopefully tomorrow. Nov 17 17:19:56 in the mailing list Nov 17 17:20:36 Beware, i'm not an autofoo and Vala expert, but it feels a correct recommended solution. Nov 17 17:20:37 To: smartphones-userland@linuxtogo.org Nov 17 17:20:46 Subject: [PATCH] fsousaged: properly pass DBUS_SYSTEM_SERVICE_DIR to the sources, fixes shadow resources Nov 17 17:20:57 I'm not sure about how Vala should access C-level defines. Nov 17 17:21:22 The patch is tested and works of course. Nov 17 17:21:33 ok nice Nov 17 17:21:38 then I guess we can merge it Nov 17 17:21:51 if shadow resources fails without Nov 17 17:21:54 and works with it Nov 17 17:21:58 let's merge it Nov 17 17:22:32 Shadow resources are not mentioned in documentation and no example config enables it though. But it seems like they work all right, at least they do here. Nov 17 17:22:42 ok Nov 17 17:24:24 slyon, will you merge PaulFertser's patch or should I do it? Nov 17 17:26:07 GNUtoo-desktop, both are now merged Nov 17 17:26:40 PaulFertser, thanks for the patch! Nov 17 17:27:05 ok nice Nov 17 17:27:05 slyon: thank you for working on FSO Nov 17 17:27:07 ! Nov 17 17:28:06 GNUtoo-desktop, now we can base our autodetection for the audio router upon this API Nov 17 17:28:13 yes Nov 17 17:28:25 we need to check for: Hardware:GTA04 and Revision:A4 or Revision:A4+ Nov 17 17:28:36 s/A4/A3 Nov 17 17:30:51 GNUtoo-desktop, for the audio router: Nov 17 17:31:14 Subject: Re: [Gta04-owner] Modem crashing? Nov 17 17:31:20 we need to follow that thread Nov 17 17:31:23 we can just copy the rout_alsa plugin into gta04 quirks and hardcode the "extra_path" variable to hwrouting/ Nov 17 17:31:30 yes Nov 17 17:31:38 or override it Nov 17 17:31:41 or something like that Nov 17 17:31:45 like we override it Nov 17 17:31:50 we call the constructor Nov 17 17:31:56 with extra_path set Nov 17 17:32:01 or something like that Nov 17 17:32:33 GNUtoo-desktop, the problem with overwriting: gta04_quirks is a plugin and router_alsa is a plugin as well.... i didn't find a way to inherit in a plugin from another one... Nov 17 17:32:44 ok Nov 17 17:32:48 wrote a mail to mickey about that.. but he didn't have time to respond up to now Nov 17 17:32:49 then let's copy from now Nov 17 17:32:52 ok Nov 17 17:32:55 and morphis ? Nov 17 17:33:03 didn't ask morphis so far Nov 17 17:33:14 you should have asked morphis instead of mickeyl Nov 17 17:33:28 it is very ugly that way... but it is in a *_quirks plugin... so it's probably not to bad Nov 17 17:33:48 i did the same (copy it over) with the kernel_info plugin for the revision check Nov 17 17:34:10 ok Nov 17 17:34:12 I'll forward the mail to morphis Nov 17 17:34:18 maybe he knows a better solution Nov 17 17:34:27 yes probably Nov 17 17:35:20 sent Nov 17 17:35:59 slyon, do you know how to get an AT interpreter over FSO? Nov 17 17:36:15 mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Debug.DebugCommand "_OIFACE?" main + looking in the logs is not very convenient Nov 17 17:36:33 ah I was using the wrong interface Nov 17 17:36:37 I should have used urc Nov 17 17:36:39 I used main Nov 17 17:36:39 GNUtoo-desktop, why not just use a terminal to access the tty? Nov 17 17:36:51 because it's used by fso and running Nov 17 17:36:56 ok Nov 17 17:37:44 GNUtoo-desktop, so we'd need some sort of "fsoATterm"? Nov 17 17:38:23 ok done Nov 17 17:38:35 let's see if it crashes again now Nov 17 17:38:45 mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Debug.DebugCommand '_OIFACE="GPS",0' urc Nov 17 17:38:47 try that Nov 17 17:38:52 and see if it crashes Nov 17 17:39:00 in the long term Nov 17 17:39:06 (the USB reset thing) Nov 17 17:39:12 and follow the thread named: Nov 17 17:39:18 [Gta04-owner] Modem crashing? Nov 17 17:39:29 if it prevent the usb reset..... Nov 17 17:39:47 GNUtoo-desktop, ok will do. how can i see if it crashed? Nov 17 17:39:47 else nickaulaus has a patch for the option driver Nov 17 17:40:01 no idea, that's the problem: I simply don't remember Nov 17 17:40:02 dmesg Nov 17 17:40:06 tells you Nov 17 17:40:20 maybe It refuses to work Nov 17 17:40:24 and then you do dmesg Nov 17 17:40:28 GNUtoo-desktop, afaik we did a work arround in FSO... so we should be able to log it Nov 17 17:40:29 and you see the USB reset Nov 17 17:40:35 ah? Nov 17 17:40:42 let me search it... Nov 17 17:40:43 it still ocured not so long ago Nov 17 17:45:52 hmm... I can't find anything. so maybe I don't remeber correctly Nov 17 17:46:18 ok Nov 17 17:46:33 probably in option or gta04 fsogsmd plugin Nov 17 17:47:08 also look in fso tracker maybe Nov 17 17:47:19 I've scanned trough lowlevel_gta04 and option plugins, as well as fsotransport Nov 17 17:49:18 ok Nov 17 17:51:07 maybe it was that way: we're using /dev/ttyHS_Application and /dev/ttyHS_Modem, therefore we don't care if the modem goes away and returns, as we can just go on after a few seconds... Nov 17 17:51:54 ok Nov 17 17:52:07 so we would still need a proper fix Nov 17 17:52:42 when I've time i'll try the _OIFACE="GPS",0 method Nov 17 17:52:48 and nikolaus' patch Nov 17 17:55:05 GNUtoo-desktop, what do you think about merging the current hwrouting branch? Nov 17 17:55:22 either with hwrouting or swrouting as default option Nov 17 17:55:50 slyon, we will end up with not-working device if we merge it now Nov 17 17:55:58 so people with gta04a4 can just filp a config option to make use of hwrouting Nov 17 17:56:01 why that? Nov 17 17:56:16 because some stuff will be for A4+ Nov 17 17:56:21 and some will be for A3 Nov 17 17:56:29 like the libphoneui.conf Nov 17 17:56:43 yes... one couldn't control the volume during a call... Nov 17 17:56:53 ok so let's wait. Nov 17 17:57:03 yes, let's work fast on fixing the detection Nov 17 17:57:08 what needs to be done right now? Nov 17 17:57:55 copy router_alsa (or inherit) over to gta04_quirks and use the odeviced API to detect which device we're on to select the right scenarios Nov 17 17:58:07 to the same in libphoneui to select the right config option Nov 17 17:58:07 ok, will you do it? Nov 17 17:58:22 in libphoneui I can look but I don't know it at all Nov 17 17:58:25 do you know it? Nov 17 17:58:41 no. i'm not confortable with libphoneui and not at all with DBus in C Nov 17 17:58:47 ok Nov 17 17:58:52 I use C every day Nov 17 17:59:02 but maybe not dbus in C Nov 17 17:59:05 but I'll look Nov 17 17:59:14 cool! i'll look for the FSO part Nov 17 17:59:19 nice Nov 17 17:59:54 GNUtoo-desktop, but i think we should make hwrouting the "default", like libphoneui.conf is for hwrouting and libphoneui-swrouting.conf is for swrouting Nov 17 18:00:14 which repo is it? Nov 17 18:00:22 even if it is auto detected. if people try to change settings and are now aware of the auto detection they'll be confused Nov 17 18:00:44 GNUtoo-desktop, git+ssh://git@git.shr-project.org/libphone-ui.git Nov 17 18:00:51 are you sure? Nov 17 18:00:57 because there is libphoneui-shr too Nov 17 18:00:59 i commited a libphoneui-hwrouting.conf some days ago Nov 17 18:01:04 ok Nov 17 18:01:15 libphoneui-shr is for the GUI (e.g. enlightenment suff) Nov 17 18:01:26 ok Nov 17 18:03:49 slyon, maybe that will confuse less people: Nov 17 18:03:59 we migrate both config in one libphoneui.conf Nov 17 18:04:04 and put one part for A3 Nov 17 18:04:08 and one part for A4? Nov 17 18:08:15 GNUtoo-desktop, yes. if this is possible that's fine, too! Nov 17 18:14:56 phoneui_utils_sound_init seem interesting Nov 17 18:15:43 how do we call the new config? Nov 17 18:15:49 gta04-hw-rev? Nov 17 18:16:12 hmmm let me think a bit on how to do that Nov 17 18:16:26 if we add in [alsa] a new config Nov 17 18:16:36 like match_hw_rev for instance Nov 17 18:16:47 we must ignore it if not found Nov 17 18:17:04 we must look at the config if found Nov 17 18:17:10 and ignore the config if not found Nov 17 18:17:23 but I'm not sure it supports 2 configs with the same [name] Nov 17 18:18:20 let me look Nov 17 18:20:15 g_key_file_get_string_list ? Nov 17 18:20:17 hmmm Nov 17 18:21:45 ror maybe: Nov 17 18:21:55 foo[A3] Nov 17 18:23:09 hmm Nov 17 18:23:29 or maybe I ask in some gtk+ channel? Nov 17 18:25:34 i like the postfix idea actually... Nov 17 18:25:46 postfix? Nov 17 18:25:48 having [alsa_control_idle] and [alsa_control_idle_a3] Nov 17 18:25:51 etc Nov 17 18:26:15 adding an "_a3" postfix to the config options for A3 to use Nov 17 18:27:05 or maybe even "_gta04a3" to make clear what a3 means Nov 17 18:27:10 yes Nov 17 18:27:30 hmmm Nov 17 18:27:35 let me think about it a bit Nov 17 18:28:11 maybe it's the only solution Nov 17 18:28:24 because [alsa] twice won't work Nov 17 18:28:36 you'd need to have a "postfix" variable, which you concatenate behind each alsa_control read access Nov 17 18:28:48 good idea Nov 17 18:29:15 then you can detect at the beginning if we are on A3 and set postfix = "gta04a3" and otherwise postfix="" Nov 17 18:29:46 rather postfix = "_gta04a3" Nov 17 18:33:21 ok Nov 17 18:33:26 or rather Nov 17 18:33:30 I add postfix first Nov 17 18:33:34 and then I do the detection Nov 17 18:33:41 and I launch a build now Nov 17 18:35:41 yes. i just meant: "first" in the code. so at top you do the detection Nov 17 18:35:50 not first in time Nov 17 18:37:56 ok Nov 17 18:50:14 ok. I' pushed my first draft (it's still untested) Nov 17 18:50:21 ok Nov 17 18:50:24 i've to leave now, as our guests for tonight are arriving Nov 17 18:50:27 happy hacking! Nov 17 18:50:28 bye Nov 17 18:50:29 ok Nov 17 18:50:30 thanks Nov 17 18:50:36 thanks a lot in fact Nov 17 22:16:58 does anyone know which package contains Xorg.conf for gta04? I have some success switching SHR to tslib for gta04. It makes illume keyboard much easier to use. Nov 17 22:17:38 jeepingben, hi Nov 17 22:17:48 wow Nov 17 22:17:53 can you share the config? Nov 17 22:17:56 or make a patch? Nov 17 22:18:07 opkf search /etc/X11/xorg.conf Nov 17 22:18:09 oops Nov 17 22:18:11 opkg search /etc/X11/xorg.conf Nov 17 22:18:16 will tell you the package Nov 17 22:36:12 JaMa, hi Nov 17 22:36:33 JaMa, enlightenment segfault with the image that I built today Nov 17 22:36:39 jeepingben, pong Nov 17 22:36:53 jeepingben, *ping Nov 17 22:38:02 jeepingben, if you want I can point you to the recipe Nov 17 22:38:12 that may be better for the patch Nov 17 22:39:47 Hi GNUtoo-desktop, I've been in and out, can you point me to the recipe? Nov 17 22:40:56 ah, I didn't know opkg could do that. I will send something to shr-devel in a while. I got this working a while ago, but my config was a mess. Once I have the recipe, I can diff and include only the needed changes Nov 17 22:44:46 jeepingben, ok Nov 17 22:45:40 meta-smartphone/meta-openmoko/recipes-graphics/xorg-xserver/xserver-xf86-config/om-gta04 has an xorg.conf Nov 17 22:45:47 you also need to bump PR like that: Nov 17 22:46:22 in meta-smartphone/meta-openmoko/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend add that: Nov 17 22:46:39 PRINC := "${@int(PRINC) + 1}" Nov 17 22:46:56 ok, I will try to send patches tommorow or monday. It is only a matter of changing xorg.conf and including the tslib package. Nov 17 22:46:59 and git add; git commit -s and submit the patch with git format-patch -1; git send-email Nov 17 22:47:07 ok Nov 17 22:47:10 can I try it Nov 17 22:47:12 GNUtoo-desktop: What language is that? Nov 17 22:47:15 because I've tried to do that Nov 17 22:47:21 and I failed Nov 17 22:47:44 rking, it's the language of recipes in openembedded/yocto/bitbake Nov 17 22:47:49 it's like ebuilds in gentoo Nov 17 22:47:57 Aha Nov 17 22:50:48 http://pastebin.com/wdYjGp0p my xorg.conf Nov 17 22:51:23 and opkg install xf86-input-tslib Nov 17 22:51:31 but I will make a real patch soon Nov 17 22:51:42 yes I'll wait for that Nov 17 22:51:44 thanks a lot Nov 17 22:53:13 JaMa, ping Nov 17 22:53:24 JaMa, we need a strategy with reguard to enlightenemtn Nov 17 22:53:51 JaMa, would pushing e stuff upstream be a good thing? Nov 17 22:54:11 will they fix the breakages done by breaking the API for us? Nov 17 22:54:46 jeepingben, how did you get the calibration data? Nov 17 22:54:57 xinput_calibrator or ts_calibrate Nov 17 23:06:54 arg Nov 17 23:07:00 we have totally broken e profile Nov 18 00:05:54 Gnutoo, I can't remember for the calibration data, it was whichever one evdev doesn't use Nov 18 00:35:43 hmm, linux-gta04 seems not to be fetching properly at the moment Nov 18 00:49:36 bluelightning, ah? Nov 18 00:50:14 bluelightning, I just shut down my build host tough Nov 18 00:53:03 trying again now, maybe it'll work this time **** ENDING LOGGING AT Sun Nov 18 02:59:58 2012