**** BEGIN LOGGING AT Sun May 01 02:59:58 2011 May 01 08:03:46 larsc: hi there. ``sd_drive = (rate * 4) / host->clk_rate'' is interesting but i'm afraid i forgot the justification. Can you please enlighten me about it one more time? Is it supposed to reliably work always. There's one cool guy who's having problems with some SD cards (but not with the others). May 01 08:04:17 I have to admit changing sd_drive in the older kernels doesn't help either, so it might be completely unrelated. May 01 08:36:56 hmm, just disassembled my aspire one to add RAM. there seems to be some extra space. would an openmoko fit inside? ;) May 01 08:54:35 PaulFertser: well, at least in my test higher driving strength improved the reliability at higher rates May 01 08:55:52 larsc: of course but it's assumed to be proved that sd_drive=3 harms GPS badly. May 01 08:59:17 hm, thats not good then May 01 09:00:06 om-2.6.39 will contain patch which allow us to get a faster datatransfers at lower mmc clock rates :) May 01 09:00:11 patches May 01 09:06:52 larsc: also, what still bothers me is that i fail to explain the case when the card refuses to work altogether, with any reasonable rate and sd_drive value but works fine in cardreaders. May 01 09:07:32 larsc: my only theory so far was Vcc difference but since i do not own such a card myself, i couldn't do any real test. May 01 09:08:51 What i mean is that FR is actually using the lowest voltage allowed by the card's descriptor whereas (i assume) regular cardreaders are using the fixed maximum value. May 01 09:11:18 well, thats easy to test May 01 09:12:39 larsc: using "pmu" to directly tell pcf50633 what to emit? Won't work well i'm afraid. But certainly easy with a small kernel patch. May 01 09:13:37 you can at least check what the voltage is in sysfs May 01 09:14:53 iirc i was quite sure it's lower than the usual value for cardreaders. May 01 09:15:05 ok May 01 09:17:49 Once i tried to give somebody a kernel patch to limit the lower margin but it didn't help to make the card work. I'm uncertain whether it was a wrong patch or it was the wrong theory. :/ May 01 09:18:04 heyho May 01 09:18:46 Yo May 01 10:09:23 morphis: hey, what am I doing wrong when I get something like this: gisicomm.c:8080:25: error: unknown type name 'GIsiPEP' May 01 10:09:26 ? May 01 10:09:58 mrmoku: heyho May 01 10:10:03 when compiling gisicom? May 01 10:10:36 it's the gisicomm.vala from git? May 01 10:10:59 not exactly May 01 10:11:11 I added using GIsi.PEP class May 01 10:11:24 and yes, compiling libgisi May 01 10:11:50 can yoi show we the relevant vala lines with the GIsi.PEP class? May 01 10:12:55 morphis: PEP is only in the libgisi.vapi: http://pastebin.com/qPWDG7pz May 01 10:24:00 hm May 01 10:24:49 whats with "private PEP();", is there an implementation somewhere? May 01 10:25:09 morphis: that one I added in desperation :) May 01 10:25:13 even without it I get the same May 01 10:26:03 I will try on my own May 01 10:26:35 ok, thx May 01 10:26:44 how is the type called in gisi? May 01 10:26:56 is it struct GIsiPEP? May 01 10:28:11 ah it is GIsiPEP May 01 10:28:18 GIsi.PEP May 01 10:30:01 no, in C code May 01 10:30:16 yeah, then GIsiPEP May 01 10:30:22 btw. the same I have with GIsiPipe May 01 10:31:25 git HEAD compiles fine for me May 01 10:31:34 and there is already a GIsi.PEP class in the vapi May 01 10:31:46 yeah, but nothing uses it May 01 10:31:59 just adding private GIsi.PEP pep; to my GPDS class causes it May 01 10:32:40 ok: testping.c:72:2: error: expected specifier-qualifier-list before ‘GIsiPEP’ May 01 10:33:16 a "#include " is missing May 01 10:33:26 heh May 01 10:33:45 morphis: where? May 01 10:33:53 gisicomm.vala has no #includes whatsoever May 01 10:34:05 neither the vapi May 01 10:34:20 http://pastebin.com/r2ACvU1U May 01 10:34:24 that compiles fine for me May 01 10:34:30 it's the gisi/libgisi.h May 01 10:35:10 hmm May 01 10:36:00 morphis: duh... thanks :-) May 01 10:38:50 mrmoku: no problem :) May 01 10:40:28 this shit has been tricking me for hours... and hasn't been a vala problem in the end :P May 01 10:41:13 mickeyl, hi May 01 10:41:14 morphis: the mass of warnings while building vala stuff is quite confusing btw. May 01 10:41:57 one tends to not see the _real_ problemss May 01 10:43:33 GNUtoo|laptop: in the end we will become real vala coders :P May 01 10:43:44 for me I'm not sure May 01 10:43:49 I do not do enough vala May 01 10:44:03 * mrmoku neither actually May 01 10:44:24 I would have liked to do the alsa stuff but I fear huge frustration because of the incomplete vapi May 01 10:45:54 mrmoku: yes, you often don't see the relevant lines ... May 01 10:46:17 is there something we can do about? May 01 10:49:43 GNUtoo|laptop: the vapi for alsa should be quite simple May 01 10:49:54 it's only a lot of work of you want to bind everything May 01 10:50:02 ah ok May 01 10:50:08 I don't know how to do vapis May 01 10:50:37 if you look at fsoaudiod/vapi/alsa-ext.vpai May 01 10:50:51 I already started with some _pcm stuff some time ago May 01 10:51:33 vapi's are simple if the c api is simple to wrap :) May 01 10:52:04 just follow the line in the alsa.vapi and alsa-ext.vapi and will find out how you do a vapi May 01 10:52:13 I looked for howtos quite a long time and found nothing May 01 10:52:25 ok May 01 10:52:41 the best way is to look at existing vapi's and learn the important bits from them May 01 10:52:49 ah ok ouch May 01 11:22:33 GNUtoo|laptop: which alsa functionality do you need? May 01 11:23:17 I don't know yet all the one I will need but I bet I need at least snd_pcm_open May 01 11:23:34 basically the pcm and configuration stuff May 01 11:24:26 moinmoin May 01 11:24:43 hi May 01 11:25:25 open is already in May 01 11:25:29 ah ok May 01 11:25:31 did you actually _look_ at the vapi yet? May 01 11:25:32 where? May 01 11:25:35 yes May 01 11:25:39 the one for morphis May 01 11:25:41 public class PcmDevice May 01 11:25:42 { May 01 11:25:42 public static int open( out PcmDevice pcm, string name, PcmStream stream, int mode ); May 01 11:25:42 public int close(); May 01 11:26:01 someone told me to forget wat was between {} May 01 11:26:04 no May 01 11:26:11 i told you to forget what's in [] May 01 11:26:14 that's square brackets May 01 11:26:17 ah ok May 01 11:26:43 I'll be out most of the day btw May 01 11:27:14 I wish I had more time for the n900 May 01 11:27:37 morphis: pyside is a beast. what builds now is apiextractor-native, generatorrunner-native, shiboken-native. what doesn't build is shiboken and pyside. perhaps you want to have a look. I'm afraid cmake gets the cross compiling wrong May 01 11:27:52 ok May 01 11:27:52 i hate cmake May 01 11:28:01 * GNUtoo|laptop too May 01 11:28:02 why didn't they just use qmake May 01 11:28:03 *sigh* May 01 11:28:05 mickeyl: I already started with building it in the aurora branch May 01 11:28:12 wesnoth uses cmake May 01 11:28:15 but there is worse May 01 11:28:18 bjam May 01 11:28:21 but currently I am struggeling with qtve4-tools-nati May 01 11:28:26 ya, bjam is worse May 01 11:28:28 (boost's build system) May 01 11:28:38 morphis: trick: build qt4-tools-native May 01 11:28:46 then move into ${S} May 01 11:28:48 bjam always drives me crazy May 01 11:28:50 and manually call 'make install' May 01 11:28:52 :D May 01 11:28:57 then you can build some more May 01 11:29:21 mickeyl: bah, that sound sreally ugly :) May 01 11:29:43 morphis: of course it does, but first make it work, then make it beautiful May 01 11:29:50 jepp May 01 11:30:05 maybe it should later be a qt4-libs-native and a qt4-tools-native May 01 11:30:14 yes May 01 11:30:25 btw. whats shiboken for? May 01 11:30:55 and then make install? May 01 11:31:10 shiboken is the support library May 01 11:31:16 ok May 01 11:31:25 i don't know whether we need it for target and -native May 01 11:31:30 or only for target May 01 11:31:37 but at least for target, since pyside actually links to git May 01 11:31:39 s/git/it/ May 01 11:31:39 mickeyl meant: but at least for target, since pyside actually links to it May 01 11:32:20 btw no one wrote GUI for the dbus SIP client right? May 01 11:32:25 was it integrated in fso? May 01 11:32:37 no, work on ophoned stalled because of n900 May 01 11:32:43 ok May 01 11:32:45 can only do so far... May 01 11:32:56 we need more people May 01 11:32:59 indeed May 01 11:33:00 we're hardly three atm. May 01 11:33:05 that's not going to scale :/ May 01 11:33:13 :) May 01 11:33:14 we got some new devs May 01 11:33:15 where are all guys that got n900 developer devices? May 01 11:33:18 such as captainigloo May 01 11:33:29 that's what I was wondering May 01 11:33:34 yeah, current run of qt4-tools-native looks good May 01 11:33:50 dos1 says that he'll restart beeing active soon May 01 11:35:42 yeah, my primary focus now is to get to university - SHR on N900 is secondary, right after exams ;) May 01 11:49:26 hmm May 01 11:49:36 [CCode (cname = "uchar", cprefix = "PN_", has_type_id = false, cheader_filename = "gpds.h")] May 01 11:49:44 public const uchar PEP_TYPE_GPRS; May 01 11:49:59 leads to gisicomm.c:8115:129: error: 'SS_PEP_TYPE_GPRS' undeclared (first use in this function) May 01 11:50:02 ? May 01 11:51:53 GIsiClient.GPDS.PEP_TYPE_GPRS May 01 11:52:10 mickeyl: why does vala add SS_ instead of PN_ here? May 01 11:58:40 mickeyl: and for this one I would need some help :) http://pastebin.com/zfxK50UR May 01 12:17:43 hi May 01 12:18:31 I would like to try gnutoo's fso-voicecall for qsd (the thing that enables audio routing on nexus, leo, desire, etc) May 01 12:18:47 mickeyl: if I pull org.oe.dev and build shr-image , will it be included already ? May 01 12:23:27 $ git pull May 01 12:23:27 git.freesmartphone.org[0: 134.169.172.109]: errno=No route to host May 01 12:39:06 dcordes: looks like it's down for me too May 01 12:46:17 mickeyl: freesmartphone.org is down !!! May 01 13:50:02 ah freesmartphone.org is back May 01 13:56:00 mrmoku, what's the problem? May 01 14:08:37 playya__: I need to send an isi request (which is an uint8[]) and align it to 4byte boundaries May 01 14:09:51 playya__: http://pastebin.com/zBWthnTw is what ofono does May 01 14:10:17 playya__: the struct iovec from gisi is translated to be a plain uint8[] though May 01 14:10:26 maybe there is some vala-way to do that ? May 01 14:10:52 hmm May 01 14:12:42 it should be possible to bind the macro as a function May 01 14:13:05 the ALIGN4 macro is one thing... the missing struct iovec the other May 01 14:13:28 it's not in linux.vapi? May 01 14:13:43 hmm... it's a linux thing? May 01 14:13:49 gisi in ofono has it's own May 01 14:14:25 ok. it's posix: /usr/share/vala-0.12/vapi/posix.vapi May 01 14:14:40 public struct iovector { May 01 14:14:53 bbl. food and cinema May 01 14:14:58 ok, have fun May 01 14:15:04 maybe that hint will help me :) May 01 14:15:13 * mrmoku thought it would have been an ofono thing May 01 14:18:26 mrmoku: I have added some functionality to dialer-view.c. I added a 'suggest' button that pops up a stack of buttons with contacts that 'match' the telephone number you're typing. So, now I only need 3 digits and 2 buttons to call home, instead of 10 digits + 1 button. May 01 14:19:02 I need to clean it up, but I think I can mail you the diffs somewhere this week. May 01 14:19:14 Interested? May 01 14:27:09 ChristW: it's seems like a nice feature May 01 14:27:24 ChristW: we should include it in SHR for sure May 01 14:29:01 ChristW: yup, for sure interested May 01 14:30:01 ChristW: I would prefer to give you access to the repo instead of sending patches around though :) May 01 14:30:19 If you agree just send me your pub ssh key and I will give you access May 01 14:30:32 then you can commit whenever you think it is ready (and compiles ;) May 01 14:36:40 Ah, then I would need to make a public PGP key. Not a bad idea in any case. May 01 14:37:06 If everyone's OK with me getting commit access, we'll set that up. May 01 14:37:16 ChristW: SSH ... not PGP May 01 14:37:46 Ah, oh. Right... Still, I need one, I guess. Although I probably have one.... Let me check. May 01 14:37:53 and I don't think anybody is against access May 01 14:38:01 no :) May 01 14:38:33 * mrmoku instead thinks our repositories are bored by seeing always the same people's commits :) May 01 14:39:03 Indeed, I do have an id_rsa.pub somewhere. Does that count? May 01 14:39:17 looks good, yes May 01 14:40:35 ChristW: if you still know the password for the id_rsa keyfile :) May 01 14:41:42 morphis: var foo = new uint[8] { 0x0, 0x0, 0x0 }; May 01 14:41:54 is there foo.length() to get the size of the array? May 01 14:42:07 yes May 01 14:42:07 * mrmoku should just read the vala docs... yeah May 01 14:42:11 thanks :) May 01 14:42:13 it's a property May 01 14:42:19 so only foo.length May 01 14:42:25 ahh, good :) May 01 14:46:51 morphis: Uhm, I guess I do :-) But I need to generate a new one for the machine I'm working on, now, anyway. May 01 14:47:52 So, I guess I'll clean up the code (I've mis-used some calls... notably contact_list_add() and contact_list_fill() which do _way_ too much...), generate a public key, and get back to you. May 01 14:49:35 great May 01 14:58:04 morphis: time for my next vala problem :) ? May 01 14:58:28 or any other vala guru for that... May 01 14:58:28 var iov = new Posix.iovector[3] = { May 01 14:58:29 { req3, req3.length }, May 01 14:58:29 { apn, apn_len }, May 01 14:58:29 { pad, apn_pad_len } May 01 14:58:31 }; May 01 14:58:36 does not work May 01 14:58:49 gisicomm.vala:1720.17-1724.13: error: var declaration not allowed with non-typed initializer May 01 15:00:19 morphis: nvm. I'm just stupid :) May 01 15:02:13 const struct iovec iov[3] = { May 01 15:02:13 { (uint8_t *) req, sizeof(req) }, May 01 15:02:13 { cd->apn, apn_len }, May 01 15:02:13 { (uint8_t *) padding, apn_pad_len }, May 01 15:02:14 }; May 01 15:02:22 is better but does not work nevertheless May 01 15:02:34 gisicomm.vala:1721.17-1721.17: error: Expected array element, got array initializer list { req3, req3.length }, May 01 15:05:41 [ 4530.044] htcleo-keypad: dropping event due to full queue! May 01 15:05:50 I see this when pressing a key on my device May 01 15:06:01 nothing arrives in terminal inside X May 01 15:06:15 but I see stuff in tty May 01 15:06:25 it seems like it fails due to this error May 01 15:06:30 anybody seen such thing before ? May 01 15:56:37 mickeyl: I have now qt4-libs-native, apiextractor-native and generatorrunner-native compiled with OE May 01 15:57:23 mickeyl: which recipes do we need as native and as non-native? May 01 15:57:45 or do we need apiextract, generatorrunner and shiboken only as native? May 01 15:59:39 shiboken-native even compiles fine May 01 16:17:55 mickeyl: it seems like we run in the situation with pyside to decide which version we want: x11|maemo|... May 01 16:18:22 as it seems that we can't compile pyside with supporting non of these May 01 16:26:20 yes, pyside will need to be built for one windowing system May 01 16:26:30 (depending on whether we use fb or x11) May 01 16:27:08 i'm not sure about what we need as native and what not. My theory is: apiextractor-native and generatorrunner-native and shiboken-native + shiboken cross + pyside cross May 01 16:27:36 mrmoku: still struggling against vala? May 01 16:48:50 mickeyl: but isn't shiboken the plugin for the generatorrunner? May 01 16:48:56 yes May 01 16:49:09 it only generates C++ code right? May 01 16:49:17 i don't know May 01 16:49:22 what i understand is it has a runtime component May 01 16:49:29 which is often the case for binding generators May 01 16:49:39 e.g. if you compare with pyqt May 01 16:49:43 we have sip-native May 01 16:49:45 and python-sip May 01 16:49:52 the first being the actual binding generator May 01 16:49:56 the latter being the runtime library May 01 16:50:13 ok May 01 16:50:17 but all speculation May 01 16:50:23 the docs are bad, so i have to guess :) May 01 16:50:35 but if you ldd the .so if you see it being linked to libshiboken-python May 01 16:50:45 as when I am looking at the cmake files of pyside it does not support qws May 01 16:50:58 hm May 01 16:51:38 yeah, it looks noone did that yet May 01 16:51:44 but i'm confident it's just an oversight May 01 16:51:48 just remove the error in CMakeLists May 01 16:51:53 and lets see how far it gets May 01 16:52:16 ok, you are right: libshiboken-python2.7.so.1.0 => /usr/lib/libshiboken-python2.7.so.1.0 May 01 16:52:23 ok May 01 16:54:04 mickeyl: struggling with my dinner right now :) May 01 16:54:11 that's even better May 01 16:54:35 mrmoku: I hope it tastes :) May 01 16:54:40 the libgisi part for gprs is done and compiles even May 01 16:55:07 great May 01 16:55:35 morphis: just bred and bretzel.. tastes beter than vala problems though :) May 01 16:56:03 mickeyl: next thing is to use it from my pdp plugin May 01 16:56:10 should be easy May 01 16:56:22 yes, pretty much simple glue May 01 16:56:45 and I hope I can try if all this gives me gprs0 in then May 01 16:57:14 *nod* May 01 16:57:19 s/then/the end/ May 01 16:57:19 mrmoku meant: and I hope I can try if all this gives me gprs0 in the end May 01 17:01:13 what's state of our lis302dl.ko driver? It seems it's a nice bit of sw, and it also seems it never went "upstream"? May 01 17:05:11 mickeyl: so we have only to build the libshiboken from shiboken May 01 17:05:28 for the target, yeah May 01 17:06:25 mickeyl: if I read the cmake files for shiboken right it should disable the generatorrunner support when not detecting the right dependencies May 01 17:07:41 so it should compile without having apiextractor and generatorrunner compiled for the target May 01 17:08:18 ok May 01 17:09:08 will try that May 01 17:10:18 ok, it fails with "| /home/morphis/oe/buildroot/tmp/sysroots/x86_64-linux/usr/include/QtCore/qatomic_x86_64.h:121:29: error: impossible constraint in 'asm'" May 01 17:10:28 so it uses the wrong INCPATH .... May 01 17:10:28 yes May 01 17:10:38 that's where i got stuck as well May 01 17:10:48 didn't have time to further pursue the issue May 01 17:11:23 ok May 01 17:11:33 than I will look into the details of the issue May 01 17:11:41 freesmartphone.org: 03mok 07libgisi * r5f3203ea43af 10/data/libgisi.vapi: May 01 17:11:41 freesmartphone.org: libgisi.vapi: PEP_TYPE_GPRS is no resource May 01 17:11:41 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:11:54 freesmartphone.org: 03mok 07libgisi * r625da6c41e24 10/gisicomm/gisicomm.vala: May 01 17:11:54 freesmartphone.org: gisicomm: eliminate one more ErrorCode cast May 01 17:11:54 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:11:54 freesmartphone.org: 03mok 07libgisi * rd1713e9d8a15 10/data/libgisi.vapi: May 01 17:11:54 freesmartphone.org: vapi: give vsend a Posix.iovector and the length of it as parameters May 01 17:11:55 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:12:10 freesmartphone.org: 03mok 07libgisi * r92911cec3ed5 10/data/libgisi.vapi: May 01 17:12:10 freesmartphone.org: vapi: fix PEP_TYPE_GPRS and WRAN defines May 01 17:12:10 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:12:10 freesmartphone.org: 03mok 07libgisi * rc2012ff56916 10/gisi/libgisi.h: May 01 17:12:10 freesmartphone.org: gisi: add missing includes for pep.h and pipe.h May 01 17:12:11 freesmartphone.org: Thanks to morphis for finding out :) May 01 17:12:11 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:12:12 freesmartphone.org: 03mok 07libgisi * rfe3c3aa5e810 10/gisicomm/gisicomm.vala: May 01 17:12:13 freesmartphone.org: gisicomm: make clients remember their object id May 01 17:12:13 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:12:14 freesmartphone.org: 03mok 07libgisi * r24fbd62a84a6 10/gisicomm/gisicomm.vala: May 01 17:12:14 freesmartphone.org: gisicomm: implement (de-)activating the GPRS context May 01 17:12:15 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:12:15 freesmartphone.org: 03mok 07libgisi * r010c211f66bd 10/gisicomm/gisicomm.vala: May 01 17:12:16 freesmartphone.org: gisicomm: add an align4 helper May 01 17:12:16 freesmartphone.org: Signed-off-by: Klaus Kurzmann May 01 17:12:51 mickeyl: it links against native generatorrunner: http://pastie.org/1853901 May 01 17:17:20 hi guys! May 01 17:17:34 Evening! May 01 17:17:54 can someone point me to a (preferably HTTP) source of 'our' lis302 driver? May 01 17:18:37 DocScrutinizer: sure, hold on May 01 17:19:01 PaulFertser: o/ :-D May 01 17:19:29 mickeyl: it seems like it is better to split the shiboken into a native and a non-native part May 01 17:19:29 PaulFertser: do you know by any chance if and why our driver never hit mainstream May 01 17:19:48 mickeyl: as the export LD_LIB... is not suitable for the target build May 01 17:19:55 DocScrutinizer: http://git.openmoko.org/?p=kernel.git;a=blob;f=drivers/input/misc/lis302dl.c;h=d345bfb2718fba6c96c7a27d83b53c0a35c9d064;hb=andy-tracking May 01 17:19:58 if that works I will get drunk tonight ;) May 01 17:20:03 thanks :-) May 01 17:20:06 morphis: ok, sounds good May 01 17:20:15 DocScrutinizer: i guess that's because nobody ever cared enough May 01 17:20:15 mrmoku: skull ;) May 01 17:20:17 err May 01 17:20:20 sk^ol or so May 01 17:20:23 :) May 01 17:20:25 or Prost May 01 17:20:37 building now for the device May 01 17:20:39 bbiab, dinner May 01 17:20:40 good luck May 01 17:20:44 ~bon appetit May 01 17:20:45 bon appetit is probably smacznego. Guten Appetit. Eet Smakelijk. God Appetitt. Buon Appetito. Buen apetito Bom Apetite. buen apetito Smaklig måltid!. Hyvää ruokahalua. Bo Proveito Mahlzeit! May 01 17:21:16 Mahlzeit, probably... May 01 17:21:25 ISTR that Mickey is from .de. May 01 17:21:53 ChristW: mickeyl is multi-lingual... he even speaks vala fluently ;) May 01 17:22:08 * mrmoku does not know the correct vala-term for Mahlzeit though :P May 01 17:22:26 Well, I guess most here are multi-ligual... May 01 17:22:44 yup... and probably very few native english speakers :) May 01 17:23:31 Not here in this room/kitchen! May 01 17:25:45 Oh yeah, unrelated but problematic: When I run Navit (not NavitD), the screen does not turn off. Is there a good reason for this? May 01 17:29:03 ChristW, check the display's state May 01 17:29:09 PaulFertser: I'm going to check that implementation to see 'if I like it'. What would it take to get it upstream? May 01 17:29:40 playya_: In the 'lock' screen, the display is not shown as 'requested'. May 01 17:29:58 hmm. ok May 01 17:30:05 DocScrutinizer: it would take someone who understands kernel programming reasonably well to stand up as a maintainer and "defender" for that version, especially given there's other with an incompatible api. May 01 17:30:34 yeah, so odds are it'll never happen :-P May 01 17:31:29 this 'other' is that fsckdup joystick implemetation lis3lv02 ? May 01 17:31:46 DocScrutinizer: it depends. Usually better solutions find their place inside the kernel if the person promoting them is persistent and smart enough. May 01 17:31:50 I guess. May 01 17:32:05 I'm neither May 01 17:46:05 PaulFertser: btw. if we ever wanted the platform_battery driver to get upstream i think we should turn it into a specific gta02_battery driver May 01 17:46:49 larsc: probably so. May 01 17:48:53 mickeyl: yes, it's using the wrong Qt path: -- Found Qt-Version 4.7.2 (using /home/morphis/oe/buildroot/tmp/sysroots/x86_64-linux/usr/bin/qmake2) May 01 17:49:59 morphis: why is this the wrong path? May 01 17:50:21 as it should use the target version of qt, not the native one May 01 17:50:45 ok May 01 17:53:53 morphis: Are you using a CMake buildystem? May 01 17:54:16 darkh: I try to build shiboken (part of pyside) which uses cmake May 01 17:54:51 In that case i can probably help you May 01 17:55:00 yes? May 01 17:55:05 that would be great May 01 17:55:29 there is find_package(Qt4 4.5.0) in the cmake file May 01 17:55:46 we should discuss this private... it is rather complicated May 01 18:06:28 Hmmm, I have a problem. I've #include'd , and then I use 'struct GList *' in a function declaration. But, gcc gives me a warning... May 01 18:06:41 I'll copy/pastie some code... May 01 18:08:33 http://pastebin.com/cWMfK1y9 May 01 18:27:48 ChristW: try a typedef May 01 18:27:58 or rather May 01 18:28:06 are you sure GLIst is a struct? May 01 18:28:36 GList* is an opaque type May 01 18:28:50 just remove the 'struct' qualifier and it'll work May 01 18:33:37 mmm... there is still one part missing May 01 18:33:41 setting the ip for gprs0 May 01 18:34:04 how's the progress? May 01 18:34:19 regarding gprs good May 01 18:34:20 since I was out all afternoon....I couldn't help May 01 18:34:22 ok May 01 18:34:23 nice May 01 18:35:36 mrmoku: check the other plugins May 01 18:35:46 the canonical way for us to do that atm. is via fsonetworkd May 01 18:35:54 we just report that we have a new default route May 01 18:36:24 e.g. in qmi May 01 18:36:26 this.connectedWithNewDefaultRoute( RMNET_IFACE, addr, mask, gway, dns1, dns2 ); May 01 18:37:33 ahh, great May 01 18:37:59 just have to parse the context activate indication which gives me all this May 01 18:38:03 and feed it to there May 01 18:38:04 yep May 01 18:42:16 mickeyl: we are on the way getting libshiboken to compile, darkh is the cmake profi :) May 01 18:42:39 awesome May 01 18:42:53 will be glad to see the resulting recipe May 01 18:43:05 meanwhile i'll fight against pyqt... May 01 18:43:18 they changed a lot of things since the last version that worked in OE :/ May 01 18:43:48 :) May 01 18:48:01 mickeyl: libshiboken compiles now for the target May 01 18:48:15 but I have one QA error for your: "ERROR: QA Issue with staging: shiboken.pc failed sanity test (tmpdir) in path /home/morphis/oe/buildroot/tmp/sysroots/armv7a-oe-linux-gnueabi/usr/lib/pkgconfig" May 01 18:48:55 it complains because the file is named shiboken.pc and not libshiboken.pc? May 01 18:50:24 not May 01 18:50:26 no, May 01 18:50:33 it's rather because of the content in the .pc file May 01 18:50:40 some variables point to tmpdir which they shouldn't May 01 18:50:55 jepp May 01 18:55:01 fun, pyqt has been broken for months now May 01 18:55:12 i guess noone has been using it May 01 18:55:56 :) May 01 18:56:07 you already switched to a newer version? May 01 18:56:11 i'm on it May 01 18:56:15 ok May 01 18:56:17 last real change is from march 2009 May 01 18:56:36 very old May 01 18:56:38 it has been broken once someone yanked the corresponding qt version May 01 18:56:46 s/once/since/ May 01 18:56:46 mickeyl meant: it has been broken since someone yanked the corresponding qt version May 01 18:56:56 working on bumping to the latest now May 01 18:57:16 if we get both, we can do our own benchmarsk May 01 18:57:56 mickeyl: | plugin.vala:57.9-57.25: error: The name `isimodem' does not exist in the context of `Pdp.NokiaIsi' May 01 18:57:59 | NokiaIsi.isimodem.gpds.activate( data.contextParams.apn, data.contextParams.user, data.contextParams.pw, ( err ) => { May 01 18:58:10 conflicting namespaces :) May 01 18:59:14 mickeyl: ok, but even if we do the benchmark we don't have the capabilities with pyqt we need to do some of the advanced qml stuff May 01 19:00:53 no? i thought they were roughly equivalent May 01 19:01:10 mrmoku: hmm May 01 19:01:38 mickeyl: no, pyqt is leaking the qmlRegisterType functionality May 01 19:01:44 lacking May 01 19:01:46 ok May 01 19:01:52 you can not register any QObject to QML without it May 01 19:02:19 lacking ... yes May 01 19:02:58 is there something like ::NokiaIsi to search from the root and not inside Pdp ? May 01 19:03:16 i thought so, but apparantly no longer May 01 19:03:21 i'm sure i used that before May 01 19:05:17 global::NokiaIsi May 01 19:05:47 oh, great... with :: then? like in c++? nice :) May 01 19:07:32 'global::' May 01 19:07:38 yeah May 01 19:07:53 strange literal, if you ask me May 01 19:07:55 but *shrug* May 01 19:08:19 :) May 01 19:08:45 | plugin.vala:66.9-66.24: error: The name `NokiaIsi' does not exist in the context of `(null)' May 01 19:08:48 | global::NokiaIsi.isimodem.gpds.deactivate(); May 01 19:08:51 hmm May 01 19:12:47 DocScrutinizer: btw, bunnie says: The Ware for November 2009 is the Openmoko Wikireader! It’s a very tidy device; well designed and well manufactured. May 01 19:12:49 hmm, yeah May 01 19:14:03 that's a problem May 01 19:14:59 hmm... can theModem have plugin specific data? May 01 19:17:02 the problem is less getting the instance May 01 19:17:16 more knowing about the namespace May 01 19:17:42 the pdp plugin knows nothing about the necessary types May 01 19:17:57 for that we would need to make a vapi for modem_nokia_isi May 01 19:18:26 a simpler way would be adding a property to the nokiaisi pdp plugin May 01 19:18:27 heh :/ May 01 19:18:36 and have the modem class set the gpds instance May 01 19:19:04 that should be sufficient May 01 19:19:32 ok, will try that May 01 19:20:05 the gpsd type will be known by giving --pkg gisicomm May 01 19:20:09 to the plugin May 01 19:22:35 yeah, that I added already May 01 19:22:49 and when do I set it from the modem? May 01 19:23:35 channel.vala::netinitialize May 01 19:23:48 need to do some ugly casting, but that's how it is May 01 19:24:07 eventually we can make sure that noone choses a wrong pdp plugin for the isi modem May 01 19:24:22 that means the pdp plugin must be loaded first? or does not matterß May 01 19:24:42 it doesn't matter May 01 19:24:52 the pdp plugin gets loaded from the modem May 01 19:25:05 good May 01 19:25:28 init is at mainloop runtime anways May 01 19:25:35 so everything should be loaded already May 01 19:25:43 you will probably have to do something like May 01 19:26:17 Pdp.NokiaIsi.gpds = NokiaIsi.isimodem.gpds; May 01 19:26:36 yes, if you want to use a global variabl May 01 19:26:37 e May 01 19:26:53 public GIsiClient.GPDS gpds { get; set; } May 01 19:27:04 probably set is enough? May 01 19:27:13 yeah May 01 19:28:24 var isipdp = theModem.pdphandler as Pdp.NokiaIsi; isipdp.gpds = NokiaIsi.isimodem.gpds May 01 19:28:26 or so May 01 19:28:43 bbl May 01 19:28:50 ok, thx May 01 19:33:27 PaulFertser: no wonder, it's mainly designed by cajak and me May 01 19:33:53 until they messed it up with that touchscreen instead of hw kbd May 01 19:35:06 well, now it's sold branded Medion via Conrad.de May 01 19:35:39 I hope it's still hackable when sold by medion May 01 19:35:44 if I am right, you are still working on making FSO/ SHR run on n900, right? May 01 19:35:58 DocScrutinizer: i meant a "thumbs up" from bunnie really worth a lot, so congratulations! May 01 19:35:59 main complaints: fumble ts-vkbd May 01 19:36:03 I mean, people here are working on it May 01 19:36:14 they are known to have made laptop where the BIOS has a cryptographic function to load only the authorized copy of microsoft windows May 01 19:36:19 PaulFertser: do you know how wikireader is doing? May 01 19:36:29 lindi-: no, no slightest idea May 01 19:36:34 that means that it's not possible to: May 01 19:36:38 see ^^ May 01 19:36:40 *reinstall another windows copy May 01 19:36:45 *install GNU/Linux May 01 19:37:05 onen|openBmap, yes you're right May 01 19:37:26 http://www.conrad.de/ce/de/product/876441/MEDIONR-P89615-MD-83020-WIKIREADER May 01 19:37:46 what is the purpose, FSO + SHR, and/or FSO + maemo, and/or FSO + Meego? May 01 19:37:49 are we gaining back some users? May 01 19:38:07 onen|openBmap, only FSO+SHR for now May 01 19:38:09 onen|openBmap: maemo and meego still suck :) May 01 19:38:17 there was a debian port by sre but it got abandoned May 01 19:38:20 GNUtoo|laptop: ok May 01 19:38:21 we moved forward May 01 19:38:28 and we will have calls very soon May 01 19:38:38 we know how calls work May 01 19:38:42 specially audio May 01 19:38:56 \o/ May 01 19:38:57 we just need to write the code now (proof of concept worked) May 01 19:39:05 on the modem side it's good too May 01 19:39:12 PaulFertser: well meego is rough on the egdes, and lacking functionalities. But maemo (just got an n900, and flashed it freshed today) seems quite polished and well furnished May 01 19:39:16 hi onen|openBmap btw May 01 19:39:16 mrmoku, is working on 3g May 01 19:39:23 but we lack sms and similar things May 01 19:39:26 but it's easy now May 01 19:39:47 onen|openBmap: maemo is such a PITA in so many regards that i do not even want to start discussing it... May 01 19:40:18 onen|openBmap: hehe for PaulFertser - maemo is rather decent except the blobs everywhere May 01 19:40:18 DocScrutinizer: Hallo. I will finaly be able to: 1. play with your usb host mode. 2. bring openbmap logger and more to your phone ;-) May 01 19:40:37 DocScrutinizer: if maemo was decent, Mer wouldn't have been created. May 01 19:40:45 exactly May 01 19:41:04 alas mer was better than meego is now, in many respects May 01 19:41:21 hi morphis, no news about the palm ping, I go in france very soon May 01 19:41:35 s/no news.*? May 01 19:41:38 as mer was a exact reimplementation of maemo on FOS base May 01 19:41:42 oops May 01 19:41:52 s/no news.*/no news.*?/ May 01 19:41:53 DocScrutinizer: for now, nokia left some people working on meego. let's hope this will soon lead to something working May 01 19:42:08 while meego is a chimera agnostic of handheld embedded idiosyncrasies May 01 19:42:10 Maemo sucks in that it: 1. _is_ a lousy debian fork instead of being close to upstream; 2. uses a sick buildsystem instead of something decent; 3. uses a gtk fork instead of upstream; 4. uses either ad-hoc or badly engineered solutions for too many things. May 01 19:42:52 what is mer GUI based on? May 01 19:43:14 PaulFertser: for what I know, I agree at least with 1. May 01 19:43:45 indeed armv7 port would have beneficied debian May 01 19:44:00 onen|openBmap: ah, and one more: 5. totally sick, unfriendly, braindamaged community, this concerns most users and developers alike. May 01 19:44:08 PaulFertser: indeed it's a fork, as Nokia didn't bother to get some nice stuff upstream. Same applies to OM/OE ;-D May 01 19:44:37 but once things work under the hood (FSO), what "desktop" env. do you see as good enough for everyday use? SHR seems pretty far away from maemo/android/etc. state in user interface, and apps / funcitonnalities May 01 19:44:43 DocScrutinizer: well, at least OE is not a fork of another distro. May 01 19:44:52 hmm May 01 19:45:28 but SHR/OM is :-P May 01 19:45:29 oe is not a distro May 01 19:45:45 PaulFertser: oh... couple of months ago, you were only telling me that the community was not too much of your liking. It seems this did not get any better :D May 01 19:46:10 hmmm,why do I always ctrl+w the irc instead of the browser page May 01 19:47:23 for me the main concern about maemo is freedom May 01 19:47:31 then there is problems with upstreams May 01 19:47:40 GNUtoo|laptop: i think OE can be considered to be a (slightly non-traditional) distro. May 01 19:47:54 I have spent last months under android, and if you want to install OSS apps, without ad, easily and without big G. looking over your shoulder, this is pretty much impossible. May 01 19:47:57 shr,micro,angstrom,kalelios etc.... May 01 19:48:04 PaulFertser: well, you know I'm way less fundamental about this whole upstream thing. And what really sucks on maemo isn't the kernel based on some fork, but the closed blobs for all the core apps like dialer, calendar etc that nail users to 2.6.28 May 01 19:48:06 are distros May 01 19:48:12 replicant is *the* android project that could reconcile me with android May 01 19:48:20 lol May 01 19:48:31 I know something about replicant, since I started it May 01 19:48:33 GNUtoo|laptop: i know but those are rather close. Main decisions are all done on the OE level. May 01 19:48:39 ok May 01 19:49:00 onen|openBmap, what android phone do you have? May 01 19:49:25 note that replicant is a distro, for the apps there is FDroid May 01 19:49:31 GNUtoo|laptop: htc magic. just saw yesterday on wiki that you were looking for someone to build image and test it ;-) May 01 19:49:35 it's a market-like free applications May 01 19:49:52 GNUtoo|laptop: I have been thinking about doing it, but first have to transfer my stuff from it to my n900 May 01 19:49:54 yes, it seem that there is some audio problems with it May 01 19:50:02 ok May 01 19:50:19 also we have a problem with dream/magic: they are not suported anymore by cyanogen May 01 19:50:39 *cyanogenmod May 01 19:50:50 GNUtoo|laptop: yes, I first heard about fdroid. goes indeed in direction of what I am looking for. just as with my computer, I want to install stuff without having to wonder if they are OSS, have ads, etc. May 01 19:50:52 so they work under replicant but we're stuck at froyo May 01 19:51:12 they for dream May 01 19:51:14 GNUtoo|laptop: indeed, that brought me to look for a new phone as well May 01 19:51:18 magic needs some work I think May 01 19:51:43 I use the nexusone, and apart the camera and the 3d pretty much everything is supported May 01 19:52:08 including accelerometers,2d acceleration(was tough) etc... May 01 19:52:11 GNUtoo|laptop: I think openbmap android logger has been submitted to fdroid, but not sure ;) May 01 19:52:17 altough you need some non-free firmwares May 01 19:52:20 like wifi bluetooth May 01 19:52:29 and audio card calibration database May 01 19:52:35 ok May 01 19:52:48 how does it work? May 01 19:52:59 does it depend on special ril features? May 01 19:53:19 definitely, that's openbmap ;-) May 01 19:53:36 ok May 01 19:53:40 GNUtoo|laptop: I don't think so (I am not the developer of it). I think since android 2 (.1?) some java API allows reading neighbour cells and so on May 01 19:53:49 maybe I'll have to add mcc/mnc/cellid reporting then May 01 19:53:56 ok May 01 19:54:00 the info used there mostly isn't the kind you get via a common general purpose API May 01 19:54:11 GNUtoo|laptop: it seems that some phones do not honor those api though May 01 19:54:26 not sure if we do but it would be very easy to add support for it May 01 19:54:34 just some AT commands in a callback May 01 19:55:12 I've even made a patch to trace the prpoprietary ril, that now work well(the patch) May 01 19:55:24 GNUtoo|laptop: well that's interesting. I may as well sell back my magic, and get a phone compatible with replicant then May 01 19:55:34 ok May 01 19:55:53 GNUtoo|laptop: if so, I will ask you for what model ;) May 01 19:55:54 note that the number of apps is quite limited in FDroid May 01 19:56:12 for now you can choose between the htc dream and the nexus one May 01 19:56:16 GNUtoo|laptop: I am no many apps user anyway May 01 19:56:19 since I've only theses 2 android phones..... May 01 19:56:30 GNUtoo|laptop: :D May 01 19:56:35 for instance there are not a lot of games May 01 19:56:39 there is wormux May 01 19:56:43 and some other sdl games May 01 19:56:46 but not much May 01 19:57:07 replica island needs 3d which we lack May 01 19:57:18 but wormux should work fine, apart the audio that lag a bit May 01 19:57:34 a bit hard to play tough May 01 19:57:53 you guys forgot about opencnc May 01 19:58:00 dcordes: ? May 01 19:58:03 openredalert May 01 19:58:05 sorry May 01 19:58:19 command & conquer red alert 1 port May 01 19:58:20 ah it's ported too? May 01 19:58:22 well of the engine May 01 19:58:30 it's in OE bro :) May 01 19:58:36 I tried gemrb and it expected a mouse => unplayable May 01 19:58:39 I played it on my leo in SHR :) May 01 19:58:40 wow nice May 01 19:58:52 * dcordes is a fan of C&C since 1995 May 01 19:58:56 we were talking about android and I was pointing the lack of games May 01 19:59:13 ah ok May 01 19:59:19 well don't know about android games May 01 20:00:10 dcordes, about the audio activator for fso May 01 20:00:13 there is a shell script May 01 20:00:23 ok let me cd to the git May 01 20:00:23 source your devshell May 01 20:00:29 and run that script May 01 20:00:37 it's even worse than a Makefile May 01 20:00:43 but still.... May 01 20:00:47 GNUtoo|laptop: thank your for the tip with the dev shell. it is gold ! May 01 20:00:51 it was rather something quick..... May 01 20:01:05 on a loosely related topic: javispedro made pre games run nder maemo, with some LD_PRELOAD magic May 01 20:01:05 if I want something better I'll have to integrate it in fso May 01 20:01:08 well, for now, I seems that maemo is still what is the closest to what I am looking for, with regards to OSS repositories to install apps, usability, apps quantity. I keep an eye on replicant though :) things are moving fast in the mobile area May 01 20:01:10 with proper autotools May 01 20:01:52 yes things move fasts....that's also a problem when we port to devices May 01 20:02:05 the device can be obsolete before we have the time to finish the port May 01 20:02:08 GNUtoo|laptop: indeed May 01 20:02:10 example: htc dream May 01 20:02:19 for GNU/Linux May 01 20:02:26 GNUtoo|laptop: "source devshell.sh; cd uttilities/fso-voicecall; ./fso-voicecall.sh" ? May 01 20:02:29 under replicant it was ported pretty quickeyly May 01 20:02:41 dcordes, something like that, yes May 01 20:02:56 devshell is not called devshell.sh May 01 20:03:00 but you got the idea May 01 20:03:11 GNUtoo|laptop: I feel that starting more or less with nexus one / n900 "generation", hardware is good enough to last some time, able to support OS updates May 01 20:03:12 and then May 01 20:03:20 scp fso-voicecall root@192.168.0.202: May 01 20:03:26 ssh root@192.168.0.202 May 01 20:03:31 ./fso-voicecall May 01 20:03:38 GNUtoo|laptop: ok: Compilation succeeded - 2 warning(s) May 01 20:03:44 ok nice May 01 20:03:48 ignore the warnings May 01 20:03:54 it's only a cast lacking May 01 20:04:04 ok now ? May 01 20:04:10 some conversion from NULL to the proper type May 01 20:04:21 now....I just said what to do: May 01 20:04:24 I don't understand these things anyway ;) May 01 20:04:31 GNUtoo|laptop> and then May 01 20:04:32 scp fso-voicecall root@192.168.0.202: May 01 20:04:32 ssh root@192.168.0.202 May 01 20:04:42 ./fso-voicecall May 01 20:05:02 where : is my shr rootfs ? May 01 20:05:26 basically under languages like C (unlike python etc...) there are types like strings integers etc... May 01 20:05:41 yes May 01 20:05:49 that is a program that must run under SHR May 01 20:05:50 ok May 01 20:05:58 if only those marketing drones at Nokia grew a brain and - instead of that meego shit - had simply opened up the closed bits of maemo5 and then decided to provide a linux BSP withm all their future smartphones May 01 20:06:18 DocScrutinizer51: sounds good May 01 20:06:40 indeed some companies have issues because they do not free enough code May 01 20:06:45 for instance palm had that issue too May 01 20:06:59 they were bought....maybe because of that May 01 20:07:16 also no X11 was a bad decision and the proprietary parts didn't help to port apps May 01 20:07:27 well guys what a luck we don't have to care about them :) May 01 20:07:36 so I eared that at the end they were left without a lot of apps May 01 20:07:38 DocScrutinizer: that would be relying on community to save R&D costs, and thus come back in the race on mobile market, being more open and (existing habits) community friendly. May 01 20:07:39 not sure if it's true May 01 20:07:55 dcordes, I care about freedom May 01 20:08:11 and I'm saying that freedom would have benefited them May 01 20:08:18 so for me it would have been good May 01 20:08:23 true May 01 20:08:42 DocScrutinizer: but this is not as good as the strategy of working with microsoft which has shown inability to step up into the market for years and a lot of money May 01 20:08:50 I don't care about theses companies but about what they produce(code,devices) May 01 20:08:55 an example: May 01 20:09:06 if a company like to prevent root access, I'm against it May 01 20:09:21 or close bootloaders, not release source code... May 01 20:09:25 they treat me like a pirate, then why would I take their side? May 01 20:09:55 I mean it would be against my interest to take their side May 01 20:09:59 of course. I should restate: with SHR we have the power to do it better. May 01 20:10:02 but in that case it's different May 01 20:10:10 that'S why I mean we don't need them :) only their hardware May 01 20:10:17 and their code May 01 20:10:28 dcordes: their hardware and the handbook how to use it... May 01 20:10:40 # ./fso-voicecall May 01 20:10:41 ** (process:459): DEBUG: fso-voicecall.vala:115: creating mainloop and file descriptor May 01 20:10:44 ** (process:459): DEBUG: fso-voicecall.vala:122: hooking on to fsogsmd May 01 20:10:46 ** (process:459): DEBUG: fso-voicecall.vala:134: --> loop May 01 20:10:48 on htcleo May 01 20:10:53 indeed with only the hardware you're back several years away with handleds.org May 01 20:10:59 dcordes, try to place a call May 01 20:11:03 ok May 01 20:11:06 like to an operator free number May 01 20:11:09 * dcordes calls his best friend 1212 May 01 20:11:10 GNUtoo|laptop: what about gta04. will it be a nice up to date open phone, or not? May 01 20:11:17 dcordes, lol May 01 20:11:31 GNUtoo|laptop: works, speaker. May 01 20:11:34 ! May 01 20:11:34 onen|openBmap, possible, I'm waiting to see May 01 20:11:40 dcordes, try microphone now May 01 20:11:51 I'm not sure at all that microphone would work May 01 20:12:10 it was very complicated to read that source code without running it May 01 20:12:12 :D it works! you'Re da man (normal "speakerphone" microphone and speaker) May 01 20:12:18 wow May 01 20:12:21 :D May 01 20:12:35 the shr dialer has a switch for speaker May 01 20:12:47 not sure if it works May 01 20:12:48 I would prefer a real open phone with decent hardware, rather than running after brand new hardware, but which is always crippled in a way or another by being closed in some way May 01 20:12:53 for the switch May 01 20:13:04 in fact it should not work.... May 01 20:13:11 but the microphone can work May 01 20:13:20 and in fact it does May 01 20:13:28 GNUtoo|laptop: maybe you can default to handset, and only go speakerphone on request ? May 01 20:13:37 yep it does :) May 01 20:14:11 dcordes, then I'll need to add theses bits to a router program May 01 20:14:16 a separated program May 01 20:14:28 I can't do that in the voicecall program May 01 20:14:29 GNUtoo|laptop: now to use SHR as a phone I need: additional handset mic and speaker routing mode (or handset only), suspend/resume May 01 20:14:32 :) May 01 20:14:45 if meego would've considered to adopt FSO for a core technology, it also would've been of a bit more interest to me May 01 20:15:05 dcordes, the more I give....the more you want :) but It was to be expected..... May 01 20:15:16 GNUtoo|laptop: why working on FSO/SHR, if you have replicant working? for a better "regular" gnu/linux system? May 01 20:15:22 GNUtoo|laptop: is it bad ? May 01 20:15:30 as it stands now, meego is an uninspired port of a laptop centric OS to handheld May 01 20:15:30 dcordes, it's humain May 01 20:15:35 GNUtoo|laptop: so it's good. May 01 20:15:47 dcordes, it's not good or bad, it's like that May 01 20:15:58 DocScrutinizer: you are a crazy and blind man, that would have saved costs again, what nokia seems to be fondly against May 01 20:16:03 onen|openBmap, I'll explain May 01 20:16:09 but it's long to explain May 01 20:16:38 long time ago I had a pma430: proprietary kenrel modules and 2.4 kernel at the time of a 2.6 kernel May 01 20:16:49 and shell scripts as build system May 01 20:16:52 nightmare May 01 20:16:59 then I bought an om-gta02 May 01 20:17:05 it was great etc... May 01 20:17:08 really great May 01 20:17:16 I ported wesnoth, got oe commit access etc.... May 01 20:17:48 but then it became outdated and the community shifted towards newer phones that were not free enough May 01 20:18:04 so I decided to port GNU/Linux to the htc dream May 01 20:18:11 since I wanted something to work quickely May 01 20:18:16 I did replicant May 01 20:18:27 but I still prefer GNU/Linux May 01 20:18:30 GNUtoo|laptop: the fact is I can't do these things on my own. but still I want to improve SHR on these devices. you just enabled in call audio on my leo, captainigloo's desire, ... . and I think it was a good cooperation. I don't see why we should label it you helping me May 01 20:18:32 because there is the tools I know May 01 20:18:35 the program I know May 01 20:18:37 and more programs May 01 20:18:44 the polish is just a question of manpower May 01 20:18:46 and of will May 01 20:18:51 for instance maemo is quite polished May 01 20:18:58 it's GNU/Linux and still it's polished May 01 20:19:01 but now.... May 01 20:19:14 more and more games and applications get ported to android May 01 20:19:30 but still..... May 01 20:19:53 there are still more programs and more libraries and tools that I know on GNU/Linux May 01 20:19:54 GNUtoo|laptop: sure android is the growing system. but history has shown that it can change quickly May 01 20:20:24 on android I cannot write gtk apps in python for instance May 01 20:20:25 GNUtoo|laptop: for me, a gnu/linux system is a "regualr" system, I feel at home on my phone as well as on my computer May 01 20:20:30 or vala apps in efl May 01 20:20:34 or console apps May 01 20:20:34 GNUtoo|laptop: I had the initial idea to try it, you wrote all the code, I tested it, added additional ideas .. etc May 01 20:20:49 GNUtoo|laptop: mickeyl added the idea to make it an fso thing May 01 20:21:12 GNUtoo|laptop: otherwise this will be pretty much the same as the time when I was working under linux, and using windows at home. 2 systems, twice as much things to learn (for no benefit) May 01 20:21:18 morphis: I'm missing something in the linux vapi... inet_ntop May 01 20:21:27 do we still have some linux_ext.vapi? May 01 20:21:30 dcordes, I took code from mickeyl, from the n900 cmtspeechtest rewritten in vala May 01 20:21:40 dcordes, and adapted to nexusone May 01 20:22:00 onen|openBmap, replicant is more polished for now May 01 20:22:08 and faster to port May 01 20:22:36 onen|openBmap, the question is rather: May 01 20:22:40 GNUtoo|laptop: more polished than what? May 01 20:22:47 is it worth abandoning SHR or replicant May 01 20:22:53 the response is no May 01 20:22:58 more polished than SHR May 01 20:23:03 GNUtoo|laptop: ok I am a bit puzzled about how you put everything above May 01 20:23:07 on phones like htcdream May 01 20:23:19 GNUtoo|laptop: maybe I just didn't understand your point May 01 20:23:34 dcordes, ok could you say what you don't understand May 01 20:24:00 thinks about someone that wants freedom on phones and don't care a lot about the way to get there May 01 20:24:01 22:14 < GNUtoo|laptop> dcordes, the more I give....the more you want :) but It was to be expected..... May 01 20:24:09 dcordes, ah ok May 01 20:24:23 dcordes, it's a humain thing May 01 20:24:30 dcordes, it's like that for me too May 01 20:24:36 could you restate what you are trying to tell me with this ? May 01 20:24:43 ok.. May 01 20:24:52 dcordes, how to explain.... May 01 20:24:57 aand it's what makes this project exist May 01 20:25:05 we all want to move on May 01 20:25:14 mickeyl: for the record... does not work May 01 20:25:15 | channel.vala:77.23-77.25: error: The symbol `Pdp' could not be found May 01 20:25:15 | var isipdp = (Pdp.NokiaIsi) theModem.pdphandler; May 01 20:25:26 guess I won't see it work today May 01 20:25:31 dcordes, for instance I want only phone calls, then I want music and then videos..... May 01 20:25:34 GNUtoo|laptop: I just regret that many efforts are done, but seems separetely: kde mobile, gtk mobile phone (whatever is the name), meego, FSO, ofono, qtmobile (not sure of the distribution's name), etc. May 01 20:25:41 dcordes, It was not a critique May 01 20:25:48 only an observation May 01 20:25:55 I am like that too May 01 20:26:28 onen|openBmap, yes it's the same with proprietary software: May 01 20:26:31 IOS May 01 20:26:33 windows phone May 01 20:26:35 blackberry May 01 20:26:37 simbian May 01 20:26:39 etc... May 01 20:26:42 GNUtoo|laptop: ok then I understood it wrong, sorry. I just don't want to feel bad about contributing to this project because I like it a lot. May 01 20:26:56 mickeyl: that and a missing Linux.inet_ntop is what is in the way of my first GPRS context activation with fso on n900 :) May 01 20:27:05 dcordes, your contributions are very welcome May 01 20:27:07 GNUtoo|laptop: it is just that I don't have the skill like most people here because I like the professional CS background May 01 20:27:07 * mrmoku off to bed May 01 20:27:10 gnight folks May 01 20:27:17 good night mrmoku May 01 20:27:41 GNUtoo|laptop: sure, but as long as they do it, it must bring enough cash to them. but with OSS, it would be good to work together to have at least *one* working system May 01 20:27:47 GNUtoo|laptop: this puts me in the situation to ask for many things if I want to help May 01 20:28:01 onen|openBmap, then it would have to fit everybody May 01 20:28:09 GNUtoo|laptop: but well, different ideas, different community spirits and aims, that's free software way of life, I guess May 01 20:28:13 dcordes, ah ok May 01 20:28:35 onen|openBmap, for instance I don't use meego because they have non-free 3d May 01 20:28:40 mrmoku: goog night May 01 20:28:41 so meego doesn't fit me May 01 20:29:03 but if it had free 3d or didn't depend on 3d....I would have considered it May 01 20:29:06 Also good night for and from me... See ya tomorrow or on Tuesday! May 01 20:29:12 mrmoku, good night May 01 20:29:24 ChristW_ZZzz: good night May 01 20:29:34 GNUtoo|laptop: I also think it's much better to have something like efl May 01 20:29:54 I think too, because it doesn't depend on non-free 3d May 01 20:30:12 at the same time it saves performance May 01 20:30:21 yes May 01 20:30:28 GNUtoo|laptop: my feeling so far, is that the SHR/FSO community is the only which is really trying to make an OSS system. no proprietary stuff, and as much as possible regular distribution May 01 20:31:09 onen|openBmap, yes we're the most free GNU/Linux one, but we're not perfect....there is gllin for om-gta01 May 01 20:31:12 GNUtoo|laptop: with the calls working now, I'm very enthusiastic to polish the leo shr-image to a state we can make it available to non-technical people May 01 20:31:23 dcordes, nice May 01 20:31:36 dcordes, so I should do a router May 01 20:31:44 I can try to find the time May 01 20:32:04 but the AudioHardware.cpp is hard to read May 01 20:32:24 the code is easy at first sight but when you're really looking for something it's hard May 01 20:32:30 GNUtoo|laptop: well the road will be long. maybe gta04 will be the next quite satisfactory step May 01 20:32:31 s/is/seem/ May 01 20:32:33 GNUtoo|laptop meant: the code seem easy at first sight but when you're really looking for something it's hard May 01 20:32:56 or maybe it's just me that am too tired May 01 20:33:05 (I'm a bit exausted theses days) May 01 20:33:26 (bad food => some diarea) May 01 20:33:48 hope you recover quickly! May 01 20:33:56 I hope too since I must go in france soon May 01 20:33:59 GNUtoo|laptop: I still think that mobile phone are now so powerful, that having *one* model working well, could allow to make it last, and thus build a community big enough to see many aspects (apps, interfaces) improve May 01 20:34:01 for the efl days May 01 20:34:23 onen|openBmap, a bit like openmoko? May 01 20:34:44 one phone, big community at its times May 01 20:34:51 shared kernel May 01 20:35:06 but not much beside kernel May 01 20:35:08 GNUtoo|laptop: what is the use of the start call function? what does it do and what is the difference to setting the speaker/mic mode ? May 01 20:35:09 that's why fso was bord May 01 20:35:12 *born May 01 20:35:50 dcordes, you mean the ioctl? May 01 20:36:19 GNUtoo|laptop: reading routing.c --help I see two things: an event (start or stop call) and a mode (speakerphone) May 01 20:36:37 GNUtoo|laptop: indeed I think the OM community was on the right path, until the business aspects put it to an end May 01 20:36:51 do_ioctl(AUDIO_START_VOICE,path); May 01 20:36:52 that? May 01 20:37:00 GNUtoo|laptop: I think so May 01 20:37:01 ah routing.c May 01 20:37:05 yes May 01 20:37:08 not sure about code level May 01 20:37:11 I tought you were talking about fso-voicecall May 01 20:37:19 forget about START_VOICE May 01 20:37:24 right ! May 01 20:37:25 it's used to activate the call audio May 01 20:37:26 that'S what I mean May 01 20:37:32 ah ok May 01 20:37:34 GNUtoo|laptop: I especially feel it since I try to find another phone. All have issues (closed stuff, ads, no OSS apps). OM was the closest (software side) to what I wish May 01 20:37:40 so not routing.c but fso-voicecall May 01 20:37:56 GNUtoo|laptop: do you perform something like START_VOICE in fso-voicecall ? May 01 20:38:05 dcordes, yes of course May 01 20:38:10 that's the magic thing that makes it work May 01 20:38:29 GNUtoo|laptop: ok. and you also tell it which mode, right ? May 01 20:38:39 GNUtoo|laptop: (speaker phone right now) May 01 20:39:00 not exactly May 01 20:39:12 let me re-look the code of AudioHardware.cpp May 01 20:39:18 but I'm exausted today May 01 20:39:34 GNUtoo|laptop: I am asking because I don't understand the need for two programs (starter and router ) May 01 20:39:53 because of the design May 01 20:40:10 the voicecall only activate the voicecall May 01 20:40:23 how to tell it to switch to headphones? May 01 20:40:34 unless I integrate it well in fsoaudiod May 01 20:40:45 it's just a daemon May 01 20:40:50 that listen dbus May 01 20:40:54 and if there is call May 01 20:40:57 it get noticied May 01 20:41:01 and run that ioctl thing May 01 20:42:14 let me verify May 01 20:42:39 it does that: May 01 20:43:27 path[0] = rx_acdb_id; May 01 20:43:27 path[1] = tx_acdb_id; May 01 20:43:27 ioctl(fd, AUDIO_START_VOICE, &path) May 01 20:44:15 with: May 01 20:44:21 rx_acdb_id = getACDB(MOD_PLAY, device); May 01 20:44:34 and: May 01 20:44:37 tx_acdb_id = getACDB(MOD_REC, device); May 01 20:45:02 with getACDB beeing the routing May 01 20:48:13 dcordes, do you have a better idea to implement it? May 01 20:48:18 look in getACDB May 01 20:48:34 there is only the choice between: May 01 20:48:54 * headset or headsets withoutmic May 01 20:49:03 *speakers May 01 20:49:11 *headset and speakers May 01 20:49:21 I didn't find the handset May 01 20:49:27 that's why I didn't do it that way May 01 20:49:56 hmmm May 01 20:49:59 GNUtoo|laptop: let me look May 01 20:50:04 GNUtoo|laptop: I have seen handset ioctls May 01 20:50:09 it also skips the acdb while in call May 01 20:50:14 ok May 01 20:50:34 LOGD("Switching audio device to "); May 01 20:50:34 if (device == SND_DEVICE_HANDSET) { May 01 20:50:34 out_device = HANDSET_SPKR; May 01 20:50:34 mic_device = HANDSET_MIC; May 01 20:50:35 LOGD("Handset"); May 01 20:50:48 l726 May 01 20:50:58 ok May 01 20:51:31 if I grep HANDSET_MIc May 01 20:51:39 yes May 01 20:51:42 but that's for the mic May 01 20:51:43 right? May 01 20:52:01 } else if (mMode == AudioSystem::MODE_IN_CALL May 01 20:52:01 && hac_enable && mHACSetting && May 01 20:52:01 device == (int) SND_DEVICE_HANDSET) { May 01 20:52:01 LOGE("Update acdb id to hac profile."); May 01 20:52:01 rx_acdb_id = ACDB_ID_HAC_HANDSET_SPKR; May 01 20:52:03 tx_acdb_id = ACDB_ID_HAC_HANDSET_MIC; May 01 20:52:19 what is hac profile already? May 01 20:52:19 well there are always two things if I understand it correctly: out and mic device May 01 20:52:30 each of those 'modes' sets a value for out and one for mic May 01 20:52:59 I suspect hac is handset May 01 20:53:08 ok May 01 20:53:19 d return do_route_audio_dev_ctrl(device, mMode == AudioSystem::MODE_IN_CALL, rx_acdb_id, tx_acdb_id); May 01 20:53:54 does RX and TX refer to out_device mic_device ? May 01 20:54:07 for instance vr is voice recognition May 01 20:54:07 * onen|openBmap is off for now May 01 20:54:11 but HAC? May 01 20:54:12 good night onen|openBmap May 01 20:54:13 good night May 01 20:54:28 good night May 01 20:54:37 GNUtoo|laptop: thanks for all the talk! May 01 20:54:50 dcordes, yes it depends but here yes May 01 20:54:56 np May 01 20:55:05 there is also mhac May 01 20:55:34 property_get("htc.audio.hac.enable", value, "0"); May 01 20:55:34 hac_enable = atoi(value); May 01 20:55:35 LOGV("Enable HAC function: %d", hac_enable); May 01 20:55:45 htc.audio.hac.enable May 01 20:58:24 GNUtoo|laptop: May 01 20:58:26 hearing aid May 01 20:58:28 LOGD("HAC enable: Setting in-call volume to maximum.\n"); May 01 20:58:58 hmmm May 01 20:59:05 GNUtoo|laptop: maybe we see it in the HANDSET context because hearing aid is only used in hadnset :) May 01 20:59:08 maybe let's ask in htc-linux? May 01 20:59:33 it might be good to further cooperate with the android heads, yes May 01 20:59:51 GNUtoo|laptop: http://forum.xda-developers.com/showthread.php?t=818392&page=9 May 01 21:00:02 EDIT (FYI): if you're interested, if you set "htc.audio.hac.enable=1", this will enable the Hearing Aid Compatible feature which increases the earpiece volume. tried it and it works; it definitely increases the in-call earpiece volume when using kernels with/without the audio mod. Does anyone know what the "htc.audio.alt.enable" setting is for? Thanks! May 01 21:00:31 yes May 01 21:00:35 do you want to try it? May 01 21:00:42 since it *increase* the volume May 01 21:00:46 to me this is low priority May 01 21:01:01 what is important to me: make handset routing default May 01 21:01:21 yes that's why we're looking at that May 01 21:01:25 because people prefer handset mode over speaker if they have to chose May 01 21:01:26 and that's why HAC came up May 01 21:01:34 I don't know where is handset May 01 21:01:35 true May 01 21:01:51 for in calls May 01 21:02:29 acdb_id = ACDB_ID_ALT_SPKR_PLAYBACK; ? May 01 21:02:47 beside I can't test since it's too late May 01 21:02:53 so I can make the changes in a branch May 01 21:02:55 and you test May 01 21:04:21 but on my nexus I remember something May 01 21:04:24 I route somewhere May 01 21:04:31 and then it kept beeing routed there May 01 21:05:42 case SND_DEVICE_SPEAKER: May 01 21:05:42 if (vr_mode_enabled == 0) { May 01 21:05:42 acdb_id = ACDB_ID_INT_MIC_REC; May 01 21:05:42 } else { May 01 21:05:44 acdb_id = ACDB_ID_INT_MIC_VR; May 01 21:05:47 } May 01 21:05:49 break; May 01 21:06:14 vr is like I said before May 01 21:06:18 GNUtoo|laptop: can we take from this that: ACDB_ID_INT_MIC_REC is used in speaker mode and ACDB_ID_INT_MIC_VR in non-speaker mode? non-speaker mode might be handset May 01 21:06:24 voice recognition May 01 21:06:25 so.... May 01 21:06:29 oh ok May 01 21:06:44 acdb_id = ACDB_ID_INT_MIC_REC; May 01 21:06:46 that is valid May 01 21:06:48 not the VR part May 01 21:06:50 but.... May 01 21:07:01 path[1] = ACDB_ID_INT_MIC_REC; //mic May 01 21:07:06 that is from my source code May 01 21:07:25 and that is in rec May 01 21:07:44 try to put your editor fulls screen May 01 21:07:47 like in height May 01 21:07:53 it'll show more May 01 21:08:04 because it seem that we are going in a circle May 01 21:08:13 I don't know the expression in english May 01 21:08:25 but it's like following a circle May 01 21:08:33 at some point you end up where you started May 01 21:08:55 we must try to avoid that May 01 21:08:58 yea my we should look at a differen point May 01 21:09:07 and should add android people from #htc-linux who know this stuff May 01 21:09:10 maybe the headers? May 01 21:09:18 I also need to get to bed. semester starts tomorrow May 01 21:09:27 ah headers are good idea May 01 21:10:36 we have as candidates: May 01 21:10:44 #define ACDB_ID_HAC_HANDSET_SPKR 207 May 01 21:10:56 #define ACDB_ID_HEADSET_PLAYBACK 407 May 01 21:10:58 ahah May 01 21:11:04 sounds good May 01 21:11:07 like handset :) May 01 21:11:13 sorry was headset May 01 21:11:21 #define ACDB_ID_HEADSET_RINGTONE_PLAYBACK 408 May 01 21:11:30 #define ACDB_ID_SPKR_PLAYBACK 607 May 01 21:11:34 lol didn't even notice. the words look the same May 01 21:11:35 #define ACDB_ID_ALT_SPKR_PLAYBACK 609 May 01 21:11:39 yes May 01 21:11:44 sorry for creating confusion May 01 21:11:59 in the source code I've: May 01 21:12:07 path[0] = ACDB_ID_SPKR_PLAYBACK; //output May 01 21:12:16 so that eliminate SPKR_PLAYBACK May 01 21:12:26 ok May 01 21:12:35 so we can try ALT_SPKR May 01 21:12:42 i.e. ACDB_ID_SPKR_PLAYBACK is what sets the speakerphone speaker in the binary I just tested ? May 01 21:12:49 or the HAC stuff May 01 21:12:59 yes May 01 21:13:01 ok May 01 21:13:49 52 May 01 21:13:50 #define HANDSET_MIC ADSP_AUDIO_DEVICE_ID_HANDSET_MIC May 01 21:13:50 53 May 01 21:13:51 #define HANDSET_SPKR ADSP_AUDIO_DEVICE_ID_HANDSET_SPKR May 01 21:13:53 what about them ?? May 01 21:13:57 I'll do somthing May 01 21:14:02 I add all the acdb May 01 21:14:05 I think those are the ones May 01 21:14:06 and you modify the source code May 01 21:14:14 no that are not ACDB_ID May 01 21:14:15 it couldn't sound better than HANDSET_MIC/SPKR May 01 21:14:22 ok nvm then May 01 21:15:20 ok then I will recompile with #define ACDB_ID_HAC_HANDSET_MIC 107 May 01 21:15:20 70 May 01 21:15:21 #define ACDB_ID_HAC_HANDSET_SPKR 207 May 01 21:15:23 and test it May 01 21:15:29 ok ? May 01 21:15:35 second May 01 21:15:43 I'll add all the ID May 01 21:16:23 I can order a wired headset on ebay so we can try later on May 01 21:16:36 I bet android reads some audio jack gpio to set it May 01 21:18:27 let's see if I can do it on my own. dcordes copy paste training May 01 21:19:39 ok pushed May 01 21:19:47 now you can replace with the ID you want May 01 21:19:57 -const int ACDB_ID_SPKR_PLAYBACK = 607; May 01 21:19:57 -const int ACDB_ID_INT_MIC_REC = 507; May 01 21:19:57 +const int ACDB_ID_HAC_HANDSET_SPKR 207; May 01 21:19:57 +const int ACDB_ID_HAC_HANDSET_MIC 107; May 01 21:20:14 I've added all const id May 01 21:20:42 basically vala is a java-like programming language that is compiled in C that is compiled in object code as usual May 01 21:20:52 so const is like #define May 01 21:20:57 and get translated in define May 01 21:21:07 ouf.. May 01 21:21:36 I should verify it tough May 01 21:21:52 GNUtoo|laptop: how to chose the mode now ? as I pasted above ? May 01 21:21:59 git pull May 01 21:22:02 and then do that: May 01 21:22:06 done May 01 21:22:11 pick your favorite text editor May 01 21:22:14 open the .vala file May 01 21:22:20 mhm May 01 21:22:42 see the const int May 01 21:22:44 pick one May 01 21:23:01 for instance ACDB_ID_HAC_HANDSET_SPKR May 01 21:23:13 see that line: May 01 21:23:15 path[0] = ACDB_ID_SPKR_PLAYBACK; //output May 01 21:23:18 replace by: May 01 21:23:31 path[0] = ACDB_ID_HAC_HANDSET_SPKR; //output May 01 21:23:40 and then recompile May 01 21:23:43 - path[0] = ACDB_ID_SPKR_PLAYBACK; //output May 01 21:23:43 - path[1] = ACDB_ID_INT_MIC_REC; //mic May 01 21:23:43 + path[0] = ACDB_ID_HAC_HANDSET_SPKR; //output May 01 21:23:43 + path[1] = ACDB_ID_HAC_HANDSET_MIC; //mic May 01 21:23:53 yes May 01 21:23:56 exactly May 01 21:24:10 and try it May 01 21:25:09 ** (process:562): DEBUG: fso-voicecall.vala:124: creating mainloop and file descriptor May 01 21:25:12 * dcordes calls 1212 May 01 21:25:15 ** (process:562): DEBUG: fso-voicecall.vala:131: hooking on to fsogsmd May 01 21:25:17 ** (process:562): DEBUG: fso-voicecall.vala:143: --> loop May 01 21:25:25 btw May 01 21:25:33 don't forget to kill the old fso-voicecall May 01 21:25:42 ** (process:562): DEBUG: fso-voicecall.vala:82: onCallStatusSignal 1 w/ status FREE_SMARTPHONE_GSM_CALL_STATUS_OUTGOING May 01 21:25:46 ** (process:562): DEBUG: fso-voicecall.vala:70: issuing an ioctl May 01 21:25:48 ** (process:562): DEBUG: fso-voicecall.vala:82: onCallStatusSignal 1 w/ status FREE_SMARTPHONE_GSM_CALL_STATUS_ACTIVE May 01 21:25:52 ** (process:562): DEBUG: fso-voicecall.vala:70: issuing an ioctl May 01 21:25:53 oh I didn'T kill ! May 01 21:25:56 ** (process:562): DEBUG: fso-voicecall.vala:73: Unknown error 4294967295 May 01 21:25:59 speakerphone :( May 01 21:26:30 forget about the error May 01 21:26:40 it's not important May 01 21:26:49 basically it issue an ioctl twice May 01 21:26:52 oops sorry, I did kill it before May 01 21:26:53 I can fix it May 01 21:26:57 but I must test May 01 21:27:01 ok May 01 21:27:01 it died with the remote terminal May 01 21:27:13 anyway retry with a new const May 01 21:27:15 I will reboot May 01 21:27:23 ok, better May 01 21:27:26 so previous ioctl is washed May 01 21:27:37 maybe it's some kind of hicup May 01 21:28:02 GNUtoo|laptop: on how many of your phones are you running shr ? May 01 21:29:47 freerunner May 01 21:29:59 htcdream(one of the 2 I have) May 01 21:30:06 n900 May 01 21:30:19 on nexusone I mosltly run replicant May 01 21:30:39 but it is possible (now even with calls :) May 01 21:30:52 GNUtoo|laptop: still speaker May 01 21:31:06 I need/want: May 01 21:31:08 *alsa May 01 21:31:08 GNUtoo|laptop: in and out May 01 21:31:10 *wifi May 01 21:31:19 ok I've an idea May 01 21:31:29 we need to route it before or during or after May 01 21:31:34 but with a separate route program May 01 21:31:38 GNUtoo|laptop: I have wifi on htcleo (bcm4329) tested in ubuntu. (not shr) May 01 21:31:42 as I wanted to do first May 01 21:31:51 yes but May 01 21:31:55 try that May 01 21:31:58 ifconfig eth0 up May 01 21:32:02 iwlist wlan0 scan May 01 21:32:06 oops May 01 21:32:10 eth0 I meant May 01 21:32:20 GNUtoo|laptop: I am using GUI only May 01 21:32:22 GNUtoo|laptop: wicd May 01 21:32:35 ok May 01 21:32:38 GNUtoo|laptop: I only load the module with correct firmware and it works out of the box May 01 21:32:39 maybe try it later then May 01 21:32:42 GNUtoo|laptop: with scanning May 01 21:32:46 ah? May 01 21:32:48 GNUtoo|laptop: ping me about it May 01 21:32:54 ok May 01 21:32:56 I can give you debug output or a shell May 01 21:32:56 thanks a lot May 01 21:33:03 just run that command May 01 21:33:14 it's too late for me now May 01 21:33:19 everybody is sleeping May 01 21:33:20 I only just tested it few hours ago. I'm preparing a new mass release of ubuntu on the hd2 May 01 21:33:29 so calling 4242 and waking everybody is not an option May 01 21:33:34 ok nice May 01 21:33:47 leo has bluetooth too? May 01 21:33:50 yes May 01 21:33:59 under ubuntu? May 01 21:34:09 I am also progressing with that: it's also in the wiki http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo May 01 21:34:13 http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo/Bluetooth May 01 21:34:23 wow May 01 21:34:25 I reconstructed the steps described in bluetooth wiki May 01 21:34:37 it's from roy shabazian on mobile-linux-discuss May 01 21:34:46 23:32 < GNUtoo|laptop> just run that command May 01 21:34:49 which ? May 01 21:35:00 your interface is eth0? May 01 21:35:05 if so do: May 01 21:35:06 yes May 01 21:35:09 ifconfig eht0 up May 01 21:35:13 iwlist eth0 scan May 01 21:35:17 and pastbin the output May 01 21:35:24 okI will find my ubuntu sd May 01 21:35:40 3 linux based os on my hd2 :) May 01 21:35:55 lol May 01 21:37:02 pretty nice if you keep in mind we started off with wince only May 01 21:37:14 indeed May 01 21:37:18 and it was very hard May 01 21:37:20 I remember it May 01 21:37:26 the segfault thing May 01 21:37:30 yes indeed May 01 21:37:37 I had that in mind May 01 21:37:55 months of no clue until cotulla looked up what htc bravo bootloader wrote to some registers May 01 21:38:16 I have a deep emotional connection to this device haha :) May 01 21:38:25 * dcordes booting ubuntu May 01 21:39:13 GNUtoo|laptop: in above wiki page you can see how I use the modm in ubuntu: ofono with gnome gui May 01 21:39:23 GNUtoo|laptop: called sphone May 01 21:39:27 ok May 01 21:39:34 GNUtoo|laptop: I would love to replace ofono with shr but I don't know about gui .. May 01 21:39:39 s/shr/fso/ May 01 21:39:40 dcordes meant: GNUtoo|laptop: I would love to replace ofono with fso but I don't know about gui .. May 01 21:39:52 it's a lot of work May 01 21:39:55 you'll need: May 01 21:39:57 *FSO May 01 21:40:00 *SHR UI May 01 21:40:02 *illume May 01 21:40:12 s/illume/efl May 01 21:40:24 maybe I can convince the author of sphone that freesmartphone is superior to ofono May 01 21:40:35 he wrote patches for ofono to support msm7ka devices May 01 21:40:47 that would be easier.... May 01 21:40:50 rhodium May 01 21:40:51 rhobuntu May 01 21:40:59 they even have sound May 01 21:41:19 maybe he can adpt sphone to fso May 01 21:41:32 it would be pretty nice to have a gnome integrated frontend to fso May 01 21:41:36 also for other distros May 01 21:41:46 yes May 01 21:43:01 root@nexusone ~ # iwlist eth0 scan May 01 21:43:02 eth0 Interface doesn't support scanning : Invalid argument May 01 21:43:10 that's my problem with nexusone wifi May 01 21:43:14 GNUtoo|laptop: ok I can see the essid's in the wicd-client gui May 01 21:43:21 GNUtoo|laptop: now I will kill it and run scan manually May 01 21:43:25 yes May 01 21:43:36 # ps -A | grep wicd May 01 21:43:36 3083 ? 00:00:01 wicd May 01 21:43:36 3089 ? 00:00:00 wicd-monitor May 01 21:43:36 3092 pts/0 00:00:04 wicd-client May 01 21:43:49 if it works also tell captainigloo May 01 21:43:53 he has the same issue May 01 21:44:27 I will query you the results to save my neighbour's privacy :) May 01 21:44:51 ok, so it worked May 01 21:46:54 if cotulla unblock alsa May 01 21:46:58 we would have: May 01 21:46:59 *alsa May 01 21:47:01 *wifi May 01 21:47:03 *bluetooth May 01 21:47:06 *telephony May 01 21:47:15 GPS is doable May 01 21:47:20 without reversing it May 01 21:47:28 we just need to adapt the android activator libs May 01 21:47:52 for the sensor they're reversed May 01 21:47:58 but I don't know the interface May 01 21:48:14 GNUtoo|laptop: yep. the firmware I use is the same as in android May 01 21:48:17 GNUtoo|laptop: run "modinfo bcm4329" May 01 21:48:19 parm: firmware_path:string May 01 21:48:22 there is a firmware_path written in the kernel module May 01 21:48:24 but you can change it May 01 21:48:27 modprobe bcm4329 firmware_path=/lib/firmware/fw_bcm4329.bin May 01 21:48:29 GNUtoo|laptop: if I load the module without correct fw (fw path) I get empty scanning May 01 21:49:12 ah? May 01 21:49:14 let me try May 01 21:49:21 but the rest work with the empty fw path? May 01 21:49:29 nothing May 01 21:49:40 empty scanning is just one symptom May 01 21:50:16 if bcm4329.ko doesn't find the correct firmware file it's defunct May 01 21:50:41 I think it finds my firmware May 01 21:50:59 try setting the path manually to be sure May 01 21:51:12 load it manually with the parameter as above May 01 21:52:14 eth0 Interface doesn't support scanning : Invalid argument May 01 21:52:16 as I tought May 01 21:52:30 ok May 01 21:52:36 bad firmware or bad module :) May 01 21:52:39 I think bad module May 01 21:52:43 do you want mine ? May 01 21:52:50 no May 01 21:52:54 it won't work May 01 21:52:57 different kenrel May 01 21:53:45 but your kernel sources...yes May 01 21:53:48 it's replaceable May 01 21:53:51 that would be interesting May 01 21:53:55 well I am talking about the sauce May 01 21:54:00 sorry May 01 21:54:56 dcordes: which driver are you using ? May 01 21:55:00 for wifi May 01 21:55:14 captainigloo: hi May 01 21:55:18 hi sorry ^^ May 01 21:55:20 captainigloo: I am looking up the link for gnu, one moment. May 01 21:55:45 cause i'm using the official htc module and it doesn't scan May 01 21:56:14 i tried to change some undocumented options to activate the scan but it was not working May 01 21:56:15 doesn't scan for me either May 01 21:56:24 me too May 01 21:56:29 with iwpriv May 01 21:56:44 ok what I just did was in ubuntu on leo May 01 21:57:05 as I document everything about it you can look it up here: http://htc-linux.org/wiki/index.php?title=Ubuntu/Leo#Compiling_own_kernel_binaries May 01 21:57:07 hum ok, i don't try wifi with ubuntu on desire May 01 21:57:38 arg, new ubuntu interface is just unusable ! May 01 21:57:41 captainigloo: it will also work in other distros May 01 21:57:46 http://htc-linux.org/wiki/index.php?title=LeoWifi ? May 01 21:57:49 captainigloo: haha yes. I test it on leo. sucks May 01 21:58:06 captainigloo: doesn't even work with my msm_fb May 01 21:58:19 GNUtoo|laptop: no just foolow the above link to find the kernel source May 01 21:58:40 ah it's obsolete May 01 21:58:50 the branch inforamtion is wrong May 01 21:58:56 git clone git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc.git linux_on_wince_htc May 01 21:58:59 tada May 01 21:59:06 thanks a lot May 01 22:00:02 just rm -rf your old drivers/net/wireless/bcm4329 and copy the linux_on_wince_htc over May 01 22:00:10 ok May 01 22:00:19 captainigloo, GNUtoo|laptop I bet this will give you working wifi in non-android. May 01 22:00:37 huhu May 01 22:00:52 dcordes: you mean that you have msm_fb running ? May 01 22:01:16 wifi May 01 22:01:25 like iwlist wlan0 scan May 01 22:01:30 or eth0 in our cases May 01 22:01:37 captainigloo: ubuntu natty: unity-2d ( new interface ) is flickering with htcleo which has msm_fb display driver May 01 22:01:50 dcordes: ok May 01 22:01:50 freesmartphone.org: 03mickey 07cornucopia * rdb65bbc70467 10/libfsobasics/fsobasics/utilities.vala: libfsobasics: add utility functions for convenient sharing of data within a process May 01 22:02:05 it would be good to have msm_fb running May 01 22:02:12 with shr May 01 22:02:27 captainigloo: do you mean xf86-video-msm ? May 01 22:02:30 yes May 01 22:02:32 captainigloo: ok May 01 22:02:33 meego had it May 01 22:02:42 GNUtoo|laptop: cotulla has it May 01 22:02:42 cotulla did it for leo May 01 22:02:49 it's only in rar format tough May 01 22:02:54 I cannot read recent rars May 01 22:02:55 accelerated xorg driver May 01 22:03:07 captainigloo: you think it will be a perofrmance plus for our qsd8xxx device trio in shr ? May 01 22:03:21 i guess May 01 22:03:29 ok guys let's talk to him then May 01 22:03:41 we need alsa first tough May 01 22:03:42 at least i would be able to have e17 composite stuff running May 01 22:03:47 I know where is leofb is May 01 22:03:57 GNUtoo|laptop: yes :) May 01 22:04:38 GNUtoo|laptop: lack of alsa doesn't mean working xf86-video-msm needs to gain dust. I bet we can adobt his modified leo version for nexus and desire May 01 22:04:49 at least if i could call and receive calls + SMS i will switch to SHR on my desire May 01 22:05:02 GNUtoo|laptop: where's leofb ? May 01 22:05:07 http://cotulla.pp.ru/leo/Meego/ ? May 01 22:05:16 awesome May 01 22:05:31 freesmartphone.org: 03mickey 07cornucopia * r6a47d6620afd 10/fsogsmd/vapi/posix-ext.vapi: fsogsmd: vapi: add posix-ext.vapi w/ inet_ntop scheduled for upstream inclusion May 01 22:05:33 or is that something else? May 01 22:05:50 mrmoku: db65bbc70467 and 6a47d6620afd should give you want you need to complete your job May 01 22:05:59 s/want/what/ May 01 22:06:00 mickeyl meant: mrmoku: db65bbc70467 and 6a47d6620afd should give you what you need to complete your job May 01 22:06:00 captainigloo: XLEO X11 driver for MEEGO May 01 22:06:01 ========================= May 01 22:06:01 based on x11-video-msm driver. May 01 22:06:20 captainigloo: DRI, DRI2 not tested and 2.6.32 kernel doesn't support them. May 01 22:06:34 captainigloo: is dri what you need for e17 composite ? May 01 22:06:46 lo mickeyl May 01 22:06:51 dcordes: nope May 01 22:06:55 ok May 01 22:06:56 evening May 01 22:06:58 just a 32bits screen May 01 22:07:20 i tried with the fbdev but my phone freeze May 01 22:07:31 I think the use of NEON instructions etc is an improvement too May 01 22:07:36 i need to run it in 16bpp May 01 22:07:50 GNUtoo|laptop: I failed to compile this xorg module in oe May 01 22:07:50 yes, i don't know if you tried elfe May 01 22:08:06 but on my phone there is tearing effectes when you scroll app list May 01 22:08:09 GNUtoo|laptop: so I can try in oe images. are you interested in trying? maybe it also works on enxus May 01 22:08:22 trying msmfb May 01 22:08:23 ? May 01 22:08:28 *leofb? May 01 22:08:33 captainigloo: yes and I love it. but I didn't notice much tearing.. May 01 22:08:37 GNUtoo|laptop: yes May 01 22:08:43 not sure May 01 22:08:47 I'm waiting for alsa May 01 22:08:49 xleo May 01 22:09:19 dcordes, there are 3 bcm4329: May 01 22:09:36 bcm4329 May 01 22:09:37 bcm4329_204 May 01 22:09:37 bcm4329_245 May 01 22:09:41 which one is the right one? May 01 22:09:56 GNUtoo|laptop: grep -i bcm43 arch/arm/configs/htcleo_defconfig May 01 22:10:05 ok May 01 22:10:17 I will look it up form my ubuntu .config May 01 22:10:20 so you are 100% May 01 22:10:37 obj-$(CONFIG_BCM4329) += bcm4329_204/ May 01 22:10:40 204 May 01 22:10:45 no need May 01 22:10:53 also the last commits are from 204 May 01 22:11:17 CONFIG_BCM4329=m May 01 22:11:17 CONFIG_BCM4329_SOFTAP=y May 01 22:11:17 CONFIG_BCM4329_FW_PATH="/system/etc/firmware/fw_bcm4329.bin" May 01 22:11:18 CONFIG_BCM4329_NVRAM_PATH="/proc/calibration" May 01 22:11:36 ok so you chose the bcm4329_204 May 01 22:12:27 have to admit git drives me mad May 01 22:12:43 ok May 01 22:12:47 can't find the .h to http://git.openmoko.org/?p=kernel.git;a=blob;f=drivers/input/misc/lis302dl.c;h=d345bfb2718fba6c96c7a27d83b53c0a35c9d064;hb=andy-tracking May 01 22:13:12 GNUtoo|laptop: captainigloo: there is linux-qsd8_git.bb . I want to update htcleo there. if you tell me what sources/configs you use for nexus and desire I would be keen to add it too May 01 22:13:18 ot to mention any readme on how the API is supposed to get used May 01 22:13:46 GNUtoo|laptop: we might as well to a cp -r htcleo htcdesire in cornucopia.git configs for captainigloo'S desire May 01 22:13:55 GNUtoo|laptop: captainigloo tested this and works May 01 22:14:03 yes May 01 22:14:06 doc: http://git.openmoko.org/?p=kernel.git;a=blob;f=include/linux/lis302dl.h;h=0c1fc3097312f9107ec3d574d2d3a1700444f17d;hb=andy-tracking May 01 22:14:17 thanks May 01 22:14:46 captainigloo: what's the exact directory name you copied the configs to ? May 01 22:14:53 captainigloo: then I can prepare a git diff May 01 22:15:06 dcordes: for the gsm config ? May 01 22:15:42 captainigloo: yeah May 01 22:16:14 in freesmartphone i remove the default config and mv leo default May 01 22:16:42 dcordes: with the image you uploaded for me May 01 22:16:56 captainigloo: default ? May 01 22:17:04 yes May 01 22:17:12 it was not working as is May 01 22:17:57 so i just do mv /etc/freesmartphone/leo /etc/freesmartphone/default May 01 22:18:08 approximative path ;) May 01 22:18:22 captainigloo: to make it work out of the box we must add your machine name May 01 22:18:34 it was not working May 01 22:18:47 GNUtoo|laptop: what is the command to find out the machine name fso uses ? May 01 22:18:52 i don't know why, first time i tried, desire was the machine name May 01 22:18:57 GNUtoo|laptop: cat /proc... ? May 01 22:19:03 captainigloo: ok May 01 22:19:20 but last time i check with your image, it was not desire May 01 22:19:27 dcordes, cat /proc/cpuinfo May 01 22:19:36 captainigloo: can your run that command ? May 01 22:19:40 night mickey|zzZZzz May 01 22:19:43 n8 May 01 22:19:54 dcordes: ok i start my phone with shr ... May 01 22:20:46 GNUtoo|laptop: did you ever come across gitorious vs bitbake problems ? May 01 22:20:59 yes May 01 22:21:01 with dream May 01 22:21:06 we never resolved them May 01 22:21:08 GNUtoo|laptop: as you see my leo kernel is in gitorious. it doesn't pull via bb May 01 22:21:17 lack of master branch? May 01 22:21:21 GNUtoo|laptop: ok then I will setup git on htc-linux.org May 01 22:21:24 or lack of HEAD May 01 22:21:32 try pushing a master branch May 01 22:21:43 $ git branch May 01 22:21:43 linux-on-tg01 May 01 22:21:43 * master May 01 22:21:53 my kernel of interest is in the master branch May 01 22:22:35 GNUtoo|laptop: what kernel you use for nexus in shr ? is it in org.oe.dev ? May 01 22:24:13 http://pastebin.ca/2052657 May 01 22:24:23 my bad it's bravo and not htcdesire .... May 01 22:24:53 captainigloo: ok now that you logged in you could try to mv default bravo and see if it works May 01 22:25:03 captainigloo: then we can copy it in git May 01 22:25:22 Receiving objects: 100% (35159/35159), 91.77 MiB | 6.33 MiB/s, done. May 01 22:27:11 it's what i'm doing May 01 22:27:40 cool thx May 01 22:28:11 next step should be to add bravo machine type in oe May 01 22:28:21 then we can add your kernel repository May 01 22:28:22 drivers/net/wireless/bcm4329_204/dhd_linux.c: In function 'wifi_get_dot11n_enable': May 01 22:28:23 drivers/net/wireless/bcm4329_204/dhd_linux.c:96:51: error: 'struct wifi_platform_data' has no member named 'dot11n_enable' May 01 22:28:36 GNUtoo|laptop: what kernel version ? May 01 22:28:36 doesn't seem so kernel independant as it seemed May 01 22:28:42 2.6.37 May 01 22:28:47 ok too new May 01 22:28:53 2.6.32 May 01 22:29:08 you could backport net May 01 22:29:18 maybe with compat wireless May 01 22:29:25 I know a better way May 01 22:29:49 try module from more recent official kernel May 01 22:30:02 such as? May 01 22:30:22 bcm4329_204 is stolen from october 2010 HTC EVO 4G official htck enrel May 01 22:30:33 http://developer.htc.com/ May 01 22:30:38 ok May 01 22:30:47 HTC Desire S – 2.6.35 kernel source code May 01 22:30:50 HTC Incredible S - 2.6.35 kernel source code May 01 22:31:00 I've 37 May 01 22:31:07 I could backport the changes else May 01 22:31:10 me too May 01 22:31:19 most recent devices May 01 22:31:23 most recent sources May 01 22:31:40 maybe 35 bcm4329 works with 37 ootb ? May 01 22:32:53 here the log http://pastebin.ca/2052658 May 01 22:33:03 i have sos only .... May 01 22:34:20 I'll go bye May 01 22:34:24 it's too late May 01 22:34:25 for me May 01 22:34:25 captainigloo: aha maybe you suffer from the problem I described on leo: large delay May 01 22:34:28 GNUtoo|laptop: good night May 01 22:35:07 captainigloo: wait 2 minutes maybe you register then May 01 22:36:18 last time it was asking for my pin code at startup May 01 22:38:32 ok I see May 01 22:38:44 I don't use pin code in my sims so I don't know about pin situation on leo May 01 22:39:02 also need to take a nap May 01 22:40:27 when i click on more info on shr settings May 01 22:40:33 i get mode unregister May 01 22:40:40 registration denied May 01 22:40:49 pdb.registration denied May 01 22:42:56 you could try disabling the sim May 01 22:43:05 or I will enable mine and debug with the help of mickey|zzZZzz and gnu May 01 22:43:17 good night May 01 22:43:23 yep gn **** ENDING LOGGING AT Mon May 02 02:59:57 2011