**** BEGIN LOGGING AT Thu Apr 21 02:59:58 2011 Apr 21 07:09:31 JaMa|Zzz: great, thanks... trying now Apr 21 07:21:54 mrmoku: yw, can you please try if /OE/tmpdir-shr/sysroots/x86_64-linux/usr/bin/valac --version , returns 0.12.0-dirty for you? Apr 21 07:22:06 mrmoku: here it doesn't but on buildhost it does Apr 21 07:22:22 mrmoku: and waf/vala.py is failing for midori because of that Apr 21 07:37:54 JaMa|W: 0022 mok@ladyt[pts/1]:~-> shrbuild/shr-chroot/OE/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/valac --version Apr 21 07:37:57 Vala 0.12.0-dirty Apr 21 07:42:38 ok, thanks Apr 21 07:44:33 anybody can explain me how elfe works? Apr 21 07:51:33 JaMa|W: hmm... ppp problem is still there though Apr 21 07:53:31 :/ Apr 21 07:56:03 mrmoku: btw while rebuilding from scratch libfreesmartphone-glib-2011.01.13.1 is now failing, because of this: Apr 21 07:56:06 #define FREESMARTPHONE_GLIB_ERROR g_quark_from_static_string("org.freesmartphone.Application") Apr 21 07:56:09 #define FREESMARTPHONE_GLIB_ERROR g_quark_from_static_string("org.freesmartphone.Audio") Apr 21 07:56:12 #define FREESMARTPHONE_GLIB_ERROR g_quark_from_static_string("org.freesmartphone") Apr 21 07:56:31 is it libfreesmartphone-glib fault or is something wrong in specs xml files (I don't see anything wrong there Apr 21 07:57:10 hmm Apr 21 07:57:30 except that org.freesmartphone.Application org.freesmartphone.Audio are last 2 additions.. Apr 21 07:57:40 and daniele was not seen for some time... Apr 21 07:58:47 and here is grep in xmldir http://paste.pocoo.org/show/375648/ Apr 21 07:59:46 I think we can live without it.. I was more concerned about possible specs issue Apr 21 08:00:54 no, I don't think it's spec issues Apr 21 08:00:54 hehe italian comments in tools/dbus-rapid-bindings.py are not really helpfull to me ;) Apr 21 08:01:00 ok, thanks Apr 21 08:01:34 and the italian comments are less disturbing for me than the fact it's python code ;) Apr 21 08:02:55 I think I've found it.. Apr 21 08:12:20 freesmartphone.org: 03Martin.Jansa 07libfreesmartphone-glib * re2ba3e01a1b1 10/ (3 files in 2 dirs): Apr 21 08:12:21 freesmartphone.org: specs bump, add cfg file for Application and Audio manager Apr 21 08:12:21 freesmartphone.org: * otherwise FREESMARTPHONE_GLIB_DBUS_ERROR is redefined 3 times, because we have newer fso-specs Apr 21 08:12:21 freesmartphone.org: Signed-off-by: Martin Jansa Apr 21 08:18:01 freesmartphone.org: 03mok 07cornucopia * r92605a31957f 10/fsogsmd/src/plugins/modem_nokia_isi/plugin.vala: Apr 21 08:18:01 freesmartphone.org: modem_nokia_isi: add missing call to gpio_prope Apr 21 08:18:01 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 08:22:41 heh shr buildhost load > 7 and git daemon refuses my git push :/ Apr 21 08:48:19 SHR: 03Martin.Jansa 07shr-chroot * r96287f0e23ae 10/etc/passwd: passwd: add uucp user to fix uucp build (calling chown uucp) Apr 21 08:58:26 mickeyl: now I could need some help :) Apr 21 08:58:45 mickeyl: where is the correct place to hook in the poweron/poweroff inside the modem class? Apr 21 08:59:26 mickeyl: constructor/destructor? or something else? Apr 21 09:04:31 pespin: hey, ping :) Apr 21 09:05:57 mrmoku, pong! Apr 21 09:06:22 pespin: the bumping did not fix PDP for me Apr 21 09:06:42 Morning all. Apr 21 09:07:08 mrmoku, it's not suppoused to fix the shr-settings, but I think there are changed which I need to implement it well in shr-settings :) Apr 21 09:07:16 I have only 1 error building an SHR-U image: http://pastebin.com/ar3StmqL What can I do to fix the compile error? Apr 21 09:07:21 s/changed/changes/ Apr 21 09:07:21 pespin meant: mrmoku, it's not suppoused to fix the shr-settings, but I think there are changes which I need to implement it well in shr-settings :) Apr 21 09:07:26 pespin: settings is not the problem Apr 21 09:07:37 problem is that one can't activate it Apr 21 09:07:48 mrmoku, using mdbus? Apr 21 09:07:54 using quick-settings Apr 21 09:08:23 gives an 'ppp immediately exited' error or something like that Apr 21 09:09:01 If it matters, I'm using the 32bit version of the chrooted env. Apr 21 09:09:40 ChristW: read wiki Building SHR Apr 21 09:10:23 ChristW: same as ffmpeg here http://wiki.shr-project.org/trac/wiki/Building%20SHR#ffmpeg Apr 21 09:10:29 freesmartphone.org: 03mok 07cornucopia * r3900855c0b17 10/fsogsmd/src/plugins/modem_nokia_isi/plugin.vala: Apr 21 09:10:29 freesmartphone.org: modem_nokia_isi: add a destructor to poweroff the modem Apr 21 09:10:29 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 09:10:32 freesmartphone.org: 03mok 07cornucopia * r3a9e59460cc3 10/fsogsmd/src/plugins/modem_nokia_isi/plugin.vala: Apr 21 09:10:32 freesmartphone.org: modem_nokia_isi: only reset cmt_rst_rq once per poweron on netlink changes Apr 21 09:10:32 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 09:10:41 mrmoku, hmm no idea. I can't look at it right now. Is new fso already in feeds? Apr 21 09:10:49 yup Apr 21 09:11:01 nvm then... thought you might have some insight :) Apr 21 09:15:35 * JaMa|W checkouting 32b chroot to upgrade it Apr 21 09:18:00 Can I edit de Wiki? I want to add a comment that ffmpeg _and_ libav have the same problem/solution. Apr 21 09:18:57 yes you can Apr 21 09:19:36 Ah, the 'edit page' at the bottom... Apr 21 09:19:49 I'm used to having an 'Edit' link per paragraph... Apr 21 09:22:09 Ok, updated. Apr 21 09:24:14 package libav-2_0.6.2+r0.2+gitr0+c6c2dfcf15c1d93b2189adff6f71c5c4b6b05338-r0.2: task do_compile: Succeeded Apr 21 09:29:06 ChristW: thanks Apr 21 09:33:41 Good morning gents! :) Looking for HW-aware hackers here. Apr 21 09:34:31 To anyone who has had any fun with i2c communication and the Freerunner or Neo.... Apr 21 09:35:13 Why is there a mandatory 20ms waiting window whenever the SW tries to do consecutive I2C read/writes?... Apr 21 09:37:19 DocScrutinizer, you may know this? ^ Apr 21 09:37:56 pespin: actually he pointed me here to find wpwrak... :) Apr 21 09:38:12 ah ok, sorry then :) Apr 21 09:38:44 actually, it was PaulFertser, sorry. :) Apr 21 09:46:59 NOTE: package shr-image-2.0-r18: task do_rm_work_all: Succeeded Apr 21 09:47:01 NOTE: Tasks Summary: Attempted 10990 tasks of which 10949 didn't need to be rerun and 0 failed. Apr 21 09:47:03 OE om-gta02@shr ~/shr-unstable $ Apr 21 09:47:27 So, now for the next step... editting and getting the .ipk on the FR! Apr 21 09:58:56 Ok, so now I edit conf/local-builds.inc. But, it's a bit unclear... The //path/to/shr-apps is always the same, innit? Apr 21 10:10:43 sorry, no instant answer Apr 21 10:10:49 maybe after a coffee Apr 21 10:11:20 wpwrak: hi there :) Here's a guy mokomoko who faced some unneeded delays with I2C communication with his homebrew devices, are you aware of some gotchas? Apr 21 10:11:24 DocScrutinizer: hey hey :) Apr 21 10:12:04 usually you got no delays on I2C Apr 21 10:12:42 mickeyl: interesting... root@nokia900 ~ # sendisi phonet0 0x15 0x01 0x01 0x00 Apr 21 10:12:50 is causing the link to go down and come back up Apr 21 10:13:00 repeatably Apr 21 10:13:01 mrmoku, hi lol Apr 21 10:13:08 hi GNUtoo Apr 21 10:13:31 so it's MTC_STATE_REQ ... Apr 21 10:13:43 and I still think it 'might' be normal Apr 21 10:14:18 mrmoku, singe you are now able to register you can get the log of registering fsogsmd and compare Apr 21 10:14:22 *since Apr 21 10:14:23 GNUtoo: btw. I eliminated the lowlevel plugin and integrated it into modem_nokia_isi Apr 21 10:14:32 yes I saw Apr 21 10:14:38 does it work now? Apr 21 10:14:55 no :/ Apr 21 10:15:12 ok Apr 21 10:15:31 did you try to lower the possibilities in ofono? Apr 21 10:15:35 like comment stuff Apr 21 10:15:40 to see what makes it register Apr 21 10:18:37 GNUtoo: not yet... as it's a pain to do Apr 21 10:19:03 btw. now it's more difficult to test Apr 21 10:19:13 as I can't just disable the lowlevel anymore ;) Apr 21 10:19:38 maybe I should add a parameter to modem_nokia_isi Apr 21 10:19:42 config option that is Apr 21 10:19:55 something like 'power_on_modem' Apr 21 10:20:17 yes Apr 21 10:20:20 could be an idea Apr 21 10:20:28 hmm... have to get local builds working again then Apr 21 10:20:47 mkaes no sense to blindly commit just to be able to build Apr 21 10:23:30 PaulFertser: hmm, you mean in the code or in actual behaviour ? i didn't notice any major delays in the behaviour. wouldn't have noticed small unnecessary delays, though Apr 21 10:26:47 there might be I2C slaves that need a delay to initialize Apr 21 10:27:34 I'm not aware of any offhand, and also this shouldn't result in a general delay in lowlevel I2C Apr 21 10:28:46 hi wpwrak Apr 21 10:29:36 ~seen morphis Apr 21 10:29:41 morphis <~morphis@ip-109-44-179-82.web.vodafone.de> was last seen on IRC in channel #openmoko-cdevel, 1d 55m 52s ago, saying: 'antrik: and there will be a aurora-components which takes some things from meego-ux-components, nothing more :)'. Apr 21 10:32:43 mickeyl: hi, is there some AbstractModem method getting called on request/release that I could override? Apr 21 10:33:06 let me take a look Apr 21 10:34:05 JaMa|W: my memory sucks... was there some trick to make local builds work again? Apr 21 10:34:20 mrmoku: you can override Modem::poweron(), but please call the base implementation Apr 21 10:34:36 ok, and poweroff() too then? Apr 21 10:34:38 yes Apr 21 10:34:44 good, thanks Apr 21 10:36:40 actually, no need to call the base implementation Apr 21 10:36:44 it's empty Apr 21 10:36:59 but it won't hurt, in case i will change the base Apr 21 10:37:18 mokomoko: ^^^ Apr 21 10:37:19 hmm... can't find them though Apr 21 10:37:53 powerOn and powerOff, actually Apr 21 10:38:01 they're listed in modem.vala as overridable Apr 21 10:38:23 mrmoku: it worked for me just as before when I needed srctree+gitver.. Apr 21 10:38:33 mickey: yeah, my search was case sensitive :P Apr 21 10:38:38 :) Apr 21 10:39:19 mickey: AbstractModem.powerOn(); Apr 21 10:39:26 is the way to call it from the base class? Apr 21 10:39:35 no, that's pythonic :) Apr 21 10:40:05 try base.powerOn(); Apr 21 10:40:20 hehe, ok Apr 21 10:40:36 you should evaluate the return though Apr 21 10:40:42 if base.powerOn() already fails, no need to continue Apr 21 10:43:46 yup Apr 21 10:47:40 freesmartphone.org: 03mok 07cornucopia * r9365f1c63ccd 10/fsogsmd/conf/nokia_n900/fsogsmd.conf: Apr 21 10:47:40 freesmartphone.org: fsogsmd: disable the vanished lowlevel plugin for nokia900 Apr 21 10:47:40 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 10:47:41 freesmartphone.org: 03mok 07cornucopia * re76833a48c85 10/fsogsmd/src/plugins/modem_nokia_isi/plugin.vala: Apr 21 10:47:41 freesmartphone.org: fsogsmd: modem_nokia_isi: override powerOn / powerOff Apr 21 10:47:41 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 10:48:37 I've made changes (locally) to shr-apps/libframeworkd-phonegui-efl/src/view/dialer-view.c. What do I need to re-build to try the .ipk on my FR>? Apr 21 10:49:11 PaulFertser: hi, I'm back! :) Apr 21 10:49:52 mokomoko: please repeat your question with relevant details and hilight Werner :) Apr 21 10:50:02 wpwrak: my device is really simple, it doesn't (theoretically) need any delays, it's ready to answer. Apr 21 10:51:05 wpwrak: there's a 20ms delay forced between consecutive read()s and/or write()s. no idea where it comes from, since the slave does not block the bus. Apr 21 10:51:49 wpwrak: (i remember you told me how the OpenMoko project is a nice opportunity for me to get into kernel programming) Ironically, by now i've recevied 3 potential job offers as a kernel dev, but all usa-based. Apr 21 10:52:00 wpwrak: I'm using /dev/i2c-0, then ioctl() to set the slave address and it works, minus the delay. Apr 21 10:53:56 PaulFertser: (3 offers) congratulation ! now you should educate them on the benefits of teleworking (or consider the joys of seeing the world :) Apr 21 10:54:16 wpwrak: the delay is verifiable both at the SW level and at the bus lines with the scope. Apr 21 10:55:20 mokomoko: hmm, sounds a bit odd. 20 ms could even be a short sleep that gets increased to timer granularity Apr 21 10:55:45 wpwrak: i wouldn't like to work for a usa-based company anyway, yet alone moving there even temporarily is out of the question :) Apr 21 10:55:56 that's my feeling too, the granularity is towards 2 jiffies. but I've no sleeps in my code.. Apr 21 10:56:36 mokomoko: but nothing comes to mind that would cause this. i've one only very little playing with i2c (mainly for the gta03 camera), but i don't recall having encountered gratuitous large delays on simple reads/writes Apr 21 10:57:01 wpwrak: could Python be to blame? Apr 21 10:57:18 mokomoko: have you tried strace ? Apr 21 10:57:26 no, good idea. Apr 21 10:57:46 wpwrak: what are you doing lately, btw? Haven't heard from you for ages. Apr 21 10:58:00 PaulFertser: why not work for them ? they're not that barbarian, no matter what cold war propaganda has told you ;-) Apr 21 10:58:05 wpwrak: but it's going to completely alter the timings.... Apr 21 10:58:26 mokomoko: but you'll still see any attempted sleeps :) Apr 21 10:58:34 right! :) Apr 21 10:58:41 mokomoko: (that is, if they come from system calls) Apr 21 10:59:01 hmm... I'm afraid there may be mischief in the i2c driver.... Apr 21 10:59:16 wpwrak: G.W. Bush for 8 years straight was more impressive than any loosy propaganda. Apr 21 10:59:35 PaulFertser: i'm now busy at qi-hw. mainly having fun with wireless these days. critters like these: http://downloads.qi-hardware.com/people/werner/wpan/tmp/2boards-20110305.jpg Apr 21 11:00:22 wpwrak: nice tiny boards, do you diy those? Apr 21 11:00:42 PaulFertser: oh, and I got the first PCB that's all designed by myself "mass-produced": http://www.tuxbrain.com/en/oscommerce/products/1880 Apr 21 11:00:58 PaulFertser: a humble beginning for sure, but hey' it's a start ;-) Apr 21 11:01:52 SHR: 03Martin.Jansa 07shr-chroot * r19dba1d9186b 10/OE/.bashrc: synchronize configs with 64bit chroot Apr 21 11:01:52 SHR: 03Martin.Jansa 07shr-chroot * r2c42f2e78091 10/OE/.bashrc: synchronize configs with 64bit chroot Apr 21 11:01:56 SHR: 03Martin.Jansa 07shr-chroot * r3feaad3abce8 10/ (309 files in 42 dirs): synchronize configs with 64bit chroot Apr 21 11:02:29 PaulFertser: yup, i designed and made them. they're ieee 802.15.4 devices. kinda like wifi, but shorter range, less demanding, and with less IPR issues Apr 21 11:02:39 SHR: 03Martin.Jansa 07shr-chroot * r4c1de2255087 10/ (5312 files in 219 dirs): system: drop .pyo and .pyc files and add them to .gitignore Apr 21 11:03:02 ChristW: I've just pushed bigger 32b chroot upgrade, please test and report any issues if you can Apr 21 11:03:14 SHR: 03Martin.Jansa 07shr-chroot * r7d31fb684e50 10/ (9896 files in 603 dirs): system upgrade Apr 21 11:03:32 JaMa|W: Just 'make update' to update the chroot? Apr 21 11:03:41 SHR: 03Martin.Jansa 07shr-chroot * r9e25859815df 10/ (51 files in 9 dirs): bitbake upgrade Apr 21 11:04:08 wpwrak: cool interestinf stuff indeed Apr 21 11:04:57 heyho Apr 21 11:06:02 wpwrak: how on earth do you solder that QFN chips? Apr 21 11:06:25 PaulFertser: with a soldering iron, flux, ... and patience :) Apr 21 11:06:40 PaulFertser: to make things a little more interesting, i used lead-free solder Apr 21 11:06:44 wpwrak: i thought you were using some thermo-controlled roster or something. Apr 21 11:07:09 s/roster/oven/ Apr 21 11:07:10 PaulFertser meant: wpwrak: i thought you were using some thermo-controlled oven or something. Apr 21 11:07:20 ChristW: http://wiki.shr-project.org/trac/wiki/Building%20SHR#Updatingshr-chrootenvironment Apr 21 11:08:04 PaulFertser: i also have my toaster oven (although only with manual temperature control), but i tend to get better results with manual soldering Apr 21 11:10:53 wpwrak: but qfn components seem to be almost as hard as bga :) Apr 21 11:11:13 JaMa|W: How do I save my local changes before update-shr-chroot? Apr 21 11:11:22 Copy them to the Internet? :-) Apr 21 11:11:26 SHR: 03Martin.Jansa 07shr-chroot * r99b5e868cef5 10/OE/.bashrc: bashrc: sync with 32bit chroot Apr 21 11:11:51 SHR: 03Martin.Jansa 07shr-chroot * r12eba56eac3a 10/ (5328 files in 220 dirs): system: drop .pyo and .pyc files and add them to .gitignore Apr 21 11:12:37 ChristW: you can commit them and then export with git format-patch Apr 21 11:12:42 and then reapply Apr 21 11:12:59 or just commit and git pull --rebase and then check diff Apr 21 11:13:09 ie passwd/group should be different Apr 21 11:13:10 I'm not quite ready to commit them to SHR... I was just building and testing a change! Apr 21 11:13:29 if they are in /OE directory then they should be ignored Apr 21 11:13:39 except stuff like .bashrc etc Apr 21 11:13:43 Since it's only one file now, I'll just copy it somewhere else and copy it back... Apr 21 11:14:09 PaulFertser: naw. you can reach the QFN contacts from the side. what i do is this: 1) pre-tin the board. 2) apply flux, place the qfn component, hold it down with tweezers. 3) dab some solder at contacts all around. this usually be very bad (only soldering a small fraction of the pins and leaving shorts), but it will hold the component in place. 4) flux again and solder such that the pins have a bit of solder floating around them ( Apr 21 11:14:09 you don't need much). also, remove excess solder by wiping it onto the adjacent traces. Apr 21 11:14:43 PaulFertser: 5) repeat until all the pins look good. 6) measure for shorts. Apr 21 11:14:47 1970-01-01T00:05:12.732332Z [DEBUG] fsogsmd : GLib : gisicomm.vala:859: regstatus = NET_REG_STATUS_HOME Apr 21 11:14:47 1970-01-01T00:05:12.732942Z [DEBUG] fsogsmd : GLib : gisicomm.vala:860: regmode = NET_SELECT_MODE_AUTOMATIC Apr 21 11:14:52 can I assume that a register Apr 21 11:14:55 in my tests Apr 21 11:15:29 wpwrak: cool, will keep in mind this method works, thanks! :) Apr 21 11:16:13 PaulFertser: particularly with lead-free solder, you can still get some unsoldered pins, but it's usually not too bad. what sucks a little are large ground area, like in these RF boards, because they draw away the heat. so the iron has to be quite hot. (alternatively, you could heat up the whole area including the ground place, but that probably does more damage than good) Apr 21 11:17:51 wpwrak: yeah, i'm aware of that ground area on rf chips, probably a big enough (for the tip of the iron) hole in the board can help? Apr 21 11:19:49 ChristW: commited changes are still local... nobody said you have to push them :-) Apr 21 11:20:04 PaulFertser: hole ? no, you just need a bit of clearance from the ground. as long as you don't touch it directly, you're fine. alas, RF usually wants ground to be close to the signal. Apr 21 11:20:42 ah it is Apr 21 11:20:43 ok Apr 21 11:20:46 bbl Apr 21 11:20:57 PaulFertser: here you can see more details: http://downloads.qi-hardware.com/people/werner/wpan/tmp/2boards-20110305-full.jpg Apr 21 11:22:08 freesmartphone.org: 03mok 07cornucopia * r0112158843e5 10/fsogsmd/src/plugins/modem_nokia_isi/plugin.vala: Apr 21 11:22:08 freesmartphone.org: fsogsmd: modem_nokia_isi: don't release the power key twice Apr 21 11:22:08 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 11:22:09 PaulFertser: ah, and i did the bloody crystal with hot air. with an iron, i'd just short to the case (there's very little clearance between the case and the pcb) Apr 21 11:22:09 freesmartphone.org: 03mok 07cornucopia * r06c3855c111d 10/fsogsmd/src/plugins/modem_nokia_isi/plugin.vala: Apr 21 11:22:09 freesmartphone.org: fsogsmd: modem_nokia_isi: add config to make power handling of the modem optional Apr 21 11:22:09 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 11:22:20 JaMa|W: Fixed the Wiki-page about updating the 32-bit environment. But: http://pastebin.com/s8VxsPUw Apr 21 11:24:57 I re-ran with 'sudo' (to see if that would fix the permissions for dev/), but it still fails for proc/ and sys/ Apr 21 11:25:39 ChristW: did you umount all dirst first, right? Apr 21 11:26:17 looks like it according to path, but if you had 2nd terminal still in chroot... Apr 21 11:27:13 Had another terminal open... good call! Apr 21 11:27:15 ChristW: and all files should be owned by your "bitbake" user, if you did first setup-shr-chroot as root then fix it by chown -R your_uid:your_git shr-chroot-32bit Apr 21 11:28:00 So, that fixed it. I originally did the setup-shr-chroot as norman user, so ther shouldn't be a problem. Apr 21 11:28:35 yup it was because you were trying to writte to binded system directories.. Apr 21 11:28:57 * JaMa|W should make first sentence in that paragraph red :) Apr 21 11:28:58 Ok, I'm now back into the chrooted environment. What should I test? Apr 21 11:29:14 just build image as usuall Apr 21 11:29:31 Ok, 'make update' is running... Apr 21 11:30:31 bb -k shr-image too. So far, so good... I do get a 'Cache version mismatch', but I guess that's expected from a big update... Apr 21 11:30:48 yes Apr 21 11:30:56 that's from newer bitbake Apr 21 11:31:28 wpwrak: impressive-looking projects indeed, i'm glad to hear you're having fun :) Apr 21 11:31:34 thanks for test, if you find any issues, ping me Apr 21 11:32:38 Mkay, I will. Apr 21 11:33:43 PaulFertser: alas, it means a lot of experimenting. here's a collection of earlier attempts: http://downloads.qi-hardware.com/people/werner/wpan/tmp/boards-so-far.jpg Apr 21 11:34:09 PaulFertser: and here some more, from antenna testing: http://downloads.qi-hardware.com/people/werner/tmp/antfarm.jpg (those little boards are PCB antennas, with different sizes) Apr 21 11:37:59 wpwrak: you do have a lot of patience indeed Apr 21 11:38:29 PaulFertser: all the beginning is hard. especially if you don't know what you're doing ;-) Apr 21 11:38:46 (this is my first RF design) Apr 21 11:42:16 wpwrak: is there any specific project you're doing it for? Apr 21 11:43:10 PaulFertser: it's for adding wireless connectivity to the ben nanonote Apr 21 11:43:49 wpwrak: i understand but why 802.15.4, what's the usecase? Apr 21 11:46:32 PaulFertser: the usecase is just connectivity. sort of a poor man's WiFi. we picked 802.15.4 because it's reasonably well-supported by industry (i.e., you have a choice of properly documented chips), it's an open standard, and it operates in a global ISM band. Apr 21 11:48:04 PaulFertser: (usecase) some people are also thinking of using it with sensors and such, i.e., the stuff it is originally designed for. Apr 21 11:48:05 wpwrak: yes, but wifi has a clear usecase: i could (if i had nanonote) use my home wlan and then go to friend's and use his/her etc. Also, usb wifi dongles are available. Apr 21 11:51:35 mrmoku, pre_sim makes it registerhttp://wiki.freesmartphone.org/index.php/Phonet_Implementation#Testing_table Apr 21 11:54:09 PaulFertser: well, we don't have USB host. and even if we did, that would be quite a wasteful way of using it. wlan would be nice, but once you get to the chip level, the situation is fairly hopeless when it comes to openness. remember the ar6000 ? ;-) there's a chip from marvell, which is better supported, but it also isn't open. and it's just a question of time until that one disappears, too. (it's quite old - and the predecessor Apr 21 11:54:09 is broken and apparently was never fixed) Apr 21 11:55:02 PaulFertser: also, with 802.15.4, we have a better chance of being able to go SDR some day. that would be very very sweet. Apr 21 11:57:43 wpwrak: ath6kl with ar6003? Apr 21 11:58:41 mickey|office: ping Apr 21 11:58:52 wpwrak: (nanonote) no usb host? Damn, that's strange, i wasn't aware of that. Even my lousy wr741nd wifi router has that (usb1.1 only), as does FR and n900 :) Apr 21 12:00:38 PaulFertser: (ar6003) don't know that one. the ar6001 experience kinda spoiled my appetite for atheros :) Apr 21 12:01:07 PaulFertser: (usb host) hmm, i'm not sure you realize how small the ben is :) Apr 21 12:01:11 PaulFertser: yes, it's a pity. even more since the SoC has ohci support Apr 21 12:01:51 wpwrak: the avt2 has host support and fits nicely into the nanonote case Apr 21 12:01:55 PaulFertser: but i hope that we will be able to somehow cram a USB host port into a successor. just need maybe 1 mm more Apr 21 12:02:32 larsc: okay, but you normally need a cable with it Apr 21 12:02:38 wpwrak: atheros seems to be the most sane company in the industry, i hope it will last regardless of the qualcom deal. Apr 21 12:03:14 larsc: i would hope to have a full-sized connector. no loose external parts Apr 21 12:03:26 wpwrak: hm Apr 21 12:03:45 PaulFertser: as always with big global company: atheros != atheros ;) Apr 21 12:04:13 PaulFertser: yeah, there's easily worse than atheros. most of their chips have actually quite decent support. just the ar6k sucks. Apr 21 12:05:35 PaulFertser: anyway, with ieee 802.15.4, the chips do relatively little. so the companies are not nearly as close-fisted with their oh so precious intellectual property than in the wifi arena. Apr 21 12:06:21 afaik their plan for ar6k is to go a similar route marvel did for the libertas. write a small dummy firmware and a mac80211 driver Apr 21 12:06:37 instead of a fullmac firmware Apr 21 12:08:17 larsc: that would be the most sensible thing to do Apr 21 12:10:24 though every time i asked if there was progress in that area i was told that it is low priority... Apr 21 12:11:29 larsc: does wake on lan work with such dummy firmware? Apr 21 12:13:22 lindi-: wake on lan required a special wake packet, right? Apr 21 12:13:25 larsc: so not much has changed in the last 3-4 years ... Apr 21 12:15:21 larsc: or maybe they've just learned the chinese "no" :) Apr 21 12:15:23 lindi-: if you're interested in wowlan, the concept is in active development right now, there're related mails floating on their ml and the wiki is getting info. Apr 21 12:16:14 wpwrak: haha Apr 21 12:18:03 larsc: regular icmp worked here Apr 21 12:18:20 PaulFertser: for gta04? Apr 21 12:21:02 lindi-: PaulFertser seems to know more then me Apr 21 12:23:55 lindi-: no, wowlan as in "a kernel-level infrastructure to provide common framework for the drivers supporting it". Apr 21 12:32:18 mickeyl, mickey|office: ping Apr 21 12:33:06 does anyone know where to go to find out about hackable GPS's Apr 21 12:33:20 morphis: pong, morning Apr 21 12:33:35 like, is there custom linux firmware that you can do to get more features and better maps? Apr 21 12:33:53 mickey|office: we already have launch time :) Apr 21 12:34:05 indeed... tempus fugit Apr 21 12:34:10 hehe Apr 21 12:34:44 but anyway we have to talk a bit about the plan for aurora Apr 21 12:34:48 correct Apr 21 12:34:59 what are the steps, what are the features ... Apr 21 12:35:12 i have added a bit to the wiki page and created another one Apr 21 12:35:30 i also have one interested guy from Apr 21 12:35:32 I saw it Apr 21 12:35:37 #openezx who has knowledge w/ qml and want to help Apr 21 12:35:42 ah great Apr 21 12:35:47 i told him to subscribe smartphones-userland where an official announcement will come soon Apr 21 12:35:51 so add that to the agenda to talk about Apr 21 12:35:58 ok Apr 21 12:36:16 we should create the complete roadmap for 0.1 first before we do any annoucement Apr 21 12:36:27 and create tasks on which we can work Apr 21 12:36:39 so we still know what the other people are doing Apr 21 12:36:44 and what needs to be done Apr 21 12:36:46 yes. i would recommend first adding a bit up on the user stories Apr 21 12:36:52 ok Apr 21 12:36:55 then chosing the user stories we want to implement for 0.1 Apr 21 12:37:04 then seeing which consequences this has -> individual technology tasks Apr 21 12:37:19 then we can shuffle work items around Apr 21 12:37:24 jepp, it's a little bit like scrum Apr 21 12:37:31 and check who wants to take some load of our asses :D Apr 21 12:37:35 err... shoulders Apr 21 12:37:38 hehe Apr 21 12:37:41 s/of/off/ Apr 21 12:37:59 I am already started to think about the underlaying structure for having something like a "application" Apr 21 12:38:09 e.g. dynamic loading of qml stuff Apr 21 12:38:27 as we will have a memory problem when loading every stuff we need in and don't take care about it Apr 21 12:38:32 ok, cool. it's quite amazing that we can both load QML on demand or compile them in Apr 21 12:38:40 yep Apr 21 12:38:49 jepp, I think we should load it on demand Apr 21 12:38:54 in the launcher Apr 21 12:39:29 ok. what i don't understand yet is how the functional separation into different areas will work Apr 21 12:39:47 like, top bar, app area, bottom area Apr 21 12:40:00 can we compose that seperately or does every app need to know about these components? Apr 21 12:41:41 each app will completly independent of the statusbar/notification area Apr 21 12:42:09 you looked at the example I commited? Apr 21 12:42:15 no time yet Apr 21 12:42:23 but i will over the easter days Apr 21 12:42:42 ok, what you will do later for a application is the following Apr 21 12:42:46 you have a main.qml Apr 21 12:42:57 and several NameItScene.qml in your app directory Apr 21 12:43:39 a application will have several pages Apr 21 12:43:48 oh sorry, it should be NameItPage.qml Apr 21 12:44:01 in the main.qml you then: Apr 21 12:44:05 Application { Apr 21 12:44:13 name: "org.aurora.phone" Apr 21 12:44:31 onCompleted: loadPage(NameItPage.qml) Apr 21 12:44:32 } Apr 21 12:44:52 so when the app starts it loads first the NameItPage on demand and push it on stack Apr 21 12:45:18 then the NameItPage can go forward do any other page it wants within the application Apr 21 12:45:42 s/do/to/ Apr 21 12:45:42 morphis meant: then the NameItPage can go forward to any other page it wants within the application Apr 21 12:45:54 ok Apr 21 12:46:03 in the aurora application (the thing around all application, the master) there is a ApplicationStack Apr 21 12:46:21 where each running application will be put into when it launches and removed when it dies Apr 21 12:46:47 the applicationstack is some model we can then iterate with the application chooser in the launcher Apr 21 12:47:10 I will do some graphics about this and describe it in the wiki Apr 21 12:47:41 ok Apr 21 12:47:55 i like this Apr 21 12:48:36 i'm not sure how much of the actual components we can share for the ROKR E2 though, not having a touchscreen is quite a big impact on the UI design Apr 21 12:49:10 wuuups Apr 21 12:49:13 also, most of the QML examples i've seen take little care about key navigation :) Apr 21 12:49:26 so that's going to be quite a challenge for me Apr 21 12:49:31 as a touchscreen is up-to-date :) Apr 21 12:49:45 maybe we can do two different launchers Apr 21 12:49:50 one is very basic Apr 21 12:49:57 without expecting a touchscreen Apr 21 12:50:05 yep. that's my plan for tefosa Apr 21 12:50:07 and one is the fully bloated with all nice features Apr 21 12:50:29 it needs additional thinking to facilitate the two soft keys, where menu entries have to be used Apr 21 12:50:32 ok, I will put most components in aurora-components Apr 21 12:50:35 but anyways Apr 21 12:50:36 which you can then use two Apr 21 12:50:40 right Apr 21 12:50:42 s/two/too/ Apr 21 12:50:42 morphis meant: which you can then use too Apr 21 12:51:04 aurora will be the main application which does the application lifecycle and so on Apr 21 12:51:19 ya Apr 21 12:52:10 btw. there is now a android port for the Palm Pre ... Apr 21 12:52:15 ugh Apr 21 12:52:21 how do they access the modem? Apr 21 12:52:22 it's using our stuff like tslib, wifi, .... Apr 21 12:52:33 currently they don't Apr 21 12:52:36 heh Apr 21 12:52:43 they even don't released any source code Apr 21 12:52:50 mmh Apr 21 12:52:56 not nice Apr 21 12:53:11 http://www.precentral.net/android-dual-booted-pre-hardware Apr 21 12:53:53 JaMa|W: JaMa: Building image works in new chroot-32bit Apr 21 12:55:51 morphis: can't wait to see their pain when they start to write a RIL :D Apr 21 12:56:00 ChristW_afk: great Apr 21 12:56:42 morphis: i think the most pressuring issue for me is to find the Vala QML interoperability Apr 21 12:56:56 mickey|office: jepp Apr 21 12:57:03 mickey|office: but do we need it? Apr 21 12:57:16 absolutely Apr 21 12:57:17 mickey|office: as we will do most stuff within QML Apr 21 12:57:26 for DBus? Apr 21 12:57:28 yes Apr 21 12:57:37 qt dbus is much more wordy than vala dbus Apr 21 12:57:40 ok Apr 21 12:57:46 then I trust you :) Apr 21 12:57:47 and it lacks nice async support Apr 21 12:58:27 hmm Apr 21 12:58:28 then we need it really Apr 21 12:58:39 perhaps it would be easier to add this to the javascript interpreter Apr 21 12:58:45 but then we would have to patch qt Apr 21 12:59:30 no, i think the best way is to write the FSO agents in vala and generate interoperability code Apr 21 12:59:39 everything else we can do in C++ Apr 21 12:59:44 (or in the embedded .js) Apr 21 13:09:22 mickey|office: ok, so this should maybe one of your firsts tasks :) Apr 21 13:10:20 mrmoku, http://wiki.freesmartphone.org/index.php/Phonet_Implementation#Testing_table Apr 21 13:10:42 I'll try to call isi_infoserver_create( Apr 21 13:15:44 mrmoku, do you know that envs: Apr 21 13:15:46 OFONO_ISI_TRACE Apr 21 13:15:55 OFONO_ISI_DEBUG Apr 21 13:17:26 morphis: yes, i will work on that Apr 21 13:17:44 in parallel i'll i try to get more familiar with qml Apr 21 13:19:02 ok Apr 21 13:21:51 perhaps you find time over easter to look at the qt/e problem on the pre Apr 21 13:22:00 (ts) Apr 21 13:22:37 mrmoku, ping me when you're back Apr 21 13:23:05 mickey|office: jepp, I already compiled the image Apr 21 13:23:13 just have to put it on the device Apr 21 13:23:29 can you check if you have tslib-git or 1.0 installed? Apr 21 13:23:50 btw. for the aurora-theme you want to be very minimalistic like the om2008 theme was Apr 21 13:24:09 so black and white with the icons of the ubuntu-mono-dark icon theme Apr 21 13:28:14 have to reboot ... Apr 21 13:35:54 GNUtoo: ping Apr 21 13:36:01 ok Apr 21 13:36:23 look at the last version of http://wiki.freesmartphone.org/index.php/Phonet_Implementation#Testing_table Apr 21 13:36:42 isi_infoserver_create() seem to do something usefull Apr 21 13:36:50 that is to say to make it register Apr 21 13:36:52 no idea why Apr 21 13:37:11 because looking into that function doesn't show something obvious Apr 21 13:37:15 but it's pretty small Apr 21 13:38:01 maybe I should try to narrow it in the other side Apr 21 13:38:09 that is to say remove the function that are before it Apr 21 13:38:14 and replace them by shell script Apr 21 13:38:17 and fsogsmd Apr 21 13:44:36 ok Apr 21 13:45:30 * mrmoku takes a look at infoserver_create Apr 21 13:47:27 hmm Apr 21 13:47:41 * mrmoku takes a look at an ofono tcpdump Apr 21 13:49:18 GNUtoo: good catch Apr 21 13:49:29 mickey|office: GNUtoo's find is very interesting Apr 21 13:50:02 looks like we have to run a PN_EPOC_INFO server on the _host_ side which responds to requests from the modem Apr 21 13:50:29 specifically (and only) INFO_SERIAL_NUMBER_READ_REQ Apr 21 13:51:15 I oversaw in the dumps that the request is coming from the _modem_ and not the _host_ Apr 21 13:51:45 * mrmoku getting excited :) Apr 21 13:52:47 i see Apr 21 13:53:03 and the modem probably just shuts down the link when getting no response Apr 21 13:53:08 ah so I found something directly intereseting Apr 21 13:53:10 correct Apr 21 13:53:15 GNUtoo: yup :) Apr 21 13:53:20 so it acts like a watchdog Apr 21 13:53:23 NICE!!!!!!! Apr 21 13:53:27 if the infoserver is dead... shutdown modem Apr 21 13:53:31 yup Apr 21 13:53:35 as the corresponding process seems to have died Apr 21 13:53:51 that makes the role of the infoserver more clear, as the rest what it does is pretty unimportant Apr 21 13:54:02 [giving back some additional OS info strings] Apr 21 13:54:28 and interestingly this is only being queried _before_ registration Apr 21 13:54:32 the only thing ofono implements is INFO_SERIAL_NUMBER_READ_REQ Apr 21 13:54:43 ok Apr 21 13:54:52 and there only INFO_SB_SN_IMEI_SV_TO_NET Apr 21 13:54:53 as target Apr 21 13:55:04 so it wasn't at all a problem in our init sequence? Apr 21 13:55:23 or were there additional potential problems? Apr 21 13:57:52 well... moving the lowlevel into the modem did not change anything Apr 21 13:57:56 behaves the same Apr 21 13:58:23 it might just be that damn info server... Apr 21 13:59:09 mickey|office: what is needed to implement it? I would like to try it ... Apr 21 13:59:27 if you're not already on it :P Apr 21 14:03:36 first, add the missing constants to the vapi Apr 21 14:04:08 mickeyl: ping Apr 21 14:04:18 then, find a good place to register that infoserver Apr 21 14:04:53 this might go into isicomm rather than fsogsmd Apr 21 14:05:00 but i'm not sure as i didn't think about it yet Apr 21 14:05:02 Venemo_N900: pong Apr 21 14:05:06 hello mickey|office, DocScrutinizer pointed me to you Apr 21 14:05:18 yeah, I did Apr 21 14:05:25 topic LIS302 Apr 21 14:05:25 considering what? hurry up, i have a meeting in 2 minutes Apr 21 14:05:29 and kevents Apr 21 14:05:31 ok Apr 21 14:05:42 I'd like to write something like this in c++ Apr 21 14:05:43 http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsodeviced/src/plugins/accelerometer_lis302/plugin.vala;h=4c00a90cb0e00b2fc241bb7beb938be8d00c92bf;hb=00c471c86667ad3d86610296a634496d746ec287 Apr 21 14:05:45 vala->C Apr 21 14:05:55 question is, what libs/includes do I need? Apr 21 14:06:18 none at all Apr 21 14:06:19 mickey|office: ok Apr 21 14:06:27 you just need to read from the input devices Apr 21 14:06:40 compute something meaningful out of the values Apr 21 14:06:47 and send it to the upper layers of your stack Apr 21 14:06:57 you can do this with posix Apr 21 14:07:01 calls Apr 21 14:07:03 ooh, our lis302 isn't based on kevents? Apr 21 14:07:32 to my knowledge, there are no kevents coming from the accelerometer Apr 21 14:07:41 bbl, meeting Apr 21 14:07:43 :nod: Apr 21 14:08:00 so it's just implementing a /dev/input/accel node Apr 21 14:08:02 DocScrutinizer: should I say, told ya? Apr 21 14:08:22 so, is that code based on polling too? Apr 21 14:08:27 npe Apr 21 14:08:30 nope Apr 21 14:08:37 shouldn't Apr 21 14:08:53 input events are still IRQ triggered Apr 21 14:09:09 okay Apr 21 14:09:21 that sounds sane Apr 21 14:09:36 just the /dev interface is way more convenient than the /sys one Apr 21 14:09:49 aiui Apr 21 14:10:00 DocScrutinizer: so the accelerometer sends an interrupt when its values change? Apr 21 14:10:02 you're also not polling kbd Apr 21 14:10:38 Venemo_N900: you got two machines that create IRQ on rather arbitrary consitions, in LIS302 chip Apr 21 14:10:49 mhm Apr 21 14:11:10 free fall, g value > / < X on any axis Apr 21 14:11:35 even highpass filter that will differentiate the signal so only movement triggers Apr 21 14:11:36 okkay, so what headers do I need in c++ to connect to this input device? Apr 21 14:11:42 but not absolute values Apr 21 14:12:01 depends on the kernel driver Apr 21 14:12:11 mhm Apr 21 14:12:54 the Nokia one doesn't create a /dev/input/* device node afaik Apr 21 14:13:04 only /sys/foo/bar/* Apr 21 14:13:30 and does the /sys/foo stuff send some events that I can listen to? Apr 21 14:13:52 that's the question, but I guess it *should* send kevents Apr 21 14:13:55 I'll go, Apr 21 14:14:19 DocScrutinizer: according to mickey|office it doesn't send kevents. Apr 21 14:14:21 I hope to see something working when I return.... Apr 21 14:14:33 "ours" allegedly doesn't Apr 21 14:14:52 kevents are an immanent part of /sys Apr 21 14:14:57 concept Apr 21 14:15:25 so, will the nokia one send kevents or not? Apr 21 14:15:46 basically if a driver doesn't support kevents for the /sys nodes it creates, then it should be considered buggy I'd say Apr 21 14:16:02 lemme check this once and for all now Apr 21 14:16:19 okay, check it :) Apr 21 14:17:20 meh, mxr.maemo.org slow as molasses Apr 21 14:17:33 yep Apr 21 14:18:48 http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#223 Apr 21 14:18:54 the answer is YES Apr 21 14:19:01 nice Apr 21 14:19:23 okay, so back to the topic of how to listen to kevents from c Apr 21 14:20:11 ask mickey, he knows about it :-D Apr 21 14:26:32 Venemo_N900: http://mxr.maemo.org/fremantle/source/kernel/fs/sysfs/file.c#472 Apr 21 14:29:03 Venemo_N900: http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#165 is a flaw in Nokia lis302 kernel driver, we'd like to have access to highpass config Apr 21 14:31:35 also line 188/189 is a bit errr... uninspired Apr 21 14:35:18 errr, I once knew what witchcraft that is ->> chip->power = !!on; Apr 21 14:35:24 why !! Apr 21 14:37:00 314 return !!result; Apr 21 14:37:11 could somebody enlighten me please? Apr 21 14:37:29 DocScrutinizer, that it a trick to only get the boolean meaning of the variable Apr 21 14:37:46 heh, thought it, thanks :-D Apr 21 14:37:48 !!0 = 0 and !!3 = 1 for instance Apr 21 14:39:33 hehe Apr 21 14:41:38 still in a meeting, but in short: you open a netlink socket, subscribe to event groups, and parse what's incoming from the socket Apr 21 14:42:50 mickey|office: thanks :-D Roughly what I told Venemo_N900 as well ;-) Apr 21 14:43:17 you can do in any language I guess Apr 21 14:43:29 afaik FSO1 even did it in python Apr 21 14:44:00 vala example is @ http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=libfsobasics/fsobasics/kobjectnotifier.vala;h=69b643cba72f89d847a04fed01dada72081ca2dc;hb=06c3855c111dfeb44873a54c2d59cbbfebfc9c54, should be simple to translate to C Apr 21 14:44:13 TAHNKS! :-D Apr 21 14:44:23 mickey|office: thank you Apr 21 14:44:39 mickey|office: I'm adding Server to the vapi Apr 21 14:45:09 mickey|office: g_isi_server_handle returns a GIsiPending * Apr 21 14:45:21 which I don't how to do that Apr 21 14:45:39 Venemo_N900: you think this all is rant? ;-D Apr 21 14:46:41 DocScrutinizer: dunno, I'll check the code out on my laptop. n900 screen is not designed for that. :P Apr 21 14:47:04 mickey|office: nvm Apr 21 14:47:17 just thought it doesn't feel like ranting about meego to me Apr 21 14:47:38 how is the discussion related to meego at all? Apr 21 15:14:46 re Apr 21 15:19:31 mickey|office: thanks for your help. Made my point about why QtMob is borked, as is meego Apr 21 15:20:08 *nod* i think kobject/kevent is one of the most underrated technologies in the linux kernel Apr 21 15:20:09 hi mrmoku Apr 21 15:20:26 any news? Apr 21 15:21:30 GNUtoo: implementing that info server Apr 21 15:21:45 fighting my way through vapi and vala :P Apr 21 15:22:08 ok Apr 21 15:43:44 can anyone tell me how i can convince bitbake recipes to depend on a specific version of another recipe? Apr 21 15:44:43 you cannot Apr 21 15:44:57 well that is a problem Apr 21 15:45:07 it's distro maintainer job to set P_V to compatible set Apr 21 15:45:48 can i set this in a meta layer? or is that more global Apr 21 15:47:39 it's distro policy, so it should be in meta-distro conf/distro/include/preferred*.inc Apr 21 15:48:17 but I agree with you, that's hard to maintain and one of greatest flaws in dependency handling Apr 21 15:49:08 is there any way to make a recipe tell one that it has the wrong version? failing with compile errors is not a good hint Apr 21 15:52:17 I don't know about any Apr 21 15:52:48 ok i simply deleted the recipe that is too new Apr 21 15:53:09 you can write DEPENDS="blah-4" and it would even work because blah_4.bb provides blah-4 provider but this won't be allowed in commit Apr 21 15:53:45 i tryed DEPENDS = blah-x.y.z but i did not work Apr 21 15:54:00 better to write it above DEPENDS and let distro maintainers handle it Apr 21 15:54:13 and for your tests you can add P_V to local.conf Apr 21 15:54:40 ie PREFERRED_VERSION_some-dependency = "0.3" Apr 21 15:54:53 to ignore too new some-dependency_0.5 Apr 21 15:55:12 yes as a workaround.. but it is no solution imho Apr 21 15:55:59 if someone needs your foo_0.1 than he has to add this to his disto Apr 21 15:56:02 distro Apr 21 15:58:01 mickey|office: hmm... ../gisicomm/.libs/libgisicomm.so: undefined reference to `g_isi_pending_free' Apr 21 15:58:04 collect2: ld returned 1 exit status Apr 21 15:58:18 the problem i have is that foo_x needs bar_y and blah_z and finally there is blub_c which needs foo_x Apr 21 15:58:55 i write a comment in my README file... but it is still ugly Apr 21 15:59:06 mickey|office: http://paste.pocoo.org/show/375883/ is what I did so far Apr 21 16:02:03 mickey|office: there is no such thing as g_isi_pending_free ... Apr 21 16:11:30 in the vapi where GIsiPending is defined, you need to add free_function = "" Apr 21 16:11:51 mickey|office: ahh, ok, thanks Apr 21 16:29:07 freesmartphone.org: 03mok 07libgisi * r5a6e24c5b32f 10/ (data/libgisi.vapi gisicomm/gisicomm.vala): Apr 21 16:29:07 freesmartphone.org: implement the EpocInfo server Apr 21 16:29:07 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 16:42:52 freesmartphone.org: 03mok 07cornucopia * r7c3c135508f2 10/fsogsmd/src/plugins/modem_nokia_isi/plugin.vala: Apr 21 16:42:52 freesmartphone.org: fsogsmd: modem_nokia_isi: power off again before power on Apr 21 16:42:52 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 16:50:23 * mrmoku dinner before finishing Apr 21 17:14:39 http://www.precentral.net/android-dual-booted-pre-hardware Apr 21 17:52:47 darkh, indeed if you depend on a precise version not handled by distros it makes problems Apr 21 17:53:40 because ./configure auto-picking things Apr 21 17:54:19 if i do not have the correct version compiling fails... that is my problem Apr 21 17:55:42 then bump version or ask distros to do so Apr 21 17:56:05 *bump version of the dep Apr 21 17:57:30 well i just removed the recipe with the wrong version from my meta-kde layer and everything else is not my problem... Apr 21 18:05:00 hi mickeyl, do you have a few more minutes for me? Apr 21 18:06:44 I think writing a generic kevents-monitor that dumps ALL events to stdout should be a rather straightforward practice Apr 21 18:07:28 you might use "udevadm monitor" and strip out the filtering Apr 21 18:08:44 mickeyl: on BBQ? :-D Apr 21 18:10:16 though I'm really wondering if *nobody* already did that yet Apr 21 18:11:05 probably each "kevents mini-howto" has a kevents-monitor as an example how to use the API Apr 21 18:12:19 spyPhone stores all location data locally and pesistently - OMG!! :-P Apr 21 18:15:30 anyone suprised? Apr 21 18:22:27 freesmartphone.org: 03mok 07libgisi * ra68358b9569d 10/gisicomm/gisicomm.vala: Apr 21 18:22:27 freesmartphone.org: ignore the netlink going down on startup Apr 21 18:22:27 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 18:22:28 freesmartphone.org: 03mok 07libgisi * rd8c44061ab9c 10/ (data/libgisi.vapi gisicomm/gisicomm.vala): Apr 21 18:22:28 freesmartphone.org: make the epoc info actually do something Apr 21 18:22:28 freesmartphone.org: Signed-off-by: Klaus Kurzmann Apr 21 18:25:46 mrmoku: now any progress on gisi? Apr 21 18:25:52 JaMa: any idea, I get a "NoProvider: u-boot" with recent meta-shr? Apr 21 18:26:25 JaMa, mrmoku (or anyone else :-) ) could you help me build a local package? Apr 21 18:26:49 Ah, I'm there again! Apr 21 18:26:58 OH MY GOD Apr 21 18:27:10 DocScrutinizer: it registered :) Apr 21 18:27:27 just in this moment Apr 21 18:27:56 :-)) Apr 21 18:28:05 GNUtoo, mickeyl: epoc info did it :D Apr 21 18:28:14 WOWW Apr 21 18:28:15 friggin sh*t Apr 21 18:28:23 What did I miss? Apr 21 18:28:39 libgisi modem works Apr 21 18:28:51 Another smartphone? Apr 21 18:28:59 *the n900 modem register to the network Apr 21 18:29:03 nah, ISI Apr 21 18:29:08 brb Apr 21 18:29:25 So, SHR on N900...?] Nice! Apr 21 18:29:32 yoh Apr 21 18:29:36 Or, OE... Apr 21 18:31:16 so much for 'openness' of NIT/maemo/meego/ofono Apr 21 18:31:33 Took about a year or so... Apr 21 18:31:40 lol Apr 21 18:31:42 Now, on to the iPhone! Apr 21 18:31:54 blaergh Apr 21 18:32:34 * DocScrutinizer hands mrmoku tha "HERO OF THE DAY" medal Apr 21 18:34:46 Venemo: mickeyl probably at dinner Apr 21 18:35:02 no problem Apr 21 18:35:06 he will respond when he's back Apr 21 18:35:15 yeah, just hang on Apr 21 18:35:53 anybody aware of the FSO1 python source for kevents handling? Apr 21 18:36:52 I'm lost in that git tree Apr 21 18:38:13 I.E where's the FSO1 pendant to cornucopia http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=libfsobasics/fsobasics/kobjectnotifier.vala;hb=HEAD ? Apr 21 18:39:53 (assuming we had that on FSO1 as well, otherwise I'd not know how e.g. battery charging state changes got detected :-D ) Apr 21 18:47:30 DocScrutinizer: can I get a medal too ? Apr 21 18:47:46 sure, why not :-D Apr 21 18:55:04 * mrmoku splits the "HERO OF THE DAY" medal in two and passes one half to GNUtoo Apr 21 18:55:20 thanks Apr 21 18:55:35 we should write that to the blog Apr 21 18:55:43 SHR's wiki news Apr 21 18:55:49 then it'll go to the blog Apr 21 18:56:05 yeah, can you do that? Apr 21 18:56:31 yes,but later ( I'm fighting with sed and awk right now) Apr 21 18:56:54 yay, the gsm gadget works too :) Apr 21 18:58:06 morphis: COMPATIBLE_MACHINE I guess.. sofar only for n900 Apr 21 18:58:42 * mrmoku reboots with phonefsod enabled ;) Apr 21 19:00:10 ohh, not good :P Apr 21 19:00:27 does it start skynet now? Apr 21 19:01:07 JaMa2: which one do you mean? http://en.wikipedia.org/wiki/Skynet ;) Apr 21 19:01:14 you called me? Apr 21 19:01:24 JaMa2: I already added palmpre to COMPATIBLE_MACHINE Apr 21 19:01:29 but only in meta-shr Apr 21 19:01:31 not in oe-core Apr 21 19:02:41 JaMa2: http://pastie.org/1820098 Apr 21 19:05:27 ok u-boot is not in oe-core Apr 21 19:06:38 morphis: could you should -v -D output from bitbake u-boot? Apr 21 19:06:49 jepp, one moment Apr 21 19:07:08 I switched now to MACHINE = "nokia900" and try again Apr 21 19:09:13 it's the same Apr 21 19:09:43 mmt retrying here with current layers Apr 21 19:10:17 JaMa2: http://pastie.org/1820123 Apr 21 19:11:23 DocScrutinizer: I yet have to decide on what I earned the medal for.. let me think. I booted yesteday's htcleo shr-image while in bed and browsed news pages on the web a bit in fennec after failing to test captainigloo's keyboard Apr 21 19:11:50 DocScrutinizer: that was today ~2am CET so it still counts for today's medal Apr 21 19:12:02 * dcordes scratches head Apr 21 19:12:03 hmm here it finds provider Apr 21 19:12:06 but it's not that heroic Apr 21 19:12:25 misterious Apr 21 19:12:39 morphis: try COMPATIBLE_MACHINE = "(nokia900|palmpre)" :) Apr 21 19:12:45 captainigloo: sorry, could you upload the keyboard again? I failed to download it in time Apr 21 19:13:17 JaMa2: ah is that the correct syntax? Apr 21 19:13:24 it works now Apr 21 19:16:25 JaMa2: thx Apr 21 19:18:23 morphis: yw Apr 21 19:19:09 DocScrutinizer, okay, I digged up some info about the libraries that the code you linked uses Apr 21 19:23:37 GNUtoo: I have been wondering about htcleo (& friends like captainigloo's htcbravo, your nexus, etc) standby and resume in SHR Apr 21 19:23:51 GNUtoo: do you think it's possible ? Apr 21 19:24:35 yes we have it for dream Apr 21 19:24:39 it's kernel + fso thing Apr 21 19:24:44 they must work together Apr 21 19:24:53 now I must finish my awk+sed thing Apr 21 19:25:05 GNUtoo: that sounds good !# Apr 21 19:25:37 GNUtoo: is it generic (both, kernel and fso) or device specific ? Apr 21 19:25:47 GNUtoo: like can a kernel patch be copy pasted among devices ? Apr 21 19:25:50 hmmm Apr 21 19:25:59 I think it's generic for android devices Apr 21 19:26:16 can be copied among android Apr 21 19:26:27 cool Apr 21 19:28:50 htcdream uses linux-leviathan_git.bb Apr 21 19:32:29 GNUtoo: http://gitorious.org/htc-msm-2-6-32/leviathan-incoming/commits/master is that what you are using on dream ? Apr 21 19:32:45 wait a sec Apr 21 19:32:55 I nearly finished my audiopara.csv conversion Apr 21 19:33:09 dcordes: http://82.227.130.131/files/Minimal.kbd Apr 21 19:35:57 GNUtoo: that sounds interesting as well. for dream ? Apr 21 19:36:03 captainigloo: thanks ! Apr 21 19:36:07 DocScrutinizer, could you give me again the link to that accelerometer implementation you gave me earlier? I was on the N900 and it isn't in my logs. Apr 21 19:36:38 for replicant and dream Apr 21 19:38:00 Venemo: which one? Apr 21 19:38:21 captainigloo: does it depend on any other files or should I clear ./usr/lib/enlightenment/modules/illume-keyboard/keyboards/ entirely ? Apr 21 19:38:25 the FSO one, the maemo kernel driver, or the meego kernel driver? Apr 21 19:38:44 DocScrutinizer, nevermind, I found it Apr 21 19:38:46 morphis: how does the fsoaudio branch of libphone-ui work? Apr 21 19:39:34 mrmoku: had only very few time to test it, it works sometimes Apr 21 19:39:40 but not reliable Apr 21 19:39:45 ok Apr 21 19:39:51 need to find my logs about the tests I did Apr 21 19:40:00 I wonder if I want to start trying it on n900 Apr 21 19:40:24 ok, do that as the general access to fsoaudio is the same for all machines Apr 21 19:40:39 yeah Apr 21 19:40:41 you know how to configure the alsa router of fsoaudiod? Apr 21 19:40:48 not yet :) Apr 21 19:40:59 ok Apr 21 19:41:36 mrmoku: http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsoaudiod/conf/nokia_n900/alsa.conf;h=4a7cac8820737bd3072ca7760ecfa821596b9e9a;hb=HEAD Apr 21 19:41:57 you set the secenario for the mode.device combination Apr 21 19:42:03 thats all Apr 21 19:42:10 quite easy :) Apr 21 19:43:09 ok, first thing is to solve local builds... Apr 21 19:43:32 morphis: anything I could help with? Apr 21 19:43:57 ChristW: so... you have problems with local building too? Apr 21 19:44:38 JaMa2: INHERIT_append_pn-libphone-ui-shr = "srctree gitpkgv" Apr 21 19:44:38 SRCREV_pn-libphone-ui-shr = "${GITSHA}" Apr 21 19:44:38 S_pn-libphone-ui-shr = "/OE/source/${PN}" Apr 21 19:44:44 is what I have in local-builds.inc Apr 21 19:45:02 captainigloo: ok I just put it as only file and it works. this is amazing !! thanks so much ! Apr 21 19:45:21 captainigloo: can't wait for the alt-key function to arrive :) Apr 21 19:46:27 ohh...hmm Apr 21 19:47:03 mrmoku: any clue about where *old* (python) FSO accessed the kevents interface? I mean where to find the source that did Apr 21 19:47:11 DocScrutinizer: you can test fsoaudio with shr on om-gta02 or n900 Apr 21 19:47:26 DocScrutinizer: for reading the accels? Apr 21 19:47:41 for interfacing that NETLNK socket Apr 21 19:47:57 to build a generic kevents-logger Apr 21 19:48:03 JaMa2: | make: *** No rule to make target `install'. Stop. Apr 21 19:48:08 is what I get Apr 21 19:48:26 arghh Apr 21 19:48:28 not interested in diving into vala ;-) Apr 21 19:48:29 * mrmoku forgot to mount Apr 21 19:48:51 * mrmoku mounts and retries Apr 21 19:51:33 DocScrutinizer: hmm... it's quite possible it did not exist in old python fso Apr 21 19:52:15 JaMa2: ok, error is the same though Apr 21 19:52:28 ahh.. hmm Apr 21 19:52:36 mrmoku: was it you who commited the inital htcleo config file for htc leo in shr ? (leds etc.) Apr 21 19:53:04 dcordes: yup Apr 21 19:53:08 mrmoku: nope. We had the blue charging LED that afaik used kevents about state of charging Apr 21 19:54:00 DocScrutinizer: ohh, right you are... and here we go... moment Apr 21 19:54:00 mrmoku: I didn't try them yet.. well I did but device crashed Apr 21 19:54:13 mrmoku: not sure if I did it right cause before the dbus program died several times Apr 21 19:54:25 mrmoku: with some memory errors Apr 21 19:54:46 DocScrutinizer: http://git.freesmartphone.org/?p=framework.git;a=blob;f=framework/subsystems/odeviced/kernel26.py;h=5f0f33feef1a05b7f53dd2bd7baf786bcff0381a;hb=89ee765b998b18a692d514b982a2250f5a73958d#l237 Apr 21 19:55:15 mrmoku: thanks :-D Apr 21 19:55:18 yw Apr 21 19:55:20 mrmoku: but something else came to mind: we can fix backlight with easy configuration changes: with same kernel but different shr-image (based on n900 image) it worked out of the box Apr 21 19:56:01 Venemo: ^^^ Apr 21 19:56:32 JaMa2: ok, nvm. I'm just stupid... cleaning helps :) Apr 21 19:57:05 dcordes: so you copy the n900 config to your image and it works? Apr 21 19:58:29 mrmoku: sorry I was eating Apr 21 19:58:38 mrmoku: the image where it worked out of the box was n900 shr-image which was tweaked by GNUtoo for use on nexus one Apr 21 19:58:39 mrmoku: and yes I also have to -c clean first Apr 21 19:58:49 GNUtoo: made some changes to make things work on nexus but I'm not sure whcih Apr 21 19:58:56 I wasn't able to reconstruct it with the image. Apr 21 19:59:04 mrmoku: should we bump gisi already? :) Apr 21 19:59:10 mrmoku: iirc I copied some fso*d conf files Apr 21 19:59:35 JaMa2: nah, maybe wait a moment... there is more to come Apr 21 19:59:47 and it does not yet work out of the box together with phonefsod Apr 21 19:59:55 mrmoku: ok.. n900 bbtf is already running anyways :) Apr 21 19:59:59 dcordes, changes are documented on the wiki Apr 21 20:00:07 the hardware comparison page Apr 21 20:00:15 GNUtoo: got the link ? Apr 21 20:00:16 Venemo: >>from framework.patterns.kobject import KObjectDispatcher<< Apr 21 20:00:24 GNUtoo: fso wiki, not shr, right ? Apr 21 20:00:32 http://wiki.freesmartphone.org/index.php/HardwareComparison Apr 21 20:00:41 kthx Apr 21 20:01:15 * dcordes just noticed he can watch tv from his desk in house over street Apr 21 20:02:34 you'll need a good strong IR-remote ;-D Apr 21 20:03:23 GNUtoo: hm the backlight things are not too detailed Apr 21 20:03:31 ok Apr 21 20:03:36 GNUtoo: I believe I have the same backlight driver as on nexus now Apr 21 20:03:40 I didn't modify kernel Apr 21 20:03:43 GNUtoo: because mine is designed for android too Apr 21 20:03:45 ok ! Apr 21 20:03:50 then it must work with enxus config Apr 21 20:03:59 I only modified defconfig in kernel Apr 21 20:04:10 all modifications were made in userland Apr 21 20:04:27 GNUtoo: i.e. in case of backlight fsogdeviced config ? Apr 21 20:04:36 yes Apr 21 20:04:38 DocScrutinizer, I don't know a thing about python. anyway, I'm making progress from the vala code :) Apr 21 20:05:30 DocScrutinizer, by the way, I think this implementation also uses some kind of polling Apr 21 20:05:43 DocScrutinizer, otherwise, why would there be a sample_rate value that it sets? Apr 21 20:05:56 GNUtoo: oh nexus conf is not installed in my image Apr 21 20:06:46 Venemo: the "good" g-meter driver had an ability to set sample_rate used by the sensor itself. Apr 21 20:07:07 GNUtoo: do you have the shr nexus stuff archived somewhere ? Apr 21 20:07:07 Venemo: and the threshold that made it not report any deviations less than the specified value. Apr 21 20:07:10 iirc Apr 21 20:07:32 PaulFertser, DocScrutinizer and me are talking about the accelerometer now Apr 21 20:07:42 no Apr 21 20:07:44 Venemo: when i said g-meter i meant the same. Apr 21 20:07:44 Venemo: I don't think so, and I guess that's the datarate for coninuous data acuisition Apr 21 20:07:48 dcordes: you can add it :P Apr 21 20:07:51 dcordes, did cotulla progress with alsa? Apr 21 20:07:55 DocScrutinizer, it's set to 100 Apr 21 20:08:33 Venemo: LIS302 has 100 and 400 / s afaik Apr 21 20:08:42 DocScrutinizer, and it does the same thing as the QtM implementation. opens /dev/input/event4 and polls it Apr 21 20:08:46 that's internal acquisition clock Apr 21 20:09:32 Venemo: I don't think you usually POLL /dev/input/* Apr 21 20:09:43 dcordes, you still have my image? Apr 21 20:09:45 Venemo: does ``input-events'' poll anything in your opinion? ;) Apr 21 20:10:06 nexus is mahimahi or something like that Apr 21 20:10:52 captainigloo: nope I'm too dumb for such things Apr 21 20:11:03 GNUtoo: no news from cotulla Apr 21 20:11:15 GNUtoo: no unfortunately I don't have your nexus image any longer Apr 21 20:11:24 ok Apr 21 20:11:26 PaulFertser, so, GIOChannel doesn't poll? Apr 21 20:11:32 I can look but you'll have to wait a bit Apr 21 20:11:36 I've it on microsd Apr 21 20:11:48 GNUtoo: it would be nice if you could find it Apr 21 20:12:02 captainigloo: should be able to use the same backlight settings on bravo Apr 21 20:12:17 I can find it but I lack time right now even if it's very fast, I've a todo list Apr 21 20:12:34 when I finish the quick todo I look it Apr 21 20:13:16 GNUtoo: ok. I think cotulla is really busy with university learning at the moment. rarely see him Apr 21 20:13:21 i lose my working config :( Apr 21 20:13:35 ? Apr 21 20:13:41 on my htc Apr 21 20:13:50 i erase my microsd Apr 21 20:13:50 captainigloo: don't worry you can use htcleo machine Apr 21 20:13:53 captainigloo, you need a config frmo me? Apr 21 20:13:57 nope Apr 21 20:14:00 ok Apr 21 20:14:02 understood Apr 21 20:14:03 i just need to build it again Apr 21 20:14:07 ok Apr 21 20:14:10 save it next time Apr 21 20:14:14 and it takes ages Apr 21 20:14:23 captainigloo: what exactly needs to be rebuild ? Apr 21 20:14:24 yep :) Apr 21 20:14:30 dcordes: the whole SHR image Apr 21 20:14:47 i was using the htcleo machine Apr 21 20:14:48 captainigloo: ah ok.. if you don't need to compile I can upload my fresh htcleo iamge from yesterday Apr 21 20:14:54 with a specific kernel Apr 21 20:15:08 dcordes: if you could do that it would be perfect Apr 21 20:15:34 captainigloo: my upload speed from the dormitory network sucks big time but I will try Apr 21 20:15:43 and GNUtoo has made some config when we were at FOSDEM Apr 21 20:15:57 we can recreate it Apr 21 20:16:03 let me finish my quick todo Apr 21 20:16:12 GNUtoo: don't worry Apr 21 20:16:20 i'm a bit busy too Apr 21 20:16:33 captainigloo: 2011 ? Apr 21 20:18:58 http://www.shr-project.org/trac/wiki/News done Apr 21 20:19:48 captainigloo: maybe we can even share smae configuration of suspend/resume among: nexusone htcleo htcbravo Apr 21 20:19:59 captainigloo: assuming we do the same thing on kernel level regarding it Apr 21 20:22:56 Venemo: afaict, it shouldn't, glib is smart enough to use select() for the set of current fds it should look at. Apr 21 20:24:03 that's nice Apr 21 20:24:42 * onen|openBmap just got a n900 Apr 21 20:24:49 Venemo: IroN900:~# cat /dev/input/ts Apr 21 20:24:59 no polling Apr 21 20:25:11 okay Apr 21 20:25:15 anyway Apr 21 20:25:19 what am I missing here: http://fpaste.org/tFFF/ Apr 21 20:25:47 I can launch this PoC and the callback never gets called Apr 21 20:26:24 JaMa2: hmm... with cornucopia local builds do _not_ play nice though Apr 21 20:26:37 probably because the git dir is one up ? Apr 21 20:26:43 Venemo: compare: Apr 21 20:26:45 IroN900:~# cat /sys/class/i2c-adapter/i2c-3/3-001d/coord Apr 21 20:27:49 captainigloo: compressing .. Apr 21 20:27:54 DocScrutinizer, that works allright Apr 21 20:28:23 that terminates immediately with actual recent value Apr 21 20:28:34 I see. Apr 21 20:29:21 IroN900:~# ls /dev/input/ Apr 21 20:29:23 event0 event1 event2 event3 keypad pwrbutton ts uinput Apr 21 20:29:27 no event4 Apr 21 20:29:35 on maemo Apr 21 20:29:38 meh Apr 21 20:29:41 mrmoku: what doesn't work with it? wrong GITSHA? Apr 21 20:30:09 mrmoku: otherwise I think that it should work fine with right S Apr 21 20:30:35 can I upload some stuff to shr-project.org ? Apr 21 20:30:36 DocScrutinizer, soo, what node should I open then? Apr 21 20:31:04 captainigloo: may I ask what kernel you are using on the bravo ? Apr 21 20:32:03 Venemo: aiui you wait for kevent and then read current values from /sys/class/i2c-adapter/i2c-3/3-001d/coord Apr 21 20:32:29 kevent tells you about new values available there Apr 21 20:32:52 DocScrutinizer, 1) the accelerometer code at fso doesn't use any kevents. 2) I do exactly the same thing as that code. Apr 21 20:33:00 the OM lis302 driver has a way better interface via /dev Apr 21 20:33:30 on maemo we don't have that kernel driver of OM Apr 21 20:33:42 DocScrutinizer: (maemo kernel) hm, sounds strange, are the values buffered for that sysfs node? Apr 21 20:33:46 so we need to use /sys and kevents Apr 21 20:34:22 dcordes: i'm using cyanogen kernel for bravo Apr 21 20:34:26 2.6.37 Apr 21 20:34:27 PaulFertser: *shrug* - see http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#165 Apr 21 20:34:30 captainigloo: lol my net is so freaking slow it will be faster to copy it to floppies and deliver it en pieds to france Apr 21 20:34:35 DocScrutinizer: l8r :) Apr 21 20:34:37 -#165 Apr 21 20:34:46 dcordes: lol Apr 21 20:34:58 DocScrutinizer, okay, I tried to open /sys/class/i2c-adapter/i2c-3/3-001d/coord the same way, but get the same result :( Apr 21 20:35:38 Venemo: the same as worked for /dev/input/*? Apr 21 20:35:58 PaulFertser, yes Apr 21 20:36:30 Venemo: probably it's to late today. See, you wait for kevent telling you there's something new on /sys/class/i2c-adapter/i2c-3/3-001d/coord, then you simply read those new values like in "cat /sys/class/i2c-adapter/i2c-3/3-001d/coord" Apr 21 20:37:07 OR you POLL /sys/class/i2c-adapter/i2c-3/3-001d/coord 20/s Apr 21 20:37:19 ahm Apr 21 20:37:53 we don't want to poll (even though QtM does), so we wait for kevent telling us there's sth to do Apr 21 20:37:58 as a matter of facts, I also tried reproducing your kernel event example in C, but again, the callback is never called back... :( Apr 21 20:38:58 JaMa2: yeah GITSHA does not get expanded Apr 21 20:39:25 ERROR: Logfile of failure stored in: /OE/shr-unstable/tmp/work/armv7a-oe-linux-gnueabi/fsogsmd-1_0.5.0+gitr17+${GITSHA}-r5.1/temp/log.do_fetch.19906 Apr 21 20:39:49 | ERROR: Function 'Fetch failed: Unable to fetch URL git://git.freesmartphone.org/cornucopia;protocol=git;branch=master from any source.' failed Apr 21 20:39:52 | tar: ./*: Cannot stat: No such file or directory Apr 21 20:40:48 DocScrutinizer, what's wrong with this code? http://pastebin.com/w5uePbAU Apr 21 20:41:02 Venemo: if it's never called back then you did sth wrong, as there's a friggin lot of kevents (on pressing buttons, plugging in USB, opening up backlid... you name it) that trigger kevents, and it's up to your process to filter for the one you're interested in Apr 21 20:41:34 for now, I think I should receive all of them Apr 21 20:41:38 mrmoku: what if you use AUTOREV for SRCREV and then GITSHA only in PV? Apr 21 20:41:45 captainigloo: ETA ~10m Apr 21 20:42:04 mrmoku: but still strange Apr 21 20:42:27 Venemo: I think it's missing proper population of the init fields, or sth Apr 21 20:42:30 captainigloo: what's better in cyanogen kernel vs stock google kernels ? Apr 21 20:42:59 you need to "register" for either ADD, CHANGE, and/or REMOVE kevents Apr 21 20:43:14 DocScrutinizer, how do I do that? Apr 21 20:43:28 JaMa2: will try when back to kbd Apr 21 20:44:11 dcordes: it works :) Apr 21 20:44:18 Venemo: I'm the least knowledgeable person here about how to do it Apr 21 20:45:30 dcordes: the one i used is based on htc kernel (2.6.32) Apr 21 20:45:48 Venemo: KObjectDispatcher.addMatch( "change", "/class/power_supply/%s" % node.split('/')[-1], self.handlePropertyChange ) Apr 21 20:46:20 dcordes: but if i try the 2.6.32 from htc SHR doesn't run at all Apr 21 20:47:00 DocScrutinizer, can you link to me the code that does this? Apr 21 20:47:02 I'd have to find the source of framework.patterns.kobject Apr 21 20:47:04 captainigloo: interesting. what exactly doesn't run ? Apr 21 20:47:28 Venemo: I did above Apr 21 20:47:43 http://git.freesmartphone.org/?p=framework.git;a=blob;f=framework/subsystems/odeviced/kernel26.py;h=5f0f33feef1a05b7f53dd2bd7baf786bcff0381a;hb=89ee765b998b18a692d514b982a2250f5a73958d#l239 Apr 21 20:47:50 dcordes: X doesn't start Apr 21 20:48:00 and i have no logs Apr 21 20:48:20 i don't know how to activate kernels logs to have them in /log Apr 21 20:48:52 DocScrutinizer, where the heck is kobjectdispatcher? Apr 21 20:48:53 captainigloo: you might diff the bravo defconfigs in stock vs cynaogen kernel Apr 21 20:49:11 yep Apr 21 20:49:13 15 from framework.patterns.kobject import KObjectDispatcher Apr 21 20:49:22 Congratulations, and good night... I'll check back tomorrow to see if I can start contributing. Apr 21 20:50:12 captainigloo: my image has adb installed. so if you have adb enabled in kernel you can debug easily Apr 21 20:52:50 Venemo: http://git.freesmartphone.org/?p=framework.git;a=blob;f=framework/patterns/kobject.py;h=fec201b73cdb10fbf302c2c4fee19a787ad95a1a;hb=89ee765b998b18a692d514b982a2250f5a73958d Apr 21 20:53:29 DocScrutinizer, I see. this basically does the same as I do, only there's some stuff that I have no idea how to do in C :S Apr 21 20:55:22 dcordes, what did you want? Apr 21 20:55:27 just fso config? Apr 21 20:57:30 GNUtoo: everything in your nexus shr image that might be relevant to BACKLIGHT Apr 21 20:58:09 ah Apr 21 20:58:12 only the config then Apr 21 20:58:31 captainigloo: http://oe.netripper.com/files/shr-hd2-dcordes.tar.gz there you go Apr 21 20:58:56 Venemo: I'm sure PaulFertser or mickeyl can help way better than me Apr 21 20:59:18 PaulFertser, could you please help me? Apr 21 21:09:13 mrmoku: what file did you change for the htcleo leds ? Apr 21 21:09:39 dcordes, did cotulla already pubilsh something? Apr 21 21:10:00 GNUtoo: not to my knowledge. Apr 21 21:10:06 ah ok ouch Apr 21 21:10:09 hmmm Apr 21 21:10:12 what could we do Apr 21 21:10:24 I'm not working again on msm/qsd stuff like audio Apr 21 21:10:31 I really think he's just busy at the moment. He won't let us down with the alsa. Apr 21 21:10:38 ah ok Apr 21 21:10:47 at the moment means ? Apr 21 21:10:50 like one month Apr 21 21:10:54 or 5 years? Apr 21 21:11:27 I guess we will have to wait the answer out :) Apr 21 21:12:26 GNUtoo: what's the new GUI think mickeyl is up to ? does it throw the entire enlightenment stuff over board ? Apr 21 21:12:38 no idea Apr 21 21:12:44 I eared about a QT thinkg Apr 21 21:12:46 dcordes: http://git.freesmartphone.org/?p=framework.git;a=summary Apr 21 21:12:49 but I never saw code or tested it Apr 21 21:13:06 mrmoku: ah it was the old vs new fso thing right ? Apr 21 21:13:13 right Apr 21 21:13:25 oeventsd aka the rules for leds and such is old fso Apr 21 21:14:00 mrmoku: does old fso also cover backlight ? Apr 21 21:14:38 dcordes: it covers whatever rules you stuff in there :) Apr 21 21:15:01 106 # actions: SetLed("lcd_backlight", "light") Apr 21 21:15:18 DocScrutinizer: is there some way to convince the n900 that my usb charger is good for charging? Apr 21 21:15:46 * mrmoku does not want to take his notebook on the camping trip just to be able to charge his damn phone ;) Apr 21 21:15:51 yeah, short D+/- :-D Apr 21 21:15:57 :P Apr 21 21:16:09 no way software wise? Apr 21 21:16:12 or use a script for charging Apr 21 21:16:59 hmm... lets see if fsodeviced cooperates better with the charger :) Apr 21 21:18:39 pick a nice one at http://enivax.net/jk/n900/ Apr 21 21:18:56 Triggering charger while status is 0x10 Apr 21 21:18:59 sounds good :) Apr 21 21:19:56 DocScrutinizer: it's just from tomorrow to monday Apr 21 21:20:13 and in case I need to charge I'm fine with booting SHR for the job :) Apr 21 21:20:24 I recommend the non-21 Apr 21 21:20:32 the old one Apr 21 21:20:44 mrmoku, did you push the registering fsogsmd changes Apr 21 21:20:45 ok, will get that in addition Apr 21 21:20:54 GNUtoo: yup Apr 21 21:20:57 nice Apr 21 21:20:59 GNUtoo: fsogsmd and libgisi Apr 21 21:21:01 * GNUtoo will build them Apr 21 21:43:06 DocScrutinizer, maybe we should just use inotify? would that even work in this case? Apr 21 21:44:03 no, inotify doesn't work on virtual FS like sysfs afaik Apr 21 21:49:18 what's wrong with 21? Apr 21 21:57:12 21 is using the adaptive witchcraft that tries to compensate for 30mV drop on the trace from charger to cell Apr 21 21:57:53 I strongly recommend not to do this, it might result in severe instabilities Apr 21 21:58:00 ouch Apr 21 21:58:07 dcordes: donwloading thanks ! Apr 21 22:05:20 GNUtoo: I'm not sure the 21 script actually is using this, but at least it has Apr 21 22:05:22 key DocScrutinizer, I succeeded :) Apr 21 22:05:23 # Assuming this much resistance between charger and battery Apr 21 22:05:25 CR=127 Apr 21 22:05:46 Venemo: means? Apr 21 22:05:56 ok Apr 21 22:06:22 other details like softstart are nice Apr 21 22:07:00 but not really needed Apr 21 22:07:31 Venemo: succeeded on what exactly? Apr 21 22:07:53 DocScrutinizer, means that I have a PoC app that reads the accelerometer whenever the driver sends a new sysfs_notify event Apr 21 22:08:08 \o/ Apr 21 22:08:17 I'dlike to see and test it Apr 21 22:09:01 DocScrutinizer, kevents/uevents were actually quite misleading, but I've found an example on the web Apr 21 22:10:37 DocScrutinizer, at first I'd like to be able to set /sys/class/i2c-adapter/i2c-3/3-001d/rate to a different value to see if it actually does something or not Apr 21 22:11:02 rate shouldn't change anything Apr 21 22:11:18 so how can I ask the chip to send events less frequently? Apr 21 22:11:46 set the IRQ config registers in chip correctly Apr 21 22:12:29 can the driver do that? Apr 21 22:12:50 should Apr 21 22:13:13 ok, so how could I change it to, say, 1 / second? Apr 21 22:13:30 dunno about the missing few options, like highpass Apr 21 22:14:26 for now, I don't care about highpass Apr 21 22:15:41 Venemo: there's no such thing like 1/s. I explained to you before it's either triggering IRQ at sample rate for polling purposes, or you use the thresholds to trigger on a certain *event* like device held upright Apr 21 22:16:02 DocScrutinizer, I understand Apr 21 22:16:11 GNUtoo: cp fsodeviced.conf from mahimahi -> htcleo doesn't work ! Apr 21 22:16:12 DocScrutinizer, can't I set that sample rate to my own liking? Apr 21 22:16:26 no, afaik theres 100Hz and 400Hz Apr 21 22:16:32 great Apr 21 22:17:22 there's no sense in lower rates Apr 21 22:17:40 for lower rates you'd use the event triggered approach Apr 21 22:18:08 polling is useful only for high accuracy high speed recording of waveforms Apr 21 22:18:31 for that purpose you usually prefer the higher rate Apr 21 22:19:55 polling at rates in the 1/s range doesn't make any sense. It's not even supported by the chip, you need to do it in sw if you really think it's worth doing such nonsense Apr 21 22:21:44 DocScrutinizer, so, how can I know that I really see the events as the chip sent them? how can I make that sure? Apr 21 22:22:15 ummm good question Apr 21 22:22:46 enable debug printfs in the kernel driver? Apr 21 22:27:05 meh. Apr 21 22:29:02 as I read http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#176 thru 189, it monitors X and Y only and that can't get changed. Apr 21 22:29:25 well, I get a Z value too somehow... Apr 21 22:30:41 monitors, for IRQ. Not readout abs value Apr 21 22:31:03 you already got debug printout: http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#196 Apr 21 22:33:27 mhm Apr 21 22:34:41 so this driver is missing at least: sysfs node for http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#188 and sysfs node for http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#165 Apr 21 22:37:03 also for http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#171 Apr 21 22:37:24 mhm Apr 21 22:38:00 so DocScrutinizer, I first tried with glib (as does fso), but then I stumbled upon an example on the net. http://www.0x61.com/forum/viewtopic.php?f=109&t=845597&view=next Apr 21 22:38:08 so here is it: http://pastebin.com/bbEaWSWs Apr 21 22:38:25 assuming that select() indeed does what he claims it does. Apr 21 22:38:46 as for the glib approach, the callback only gets called back once... http://pastebin.com/eHCkEvF3 Apr 21 22:40:20 hmm, select is a poll I guess Apr 21 22:40:46 it claims to wait for the next event Apr 21 22:41:01 but who knows? Apr 21 22:41:22 it claims? who claims? Apr 21 22:41:30 he: http://www.0x61.com/forum/viewtopic.php?f=109&t=845597&view=next Apr 21 22:41:44 yeah, but not my man select Apr 21 22:41:47 /* wait for next sysfs_notify event */ Apr 21 22:42:34 that's nonsense, basically that program does 'while true; do cat /sys/class/i2c-adapter/i2c-3/3-001d/coord; done' Apr 21 22:42:58 so why does he claim that then? Apr 21 22:43:34 dunno, maybe I'm even wrong Apr 21 22:44:04 but I don't see how select on coord would result in a wait for sysfs_notify Apr 21 22:44:22 maybe because it waits until the descriptor is changed? Apr 21 22:44:33 nope, why should it? Apr 21 22:44:35 JaMa|Zzz: with SRCREV_pn-fsogsmd = "${AUTOREV}" Apr 21 22:44:37 it works Apr 21 22:45:01 DocScrutinizer, I'm not sure. Apr 21 22:45:21 DocScrutinizer, anyway. glib should work as said here by others. but it doesn't want to call back my callback... Apr 21 22:47:06 well, doing a select or read on coord sysnode calls http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#605 Apr 21 22:47:52 mhm Apr 21 22:50:06 meh. Apr 21 22:50:13 your example code would work for /dev/input/foo Apr 21 22:50:25 okay, so it's a fail Apr 21 22:50:27 let's move on Apr 21 22:50:35 why does GLib fail to work with this shit? Apr 21 22:50:38 maemo has no /dev/input/* for g-meter Apr 21 22:51:24 a good question, I for sure have no answer. Ask e.g PaulFertser or mickeyl Apr 21 22:52:04 already did, they are not responding. Apr 21 22:52:13 yeah too late Apr 21 22:52:27 PaulFertser: is at UTC+4 iirc Apr 21 22:52:34 okay, so give me something that maemo has /dev/input for, to see if it works with that then. Apr 21 22:52:52 /dev/input/ts Apr 21 22:52:57 what's that? Apr 21 22:53:03 touchscreen Apr 21 22:53:22 haha Apr 21 22:53:27 can't open that. Apr 21 22:53:40 umm you're root? o.O Apr 21 22:53:46 should I be? Apr 21 22:53:49 lol Apr 21 22:53:51 yes Apr 21 22:53:59 also for kevents Apr 21 22:54:24 hm you are right Apr 21 22:54:30 this approach works well for /dev/input/ts Apr 21 22:56:08 non-root can't open NETLINK socket Apr 21 22:57:01 this doesn't use netlink socket Apr 21 22:57:08 I know Apr 21 22:57:28 so... if non-root can't do this Apr 21 22:57:34 but yur glib thing was about netlink socket and kobject, no? Apr 21 22:57:46 how are we supposed to do this in a library that used by non-root apps Apr 21 22:57:57 good point Apr 21 22:58:05 DocScrutinizer, nope, that is now also based on opening the sys node with open() Apr 21 22:59:41 QtM should interface to a proper handler for orientation - in this case that would be mce then Apr 21 23:00:44 DocScrutinizer, yeah, it could "just" use mce for its shit. Apr 21 23:01:08 not sure why they didn't make it so Apr 21 23:01:42 there's a reason why we got FSO middleware, which is not user space but system Apr 21 23:02:16 apps aren't supposed to do the things QtM tries to do Apr 21 23:04:08 you don't have fs drivers in your app to access raw storage, and you shouldn't have sensor drivers in your app to access raw sysfs sensor interface Apr 21 23:04:26 sure, sure Apr 21 23:05:48 QtM is broken by design it seems Apr 21 23:06:30 well not really Apr 21 23:06:55 your original approach is what should work. as in, having a daemon to manage things and getting info from that. Apr 21 23:07:08 hmm yeah, they could use proper APIs, like dbus, whatever Apr 21 23:07:33 so anyway, I think mce already does this, so the question is, why didn't the brilliant QtM devs use mce? Apr 21 23:07:42 interface to mce, to err ICD2... Apr 21 23:09:16 interfacing from QtM to mce should actually be doable Apr 21 23:09:32 *shrug* Apr 21 23:09:40 clearly a topic for #maemo Apr 21 23:09:51 yea Apr 21 23:09:58 anyway, I think we over-discussed all this :) Apr 21 23:10:23 I think we're thru with it to the point we know what's wrong Apr 21 23:12:34 yea **** ENDING LOGGING AT Fri Apr 22 02:59:57 2011