**** BEGIN LOGGING AT Sat Dec 04 02:59:59 2010 Dec 04 05:00:06 Sound is now working on SHR for the iPhone3G :) Dec 04 05:04:56 Does anyone have a good reference for implementing baseband with AT commands? Dec 04 07:32:58 mrmoku`: are you around? Dec 04 08:04:35 Is anyone familiar with implementing telephony in SHR? I'm trying to figure out how to do it for the iPhone3G, but don't know where to start. Dec 04 08:39:07 Lopi: great progress :-) Dec 04 08:39:52 mrmoku`: thanks, I got sound working earlier :) Dec 04 08:40:04 Lopi: telephony is implemented by different components in SHR... on first glance the architecture seems complicated, but in the end its not that bad Dec 04 08:40:26 Lopi: the gui part is done in libphone-ui-shr Dec 04 08:41:08 mrmoku`: I know it's AT commands and the ril source code is available Dec 04 08:41:46 Lopi: ahh... lowlevel telephony part :-) Dec 04 08:41:56 Lopi: that is implemented in fsogsmd Dec 04 08:42:34 Lopi: clone git://git.freesmartphone.org/cornucopia.git Dec 04 08:42:43 and take a look at fsogsmd in there Dec 04 08:42:55 you will find implementations for different modems Dec 04 08:43:06 and IIRC some doc about how to add another one too... Dec 04 08:44:02 Lopi: for that part probably GNUtoo|laptop, morphis or playya_ are more able to help than me :) Dec 04 08:45:00 okay Dec 04 08:45:06 I don't really have a clue about this part ;p Dec 04 08:45:08 Lopi: do you know how to turn the modem on/off? Dec 04 08:45:17 PaulFertser: no clue Dec 04 08:45:49 Lopi: that's the first hurdle you have to overcome... BTW, how is the modem connected to the SoC? Dec 04 08:46:33 Lopi: though fsogsmd is written in Vala, it's quite clean and understandble, if you have some problems with some particular part, feel free to ping the folks mrmoku` mentioned or me. Dec 04 08:46:55 Lopi: yeah, PaulFertser is a very, very, good fountain of help too :D Dec 04 08:47:06 mrmoku`: hehe, thanks :) Dec 04 08:47:10 PaulFertser: sorry to not have included you in the list :P Dec 04 08:47:34 mrmoku`: i haven't written a signle line in fsogsmd, so that was fair. But i can actually read and understand its code ;) Dec 04 08:48:41 Lopi: if you have some suspicion that the modem is similar to e.g. HTC G1's, you can try to reuse its driver. Dec 04 08:49:23 * mrmoku` got to reboot... bbl Dec 04 08:49:27 PaulFertser: okay thanks, I'll take a look at the code and try to figure out how the modem is connected to the SoC Dec 04 08:49:53 Lopi: even if you think the modem supports serial line multiplexing (multiple independent command streams via the same line), i'd suggest to try getting basic functionality without it first. Dec 04 08:50:18 Lopi: (serial multiplexing is called "gsm 07.10" just fyi) Dec 04 08:51:11 PaulFertser: alright, just trying to figure out what all this is ;p Dec 04 08:51:57 PaulFertser: have a look here: http://www.idroidproject.org/wiki/Status for more information on the iPhone3G baseband Dec 04 08:54:25 Lopi: so, if you face some particular hurdle on your way, just ask here :) I'm afraid this table isn't giving me much without looking at the ril code :) Dec 04 08:56:06 PaulFertser: hehe okay Dec 04 09:02:07 PaulFertser: I'm trying to find the ril source code on iDroid's github located here: https://github.com/iDroid-Project ; I'll let you know when I find it ;p Dec 04 09:33:52 PaulFertser: I found the ril source code: https://github.com/planetbeing/platform_hardware_ril/blob/donut-iphone/reference-ril/reference-ril.c Dec 04 09:36:06 Lopi: looks usable :) Dec 04 09:37:00 PaulFertser: That's good, what do I do from here? I was looking at the code for fsogsmd, but I'm still pretty confused ;p Dec 04 09:40:33 Lopi: well, i'd just start from http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsogsmd/src/plugins/modem_singleline/plugin.vala;h=4e75011d7af08382acbcb35168d6fc5e1852fcc9;hb=HEAD and went reading the code around. Dec 04 09:45:07 good morning Dec 04 09:59:13 PaulFertser: so I have been reading over the code, Do you think the iPhone3G will be able to be covered with the singleline plugin? Dec 04 10:02:56 mickey_munich: hey hey Dec 04 10:02:59 mickey_munich: :) Dec 04 10:03:22 Lopi: you can get minimal functionality supported with signleline, then decide where to go from there. Dec 04 10:03:55 PaulFertser: I will have to write one specific to my device, correct? Dec 04 10:04:12 hi paul Dec 04 10:04:21 * mickey_munich attending the first german open hard & software workshop Dec 04 10:04:35 Lopi: yes Dec 04 10:04:54 PaulFertser: Well, hopefully I have the skills to do so heh Dec 04 10:12:01 Lopi: how much of all that is 3G-specific? I wonder whether I need to borrow our companies 3G or can use my spare 2G Dec 04 10:12:03 morning mrmoku Dec 04 10:13:03 hopefully he comes back ;o Dec 04 10:15:07 mickey_munich: Are you talking about telephony or all of the hardware? Dec 04 10:15:38 telephony for a start, however eventually i'm interested in supporting also the wifi and bluetooth stuff, of course :) Dec 04 10:16:07 as the 2G is very cheap to buy these days this could be kinda interesting Dec 04 10:16:16 (due to it no longer being supported by iOS) Dec 04 10:16:33 I'm preparing for 2G support at the moment Dec 04 10:16:40 a guy over in #iphonelinux is testing for me Dec 04 10:16:55 we need to get calibration info for the 2G Dec 04 10:17:13 there's minor modifications that need to be made in init in the ramdisk Dec 04 10:17:27 wifi is pretty much the same Dec 04 10:17:28 ok Dec 04 10:17:36 pretty cool Dec 04 10:17:52 so it's fairly easy to get it working on other devices Dec 04 10:19:52 I also need to sort the kernel issues on the 2G, but that's only a matter of me compiling it properly ;p Dec 04 10:20:41 it works on the IPT1G as well which shares hardware between the 2G and 3G Dec 04 10:21:06 how can i push a local branch to oe? just git push? Dec 04 10:22:44 yes, use use nickname as prefix Dec 04 10:22:54 heinervdm/foo Dec 04 10:23:01 toplevel namespace is reserved Dec 04 10:23:24 mickey_munich: it's a branch for new shr testing, so i use shr/ Dec 04 10:23:30 ok Dec 04 10:25:17 It doesn't work: Dec 04 10:25:19 git push origin shr/testing2011.1 Dec 04 10:25:20 fatal: The remote end hung up unexpectedl Dec 04 10:25:46 hmm Dec 04 10:26:08 git push origin :? Dec 04 10:26:33 you do have access to OE, right? Dec 04 10:26:43 yes :) Dec 04 10:26:48 doesn't work either Dec 04 10:27:09 hmm, that's odd, we have no per-branch access control Dec 04 10:28:06 oh, but it's possible that i have wrong git url in config Dec 04 10:29:14 yes, that's it :) Dec 04 10:29:17 ok, good Dec 04 10:29:57 http://cgit.openembedded.org/cgit.cgi/openembedded/log/?h=shr/testing2011.1 Dec 04 10:30:48 mickey_munich: when you have an solution for the channel closing thing i will do some images for public tests Dec 04 10:32:27 mickey_munich: what was released in oe? Dec 04 10:32:29 Heinervdm: ok Dec 04 10:32:51 Lopi: OE itself, as in a stable version of the metadata Dec 04 10:51:41 moin! Dec 04 10:52:06 bonjour Dec 04 11:00:41 morning GarthPS Dec 04 11:26:55 salut mickey_munich! oh you know that perhaps: I changed my SIM yesterday but the new one does not have 5 areas(4 used in the FR) but only 3 so the FRrunner does not recognised it. is it possible to do something to make it work ? Dec 04 11:29:10 Heinervdm: great to see new testing branch! thans Dec 04 11:29:11 k Dec 04 11:29:59 GarthPS: how does it bail out excatly? I'm afraid any compatibility problems will only be fixable with Calypso firmware updates (if at all... chances are it would required newer hardware). I reckon you're already on the latest published GSM code, right? Dec 04 11:32:08 mickey_munich: latest published GSM code ? firmware you mean ? . but for my i think there is another issue first : the new SIM missed a area for the fourth contact of the sim slot Dec 04 11:32:57 yes, firmware. as for the hardware chip layout, i have no idea whether all areas are necessary to be present Dec 04 11:34:53 mickey_munich: iam not sure about the firmware. how could i know ? how to upgrade it ? Dec 04 11:35:16 GarthPS: latest firmware can be queried by mdbus2, upgrade is documented in the wiki Dec 04 11:35:21 i have the following firmware here Dec 04 11:35:27 http://wiki.openmoko.org/wiki/GSM/Flashing Dec 04 11:36:24 root@om-gta02 ~ # mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.Info.GetInfo Dec 04 11:36:24 ({"revision": "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11","imei": "354651011601806","model": "Neo1973 GTA01/GTA02 Embedded GSM Modem","manufacturer": "FIC/OpenMoko"}) Dec 04 11:36:30 moko11 should be the last one IIRC Dec 04 11:38:17 mickey_munich: wow, you seem to be holding an actually working gta02 in your hands :-O Dec 04 11:38:46 hehe Dec 04 11:38:48 indeed, i do Dec 04 11:39:29 there are some things to be fixed... Dec 04 11:39:31 :) Dec 04 11:40:52 mickey_munich: :) moko9 here ! :) Dec 04 11:41:05 GarthPS: FAIL :P Dec 04 11:41:12 * GarthPS hope tht it will fix my 3areas contcts SIM Dec 04 11:41:34 PaulFertser: but until not my FR worked! Dec 04 11:41:34 GarthPS: that's very old. upgrading to moko11 will fix a substantial amount of problems Dec 04 11:41:45 mickey_munich: coool Dec 04 11:41:55 :) Dec 04 11:41:56 GarthPS: there's a changelog available so you can see what you were missing ;) Dec 04 11:42:51 * GarthPS will be able to throw away his pre 2 ? Dec 04 11:43:01 :) Dec 04 11:43:26 PaulFertser: One of the iDroid devs woke up and pointed me to the updated ril source code: https://github.com/iDroid-Project/vendor_apple/blob/froyo-iphone/common/libril/ril.c Dec 04 11:43:54 trying to interpret what does what Dec 04 11:46:47 Lopi: a RIL with shell-code embedded, nice :D Dec 04 11:47:14 interesting, looks pretty standard Dec 04 11:47:22 (well, probably not shellcode but it's clearly some smart trick) Dec 04 11:47:55 yeah, one of the idroid guys is pretty sharp Dec 04 11:48:04 he wrote the kernel level usb driver from scratch Dec 04 11:48:18 he takes care of all the baseband stuff as well Dec 04 11:49:12 this is an entirely new learning curve for me, never looked at modems before Dec 04 11:51:37 should be pretty simple to derive a plugin in FSO then Dec 04 11:53:34 heh, simple for you guys anyway - this all looks complex to me Dec 04 11:53:58 could you recommend some reading material? Dec 04 11:54:21 ouch ~90mo to flash the firmware... :) Dec 04 11:54:38 $ mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.Info.GetInfo Dec 04 11:54:41 /org/freesmartphone/GSM/Device: GetInfo failed: org.freedesktop.DBus.Error.UnknownMethod Dec 04 11:54:44 must be some new API :) Dec 04 11:55:05 indeed. all the GetInfo variants have moved to a common interface Dec 04 12:00:19 mickey_munich, PaulFertser: Would either you mind recommending some reading material for AT modems? Or should I keep trying to understand the ril source and the plugin source? Sorry to keep bothering you, but I'm lost. Dec 04 12:01:27 $ dbus-send --system --print-reply --dest=org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Debug.DebugCommand $'string:AT+CGMR\r\n' | grep CGMR Dec 04 12:01:31 string "+CGMR: "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1"" Dec 04 12:02:17 the very same Dec 04 12:02:35 Nope, I have 11b1 Dec 04 12:02:41 you only have 11 :-) Dec 04 12:02:55 oh, indeed, i just looked at the cal and ri Dec 04 12:04:02 lindi-: IIRC 11b1 and 11 are the same (and b=beta) Dec 04 12:04:38 Lopi: have a look at GSM 07.07 to get the basics clear. then have a short read of atmediator.vala and atunsolicited.vala as well as atcommand.vala, these are the basic building blocks. the actual communication queue is nothing too interesting as long as it works :) Dec 04 12:22:35 hi GNUtoo|laptop Dec 04 12:23:41 mickey_munich, hi Dec 04 12:23:47 can I pm you for something? Dec 04 12:24:04 because if I don't it will raises flamewars Dec 04 12:24:32 btw did you look at my patch? Dec 04 12:24:49 heh, sure Dec 04 12:24:50 also I've seded the licenses Dec 04 12:24:51 ok Dec 04 12:25:13 GNUtoo|laptop: Sound is working. Working on implementing the baseband now. Dec 04 12:25:54 ok Dec 04 12:29:19 <[Rui]> GNUtoo|laptop: love flamewars ;) Dec 04 12:30:23 did anyone ever put together a list of problems with the case that could be fixed in $nextversion? Dec 04 12:30:27 wouuuuuuuuuu sweet mickey_munich! thanks it works! Dec 04 12:30:52 drinks on me to night! :) Dec 04 12:31:05 yay Dec 04 12:31:07 congrats Dec 04 12:31:15 ohoh.. Dec 04 12:31:37 mickey_munich: the sim was detected but not network for the moment Dec 04 12:33:53 ohu i have a "please repport at mickey in fsogsmd.log :) Dec 04 12:34:08 heh Dec 04 12:34:43 mickey_munich: so what do you nned me to repport ? Dec 04 12:35:01 probably just the line +- 4 lines context Dec 04 12:35:26 GNUtoo|laptop: is electranox working on libisi again? Dec 04 12:35:42 mickey_munich, not a lot, that's why I plan to work on it Dec 04 12:35:48 he did gps stub Dec 04 12:35:57 here's the git: Dec 04 12:36:09 https://git.ring0.de/libisi/ Dec 04 12:36:18 he should move it to fso servers right? Dec 04 12:36:52 if he likes to, yes Dec 04 12:36:55 it's his baby Dec 04 12:36:58 but it would be very welcome Dec 04 12:37:05 he just need access to it Dec 04 12:37:06 to do it Dec 04 12:37:09 btw. please feel free to commit the libisi patch Dec 04 12:37:11 I already talked to him Dec 04 12:37:12 it looks gine Dec 04 12:37:13 err Dec 04 12:37:14 fine Dec 04 12:37:16 ok Dec 04 12:37:18 thanks a lot Dec 04 12:37:21 mickey_munich: http://pastebin.com/0Ezae4bZ can you tell me if there is some personnal data in it. i will remove them then Dec 04 12:37:25 ok, wrt. access have him get me an SSH key Dec 04 12:37:39 yes that's what I told him Dec 04 12:38:13 anyway, I plan to work on libisi but first I want to integrate libisi in fsogsmd Dec 04 12:38:27 GarthPS: nothing to worry, however the dreaded CME 512 is a problem Dec 04 12:38:29 I plan to do simple stuff, like phonebook,sms etc... Dec 04 12:39:01 CME 512 basically means the GSM server hung up Dec 04 12:39:10 please retry after a reboot Dec 04 12:39:19 but that could mean it has problems with the SIM Dec 04 12:39:33 GNUtoo|laptop: good plan Dec 04 12:40:05 the dreaded gdbus switch is blocking further work from me Dec 04 12:40:12 i need to ping juergbi again Dec 04 12:40:26 2010-12-04T12:23:14.647053Z [INFO] libfsotransport <0710:2>: SRC: "+CMICKEY" -> [ "ERROR" ] Dec 04 12:40:38 hmmm there is an AT command with your name in it? Dec 04 12:40:50 hehe Dec 04 12:40:52 there isn't Dec 04 12:41:01 it's a test command to check whether error reporting works OK Dec 04 12:41:08 ah ok Dec 04 12:41:09 lol Dec 04 12:41:12 so we have a problem when the first modem implements +CMICKEY :D Dec 04 12:41:18 lol Dec 04 12:41:41 maybe the dummy modem does? Dec 04 12:41:45 <[Rui]> how's the state of SHR/FSO support on the other platforms? Dec 04 12:42:04 varies with the platforms Dec 04 12:42:08 nothing is fully supported Dec 04 12:42:09 <[Rui]> is there a table of what works not works? Dec 04 12:42:09 [Rui], checkout that page: Dec 04 12:42:13 <[Rui]> I think that would be useful Dec 04 12:42:18 http://wiki.freesmartphone.org/index.php/HardwareComparison Dec 04 12:42:23 <[Rui]> people keep confusing FSO with Freerunner Dec 04 12:42:49 <[Rui]> and I tried to poke Fabien Schershel from Linux Outlaws to interview FSO people :) Dec 04 12:43:05 yeah, that's a problem Dec 04 12:43:12 that's why i revamped the fso entry page Dec 04 12:43:20 there's nothing that reads openmoko or freerunner anymore ;) Dec 04 12:43:21 <[Rui]> ok, we need to make a simplified version of that table :) Dec 04 12:43:25 [Rui], does the interview requires skype? because I don't want to use non-free software Dec 04 12:43:32 <[Rui]> GNUtoo|laptop: I have no idea Dec 04 12:43:34 ok Dec 04 12:45:21 <[Rui]> http://identi.ca/conversation/59069091 Dec 04 12:46:34 <[Rui]> "ruiseabra Dec 04 12:46:35 <[Rui]> @fabsh: You should check !FSO at freesmartphone.org which has grown beyond the !freerunner perhaps even interview those anti vendor outlaws." Dec 04 12:47:11 mickey_munich: loged! but still have some CME ERROR . pastebin ? Dec 04 12:47:18 GarthPS: yea Dec 04 12:47:35 [Rui]: very good :) Dec 04 12:48:11 <[Rui]> A little more publicity would be helpful to hopefully gain more developer time :) Dec 04 12:48:18 oh so true Dec 04 12:48:26 mickey_munich: i just recieved a call does this will interfere ? Dec 04 12:48:46 so for adding libisi in fsogsmd is there a very-high level howto or should I wait for morphis? Dec 04 12:48:48 GarthPS: with the new SIM? Dec 04 12:48:54 mickey_munich: yes Dec 04 12:49:11 GarthPS: oh, that's good. Dec 04 12:49:46 GNUtoo|laptop: i published a high level overview of adding a new modem on my blog some months ago Dec 04 12:50:04 GNUtoo|laptop: morphis probably has the most accurate infos though since he just did it :) Dec 04 12:50:31 ok Dec 04 12:50:36 I'll search then Dec 04 12:52:02 http://www.vanille-media.de/site/index.php/2008/12/03/ogsmd-and-its-modems/ Dec 04 12:52:06 this is pretty old Dec 04 12:52:13 but covers the basic steps to do Dec 04 12:52:48 (although specific to AT) Dec 04 12:55:18 <[Rui]> I'm making a simplified version (aka, no detailed comments, just an OK (green if 100%, yellow if has issues), NOK, etc... Dec 04 12:55:42 mickey_munich: http://pastebin.ca/2010413 Dec 04 12:56:00 mickey_munich: I changed the incomming phonenumber Dec 04 12:56:06 and the pin Dec 04 12:57:00 mickey_munich: hum :) I add a please repport mickey during the phoncall Dec 04 12:57:02 that looks perfectly normal Dec 04 12:57:18 except the 512 Dec 04 12:57:36 mickey_munich: even those CME erros ? Dec 04 12:57:36 hmm Dec 04 12:57:45 some of the CME errors are expected Dec 04 12:57:49 ok Dec 04 12:57:50 this is not always an error condition Dec 04 12:57:52 however Dec 04 12:58:01 CCWA is not being loved by your device Dec 04 12:58:20 we could build a version that does not enable it Dec 04 12:58:21 by the device or the gsm server ? Dec 04 12:58:22 [Rui], I'm not sure less detailed is good Dec 04 12:58:24 does FSO work with OsmocomBB? Dec 04 12:58:31 GarthPS: rather the device Dec 04 12:58:40 mickey_munich: because i am on th e Freerunnner here Dec 04 12:59:01 pabs3: afaik osmocombb does not use any special AT commands, so it should work out of the box Dec 04 12:59:26 nice, something to try one day Dec 04 12:59:33 yeah. a 'fully' free phone Dec 04 12:59:37 even on the BP side Dec 04 12:59:49 morning! Dec 04 12:59:51 now just to write custom replacements for the WiFi, BP etc. ;) Dec 04 12:59:56 BT, that is Dec 04 13:00:06 mickey_munich: which free hpon are you refering ? Dec 04 13:00:34 <[Rui]> GNUtoo|laptop: check the first line of http://wiki.freesmartphone.org/index.php/HardwareComparisonSimplified which I already simplified, get the gist? this table should point to the other for the full details, of course Dec 04 13:00:34 GarthPS: freerunner w/ osmocombb or any other linux-phones using osmocombb Dec 04 13:00:44 ok Dec 04 13:01:00 <[Rui]> GNUtoo|laptop: I just think that a lighter table that can let someone get the gist of the status is useful Dec 04 13:01:15 mickey_munich, your post is too old: http://www.vanille-media.de/site/index.php/2008/12/03/ogsmd-and-its-modems/ Dec 04 13:01:21 it's for ogsmd Dec 04 13:01:26 i know Dec 04 13:01:30 can it be still applied to fsogsmd? Dec 04 13:01:31 mickey_munich: by the way does this gsm firmare upgrade would help me with the issue I had when I enabled calypso deepsleep? (ie lossing gsm network quite often) Dec 04 13:01:32 but the steps are the same Dec 04 13:01:36 ah ok Dec 04 13:01:37 we still have mediators Dec 04 13:01:40 so thanks a lot Dec 04 13:01:40 and unsolicited classes Dec 04 13:01:42 np Dec 04 13:02:03 GarthPS: unfortunately not. #1024 turned out to be a hardware bug which is not fixable in software Dec 04 13:02:21 mickey_munich: i did apply the HW patch Dec 04 13:02:29 ah Dec 04 13:02:38 mickey_munich, I'll push the commit and add an acked-by from you Dec 04 13:02:41 in that case you should be able to enable deep sleep without any problems Dec 04 13:02:43 GNUtoo|laptop: right Dec 04 13:02:43 then i reenabled it but I had some deconnectiosn Dec 04 13:03:04 GarthPS: hmm, that should not happen. i would have to check the whole log to analyse though Dec 04 13:03:31 I'll change a bit the commit message, and the license tough Dec 04 13:03:38 to make it GPL and not LGPL Dec 04 13:03:41 mickey_munich: so my thought was : perhaps with this gsm firmware update it could be solved Dec 04 13:03:46 else it won't be consistent Dec 04 13:03:52 with the lastest sed changes Dec 04 13:04:13 mickey_munich: i will test it (even it mees using my FR as a phone back instead of the pre2) Dec 04 13:05:01 once of these days i need to check the status of the pre Dec 04 13:05:07 morphis did tons of work Dec 04 13:06:05 indeed Dec 04 13:06:37 how's the non-modem part of the N900 progressing? Dec 04 13:07:00 <[Rui]> pre 2 seems promising! Dec 04 13:07:01 fine Dec 04 13:07:11 basically we have a lot of stuff in oe Dec 04 13:07:33 where do I include asound.state and xorg.conf files in oe? Dec 04 13:07:34 but some stuff are not integrated yet such as: Dec 04 13:07:39 *battery charging Dec 04 13:07:44 (manual scripts for now) Dec 04 13:07:54 *uboot is beeing worked on Dec 04 13:07:56 yeah morphis work wuite a bit on it. plus the pre 2 is really the same phone as the pre 1 Dec 04 13:08:06 *audio routing too Dec 04 13:08:09 both by mrmoku Dec 04 13:08:14 cool Dec 04 13:08:23 just need a different kernel from cpu point of view mainly Dec 04 13:08:26 then lacks some polishing such as an ondemand cpu_freq_scaling init script Dec 04 13:08:33 this years holidays will be real holidays Dec 04 13:08:37 bluetooth is not integrated but works manually Dec 04 13:08:38 won't go to work for one week Dec 04 13:08:42 so i guess i have time to work on some things Dec 04 13:08:47 nice!!!! Dec 04 13:08:56 :) Dec 04 13:09:04 wifi is integrated,need more from-scratch testing Dec 04 13:09:05 mickey_munich, eheh work instead of other work? :P what kind of holidays you were talking about? ;) Dec 04 13:09:06 mickey_munich: want some beers at home? Dec 04 13:09:17 not sure if it creates wlan1 wlan2 etc... with a fresh image Dec 04 13:09:20 needs some testing Dec 04 13:09:23 daniele_athome: hehe... you know... paid work vs. unpaid work Dec 04 13:09:27 evil apple vs. foss Dec 04 13:09:36 mickey_munich, i perfectly know ;) just joking Dec 04 13:09:39 :) Dec 04 13:09:44 you work for apple? Dec 04 13:10:00 english keyboard works fine Dec 04 13:10:01 i work for apple platforms, not apple Dec 04 13:10:09 iOS, to be exact Dec 04 13:10:11 mickey_munich, Lopi is the person who does the iphone3g port Dec 04 13:10:25 making a living these days from iOS contract work Dec 04 13:10:28 sadly enough... Dec 04 13:10:41 GNUtoo|laptop: i see, excellent. another cheap platform with good hardware specs Dec 04 13:10:57 mickey_munich: did you see the offer from canada on th eML ?:) Dec 04 13:10:59 their android port seem pretty standard Dec 04 13:11:24 GarthPS: I'm lagging a bit behind on all MLs Dec 04 13:11:44 GarthPS, that's for hardware people Dec 04 13:12:00 about work, why not working on openembedded stuff? Dec 04 13:12:06 I mean paid-work Dec 04 13:12:08 GNUtoo|laptop: yop but mickey did a bit nope ? Dec 04 13:12:36 even if mickey_munich is not anymore a lot in openembedded he founded it Dec 04 13:12:49 http://lists.openmoko.org/pipermail/community/2010-December/063871.html Dec 04 13:13:13 GarthPS, do you know what VHDL is? Dec 04 13:14:01 GNUtoo|laptop: yop I did some at university :) . it was programming :))) Dec 04 13:14:14 ok Dec 04 13:14:25 a bit twistty I founded it Dec 04 13:14:50 not enought lessons to really twiste my brain corretly Dec 04 13:17:45 mrmoku, JaMa|Off hello, any progress on glib 2.26? Dec 04 13:27:31 GNUtoo|laptop: I issued "git status" and it's not detecting my defconfig since I renamed linux-iphone3g to linux-iphone: http://pastebin.com/2QJTMc9q Dec 04 13:27:55 look better Dec 04 13:28:03 git status says not only what was modified Dec 04 13:28:08 but also what is not tracked Dec 04 13:28:18 such as what was added Dec 04 13:28:33 let me push a commit, and then I'll help Dec 04 13:28:53 ah I'm without sleep didn't notice the folder is showing up under not tracked Dec 04 13:29:28 I imagine....it's late where you are Dec 04 13:29:29 but yeah, I think I'm ready to submit a patch when you're ready Dec 04 13:29:54 ok give me 1 minute Dec 04 13:30:11 np, brb smoke anyway Dec 04 13:31:40 freesmartphone.org: 03GNUtoo 07cornucopia * rc2269b41680c 10/fsogsmd/src/plugins/lowlevel_nokia900/ (Makefile.am nokia-gpio.c nokia-gpio.h plugin.vala): (log message trimmed) Dec 04 13:31:40 freesmartphone.org: fsogsmd: new lowlevel_nokia900 plugin for enabling/disabling the n900 modem Dec 04 13:31:40 freesmartphone.org: The code was adapted from ofono at commit 2f9af8c105d05f3dea2d6d549ec6a0f778d122cc Dec 04 13:31:40 freesmartphone.org: and taken from plugins/nokia-gpio.h and plugins/nokia-gpio.c Dec 04 13:31:41 freesmartphone.org: Note that I was unable to test this code at compilation or runtime Dec 04 13:31:41 freesmartphone.org: because of a libgee compilation issue with oe_runmake(from Dec 04 13:31:42 freesmartphone.org: the openembedded devshell) Dec 04 13:32:13 Lopi, ping me when you're ready Dec 04 13:42:35 GNUtoo|laptop: ready Dec 04 13:43:55 ok Dec 04 13:44:10 GNUtoo|laptop: btw, have a look in #idroid-dev when you get a chance Dec 04 13:44:11 so you've made changes right Dec 04 13:44:15 yeah Dec 04 13:44:22 ok one sec Dec 04 13:44:25 implemented sound and changed xorg.conf Dec 04 13:45:26 what's interesting in #idroid-dev? Dec 04 14:09:39 mickey_munich: welcome to munich :-) Dec 04 14:09:52 daniele_athome: I have a working image with glib 2.26 Dec 04 14:10:04 mrmoku, wow :) Dec 04 14:10:10 so what are you waiting for? :P Dec 04 14:10:13 daniele_athome: just have to find out if the gatomic patching for arm is still needed Dec 04 14:10:45 ok :) Dec 04 14:10:58 and have to test on gta02 too Dec 04 14:11:01 mrmoku, can't wait :) Dec 04 14:11:03 as my image is for n900 ;) Dec 04 14:11:14 mrmoku, tell me if you need any help Dec 04 14:11:35 daniele_athome: how good is your arm asm foo? :P Dec 04 14:12:17 mrmoku, ehm very low :( Dec 04 14:12:24 like mine then ;) Dec 04 14:12:26 i only know x86 asm Dec 04 14:12:50 anyway... will try to clean things up and send a patch to oe-devel Dec 04 14:12:59 as that's not something I can commit without review Dec 04 14:13:05 mrmoku, cool :) good work Dec 04 14:13:06 i know Dec 04 14:13:17 i'm looking forward to try my new apps on the FR :) Dec 04 14:13:24 hehe, yeah Dec 04 14:13:51 anyway mrmoku i'm already porting all my code to be user-oriented Dec 04 14:14:00 that's good Dec 04 14:14:09 * mrmoku should start that again too Dec 04 14:14:12 and i don't know the status on phoneuid Dec 04 14:14:13 eheh Dec 04 14:14:18 :) Dec 04 14:14:31 ~/.config is a good place :) Dec 04 14:14:32 ...but /.config is already something else... Dec 04 14:14:39 mmm Dec 04 14:14:44 apt, what the hell do you want? :P Dec 04 14:15:00 lol Dec 04 14:15:04 :) Dec 04 14:15:10 anyway... bbl Dec 04 14:15:16 ok Dec 04 14:27:26 heyhi Dec 04 14:27:30 s/heyhi/heyho/ Dec 04 14:27:30 morphis meant: heyho Dec 04 14:36:58 morphis, hi Dec 04 14:37:11 morphis, I don't see you anymore on jabber Dec 04 14:37:20 ah right better talking here aobut modem integration Dec 04 14:37:29 jepp Dec 04 14:37:41 but I wanted to talk also about the thing we discussed yesterday Dec 04 14:37:50 we should do that Dec 04 14:37:56 I'll PM you on irc Dec 04 14:37:59 ok Dec 04 14:38:10 but I am starting xmpp right now Dec 04 14:43:07 ok Dec 04 14:43:11 private stuff is over :) Dec 04 14:46:39 ok Dec 04 14:46:47 so mickeyl pointed me to that howto: Dec 04 14:47:11 http://www.vanille-media.de/site/index.php/2008/12/03/ogsmd-and-its-modems/ Dec 04 14:48:30 SHR: 03seba.dos1 07shr-themes * r038607af993a 10/frameworkd/frameworkd-config-shr/nokia900/rules.yaml: frameworkd-config-shr: nokia900: turn keyboard leds on when it is slided out Dec 04 14:49:17 wow nice Dec 04 14:49:59 the beauty of oeventsd... now if it was just written properly in Vala... ;) Dec 04 14:50:06 it will... eventually Dec 04 14:52:31 mickey_munich: i've already implemented gpio-switch support (once again, big thanks for that generic interface), but my events are not visible by idlemanager Dec 04 14:53:09 dos1: hmm, ok I can take a look at that, perhaps it's a fault in the backend Dec 04 14:58:13 GNUtoo|laptop: jepp, it's explaining fsogsmd basics Dec 04 14:58:28 I'm re-reading it Dec 04 15:00:40 read Dec 04 15:00:42 so...now Dec 04 15:01:00 I've to override every mediator and unsolicited handler? Dec 04 15:01:21 what were the issues with msmcommd and fsogsmd Dec 04 15:01:22 ? Dec 04 15:01:38 you rewrote your lib once right? Dec 04 15:01:52 yes, basically one mediator per DBus call needs to be implemented Dec 04 15:01:56 plus the unsolicited one Dec 04 15:02:20 for msmcommd I did the same Dec 04 15:02:36 and in the mediator I make the dbus calls to msmcommd Dec 04 15:02:49 ok Dec 04 15:02:53 in the first version we spoke directly over the devnode with modem Dec 04 15:03:08 but I removed that as we need to talk from some other places with the modem too Dec 04 15:03:12 not only from fsogsmd Dec 04 15:03:15 ah ok Dec 04 15:03:20 such as fsotldt Dec 04 15:03:24 for the gps Dec 04 15:03:24 so I choose the dbus interface for msmcommd Dec 04 15:03:25 right Dec 04 15:03:29 and usb charging Dec 04 15:03:33 ok Dec 04 15:03:39 should I do that too? Dec 04 15:04:07 can you open the phonet0 device with two daemons at the same time? Dec 04 15:04:08 note that I've never designed a lib Dec 04 15:04:15 I don't know Dec 04 15:04:23 i would first try to speak directly Dec 04 15:04:37 jepp Dec 04 15:04:38 as the architecture gets more complicated by the additional layer Dec 04 15:04:45 so only do that when it 100% makes sense Dec 04 15:04:48 indeed Dec 04 15:05:06 the problem with msmcomm was the we can't send two commands from two sides and the put the responses to the correct one Dec 04 15:05:20 so we needed some abstraction layer Dec 04 15:05:22 ah ok Dec 04 15:05:24 which does that Dec 04 15:05:26 i still don't understand why it couldn't be handled by the library Dec 04 15:05:30 but i trust your judgement :) Dec 04 15:05:42 dunno enough details Dec 04 15:06:13 phonet I think has more of a 1:1 relation Dec 04 15:08:10 mickey_munich: :) Dec 04 15:10:45 so we can open both connections with phonet to the modem Dec 04 15:10:50 both with libisi Dec 04 15:11:00 I don't know? Dec 04 15:11:04 s/?// Dec 04 15:11:06 GNUtoo|laptop meant: I don't know Dec 04 15:11:33 sre is online but doesn't respond Dec 04 15:13:21 ok Dec 04 15:13:27 we have to try that Dec 04 15:13:37 how can I try? Dec 04 15:13:40 and if it works the integration should be very simple I think Dec 04 15:13:41 I've some test programs Dec 04 15:13:46 take sr's test programms Dec 04 15:13:51 start twice at the same time Dec 04 15:14:01 both should access /dev/phonet0 Dec 04 15:14:09 ah but starting twice the pin program won't work right Dec 04 15:14:21 hm Dec 04 15:14:34 we need some stuff that can be done in paralell Dec 04 15:15:29 mrmoku, ping Dec 04 15:16:46 I had an efl bug but now it works again cleaning .e Dec 04 15:16:50 sorry for the noise Dec 04 15:17:19 no problem Dec 04 15:17:25 we are at IRC Dec 04 15:18:06 let me look in the source code of the tests Dec 04 15:20:53 freesmartphone.org: 03morphis 07cornucopia * r1619fe2dd422 10/fsogsmd/src/plugins/modem_qualcomm_palm/ (channel.vala modemagent.vala): fsogsmd: modem_qualcomm_palm: fix resource handling of msmcomm daemon Dec 04 15:20:53 freesmartphone.org: 03morphis 07cornucopia * rcef3d65494fa 10/fsogsmd/src/plugins/lowlevel_nokia900/ (Makefile.am nokia-gpio.c nokia-gpio.h plugin.vala): Merge branch 'master' of ssh://git.freesmartphone.org/cornucopia Dec 04 15:21:09 error = g_pn_netlink_set_address(modem->idx, PN_DEV_SOS); Dec 04 15:21:20 error = g_pn_netlink_add_route(modem->idx, PN_DEV_HOST); Dec 04 15:24:46 freesmartphone.org: 03morphis 07msmcomm * r9c1d7a9e0f47 10/ (3 files in 2 dirs): msmcommd: fix resource handling Dec 04 15:25:16 ohhh Dec 04 15:25:20 test/isi/gisi/netlink.h: PN_DEV_PC = 0x10, /* PC Suite */ Dec 04 15:25:20 test/isi/gisi/netlink.h: PN_DEV_HOST = 0x00, /* Modem */ Dec 04 15:25:20 test/isi/gisi/netlink.h: PN_DEV_SOS = 0x6C, /* Symbian or Linux */ Dec 04 15:25:37 it can be forwarded to the computer Dec 04 15:29:08 but there is only 1 address for "Symbian or Linux" Dec 04 15:29:38 what should I do to be sure? Dec 04 15:31:22 freesmartphone.org: 03mickey 07libfso-gdbus * r1f0857e148fc 10/README: fix readme Dec 04 15:35:29 hm Dec 04 15:40:15 mrmoku, http://pastebin.com/qkyYQkxj Dec 04 15:40:23 freesmartphone.org: 03morphis 07msmcomm * r02c7526da870 10/msmcommd-specs/src/structs.vala: msmcommd-specs: fix bug in variant processing of network state info structure Dec 04 15:40:37 with ultra-recent build+ opkg-update;opkg upgrade Dec 04 15:46:15 dos1, hi, how do I activate your commit with n900 keyboard leds Dec 04 15:48:19 ah ok Dec 04 15:48:27 framework-config-shr is not autorev Dec 04 15:51:49 GNUtoo|laptop: though it's not perfect... Dec 04 15:52:16 GNUtoo|laptop: it will turn leds off after any other input event from fsodeviced Dec 04 15:52:33 it probably should be implemented in phonefsod... or oeventsd should be extended :P Dec 04 15:52:45 I'll try to scpthe file Dec 04 15:52:51 morphis, hi again Dec 04 15:52:52 <[Rui]> dos1: so it's not yet possible to make calls with N900? Dec 04 15:53:12 (04:42:59 PM) sre: the modem does the multiplexing for us ;) Dec 04 15:53:12 [Rui]: with SHR? No. Dec 04 15:53:47 GNUtoo|laptop: thats great Dec 04 15:55:23 <[Rui]> dos1: :( Dec 04 15:55:51 [Rui]: though as far as I can see GNUtoo|laptop is starting doing something with it ;) Dec 04 15:56:52 GNUtoo|laptop: so we can start with the modem integration for n900, right? Dec 04 15:57:07 yes but first I want to try what I commited Dec 04 15:57:48 I wonder how to try Dec 04 16:02:40 I've some issues testing my commit Dec 04 16:02:57 the n900 lowlevel fsogsmd stuff Dec 04 16:03:09 the resources system says it's always enabled Dec 04 16:03:46 GNUtoo|laptop: hmmm Dec 04 16:04:03 so for modem integration, how can I take advantage of the multiplexing.... Dec 04 16:05:34 GNUtoo|laptop: ahh... the fso statefiles are not usable with alsactl Dec 04 16:05:46 mrmoku, is it a problem? Dec 04 16:05:56 no Dec 04 16:06:00 they come from your tarball Dec 04 16:06:01 ok Dec 04 16:06:02 a bit inconvineient Dec 04 16:06:21 fso needs that state file format Dec 04 16:06:28 ok Dec 04 16:06:36 I think it's what libcanberra does... not sure though Dec 04 16:06:48 ok Dec 04 16:07:42 mickey_munich, any idea on how to test my lowlevel_nokia900 commit? Dec 04 16:07:57 GNUtoo|laptop: I still have that kernel oops btw... and don't understand why you don't have it Dec 04 16:08:43 mrmoku, indeed it's strange Dec 04 16:09:03 did kernel PR bump? Dec 04 16:09:10 because I didn't flash since a very long time Dec 04 16:09:28 GNUtoo|laptop: hmm... other than on real hardware? Dec 04 16:10:50 I'm on real hardware Dec 04 16:10:53 I did that: Dec 04 16:11:29 ahhh Dec 04 16:11:35 fsogsmd was overwritten Dec 04 16:11:35 GNUtoo|laptop: the last PR bump was from you ae36cd21a01f3371f3520cfe75da353cee2d00f7 Dec 04 16:11:44 mrmoku, ok Dec 04 16:12:13 mrmoku, which repo? Dec 04 16:12:19 GNUtoo|laptop: oe Dec 04 16:12:23 ah ok Dec 04 16:12:29 dos1: you're using 2.6.28 on shr too, right? Dec 04 16:12:40 yes Dec 04 16:12:45 flashed directly Dec 04 16:13:06 mrmoku: well, i still haven't managed to do proper u-boot setting on my n900, so i'm still using original maemo kernel Dec 04 16:13:26 dos1: ok, with u-boot you can get help :) Dec 04 16:13:32 works for me and JaMa|Off Dec 04 16:13:37 u-boot on n900?? Dec 04 16:13:41 thanks to JaMa|Off Dec 04 16:13:47 mickey_munich: after the nokia loader Dec 04 16:13:51 ah, 2nd stage Dec 04 16:13:51 chainloading Dec 04 16:13:55 or booting from SD Dec 04 16:14:07 nice Dec 04 16:14:08 [ 3961.863067] WARNING: at kernel/time/timekeeping.c:98 getnstimeofday+0x2c/0xf8() Dec 04 16:14:10 I have it now Dec 04 16:14:12 I bet Dec 04 16:14:40 but that's just a warning right? Dec 04 16:18:15 mickey_munich, I added that to the dummy fsogdmd.conf in the n900 config dir: [fsogsm.lowlevel_nokia900] Dec 04 16:18:33 I reboot Dec 04 16:18:45 I put the gsm antenna on Dec 04 16:18:48 and nothing happens Dec 04 16:18:53 I'll check the state Dec 04 16:19:55 check whether the plugin is loaded at all Dec 04 16:19:58 I've issues Dec 04 16:20:04 the plugin is not present Dec 04 16:20:09 ah Dec 04 16:20:10 on the microsd Dec 04 16:20:29 /usr/lib/cornucopia/modules/fsogsm/lowlevel_motorola_ezx.so /usr/lib/cornucopia/modules/fsogsm/lowlevel_openmoko.so Dec 04 16:20:37 that's the only ones I have Dec 04 16:20:43 maybe something broke during the upgrade Dec 04 16:24:28 it wast't installed in packages Dec 04 16:24:37 I missed something with the autotools? Dec 04 16:25:30 I added only that: Dec 04 16:25:38 GNUtoo|laptop: root@nokia900 ~ # ls /usr/lib/cornucopia/modules/fsogsm/ Dec 04 16:25:38 dbus_service.so modem_cinterion_mc75.so modem_qualcomm_htc.so pdp_ppp.so ppp2fsogsmd.so Dec 04 16:25:41 lowlevel_motorola_ezx.so modem_dummy.so modem_singleline.so pdp_ppp_mux.so Dec 04 16:25:44 lowlevel_openmoko.so modem_freescale_neptune.so modem_ti_calypso.so pdp_qmi.so Dec 04 16:25:47 missing a lot :P Dec 04 16:25:54 fsogsmd/src/plugins/lowlevel_nokia900/Makefile.am Dec 04 16:26:20 indeed Dec 04 16:27:24 ahhh Dec 04 16:27:41 I forgott to add it in the ../Makefile.am Dec 04 16:27:43 strange Dec 04 16:27:47 I thought I did it Dec 04 16:40:37 ok it now configure but fails to compile Dec 04 16:41:24 http://pastebin.com/TdgcfL3e Dec 04 16:41:42 oe_runconf/oe_runmake seem to work without the libgee issue btw Dec 04 16:43:44 I remove the using foo; Dec 04 16:53:36 mickey_munich, http://pastebin.com/dMig102i Dec 04 16:54:16 ah ok sorry Dec 04 16:54:30 I've a vala questions Dec 04 16:54:37 where should the private int be? Dec 04 16:54:40 in the construct Dec 04 16:54:45 before the construct Dec 04 16:54:47 in the class Dec 04 16:54:58 or in the methods? Dec 04 16:58:57 I've fixed compilation Dec 04 16:59:05 I don't know if it's ugly tough Dec 04 16:59:15 because usually in C you can do: Dec 04 16:59:19 err = something() Dec 04 16:59:27 if (err) pr_error() Dec 04 16:59:45 here I did: Dec 04 16:59:51 if (err !=0 ) Dec 04 17:00:02 because else vala complains that err is not boolean Dec 04 17:09:14 yep Dec 04 17:09:32 if err is an int, don't compare it to a boolean :) Dec 04 17:11:28 then how do I test the plugin Dec 04 17:11:33 ? Dec 04 17:11:46 modem_dummy doesn't seem to accept it Dec 04 17:12:11 modem_singleline doesn't find the line Dec 04 17:12:50 can't you use /dev/null as line? Dec 04 17:12:58 ok Dec 04 17:13:05 I was thinking of that Dec 04 17:13:12 but wanted to use /dev/ttyS0 Dec 04 17:16:45 1970-01-01T00:10:52.285949Z [WARN] FsoGsmNullLowLevel : NullLowlevel::poweron() - this is probably not what you want Dec 04 17:16:47 hmmm Dec 04 17:16:50 I'll try something Dec 04 17:17:24 ok I forgott one line Dec 04 17:19:34 Invalid lowlevel_type nokia900 Dec 04 17:19:37 I'll look Dec 04 17:22:25 you need to add code to make the modem class know about the lowlevel plugin Dec 04 17:23:18 ah ok Dec 04 17:23:28 do you have an example? Dec 04 17:24:17 just take a look at the code Dec 04 17:24:22 it's a simple Dec 04 17:24:24 if cascade Dec 04 17:24:28 ok Dec 04 17:24:31 I'll look Dec 04 17:27:37 GNUtoo|laptop: look here: http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsogsmd/src/plugins/dbus_service/plugin.vala;h=5be717852d84b70277c87613d4887287feecda2d;hb=HEAD Dec 04 17:27:44 in public Device( FsoFramework.Subsystem subsystem ) Dec 04 17:27:44 I've already found it Dec 04 17:27:47 it's a switch Dec 04 17:28:01 thats for the modem time Dec 04 17:28:03 ok Dec 04 17:28:36 and you gave me the wrong file btw Dec 04 17:28:42 it's in modem.vala Dec 04 17:28:49 because it's a lowlevel plugin Dec 04 17:29:20 ah sorry Dec 04 17:29:25 np Dec 04 17:29:27 you are right Dec 04 17:33:10 but your lowlevel plugin works? Dec 04 17:33:45 playya_: ping Dec 04 17:37:10 <[Rui]> what do you guys think? http://wiki.freesmartphone.org/index.php/HardwareComparisonSimplified Dec 04 17:37:44 <[Rui]> maybe some terms could change from "OK?" to WIP... I don't know Dec 04 17:39:46 [Rui]: we need some sort of a legend for the table Dec 04 17:39:54 what means red, orange, red Dec 04 17:40:02 <[Rui]> yeah Dec 04 17:40:25 <[Rui]> however there's «This page is only a crude summary of the very detailed table available at the HardwareComparison page, which you should refer to for explanations on some weird classifications (red OKs, question marks, etc...). » Dec 04 17:40:30 and we need to differentiate whats "OK" Dec 04 17:40:41 jepp Dec 04 17:41:04 <[Rui]> but I basically looked into the incongruent descriptions on the detailed table and tried to figure out according the lines of: if I install it, will it work? Dec 04 17:59:12 mrmoku: you can push glib with negative D_P and add it to preferred-shr-versions even without ACK Dec 04 17:59:20 or with my ACK fwiw Dec 04 18:00:52 morphis, I'll test after finishing eating Dec 04 18:03:56 ok will test now Dec 04 18:10:58 I rebooted and it still says that: Dec 04 18:11:10 1970-01-01T00:00:25.215606Z [WARN] DummyModem <>: Invalid lowlevel_type nokia900; vendor specifics will NOT be available Dec 04 18:11:15 despite of having copied the lib Dec 04 18:12:14 the lib is libfsogsm.so.0.0.0 Dec 04 18:13:23 let me check Dec 04 18:15:24 JaMa|Off: ahh, ok :-) Dec 04 18:16:21 ok now it says: Dec 04 18:16:31 1970-01-01T00:10:31.334960Z [WARN] DummyModem <>: Can't find plugin for lowlevel_type nokia900; vendor specifics will NOT be available Dec 04 18:16:33 I'll try Dec 04 18:16:35 harder Dec 04 18:19:44 morphis, is that ok: Dec 04 18:20:01 + case "nokia900": Dec 04 18:20:01 + typename = "LowLevelNokia900"; Dec 04 18:20:01 + break; Dec 04 18:20:12 what does "LowLevelNokia900" stand for? Dec 04 18:23:51 hi, could someone push this little patch to OE please? http://espeweb.net/misc/openmoko/patches/0001-e-wm-efm-icon-efm-desktop-icon-package-moved-to-pixm.patch Dec 04 18:24:34 Illume doesn't read desktop icons files from /usr/share/icons anymore. Dec 04 18:25:01 so this patch moves the efm desktop icon to /usr/share/pixmaps Dec 04 18:25:02 <[Rui]> pespin: I don't think it ever did, it's not supposed to Dec 04 18:25:18 [Rui], uhm I think it worked before, since I upgraded some days ago Dec 04 18:28:36 <[Rui]> pespin: I could probably commit that upstream Dec 04 18:28:45 GNUtoo|laptop, I'm building last changes in OE. When it finishes I'll look at flac+enjoy Dec 04 18:28:53 ok Dec 04 18:28:55 [Rui], that doesn'te xist upstream ;) Dec 04 18:29:26 [Rui], efm doesn't set any desktop file in /usr/share/applications Dec 04 18:29:50 [Rui], it's OE specific. But if it did it upstream, woulb be better :) Dec 04 18:29:53 <[Rui]> pespin: yes, but it's an e17 module, right? Dec 04 18:30:05 [Rui], yes Dec 04 18:30:41 [Rui], basically the desktop file calls enlightenment_remote -efm-open-dir Dec 04 18:31:07 <[Rui]> forking? yuck! Dec 04 18:31:32 uhm? Dec 04 18:42:28 <[Rui]> pespin: does it fork? Dec 04 18:44:19 <[Rui]> pespin: I thought it was in e17 but it isn't, so I can't commit. Dec 04 18:45:00 [Rui], I'll explain Dec 04 18:45:32 [Rui], efm is a module of e17, but it's difficult to launch it on demand from Illume Dec 04 18:46:01 [Rui], I added myself an option to enlightenment_remote (in upstream) to be able to launch it easily manually Dec 04 18:46:53 then, I added a efm-desktop-icon package in OE (desktop file + image) which leds you use EFM like any other app. Dec 04 18:48:37 [Rui], and the result is here -> http://scap.linuxtogo.org/files/33a60f2022109bfa8dfd96b7aa164121.png Dec 04 18:49:31 <[Rui]> pespin: oh, you use elmdentica :) don't hesitate if you have suggestions :) Dec 04 18:49:42 <[Rui]> ok, I thought efm was the manager in the desktop Dec 04 18:50:01 [Rui], efm works perfectly in the FR :) Dec 04 18:50:18 [Rui], http://scap.linuxtogo.org/files/0fd0ea75ab85eb81fc1d2721c280383b.png Dec 04 18:50:49 in order to use, you just need to enable the efm module in settings Dec 04 18:51:33 then you can opkg install efm-* to add features Dec 04 18:52:00 <[Rui]> ok Dec 04 18:52:01 in fact, e modules which you can load into EFM Dec 04 18:58:45 guys which precomp test can i do to make the difference between host and target for the FR? Dec 04 19:25:31 [Rui], uhm this is weird. I've upgraded my shr-u and after rebooting, the efm desktop icon shows ok, and it's not in pixmaps but in icons dir Dec 04 19:27:23 <[Rui]> gotta go, sry... Dec 04 19:27:45 ok np :) Dec 04 19:28:00 ah maybe I got it Dec 04 19:28:03 just letting you know it works now having it in icons dir Dec 04 19:28:07 there is an order even in the conf Dec 04 19:28:49 GNUtoo|laptop: yes, in fso configs order is important Dec 04 19:30:37 1970-01-01T00:18:17.385467Z [DEBUG] fsogsmd : lowlevel_nokia900 fso_factory_function Dec 04 19:30:42 so the plugin is loaded Dec 04 19:31:01 will load dummy modem after that Dec 04 19:32:08 1970-01-01T00:20:14.624725Z [INFO] DummyModem <>: Ready. Using lowlevel plugin nokia900 to handle vendor specifics Dec 04 19:37:30 how do I activate the resource now? Dec 04 19:37:38 I bet dbus is not enough Dec 04 19:37:45 I'll try trough the old python console Dec 04 19:37:46 no? Dec 04 19:37:56 so first Dec 04 19:38:02 start mdbus2 in interactive mode Dec 04 19:38:02 is it done automatically for GSM Dec 04 19:38:03 ? Dec 04 19:38:05 and request GSM ? Dec 04 19:38:30 or if you have a SHR image... that is done on boot anyway Dec 04 19:38:47 I've SHR image only Dec 04 19:38:54 :) Dec 04 19:39:11 for requesting GSM I do? Dec 04 19:39:15 oops sorrry Dec 04 19:39:24 phonefsod will do that on start Dec 04 19:39:31 ok Dec 04 19:40:12 hmmm Dec 04 19:40:14 I've only that: Dec 04 19:40:19 1970-01-01T00:00:53.382598Z [INFO] LowLevelNokia900 <>: Registering nokia900 low level poweron/poweroff handling Dec 04 19:40:21 twice Dec 04 19:40:36 I'll restart fsogdmd Dec 04 19:41:51 ok was because it was restarted twice Dec 04 19:41:56 now I've that once Dec 04 19:42:09 1970-01-01T00:06:19.413787Z [INFO] DummyModem <>: Ready. Using lowlevel plugin nokia900 to handle vendor specifics Dec 04 19:42:10 hmmm Dec 04 19:42:18 that's the only print I have beside obvious ones Dec 04 19:42:24 like registering Dec 04 19:42:30 I'll reread code Dec 04 19:42:49 anyway as it's loading I should do a push Dec 04 19:54:14 fsogsmd segfaults Dec 04 19:54:15 hmmm Dec 04 19:56:45 hmmm even without my plugin Dec 04 19:57:27 I'll push my stuff and try debugging it after Dec 04 19:57:39 as it's not activated in the configs and compile Dec 04 19:59:06 freesmartphone.org: 03GNUtoo 07cornucopia * r4bae125c4e2d 10/fsogsmd/ (4 files in 4 dirs): (log message trimmed) Dec 04 19:59:07 freesmartphone.org: fsogsmd: lowlevel_nokia900: enable/fix compilation and runtime loading Dec 04 19:59:07 freesmartphone.org: *Added the lowlevel plugin to the autotools build system. Dec 04 19:59:07 freesmartphone.org: *fixed some minor compilations errors Dec 04 19:59:07 freesmartphone.org: *Activated lowlevel_nokia900 in lib/modem.vala(thanks mickeyl for telling Dec 04 19:59:07 freesmartphone.org: me where to look) Dec 04 19:59:08 freesmartphone.org: Note that to be able to run the plugin, the fsogsmd config must be changed, Dec 04 20:11:49 mrmoku, could you try that on your phone Dec 04 20:11:55 pidof fsogsmd Dec 04 20:12:00 moment Dec 04 20:12:06 go in shr-settings->gsm Dec 04 20:12:11 and pidof fsogsmd Dec 04 20:12:14 no need to rebuild Dec 04 20:12:20 * pespin wants to kill OE for updating gcc so frequently Dec 04 20:12:26 lol Dec 04 20:12:30 root@nokia900 ~ # pidof fsogsmd Dec 04 20:12:30 2615 Dec 04 20:12:34 that time it was koen Dec 04 20:13:15 GNUtoo|laptop: there are two more updates from khem afterwards :P Dec 04 20:13:20 ok Dec 04 20:13:26 I think they upgrade gcc faster than I can build it lol xD Dec 04 20:13:26 pespin: I pushed a glib update btw :) Dec 04 20:13:28 so it stays 2615? Dec 04 20:13:40 there is a segfault in fsogsmd Dec 04 20:13:47 and that's not my (seg)fault Dec 04 20:13:52 guys which precomp test can i do to make the difference between host and target for the FR? #ifdef Dec 04 20:14:00 mrmoku, thanks! does new version it get built by default as dependency? Dec 04 20:14:18 s/it// Dec 04 20:14:19 pespin meant: mrmoku, thanks! does new version get built by default as dependency? Dec 04 20:14:24 yup, it is default for shr Dec 04 20:14:29 great Dec 04 20:14:35 GNUtoo|laptop: no, segfaults for me too :/ Dec 04 20:14:46 mrmoku, when did you push it? I did make update-shr-usntable like 2 hours ago Dec 04 20:14:52 * mrmoku now understands why when going into gsm settings the pin dialog pops up :P Dec 04 20:14:58 pespin: more like 2 minutes ago ;) Dec 04 20:15:11 mrmoku, ok maybe it's the dummy modem Dec 04 20:15:17 ok, I hope they didn't upgrade gcc in the last hours xD Dec 04 20:15:25 pespin: ohh... yes Dec 04 20:15:28 they did Dec 04 20:15:31 omg Dec 04 20:15:32 I'm not sure dummy is so great but it prevent 100% usage Dec 04 20:15:42 fucking OE Dec 04 20:15:44 lol Dec 04 20:15:46 :) Dec 04 20:15:53 at least you don't have to rebuild from scratch Dec 04 20:16:10 maybe send a hate-mail to their mailing list or talk with them in #oe Dec 04 20:16:55 so last 2 hours have een unproductive for my PC u.u Dec 04 20:16:57 pespin, in another hand, gcc changes gave us a lot of speed for armv7 and freerunner Dec 04 20:17:14 armv7 because of linaro patches Dec 04 20:17:31 and before some khem magic for all our devices(armv4 included) Dec 04 20:18:39 GNUtoo|laptop, yeah, I suppouse the patches aren't just to make me rebuid gcc and waste my time, but hell, this is really annoying >,< Dec 04 20:26:08 JaMa|Off: hmm... buildhost is building eglibc... and after the next update it will have to do that again Dec 04 20:27:11 ok gdb is working or rather gdbserver->gdb Dec 04 20:27:36 hmmm I hope it's not gcc atomic stuff Dec 04 20:27:57 http://pastebin.com/yZVUdn44 Dec 04 20:28:44 how to list source code of a particular frame? Dec 04 20:28:59 because I do Dec 04 20:29:01 f 0 Dec 04 20:29:02 l Dec 04 20:29:04 it lists Dec 04 20:29:05 f 1 Dec 04 20:29:06 l Dec 04 20:29:13 is continue to list the frame 0 Dec 04 20:29:32 GNUtoo|laptop: ohh...__sync_fetch_and_add_4 Dec 04 20:29:49 indeed Dec 04 20:29:49 that is stuff I saw during my glib 2.26 works Dec 04 20:29:49 ouch Dec 04 20:30:06 indeed I saw stuff like that too with wesnoth+boost Dec 04 20:30:07 long time ago Dec 04 20:30:19 I had to dig into arm assembly<->kernel stuff Dec 04 20:30:30 because of the lack of proper atomic stuff on armv4 Dec 04 20:30:53 you already use 2.26? Dec 04 20:30:56 no Dec 04 20:31:01 phh... good :) Dec 04 20:31:03 I don't know Dec 04 20:31:09 s/no/I don't know Dec 04 20:31:12 I've lastest oe Dec 04 20:31:17 or nearly lastest Dec 04 20:31:28 as they keep changing the toolchain Dec 04 20:32:28 21:01 < CIA-101> Klaus Kurzmann master * r8ed56c77b9 openembedded.git/ (6 files in 3 dirs): Dec 04 20:32:31 21:01 < CIA-101> glib-2.0: add 2.26 with DEFAULT_PREFERENCE = "-1" and prefer it for SHR Dec 04 20:32:38 that was 20 mins ago... so probably not Dec 04 20:32:59 should I try more recent oe? Dec 04 20:33:16 no idea Dec 04 20:33:33 you will have to rebuild the toolchain... but maybe that helps Dec 04 20:33:42 * pespin rebuilding with (hope) last gcc + glib Dec 04 20:33:52 :) Dec 04 20:47:45 GNUtoo|laptop: btw. do you have r&d enabled? Dec 04 20:47:55 mrmoku, yes Dec 04 20:48:08 [ 108.938995] twl4030_wdt twl4030_wdt: Timeout can only be in the range [0-30] seconds Dec 04 20:48:25 that might explain why it does not work without r&d ? Dec 04 20:48:28 should I reboot for knowing the exact flags? Dec 04 20:48:34 no Dec 04 20:48:39 ok Dec 04 21:17:45 does oe's gcc define a macro that can indicat that gcc is compiling for OE? Dec 04 21:33:43 GarthPS, ? Dec 04 21:33:58 what do you want to achieve? Dec 04 21:34:15 like when compiling on desktop {do something} Dec 04 21:34:24 when compiling in oe {do something else} Dec 04 21:34:39 GNUtoo|laptop: I have a #include that need to be deferent for OE than on my host Dec 04 21:34:47 ah Dec 04 21:34:49 GNUtoo|laptop: yop Dec 04 21:34:58 what is this #include? Dec 04 21:35:22 GNUtoo|laptop: #include on ubuntu but #include on OE Dec 04 21:35:36 ok Dec 04 21:35:43 why they differ? Dec 04 21:36:00 GNUtoo|laptop: héhéhéhé beeeeeeeeecause! hihi Dec 04 21:36:05 lol Dec 04 21:36:19 GNUtoo|laptop: because ubuntu release two of theme one with qt4 and one with qt3 Dec 04 21:36:39 basically you could differenciate between cross-compiling or not cross-compiling but it would surely break stuff Dec 04 21:36:53 GNUtoo|laptop: ? like what ? Dec 04 21:37:07 because the macro location doesn't depend on wheter you are cross-compiling or not Dec 04 21:37:08 there is not a defin that difere ? Dec 04 21:37:16 GNUtoo|laptop: ah yeah Dec 04 21:37:20 right Dec 04 21:37:46 GNUtoo|laptop: or I make a patch and that is all Dec 04 21:37:55 hmmm Dec 04 21:37:59 ask in #oe maybe Dec 04 21:38:20 if no one knows here Dec 04 21:38:33 GNUtoo|laptop: ok thx Dec 04 21:38:40 say stuff such as: Dec 04 21:38:53 you want to write an oe-friendly software Dec 04 21:39:04 but you have this header location issue Dec 04 21:40:09 Lopi, hi Dec 04 22:21:47 mrmoku: ok, killing the build now and restarting... Dec 04 22:22:02 mrmoku: I was hoping it's last toolchain patch for today.. Dec 04 22:35:02 bleep bleep. Dec 04 22:35:03 bye. Dec 05 01:32:54 http://www.engadget.com/2010/12/02/meego-based-intel-atom-phone-and-tablet-spotted-from-russia-with/ **** ENDING LOGGING AT Sun Dec 05 02:59:58 2010