**** BEGIN LOGGING AT Wed Sep 08 02:59:59 2010 Sep 08 07:28:34 mickeyl, are you around? Sep 08 08:00:18 anyone awake? Sep 08 08:12:17 awake but I's a question asker so not much use to anybody ;-) Now if there were any of the answerers about I'd be interested to ask about stuff of a libphone-ui-shr nature Sep 08 08:13:02 i see Sep 08 08:13:10 well, this is really opinion Sep 08 08:13:18 qtmoko has a rather strange problem Sep 08 08:14:02 see, the old distro it was based on had a very conservative definition of signal quality Sep 08 08:14:30 i drew up a picture, the plain red and plain blue are both for qtmoko Sep 08 08:14:31 http://irrlichtirc.g0dsoft.com/rooly/NewMapProposal.png Sep 08 08:16:46 good picture. And the proposed blue does seem to be what might be considered normal. Sep 08 08:17:50 the red line, i had to actually create from the simple formula and 3 different conversions inside the qtopia stack Sep 08 08:18:10 its obviously a bit...off Sep 08 08:19:15 Having gone to such lengths to obtain that graph I assume you now want to change to the blue somehow Sep 08 08:19:43 well, that was actually quite straight forward, once i finally managed to FIND the info inside qtmoko's stack Sep 08 08:20:12 Jez well done. Sep 08 09:07:40 morning Sep 08 09:57:21 daniele_athome: morning Sep 08 09:57:23 :-) Sep 08 09:57:27 mickeyl: hi Sep 08 09:57:49 hi leviathan Sep 08 09:58:07 daniele_athome: do you know about enlightenment development? Sep 08 09:58:16 leviathan, in what way? Sep 08 09:58:21 uuhm Sep 08 09:58:34 in that way, that we need to improve SHR's GUI Sep 08 09:58:36 :-) Sep 08 09:59:08 leviathan, tell me more Sep 08 09:59:14 http://trac.enlightenment.org/e/wiki/Elementary Sep 08 09:59:19 i know elementary pretty well Sep 08 09:59:25 yeah Sep 08 09:59:26 ok Sep 08 09:59:28 very well Sep 08 09:59:28 ok Sep 08 09:59:32 following thing Sep 08 09:59:33 i'm using it in my applications, i know edje too Sep 08 10:00:08 http://shr-project.org/trac/wiki/Screenshots Sep 08 10:00:15 as you see Sep 08 10:00:17 the buttons Sep 08 10:00:19 and so on Sep 08 10:00:27 need to be replaced by elementary stuff Sep 08 10:00:41 also the dialer would be much greater modded by that lib Sep 08 10:00:50 ahh, and we need a new fsopimd frontend Sep 08 10:01:06 and we need to remove static sized buttons/images Sep 08 10:01:20 and replace them by dynamicly sized stuff Sep 08 10:03:26 daniele_athome: http://download.enlightenment.org/att/wiki/Elementary/elm-app-01.2.png Sep 08 10:03:30 the time settings Sep 08 10:03:39 already use elementary Sep 08 10:03:45 i see Sep 08 10:04:11 it will make the code much smaller and much more readable Sep 08 10:04:16 also as it grows Sep 08 10:04:37 ahh, and better dbus Sep 08 10:04:41 means: Sep 08 10:04:55 chatprogramm+sms-manger+mms-manager+dialer Sep 08 10:05:04 shall all have access to the same pimdb Sep 08 10:05:30 means we need to call fso there Sep 08 10:05:36 leviathan, a lot of things Sep 08 10:05:39 yes Sep 08 10:05:42 slow down i still have to read the rest :D Sep 08 10:05:50 ahh, ok ^_^ Sep 08 10:05:58 hmm, I wrote it down on a wiki Sep 08 10:06:09 http://wiki.freesmartphone.org/index.php/SHR/Meeting Sep 08 10:06:28 and its only a part+addings from mickeyl/gnutoo Sep 08 10:06:45 thats why I asked you to come to fosdem Sep 08 10:06:58 or.... are you living around switzerland? Sep 08 10:07:18 leviathan, i'm italian Sep 08 10:07:27 ahh, ok Sep 08 10:07:37 nice, my grandmother too ;-D Sep 08 10:07:54 leviathan, you said you would integrate the dialer into elementary Sep 08 10:07:58 didn't you? Sep 08 10:08:02 uhm Sep 08 10:08:08 elementary is a lib Sep 08 10:08:08 also the dialer would be much greater modded by that lib Sep 08 10:08:14 jup Sep 08 10:08:29 means, that we replace non-elementary stuff by elementary stuff Sep 08 10:08:52 which means optimized rendering, etc. will be done automatically Sep 08 10:08:55 much less work Sep 08 10:09:00 and much more dynamic Sep 08 10:09:01 leviathan, well, elementary is a widget toolkit, i don't really think the dialer can fit into elementary Sep 08 10:09:11 uuuuhhhm Sep 08 10:09:13 but you can separate it from the phoneui, writing your own widget library extension Sep 08 10:09:15 based on elementary Sep 08 10:09:24 thats not what I ment either... Sep 08 10:09:26 :-) Sep 08 10:09:29 ok lol Sep 08 10:09:35 ok wait Sep 08 10:09:38 first: the dbus stuff Sep 08 10:09:42 yes Sep 08 10:09:47 dbus in C is pure pain Sep 08 10:09:52 we all know that Sep 08 10:09:57 yes Sep 08 10:10:17 especially server-side, and it doesn't matter how much effort the EFL guys will put into the dbus bindings Sep 08 10:10:22 they will remain a pain :) Sep 08 10:10:24 http://www.t2-project.org/packages/edbus.html Sep 08 10:10:26 ahh Sep 08 10:10:32 edbus Sep 08 10:10:34 ^^ Sep 08 10:10:48 exactly, that one :) Sep 08 10:10:59 anyway i still prefer gobject to use dbus for now Sep 08 10:11:12 or, better, vala Sep 08 10:11:19 yes, we use vala Sep 08 10:11:46 but we still have the problems with bumpy, static sized buttons Sep 08 10:12:02 leviathan, well, don't you use elm_button for everything? Sep 08 10:12:15 i mean for normal buttons Sep 08 10:12:19 hmm Sep 08 10:12:42 the edje relative positioning system works pretty well with scaling Sep 08 10:13:01 actually all i had to do is to multiply some numbers by a scale factor Sep 08 10:13:11 e.g. 1.0 for qvga, 2.0 for vga Sep 08 10:13:17 but not all things Sep 08 10:13:31 (i'm talking about edj files) Sep 08 10:14:47 or edc? Sep 08 10:14:52 I've got edc files Sep 08 10:14:54 :-) Sep 08 10:15:01 leviathan, yes edc files (edj is the compiled version :) Sep 08 10:15:45 daniele_athome: http://pastebin.com/mwjqWZzd Sep 08 10:15:48 look at this Sep 08 10:15:53 type: RECT Sep 08 10:16:09 yes Sep 08 10:16:17 it's relative, and it's good Sep 08 10:16:20 isn't it? Sep 08 10:16:37 its a rect Sep 08 10:16:39 :-) Sep 08 10:16:46 thats what confuses me Sep 08 10:17:22 wouldn't it be much simpler to use standart objects Sep 08 10:17:25 already defined Sep 08 10:17:31 leviathan, yes much better Sep 08 10:17:32 then define our own buttons? Sep 08 10:17:41 leviathan, where did you take that code snippet? Sep 08 10:18:03 ~/shr-themes/phoneui-shr/phoneui-shr-theme-o2/keypad.edc Sep 08 10:18:16 ah Sep 08 10:19:00 http://shr.bearstech.com/git/?p=shr-themes.git;a=tree;f=phoneui-shr/phoneui-shr-theme-o2;h=5a17a560e22250cfdecd8c11dd74a4b3404744db;hb=HEAD Sep 08 10:19:24 well that's very strange Sep 08 10:20:22 leviathan, i don't why they do that Sep 08 10:20:33 i should take a closer look... but i guess a button is a button Sep 08 10:20:38 can be done with elm_button Sep 08 10:20:42 mhm Sep 08 10:20:43 yes Sep 08 10:20:48 unless they wanted a somewhat special button Sep 08 10:20:49 the answer why they do that Sep 08 10:21:00 SHR started before elementary Sep 08 10:21:08 so they did not know it Sep 08 10:21:29 now we need to switch Sep 08 10:21:37 from home made buttons to elementary Sep 08 10:21:44 leviathan, but phoneui/phonefsod has started after elementary Sep 08 10:21:49 yes Sep 08 10:21:53 uuhmm? Sep 08 10:21:57 ok Sep 08 10:21:58 strange Sep 08 10:22:05 mmm Sep 08 10:22:06 can you please take a closer look? Sep 08 10:22:07 ^^ Sep 08 10:22:10 maybe some things were left behind Sep 08 10:22:14 yes Sep 08 10:22:18 like the o2 theme... can you check the gry theme? Sep 08 10:22:30 check if it does have the same problem Sep 08 10:26:50 hmm Sep 08 10:26:58 I don't find the gry theme ^_^" Sep 08 10:27:38 http://shr.bearstech.com/git/?p=shr-themes.git;a=tree;h=refs/heads/master;hb=refs/heads/master Sep 08 10:28:03 daniele_athome: sry Sep 08 10:28:05 my fault Sep 08 10:28:06 ahh Sep 08 10:28:49 http://shr.bearstech.com/git/?p=shr-themes.git;a=blob;f=e-wm/e-wm-theme-illume-gry/illume-home/e-module-illume-home.edc;h=58d191543130636dc3d73fe918f95f10266ad56a;hb=refs/heads/master Sep 08 10:28:54 daniele_athome: seems ok Sep 08 10:29:09 leviathan, what i thought... o2 is not maintained Sep 08 10:29:19 ahh, ok Sep 08 10:29:28 ok, seems relative Sep 08 10:29:43 then first point is done Sep 08 10:29:47 I just didn't get it Sep 08 10:29:55 that they have already fixed that issue Sep 08 10:29:56 okee Sep 08 10:30:00 next issue Sep 08 10:30:04 very actual Sep 08 10:30:09 we need a calendar Sep 08 10:30:11 ^_^" Sep 08 10:30:41 daniele_athome: leviathan: we need a calender +1 Sep 08 10:31:01 leviathan, opimd-date is pretty odd Sep 08 10:31:05 goes out of the screen lol Sep 08 10:31:12 jep Sep 08 10:31:20 but i don't think it would fit into elementary Sep 08 10:31:23 because its not elementary yet Sep 08 10:31:23 just write an app :) Sep 08 10:31:45 a calendar app it's in my plan anyway for the mokosuite Sep 08 10:31:56 s/plan/plans/ Sep 08 10:31:56 daniele_athome meant: a calendar app it's in my plans anyway for the mokosuite Sep 08 10:32:10 ok Sep 08 10:32:38 daniele_athome: mokosuite is based on elementary Sep 08 10:32:39 right? Sep 08 10:32:53 leviathan, sure Sep 08 10:32:58 okidoki Sep 08 10:33:08 leviathan: http://wiki.openmoko.org/wiki/Mokosuite Sep 08 10:33:09 :P Sep 08 10:33:27 I consider this android like menu scroller very nice ;-D Sep 08 10:33:46 yes me too :) Sep 08 10:33:48 i love android Sep 08 10:33:52 but i love gnu/linux too Sep 08 10:34:03 I hate android >_< Sep 08 10:34:10 but I love gnu/linux Sep 08 10:34:14 :) Sep 08 10:34:14 ;-) Sep 08 10:34:40 leviathan, about the dbus thing... i'm writing a C code generator Sep 08 10:34:49 hmm Sep 08 10:34:56 for generating dbus client wrappers starting from xml introspection files Sep 08 10:35:00 isn't there already vala? Sep 08 10:35:03 pretty a simple one Sep 08 10:35:07 ahh, ok Sep 08 10:35:17 leviathan, yes but vala-dbus-binding-tool just generate vala code Sep 08 10:35:25 and then vala converts it to C code Sep 08 10:35:36 but still there are those things with _finish() dbus methods, pretty odd Sep 08 10:35:48 my idea is to write a generator that creates code like libframeworkd-glib Sep 08 10:35:56 with the dbus callbacks already set Sep 08 10:36:00 with parameters Sep 08 10:36:16 hmm Sep 08 10:36:17 ok Sep 08 10:36:18 nice Sep 08 10:36:19 and a simplified dbus marshalling Sep 08 10:36:26 hmm Sep 08 10:36:35 I'd love to use it Sep 08 10:36:37 i plan to use that library for generating any C client wrapper :) Sep 08 10:36:47 s/library/program/ Sep 08 10:36:48 daniele_athome meant: i plan to use that program for generating any C client wrapper :) Sep 08 10:37:13 I'm doing a workshop today Sep 08 10:37:17 KDE4 development Sep 08 10:37:25 and we also will use dbus Sep 08 10:37:35 I'm scared by this thought Sep 08 10:37:40 leviathan, well kde is different... is based on qt, having its own dbus bindings Sep 08 10:37:47 leviathan, don't worry it will be ok :) Sep 08 10:37:54 try'n to teach n00bs how to code dbus+qt4 >_< Sep 08 10:38:02 eheh Sep 08 10:38:18 anyway Sep 08 10:38:23 will go well, I hope Sep 08 10:38:25 ^^ Sep 08 10:38:44 I guess the room will be full Sep 08 10:38:50 :-D Sep 08 10:38:50 leviathan, where? Sep 08 10:38:55 zürich Sep 08 10:39:08 leviathan, is it fosdem? Sep 08 10:39:15 fsodem Sep 08 10:39:15 no Sep 08 10:39:21 ok Sep 08 10:39:32 its a event made by my computer club Sep 08 10:39:34 CCCZH Sep 08 10:39:52 the workshop is today Sep 08 10:43:29 have to go now Sep 08 10:43:42 bye leviathan Sep 08 10:43:47 :) Sep 08 11:33:00 leviathan: noobs at a CCC event? :-o Sep 08 11:33:26 sounds odd Sep 08 11:52:56 hmm Sep 08 11:53:04 DocScrutinizer: its an open4all event Sep 08 11:53:15 to make CCC more popular in zürich Sep 08 11:53:58 there also workshops for security Sep 08 11:54:15 DocScrutinizer: "How to use GnuPG" Sep 08 11:54:28 DocScrutinizer: "Bob and Alice" Sep 08 11:54:34 yeeha Sep 08 11:55:01 goal is to make it known to a wide range of people Sep 08 11:55:13 so CCCZH can get publicity Sep 08 11:55:19 and so we get influence Sep 08 11:55:20 ^^ Sep 08 11:56:05 * DocScrutinizer envisions attendees heading out the room .oO(damn, good now I know how to deal with that if ever somebody dares to send me a crypted mail [SIC!]) Sep 08 11:56:50 hahaha Sep 08 11:57:27 the idea is more to motivate them so send encrypted messages theireselfes Sep 08 11:57:32 for instance Sep 08 11:57:41 its a very usefull tool in companys Sep 08 11:58:15 or simply to educate people to know this can be done, for journalist in some country, this can be important Sep 08 11:58:19 I never managed to prod *anybody* to crypt mails send to me, and all my mails outbound are nicely signed Sep 08 11:58:39 misc: you made the point Sep 08 11:58:44 :-) Sep 08 11:58:45 DocScrutinizer: it's very difficult to do in a secure way. I don't want to keep my key on the machine where I send email :) Sep 08 11:59:20 lindi-: haha Sep 08 11:59:40 (since I need to access the machine remotely to send email. if it was a desktop which I never access remotely then maybe) Sep 08 11:59:58 k, fair enough Sep 08 12:00:38 though your remote access should be at least as secure and hardened as the mail crypting itself Sep 08 12:00:58 yeah but I don't want to make my key that insecure :) Sep 08 12:01:07 heh? Sep 08 12:01:25 I'm running ssh on openmoko that runs debian unstable and all that Sep 08 12:01:40 there could be all sorts of odd security bugs :P Sep 08 12:01:43 so what? Sep 08 12:02:09 you are ssh to FR to send your crypted mail from there? Sep 08 12:02:17 so I prefer not to keep they key on (or accessible from) a machine where I do experimental stuff Sep 08 12:02:31 DocScrutinizer: no I ssh from FR to my email machine Sep 08 12:02:50 I've got my ssh-key on my SHR installation on dream Sep 08 12:02:53 :-) Sep 08 12:02:57 the only problem Sep 08 12:03:02 * DocScrutinizer scratches head, failing to see the threat Sep 08 12:03:11 DocScrutinizer: hmm Sep 08 12:03:15 means Sep 08 12:03:33 I'm wearing the gnupg containing device Sep 08 12:03:35 DocScrutinizer: well the threat is that somebody gets access to my normal user account on FR or the email machine through a bug or misconfiguration of experimental software Sep 08 12:03:36 so to say Sep 08 12:03:47 hmm Sep 08 12:04:06 lindi-: that would only be possible as long as you are on UMTS/Bluetooth/Wifi Sep 08 12:04:21 and the same issue exist on desktops with the same distro Sep 08 12:04:37 leviathan: yes but debian unstable is not the same distro as debian stable Sep 08 12:04:50 sid/experimental is more recent then stable Sep 08 12:05:00 so the chances to hit a bug there are smaller Sep 08 12:05:10 leviathan: for example nodm had a local privilege escalation bug that I spotted just a few days ago, it did not reach stable Sep 08 12:05:19 my PGP private key is protected by a reasonably safe mantra, though I agree I'd not want to have my .ssh/key_rsa on my mobile devices Sep 08 12:05:49 i've got also my ssh-key on the phone Sep 08 12:05:57 DocScrutinizer: unfortunately passphrase can be sniffed if somebody has access to your account so it only helps against fully automated attacks Sep 08 12:06:05 for beeing able to connect to my datacenter or at home Sep 08 12:06:53 leviathan: I don't agree. sid surely is more risky than stable Sep 08 12:07:00 ok, I see: you don't use PGP encryption/signing as there's a risk of somebody tampering your keys if you did :-P Sep 08 12:07:00 hmm Sep 08 12:07:09 DocScrutinizer: yeah Sep 08 12:07:13 lol Sep 08 12:07:15 ^^ Sep 08 12:07:16 ok Sep 08 12:07:36 suicide due to fear of death, I'd call this Sep 08 12:08:16 DocScrutinizer: well I can use the key on a separate debian stable system :) Sep 08 12:08:35 I'm just not often sending email from there Sep 08 12:08:50 since it kind of requires local physical presence Sep 08 12:11:45 * DocScrutinizer51 changes Kontact 'lindi' mail properties to *lways* send crypted mails to him, just for the shits and giggles Sep 08 12:12:10 xD Sep 08 12:12:35 DocScrutinizer: yeah there will be a delay of some months before you get replies :) Sep 08 12:13:10 I'm planning to throw some virtualization and/or selinux to the mix to make this more bearable Sep 08 12:13:17 ideally it would work like this: Sep 08 12:13:44 lindi-: maybe simply use gmail webmailr? seems the right thing for you Sep 08 12:14:07 1) I send email to joerg 2) when I come home I look at the list of unsigned emails and sign them and publish them at some predefined place 3) joerg's MUA gives a warning if it does not find a signature for an email in a week or so Sep 08 12:14:16 DocScrutinizer51: gmail is non-free application :( Sep 08 12:15:51 DocScrutinizer51: I guess some lower security subkey could work here Sep 08 12:16:19 DocScrutinizer51: it would work for signing easily but for encryption there's the problem of how to tell the sender which key to use Sep 08 15:39:08 Hello Sep 08 15:39:30 hi Sep 08 15:41:21 I am trying to retrieve the usb device address of the connected device from the S3C2410 USB Controller. I am doing this by accessing the FUNCTION_ADDRESS register which holds the addres twice, once as little and once as big endian whithin a u32. The Offset is 0x140(L) / 0x143(B). How to pack the 0x140 into a u16? Sep 08 15:42:45 Can I do this with: { uint32_t a = 1; uint16_t *p = reinterpret_cast(&a); cout << *p << ":" << *(p+1); } ? Sep 08 15:43:33 the horror!! you enter the chan and the first thing you see is C-code Sep 08 15:43:55 lol Sep 08 15:43:56 JesusMcCloud-lt: no, it is c++, you are safe Sep 08 15:43:56 JesusMcCloud-lt: it looks like c++ code Sep 08 15:44:10 just saw the reinterpret_cast Sep 08 15:44:27 i am confused... Sep 08 15:45:37 i'm fiddling around with vala here... it is nice but, ide support is really crappy... even val(a)ide sucks... Sep 08 15:46:58 well as I only need the little endian the following should work: u16 left = (u16)(in>>16); where "in" is the u32. Sep 08 15:49:07 Now I got the Sep 08 15:49:13 ignore... Sep 08 15:50:48 I now got the address but as an u16 where the not needed bytes are filled with zeros. Can I just cast to u8 or do I have to be careful with something here? Sep 08 15:51:16 you have no need to cast at all Sep 08 15:51:50 how come? Isn't u16 twice as big? Sep 08 15:52:22 = is smarter than many people want it to be Sep 08 15:53:15 heh :) Sep 08 15:54:27 But don't I loose information here? Does it just cut the first 8 bytes or what does it do? Sep 08 15:55:19 8 bytes? Sep 08 15:56:21 now you confuse me Sep 08 16:06:36 Ok I now finished the code on the kernel module. I got my sources and kernel sources (newest andy tracking) of course. What arm toolchain to use? Sep 08 16:06:59 openmoko toolchain? Sep 08 16:07:06 any Sep 08 16:07:33 what is your favorite distribution? Sep 08 16:07:38 qtmoko Sep 08 16:08:21 trev2[NEOFR]: http://qtmoko.org/wiki/Build_Kernel Sep 08 16:08:30 ah right, thank you Sep 08 16:08:43 ah Sep 08 16:08:55 it is build instruction Sep 08 16:08:59 toolchain is... Sep 08 16:09:44 make CROSS_COMPILE=/opt/toolchains/arm920t-eabi/bin/arm-linux- ARCH=arm Sep 08 16:09:58 arm920t-eabi ? Sep 08 16:10:18 http://qtmoko.org/wiki/GITs Sep 08 16:10:30 How to prepare your build host Sep 08 16:11:28 but you can use any other arm toolchain Sep 08 16:35:54 gena2x_: hi, i am now debugging the power bug again Sep 08 16:36:22 gena2x_: interesting thing - 2.6.29 kernel after boot eats 10mA more then 2.6.34 Sep 08 16:37:31 gena2x_: http://pastebin.com/GuWrSY9m Sep 08 16:38:17 radekp: hi Sep 08 16:38:59 radekp: i am doing same thing here :) i mean building .29 to get video log Sep 08 16:39:18 ahh Sep 08 16:39:38 * gena2x_ looking to pastebin Sep 08 16:40:08 hmmmm Sep 08 16:40:27 what's this? Sep 08 16:40:42 booted kernel? Sep 08 16:41:14 yes Sep 08 16:41:25 without suspend? Sep 08 16:41:34 added printk to bq27000_battery_work() Sep 08 16:41:40 printk(KERN_ERR "current_now=%d\n", (regs.ai * NANOVOLTS_UNIT) / 20); Sep 08 16:41:45 my method is better Sep 08 16:41:46 without suspend Sep 08 16:41:58 gena2x_: :) Sep 08 16:42:00 i know current for each moment of time Sep 08 16:42:12 how you do it? :) Sep 08 16:42:17 as i told Sep 08 16:42:22 video Sep 08 16:42:50 multimeter + video + kernel log Sep 08 16:42:53 ahh oki Sep 08 16:43:05 +printk delay Sep 08 16:43:45 so you see video, and can man any moment to log Sep 08 16:43:52 *map Sep 08 16:44:38 i want to do similar thing with .29 today Sep 08 16:45:21 so, even if kernel is _not_ visible on screen, you still can see current consumption for each kernel log line. Sep 08 16:45:45 s/kernel/kernel log/ Sep 08 16:45:46 gena2x_ meant: so, even if kernel log is _not_ visible on screen, you still can see current consumption for each kernel log line. Sep 08 16:46:12 including suspend... Sep 08 16:46:41 would be good to identify all power consumes and write down page in wiki about it Sep 08 16:46:52 s/consumes/consumers/ Sep 08 16:46:53 gena2x_ meant: would be good to identify all power consumers and write down page in wiki about it Sep 08 16:49:21 gena2x_: maybe we should concentrate on suspend then on boot Sep 08 16:50:53 radekp: imo, we should concentrate on both. it should be easy. i am just stucking on unrelated things - like camera resolution, building .29 (fighting WS now, already overcome my gpt and xfs), etc Sep 08 16:51:27 just add delay, capture, watch, map to log and diff. Sep 08 16:51:41 ehh.. Sep 08 16:52:01 other way would be indentify _all_ power consumes. this is smarter, but require more time. Sep 08 16:55:27 _i_ think, my config andy-tracking is ok, but my kernel disagree with me on boot Sep 08 16:57:37 gena2x_: btw i have even better method - same as yours + added blinking with leds on certain substrings in printk Sep 08 17:07:00 radekp: hm... nice idea. it may be blink once per 10 messages for example. this will be excellent sync. Sep 08 17:08:14 gena2x_: i have long light 5s for certain substrings and short blink after each message now Sep 08 17:08:31 gena2x_: i can upload patch somewhere if you want Sep 08 17:09:48 radekp: yes please Sep 08 17:12:26 gena2x_: http://activationrecord.net/radekp/pub/delay10.patch Sep 08 17:13:29 gena2x_: i has also some other changes - like disabled the jffs2 backtrace print and backlight brightness to zero Sep 08 17:14:06 gena2x_: btw it's against kernel in qtmoko-v26 http://github.com/radekp/linux-2.6/tree/qtmoko-v26 Sep 08 17:14:20 radekp: ok, thanks Sep 08 17:15:00 gena2x_: i think the led colors dont work as they should, only one color works Sep 08 17:15:18 gena2x_: this is not really important for me Sep 08 17:15:25 atm Sep 08 17:15:28 gena2x_: and blinking is not possible during very early boot phase - probably s3c is not initialized there yet Sep 08 17:15:38 ah Sep 08 17:16:14 i'll try to build your kernel now... Sep 08 17:16:16 it starts blinking on the first modem line ;-) Sep 08 17:16:44 gena2x_: i think mine kernels are quite ok - used in qtmoko and including configs Sep 08 17:16:44 i bet you didn't enable pm debug... Sep 08 17:16:58 ok, let me dive into building Sep 08 17:17:09 if it will be ok, i'll make video today. Sep 08 17:18:14 sorry for my english... Sep 08 18:05:16 gena2x_: i think it's really just suspend problem http://pastebin.com/fp5nsewH Sep 08 18:05:53 gena2x_: that's with all devices turned off (including modem) Sep 08 18:06:14 radekp: define 'all' and we'll solve this instantly :) Sep 08 18:06:35 radekp: how much is consumed by usb controller? Sep 08 18:06:44 radekp: by touchscreen? Sep 08 18:07:00 radekp: are they put to suspend properly? Sep 08 18:07:26 gena2x_: no idea :) i am thinking about applying your method with delays and camera for suspend Sep 08 18:07:34 radekp: in which state they set by bootloader? Sep 08 18:07:53 radekp: so far, we know: Sep 08 18:08:03 we have single bootloader Sep 08 18:08:13 which leaves everything in some state Sep 08 18:08:21 gena2x_: i am using qi so i think they only minimum should be initialized by bootloader Sep 08 18:08:24 then kernel boots and changes some states Sep 08 18:08:39 then kernel suspends and changes states again Sep 08 18:09:12 so boot+suspend is different Sep 08 18:09:25 other version is boot+suspend+resume+suspend Sep 08 18:09:38 which is one more state Sep 08 18:10:13 uboot or qi? i don't know. Sep 08 18:10:25 my uboot for _sure_ inits something wrong Sep 08 18:10:29 i think boot+suspend+resume+suspend is same as boot+suspend Sep 08 18:10:47 unfortunately not. at least with my kernel Sep 08 18:10:50 .34 Sep 08 18:11:11 after resume i have different consumption! Sep 08 18:11:14 boot+suspend is the first value in 2.6.34 test Sep 08 18:11:34 others are boot+suspend+resume+suspend Sep 08 18:11:37 i dont know which device is eathing power in suspend, but i have guess witch is not Sep 08 18:11:50 heh Sep 08 18:12:06 i have backported most of the simple devices from 2.6.29 to 2.6.34 and none of them was it Sep 08 18:12:28 may be it is even more complicated Sep 08 18:12:34 somehow Sep 08 18:12:42 btw your kernel works Sep 08 18:13:31 but mine didn't work because seem i forgot to umount flash on host.... Sep 08 18:14:11 i gtg for 30 mins, but continue after that. Sep 08 18:15:07 if you want to try my method better wait for video Sep 08 18:15:15 i want to do it today Sep 08 18:15:55 gena2x_: oki, btw last thing Sep 08 18:16:05 gena2x_: how do i enable suspend/resume debugging? Sep 08 18:16:39 gena2x_: PM_VERBOSE? Sep 08 18:16:44 no Sep 08 18:16:46 2 options Sep 08 18:17:09 PM_VERBOSE + something else... Sep 08 18:17:36 oki Sep 08 18:17:42 i think i got it, thanks Sep 08 18:18:55 CONFIG_SAMSUNG_PM_DEBUG Sep 08 18:18:58 may be Sep 08 18:19:13 i forgot, really gtg Sep 08 18:21:30 and CONFIG_PM_DEBUG Sep 08 19:47:54 can someone add btrfstoolls to shr-u feed? Sep 08 19:48:35 wow, I though I was alone, who want it Sep 08 19:48:54 max_posedon: you're not allone Sep 08 19:49:28 after some testing i decided that btrfs is better choise for mmc card :) Sep 08 19:49:47 but btrfs-0.19 little bit old for now, and no new releases with correct snapshot support was done Sep 08 19:50:25 alexxy: how about publishing your tests? Sep 08 19:50:55 gena2x_: its every day usage test Sep 08 19:50:56 would be interesting to read Sep 08 19:50:56 =) Sep 08 19:51:00 ah. Sep 08 19:51:02 ok :) Sep 08 19:51:05 as for me, snapshots support is enough to want it) Sep 08 19:51:08 i tryed reiserfs Sep 08 19:51:10 btrfs Sep 08 19:51:12 and ext4 Sep 08 19:51:19 i'm on... xfs Sep 08 19:51:29 btrfs is only one fs, which have ssd support Sep 08 19:51:30 tried reiserfs Sep 08 19:51:34 well sometimes card becames read only Sep 08 19:51:43 and reiserfs bacame corrupt Sep 08 19:51:46 it were too slow on reading packages list Sep 08 19:51:50 same for ext4 Sep 08 19:51:56 it know that sometimes mmc should be notified with "trim" command, when you remove smth Sep 08 19:51:56 strange Sep 08 19:52:09 this should not happen in absolutely any case Sep 08 19:52:18 but it happenes Sep 08 19:52:20 something wrong with you kernel if you see corruptions... Sep 08 19:52:26 i have only home on mmc Sep 08 19:52:38 gena2x_, there is known "border" problem Sep 08 19:52:41 well currently i use stock shr-u kernel Sep 08 19:52:54 max_posedon: barrier? Sep 08 19:53:04 ah, yes, barrier Sep 08 19:53:13 i'm on .34, qtmoko (.29), .32 - all have no corruptions Sep 08 19:53:27 kernel writes data, writes log, and expects that log will be written after data Sep 08 19:53:31 shr kernel i builded, HAD some problems on shutdown. Sep 08 19:53:37 which isn't true sometimes Sep 08 19:53:48 gena2x_: its reproducble with suspend/resume Sep 08 19:53:48 so, all -fb kernels are OK. Sep 08 19:53:56 and its more often with mmc/ssd then with sda, hda Sep 08 19:54:01 while -kms has this bug. Sep 08 19:54:18 if it is your issue, this is not related to filesystem Sep 08 19:54:25 thats why disk in servers must have battery for power fail Sep 08 19:56:02 alexxy, but freankly speaking I didn't find btrfs reliable enough with .32 kernel on sheevaplug Sep 08 19:56:14 on any bug, you can't umount and mount fs Sep 08 19:56:28 well its reliable with 2.6.34 and higher Sep 08 19:56:29 =) Sep 08 19:56:50 well, we still have .32, aren't we? Sep 08 19:57:00 but its still has some disadvantages Sep 08 19:57:09 for example Sep 08 19:57:30 gentoo portage tree will be only ~280M on reiserfs Sep 08 19:57:47 while obn btrfs it will be about ~600M Sep 08 19:57:56 squashfs the only one fs for portage, imho Sep 08 19:58:15 max_posedon: not realy :) Sep 08 19:58:34 i turned off my router for 2 months every day with hard poweroff (just unplug). ext3, mounted rw. still works. Sep 08 19:58:42 if i use compress mount option for btrfs it will be about ~350M Sep 08 19:58:54 no fs damages, etc Sep 08 19:58:55 gena2x_, its because of you don't write data on it, I think Sep 08 19:59:06 you always writing something Sep 08 19:59:13 logs or so Sep 08 19:59:22 gena2x_: thats not true :) Sep 08 19:59:29 really? Sep 08 19:59:34 it has large vfs caches by default Sep 08 19:59:47 and IIRC Sep 08 19:59:49 check vmstats on your idle system :) Sep 08 19:59:59 it has commit period about 5 seconds Sep 08 20:02:00 and don't forget logs are often opened with O_SYNC... Sep 08 20:02:59 really? I think syslog is more kind Sep 08 20:03:52 man -a syslog.conf Sep 08 20:04:20 You may prefix each entry with the minus ``-'' sign to omit syncing the file after every logging Sep 08 20:04:59 ok might be you right, or might be its just flush after each write Sep 08 20:05:33 $ cat /etc/syslog.conf |grep '/var/log/'|grep '-'|wc -l Sep 08 20:05:37 11 Sep 08 20:05:43 $ cat /etc/syslog.conf |grep '/var/log/'|grep -v '-'|wc -l Sep 08 20:05:48 5 Sep 08 20:05:56 debian, default config... Sep 08 20:19:17 gena2x_: hmm i cant make the led blink on 2.6.34 - kernel hangs with null pointer dereference :( Sep 08 20:23:14 gena2x_: btw i we had serial console - couldnt we see all kernel messages? Sep 08 20:26:15 radekp, hi what phone Sep 08 20:26:22 om-gta02? Sep 08 20:27:07 GNUtoo|laptop: yes Sep 08 20:27:49 we want to debug where is the current leak in suspend with 2.6.34 - and seeing messages is important Sep 08 20:28:02 ok Sep 08 20:28:13 I lost the cable of my debug board Sep 08 20:28:14 too bad Sep 08 20:32:24 i'd buy debug board, but i think shipping from Germany would be too expencive... Sep 08 20:35:24 maybe just ask someone with a debug board Sep 08 20:35:39 and if none are present now try mailing lists Sep 08 20:36:33 * lindi- got RTK-GPS actually work in realtime Sep 08 20:36:34 oki i think i will write mail Sep 08 20:36:53 (unfortunately the battery run out just when I was starting to have fun) Sep 08 20:37:06 ((of the laptop)) Sep 08 20:41:52 what is RTK-GPS? Sep 08 20:43:45 GNUtoo|laptop: http://en.wikipedia.org/wiki/Real_Time_Kinematic Sep 08 20:43:50 radekp: yes... but. but! Sep 08 20:44:02 radekp: if will be shut down in suspend too Sep 08 20:44:09 s/if/it/ Sep 08 20:44:09 gena2x_ meant: radekp: it will be shut down in suspend too Sep 08 20:44:15 ok looking,thanks Sep 08 20:44:17 it will consume power :) Sep 08 20:44:34 gena2x_: hmm oki, i have idea why it does not work Sep 08 20:45:03 i have asked for debug board but will continue with leds for now :) Sep 08 20:45:29 btw i can recall Weiss had spare dboard Sep 08 20:46:35 he even promised it to me if glamo timings will be work :) but my inital idea about pageing didn't work. Sep 08 20:47:40 i can buy one from pulster... Sep 08 20:47:49 radekp: doesn't dmesg show all the messages that you can see with debug board? or do you have a crash? Sep 08 20:48:02 or are you writing prints to the boot loader? Sep 08 20:48:09 # Sep 08 20:48:10 Preis: EUR 0.00 Sep 08 20:48:14 sounds good :) Sep 08 20:48:35 lieferbar: 0 Stueck Sep 08 20:49:16 lindi-: the problem is that i want to check how current changes after each message Sep 08 20:49:36 but lindi- is right in fact Sep 08 20:49:40 s/current/power consumption Sep 08 20:49:43 radekp: ok Sep 08 20:49:59 radekp: are you measuring the current with external hardware? Sep 08 20:50:12 lindi-: yes Sep 08 20:50:16 cause that'S your only chance Sep 08 20:50:23 radekp: kernel messages have timestamps Sep 08 20:50:29 thinking more about it, i found that everything may be done without dboard. Sep 08 20:50:49 with lindi-'s ramconsole is pretty possible to debug crashes Sep 08 20:50:50 however, surely being able to single step with a debug board might help Sep 08 20:51:18 sure, finding out location of spinning or single step is good Sep 08 20:51:18 duh, never knew you could do that, except via JTAG Sep 08 20:51:35 lindi-: yes, but there is ~10kb of kernel messages Sep 08 20:51:51 radekp: hmm yes but what problem does that cause? Sep 08 20:51:55 but you also need to open case to attach dboard! Sep 08 20:52:13 yeah Sep 08 20:52:17 DocScrutinizer: waaait. FR dboard has no JTAG? Sep 08 20:52:21 lindi-: if i put let's say 5s delay between each printk it will take 20 minutes and i will have to assign 250 kernel messages to timestamps Sep 08 20:52:23 it has Sep 08 20:52:43 radekp: ah so you'd like to use breakpoints to stop only at interesting points? Sep 08 20:52:44 radekp: i am adding 1sec Sep 08 20:52:47 radekp: it is ok Sep 08 20:53:23 lindi-: yes - and i can bisect easily with leds Sep 08 20:53:24 radekp: /me is trying the cz jabber muc for dboard but all are asleep i guess Sep 08 20:53:36 someone has it... iirc Sep 08 20:53:38 vanous: hi, ahh thanks Sep 08 20:53:51 np Sep 08 20:54:03 radekp: make the kernel ask for confirmation after each message? ;) Sep 08 20:54:18 lindi-: :) Sep 08 20:54:26 radekp: use systemtap in guru mode with embedded C to sleep at appropriate places? Sep 08 20:54:35 2.6.34 might have working kprobes for arm Sep 08 20:54:43 whoooooohh Sep 08 20:54:46 guys. Sep 08 20:54:47 lindi-: i am doing even simple things every line i add crashes kernel 10x before i get it right :) Sep 08 20:54:50 lindi-: you mean: Are you sure you want to continue (yes/no)? Sep 08 20:54:55 vanous: yeah :) Sep 08 20:54:58 :) Sep 08 20:55:11 vanous: "Please enter root password to proceed: " Sep 08 20:55:31 and have some md2sum result for password :) Sep 08 20:55:34 my idea of delay _connected directly to video_ Sep 08 20:55:52 and external current measurement. Sep 08 20:56:01 do not mix it with something else! Sep 08 20:56:29 lindi-: we do not know where it insert probes Sep 08 20:56:32 have you checked if the state of GPIOs is the same under 2.6.29 and 2.6.34 when you are in boot loader and about to suspend? Sep 08 20:56:49 hehe Sep 08 20:56:59 I take it as a no? Sep 08 20:57:11 which GPIOs? Sep 08 20:57:16 all of them? Sep 08 20:57:17 on cpu? Sep 08 20:57:19 on glamo? Sep 08 20:57:21 cpu Sep 08 20:57:29 on some other device? Sep 08 20:57:42 well everything you know how to check for of course :) Sep 08 20:57:58 hehe Sep 08 20:58:25 so not even cpu gpios have been checked? Sep 08 20:59:06 I have two openmokos and two debug boards.. Sep 08 21:01:43 I could have one run 2.6.29 and the other one run 2.6.34 Sep 08 21:01:48 lindi-: they are in different registers. checking everything is just other way. Sep 08 21:01:53 not only gpios Sep 08 21:01:55 i am just going other way Sep 08 21:01:56 only problem is that I have no external way to measure consumption Sep 08 21:02:00 lindi-: multimeter? Sep 08 21:05:50 i have 3 multimeters Sep 08 21:05:51 :) Sep 08 21:05:52 i can exchange 1 to dboard :) Sep 08 21:06:19 radekp: how do you measure it? Sep 08 21:06:24 * lindi- forgot that the watchdog needs to be stopped before debug board use... Sep 08 21:07:02 bad bad dog.. Sep 08 21:07:04 some sort of "print state of hardware" macro would be useful Sep 08 21:07:06 gena2x_: yeah but how do I physically do this? Sep 08 21:07:08 lindi-: use bq27000 Sep 08 21:07:09 DocScrutinizer: hmm, how? Sep 08 21:07:09 wire gnd and HDQ of the cell to a second device ;-D Sep 08 21:07:09 gena2x_: I have a multimeter yes but not an easy way to attach to the battery terminals Sep 08 21:07:09 DocScrutinizer: that could work? Sep 08 21:07:09 sure Sep 08 21:07:10 I'd need to disconnect the HDQ of the other device? Sep 08 21:07:10 yep Sep 08 21:07:10 hmmhmm Sep 08 21:07:11 so I could run this V7 from usb Sep 08 21:07:11 3mm*3mm scotch will do :-P Sep 08 21:07:22 but seriously, checking and understanding meaning of all GPIOs may lead to nothing too. Sep 08 21:07:22 i prefer to see power profile Sep 08 21:07:22 i mean how and then consumption changes during boot. Sep 08 21:08:19 hi mickeyl Sep 08 21:08:35 lindi-: to attack it solder 2 wires to some battery Sep 08 21:08:41 *attach Sep 08 21:08:47 i used old nokia battery Sep 08 21:08:57 solder??? are you mad? Sep 08 21:09:03 no. Sep 08 21:09:07 do it fast :) Sep 08 21:09:24 the gold plating gets spoiled forever Sep 08 21:09:34 i can connect multimeter without soldering at all Sep 08 21:09:39 the contact resistance rising Sep 08 21:09:45 i told '_old_ nokia battery' Sep 08 21:09:51 GSM failing for no obvious reason Sep 08 21:10:13 but thanks for warning Sep 08 21:10:20 btw gsm works Sep 08 21:10:41 lindi-: then i just got 3 wires from _old_ ide 40pin cable Sep 08 21:10:50 solder 2 to battery Sep 08 21:10:51 just use aluminium strip with sticky tape as isolator Sep 08 21:10:52 wait 4 weeks until solder / Pb/Sn gets stained Sep 08 21:11:19 radekp: that's the way Sep 08 21:11:34 attach 1 to multimeter Sep 08 21:11:35 quite fragile but it can be done :) Sep 08 21:12:08 then i just attached by twisting around contacts in freerunner Sep 08 21:12:13 all works Sep 08 21:12:17 including gsm Sep 08 21:12:25 for > 4 weeks Sep 08 21:12:42 and measuring current perfetly and instantly Sep 08 21:13:05 have fun with the noise Sep 08 21:13:13 may be this is complete _wrong_ but it works Sep 08 21:13:15 bq27000 does integration Sep 08 21:13:46 btw nokia battery charges Sep 08 21:13:58 this way. Sep 08 21:14:07 <[Rui]> hi Sep 08 21:14:12 sure, what else Sep 08 21:14:29 ~batteryfaq Sep 08 21:14:29 it has been said that batteryfaq is http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers Sep 08 21:14:47 DocScrutinizer: and i didn't find any visible problems. Sep 08 21:14:47 cya punks Sep 08 21:14:54 bb Sep 08 21:15:05 hrm, i don't really feel confident with messing the battery terminals... Sep 08 21:15:32 lindi-: so, this is my method. only thing you need is old battery Sep 08 21:15:50 gena2x_: what about measuring usb current? Sep 08 21:16:03 I could cut some usb cable to pieces a lot easier Sep 08 21:16:28 lindi-: no Sep 08 21:16:52 charge current depends on battery state Sep 08 21:17:05 gena2x_: but what if I have no battery and only power this over usb? Sep 08 21:17:21 hm... Sep 08 21:17:40 lindi-: feasible, but still you get no decent figure without storage scope Sep 08 21:17:42 sounds like new idea for me. Sep 08 21:17:55 our local hacklab has scopes Sep 08 21:17:57 sounds like possible thing. Sep 08 21:18:12 gena2x_: I thought you planned to spoil the contacts of a genuine gta02 bat with solder Sep 08 21:18:43 lindi-: no more than 100mR Sep 08 21:18:44 DocScrutinizer: i avoided this, but big thanks for warning Sep 08 21:19:09 DocScrutinizer: no idea but I hope they meet that :) Sep 08 21:19:14 leviathan, did you get your geekphone? Sep 08 21:19:16 never solder to gold contacts that shall make contact later on Sep 08 21:19:38 lindi-: scopes can't measure current, just woltage Sep 08 21:19:42 voltage Sep 08 21:19:51 DocScrutinizer: yep I need some resistor Sep 08 21:19:59 so you need a series R to convert I to U Sep 08 21:20:26 0.05 .. 0.1R Sep 08 21:20:43 hehey guys. do not overcomplicate all this :) Sep 08 21:20:56 just get old nokia battery Sep 08 21:20:59 :) Sep 08 21:21:12 usb measurement cable could be useful in the future Sep 08 21:21:39 hm... damn true. Sep 08 21:21:56 interesting Sep 08 21:22:06 may be such kind of cables already exist? Sep 08 21:26:41 http://www.winter-con.net/catalog/item/6654756/6719360.htm Sep 08 21:26:49 just random device :) Sep 08 21:27:10 ok, back to my video... Sep 08 21:44:33 radekp: have someone with db, will write you Sep 08 21:44:51 vanous: oki, thanks **** ENDING LOGGING AT Thu Sep 09 02:59:57 2010