**** BEGIN LOGGING AT Sun Feb 07 02:59:58 2010 Feb 07 09:06:47 ~log Feb 07 09:06:48 well, log is http://logs.nslu2-linux.org/livelogs/openmoko-cdevel/ for #openmoko-cdevel only. Maybe you meant "~logs" ? Feb 07 09:33:37 * pieterc is listening at mickey|zzZZzz at FOSDEM Feb 07 09:33:50 s/at/to/ Feb 07 09:34:32 :D Feb 07 09:43:23 larsc: hi, i think i have idea why wifi does not survive suspend/resume on 2.6.32 Feb 07 09:43:39 i have backported the save_regs and restore_regs from http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=a560d8579b4b009f847972667b7597c89030e26c Feb 07 09:44:17 now i have SD card working, wifi working - everything survives suspend/resume Feb 07 09:46:11 radekp: shouldn't wifi reinitialize properly on itself, without the persist option? Feb 07 09:49:31 PaulFertser: good question, but i dont have answer :) Feb 07 09:51:30 i think the patch is related to s3cmci - because it stops working after suspend/resume Feb 07 09:51:34 radekp: Werner said several times that ar6000 module should fully turn the device off in suspend, that it's equivalent to unbinding on unloading the module. Feb 07 09:51:36 want me to ask mickey? ;-) Feb 07 09:52:06 mickeys talk is boring ;) Feb 07 09:52:06 radekp: but s3cmci shouldn't stop working without some obscure module parameters anyway, should it? ;) Feb 07 09:52:18 larsc: it's pretty interesting Feb 07 09:52:22 although i'm irc ;-) Feb 07 09:52:34 larsc: he's a good talker Feb 07 09:52:41 s/talker/speaker/ Feb 07 09:52:41 pieterc meant: larsc: he's a good speaker Feb 07 09:53:13 Uh I suck at English today ;) Feb 07 09:54:19 pieterc: tell me, when the talk is done, I'll come over then Feb 07 09:54:22 PaulFertser: i though that the parameter is always 1 on andytracking Feb 07 09:54:47 PaulFertser: at least it worked like this the last time i touched it (which has been a while) Feb 07 09:55:50 radekp: it doesn't seem so, persist is 0 by default if i read the code right. Feb 07 09:56:58 larsc: 2 minutes left Feb 07 09:58:17 PaulFertser: have you btw ever heard that anybody would have got the "wake on wlan" support working? Feb 07 09:58:49 lindi-: nope Feb 07 09:58:59 lindi-: it should be perfectly possible hardware-wise Feb 07 09:59:14 well, if the wireless is powerdown on suspend, you won't get wol Feb 07 09:59:41 radekp: did you only backport the save_regs patch? Feb 07 10:01:13 larsc: done Feb 07 10:01:32 larsc: yes Feb 07 10:01:41 radekp: ok, i'll take a look Feb 07 10:01:46 larsc: there should be a module option to allow to leave wireless on in suspend. Feb 07 10:02:29 pieterc: ok :) Feb 07 10:05:01 PaulFertser: i havent found in andy-tracking where the "persist" variable is set, so question is if it is by default 0 or 1 Feb 07 10:05:22 radekp: static variables are 0 when not initialized explicitly :) Feb 07 10:07:21 PaulFertser: ok, thanks, so then there must be another reason why it works in andy-tracking and in 2.6.32 not Feb 07 10:07:44 freesmartphone.org: 03mickey 07cornucopia * r9a78baf0edd7 10/fsogsmd/ (4 files in 3 dirs): fsogsmd: modem_qualcomm_palm is now an optional feature (since it needs a special library) Feb 07 10:07:45 freesmartphone.org: 03mickey 07cornucopia * rb7b0ff03493e 10/fsogsmd/ (configure.ac src/plugins/Makefile.am): Feb 07 10:07:45 freesmartphone.org: fsogsmd: support for modem plugins requiring libgsm0710mux is now optional. Please submit --enable-libgsm0710mux to Feb 07 10:07:45 freesmartphone.org: enable those. Feb 07 10:07:51 mickey|fosdem: great talk :) Feb 07 10:08:03 freesmartphone.org: 03mickey 07msmcomm * r34ee5b6c6108 10/ (7 files in 3 dirs): libmsmcomm: rename .pc file and just files; declare enums as public and fix certain things in .vapi Feb 07 10:08:03 freesmartphone.org: 03mickey 07msmcomm * rfa8c2924753f 10/openembedded/msmcommd_git.bb: msmcommd: remove OE recipe; has been committed upstream Feb 07 10:08:03 freesmartphone.org: 03mickey 07msmcomm * r15bea7a8fe3a 10/libmsmcomm/vapi/msmcomm-1.0.vapi: libmsmcommd: vapi compiles now Feb 07 10:08:04 freesmartphone.org: 03mickey 07msmcomm * r79fb807bc571 10/msmvterm/ (15 files in 3 dirs): msmvterm: add build skeleton (copied from fso-term) Feb 07 10:08:04 freesmartphone.org: 03mickey 07msmcomm * rfaaaa301e8e8 10/msmcommd/src/Makefile.am: msmcommd: remove msmc_forward, the functionality has been added to serial_forward Feb 07 10:08:31 freesmartphone.org: 03mickey 07phonesim * r529f1ef9c2e6 10/launch.sh: add launch.sh Feb 07 10:08:58 pieterc: thanks a lot :) Feb 07 10:09:16 btw here is the patch for 2.6.32: http://activationrecord.net/radekp/pub/save_regs.patch Feb 07 10:10:32 mickey|fosdem: I wonder where Rui is though Feb 07 10:10:32 Met him yesterday and told me he would come Feb 07 10:10:41 probably suffering from a terrible hangover ;) Feb 07 10:10:54 oooh Feb 07 10:10:55 there he is:D Feb 07 10:11:27 morning.. Feb 07 10:12:42 rui is near the botom port standing up Feb 07 10:14:19 radekp: you can read the value of the param via sysfs, so you could check if it's either 1 or 0 Feb 07 10:14:47 larsc: oki, i'll try Feb 07 10:14:59 i think it is /sys/module/s3cmci/params/persist Feb 07 10:17:29 vegyraupe: hey! tried to find you yesterday, where are you hiding? :) Feb 07 10:18:23 mickey|fosdem: hey, I am in the hacker room in the H building Feb 07 10:18:33 vegyraupe: ah, 115 Feb 07 10:18:49 mickey|fosdem: no that is the one in the other buildung Feb 07 10:18:53 building Feb 07 10:19:05 I am in the main building, where all the distros are and usch Feb 07 10:19:23 ah, not AW115, right Feb 07 10:20:04 i'm pretty busy until 15 or so, perhaps we can share a coffee somewehre then Feb 07 10:22:16 mickey|fosdem: yeah after 15 sounds good Feb 07 10:22:19 got a talk at 5 Feb 07 10:22:31 so between 15 and 17 sounds good Feb 07 10:28:00 oki Feb 07 10:37:56 moin Feb 07 10:41:30 hi there, guys do you mind if I borrow your alsa source code from libphoneui? Feb 07 10:41:49 because I see it's really complicated and I wish to focus on my application... Feb 07 11:10:47 daniele_athome, afaik it is GPLed ... Feb 07 11:11:16 playya__, yes but I just wanted you to know i'm using it :) Feb 07 11:26:37 daniele_athome: just use it... and enhance it ;) Feb 07 11:27:04 mrmoku: it's what i intend to do :) Feb 07 12:16:09 ynezz: try nandwrite 37M http://build.shr-project.org/shr-unstable/images/om-gta01/shr-fso2-console-image-eglibc-ipk--20100207-om-gta01.rootfs.ubi Feb 07 12:16:20 ynezz: then mount Feb 07 12:17:45 ynezz: do not forget to flasherase_all before nandwrite Feb 07 12:17:45 (just in case, sorry if you already know that) Feb 07 12:18:42 PaulFertser: ping Feb 07 12:20:10 topro: pong Feb 07 12:20:32 PaulFertser: hi, I played a little with hstes but didn't get far Feb 07 12:20:42 paired notebook with my car Feb 07 12:21:25 hstest record some_filename and:the:mac:addr:of:car Feb 07 12:21:41 --> Can't connect RFCOMM channel: Host is down Feb 07 12:22:42 topro: was it the same error message that car gave you right after pairing (that something was unsuccessful)? Feb 07 12:23:06 no, pairing looked fine Feb 07 12:23:55 the car display shows something like "Connecting..." for an indefinite ammount of time Feb 07 12:24:23 but at that moment pairing is already completed successfully Feb 07 12:24:46 I think it tries to get some service from the "phone" Feb 07 12:26:05 topro: btw i'd try hstest play first Feb 07 12:26:05 (record/play) But in fact it shouldn't affect your error. Feb 07 12:26:05 topro: i'd gather hcidump of a full pairing attempt and then of an hstest play attempt. Feb 07 12:26:05 topro: and then wrote a mail to the bluez folks. Most probably they'll have some ideas. Feb 07 12:26:44 I tried play as well, same result Feb 07 12:27:38 I'll go for hci-dumping -> bluez-folks Feb 07 12:27:42 keep you informend Feb 07 12:29:36 topro: thanks Feb 07 12:30:00 topro: have you read on the ml about some advances on obexftp front to make it possible to retrieve contact list and the like? Feb 07 12:30:16 Heiner-Fosdem: do you probably know who was involved in that? Feb 07 12:30:52 PaulFertser: obexftp or obexd? Feb 07 12:31:01 PaulFertser: no, I havent, sorry Feb 07 12:32:29 Heiner-Fosdem: obexd i guess Feb 07 12:32:49 PaulFertser: that's me who is integrating FSO support Feb 07 12:33:50 my plugin should work, but PBAP integration in obexd itself isn't working with real devices Feb 07 12:34:41 but work on that is going on, perhaps it will work with obexd 0.22 Feb 07 12:35:28 Heiner-Fosdem: i want to draw your attention to topro's problems, they might be related :) Feb 07 12:36:30 topro: what are you trying to do? Feb 07 12:36:45 just pair the phone to the car? Feb 07 12:37:12 Heiner-Fosdem: pairing works, but using hands-free doesn't :( Feb 07 12:37:54 topro: hmm, i never tried to use a bluetooth handsfree Feb 07 12:38:07 i expected it to work like discribed in the wiki Feb 07 12:38:36 as far as i know BTHFP is different from Headset Feb 07 12:39:02 ah, then that isn't implemented Feb 07 12:39:53 PaulFertser: if the battery is charging, then should current_now be negative? Feb 07 12:39:59 thats the reason I expected Feb 07 12:40:10 topro: I thought that HFP is just for dialing, and recognizing the buttons and such thinge Feb 07 12:40:31 Heiner-Fosdem: don't know for sure Feb 07 12:41:20 Heiner-Fosdem: http://en.wikipedia.org/wiki/Bluetooth_profile#Hands-Free_Profile_.28HFP.29 Feb 07 12:41:28 maybe that gives us some clue Feb 07 12:42:32 HFP and HSP are both providing an audio stream Feb 07 12:42:47 so perhaps bluez4 only supports HSP till now Feb 07 12:43:09 on bluez ML there is currently a lot about HFP Feb 07 12:43:38 Deubeuliou: where are you now? Feb 07 12:44:03 Weiss: "when charging the current reported should be negative" Feb 07 12:44:28 Heiner-Fosdem: for testing I already found an interesting link to a sourceforge project to simulate the HFP kit. maybe that helps http://nohands.sourceforge.net/ Feb 07 12:44:55 didn't try in yet (as I have a real HFP-kit available ;) ) Feb 07 12:44:55 topro: i will look at that when i'm back home Feb 07 12:44:58 thx Feb 07 12:45:52 what can I do to help bluez-HFP Feb 07 12:46:42 topro: i started a plugin to support dialing, and such things with FSO Feb 07 12:46:43 PaulFertser: hmm... with 2.6.32, it claims to be charging, but it's actually discharging (quite slowly though), current_now is 110812 Feb 07 12:47:15 topro: but i don't know about the rest of bluez Feb 07 12:47:28 LOL: "this HFP Feb 07 12:47:28 is the only BT profile installed on Maemo's N900 and actually there is no way Feb 07 12:47:28 to have the caller name on car BT device (we try Audi/Porsche and Ferrari Feb 07 12:47:28 California!). N900 is a 599 €uro device, not a $50 one, so for the community Feb 07 12:47:28 this is a bug, not a feature" Feb 07 12:47:52 Heiner-Fosdem, did you manage to record the talks? Feb 07 12:47:59 playya__: no Feb 07 12:48:04 :( Feb 07 12:48:15 playya__: there wasen't enough time to prepare taht Feb 07 12:48:31 topro: you can try to recompile obexd with pbap plugin to see what it gives. Probably a dummy response would suffice. Feb 07 12:49:20 PaulFertser: I know that N900 HFP is working at least, as one of my collegues has one. Feb 07 12:49:23 http://downloads.vdm-design.de/obexd_0.20-r2.4_armv4t.ipk this is obexd with fos-pbap plugin Feb 07 12:49:26 Heiner-Fosdem, do you know if mophis is there, too? Feb 07 12:49:35 playya__: no Feb 07 12:49:51 playya__: i'm trying to find the others :) Feb 07 12:50:10 hehe Feb 07 12:50:18 PaulFertser: I think I could use Heiner-Fosdem's obexd ipk, would that be ok? Feb 07 12:50:32 to pbap plugin: the problem is, that the methods in the plugin are never reached Feb 07 12:50:40 i think it's fso not fos plugin Feb 07 12:50:48 of course Feb 07 12:51:02 notbook keyboard is to small ;) Feb 07 12:51:23 Weiss: gta02 driver reports charging depending on "charger status", not the current. you topped the battery, the charger is still enabled but it stops charging. I hope you read Battery Q&A page ;) Feb 07 12:51:25 mine is perfect Feb 07 12:52:03 normaly i'm using the old keyboard from my old 486 :) Feb 07 12:52:18 PaulFertser: when I got obexd, what do you expect me to test? Feb 07 12:52:39 gym for you fingers ;) Feb 07 12:52:39 JaMa|Gone: nandwrite directly to /dev/mtd4 ? Feb 07 12:53:04 ok, i will look for the others, bbl Feb 07 12:53:25 good look Feb 07 12:53:46 PaulFertser: sure.. but "apm" claims only 28%, and voltage_now is 3771000 - shouldn't it have resumed charging? Feb 07 12:53:51 topro: you need obexd with enabled pbap plugin and probably with --pbap switch on start. Probably it needs something else to actually supply the carkit with the data, i'm not sure, would need to read the code for that. Feb 07 12:54:20 Weiss: it should have resumed, indeed, no idea how that could happen, i never saw that with andy-tracking. Feb 07 12:57:33 PaulFertser: hmm.. after unplugging the charger, current_now is 572062 - does that sound too big, or OK? Feb 07 12:57:36 topro: btw, start bluetoothd with -d switch and look carefully at the output that it produces while/after pairing. Feb 07 12:57:54 Weiss: a running system shouldn't consume _that_ much. Feb 07 12:58:05 Weiss: btw, do not use apm, use /sys/class/power_supply/battery Feb 07 12:58:35 ah ok Feb 07 12:59:27 Weiss: becaus apm does some magic and it can be confusing. It's deprecated anyway. Feb 07 12:59:34 JaMa|Gone: http://pastebin.ca/1789009 Feb 07 12:59:40 JaMa|Gone: seems, it works :) Feb 07 13:00:23 PaulFertser: hmm.. on the mains charger, it seems happier Feb 07 13:00:36 (voltage is increasing, current_now is negative) Feb 07 13:01:22 topro: take a look at https://bugs.maemo.org/show_bug.cgi?id=6368 Feb 07 13:01:28 (for reference purposes) Feb 07 13:02:53 topro: anyway you won't have much success with pbap right now i'm afraid unless you're able to read the code. Feb 07 13:03:07 freesmartphone.org: 03morphis 07msmcomm * rfb62c0ee69f8 10/libmsmcomm/src/ (6 files): libmsmcomm: reduce memory footprint Feb 07 13:03:08 freesmartphone.org: 03morphis 07msmcomm * r8f7959e6b5dd 10/ (24 files in 8 dirs): Merge branch 'master' of git.freesmartphone.org:msmcomm Feb 07 13:03:21 PaulFertser: already found that maemon-thread yesterday when I was googling about that topic Feb 07 13:03:40 doesn't match my case as they seem to be able to use hands-free Feb 07 13:03:52 topro: not all of them Feb 07 13:04:51 reading the code should be ok for me, do you have an url for the most recent source including the fso-pbap plugin? Feb 07 13:05:30 topro: i'd try without bringing fso in the mix, just pbap with some dummy data. ebook plugin seems to be also unstable, so avoid it. Feb 07 13:06:02 topro: http://git.kernel.org/?p=bluetooth/obexd.git;a=summary Feb 07 13:07:05 topro: meaning try to make phonebook-dummy work Feb 07 13:07:24 I'll see what I can do Feb 07 13:08:09 topro: of course since you can do all that with your laptop it shouldn't be hard. Feb 07 13:10:03 PaulFertser: i assume obexd-server is the debian package to go for? Feb 07 13:12:22 ynezz: good, thanks Feb 07 13:15:34 topro: i'd compile from the sources anyway Feb 07 13:15:49 topro: since you want the latest and the greatest code and ability to easily tweak it. Feb 07 13:16:41 PaulFertser: do you know how to select/enable some plugins Feb 07 13:18:22 topro: i guess configure options, but no, i'd need to read the docs/code to find out. Feb 07 13:18:51 TAsn: ping Feb 07 13:19:21 PaulFertser: ok, thought one could select at runtime, will go for the source and recompile Feb 07 13:24:00 PaulFertser: hmm, do you know if there are any command line tools for using /sys/class/power_supply/battery? Feb 07 13:24:41 PaulFertser: I think HFP is implemented in bluez, see http://www.bluez.org/bluez-444/ Feb 07 13:24:43 lindi-: i know lshal Feb 07 13:24:55 PaulFertser: but isn't hal deprecated too? ;) Feb 07 13:24:59 lindi-: sure, it is Feb 07 13:25:04 lindi-: i do not know others Feb 07 13:25:36 topro: i hope you're using the latest bluez on your laptop already ;) Feb 07 13:25:44 PaulFertser: libomhacks has primitive support Feb 07 13:25:56 lindi-: but neither there're console tools to parse "apm" output, afaik. Feb 07 13:27:23 PaulFertser: isn't it already a console tool? Feb 07 13:28:13 PaulFertser: unfortunately the output is not very machine parseable as usual Feb 07 13:29:05 lindi-: sysfs nodes otoh are really machine parseable, aren't they? Feb 07 13:31:49 PaulFertser: they keep changing Feb 07 13:32:31 PaulFertser: some sort of middleware that provides a user interface around those is needed :) Feb 07 13:38:39 PaulFertser: bluez 4.60, obexd compiled source 0.21 Feb 07 13:38:52 s/source/from source Feb 07 13:51:33 heyho Feb 07 13:51:47 morphis: why aren't you here? ;) Feb 07 13:52:03 busy :) Feb 07 13:52:09 ok :) Feb 07 13:52:15 I would really love to be at FOSDEM Feb 07 13:52:37 maybe next year :) Feb 07 13:52:38 mickey said you made some progress yesterday? Feb 07 13:52:44 yesterday? Feb 07 13:52:48 last week Feb 07 13:52:58 he said yesterday in his talk Feb 07 13:53:03 don't know Feb 07 13:53:08 we have now pin authentication and call recognation with msmcomm :) Feb 07 13:53:11 jepp Feb 07 13:53:44 all recognation i read here Feb 07 13:53:49 call Feb 07 13:54:01 jepp Feb 07 13:54:17 make a call is currently not implemented but I will work on this next week Feb 07 13:54:34 nice :) Feb 07 13:54:50 then we need only some work to do on audio routing until we have outgoing/incomming call with voice Feb 07 13:55:37 when that is working i can try it on my phone too :) Feb 07 13:55:43 somebody here who can help me with understanding some arm instructions? Feb 07 13:55:56 Heinervdm: you even have a Palm Pre? Feb 07 13:56:05 yes Feb 07 13:56:16 since 1 week after release Feb 07 13:56:18 great Feb 07 13:56:29 some time to help us? Feb 07 13:56:47 btw. mickey published his presentation somewhere? Feb 07 13:56:48 don't know Feb 07 13:56:57 to both :) Feb 07 13:57:13 ok Feb 07 13:57:32 tell me if you have, we need all help we can get :) Feb 07 13:57:52 the problem is, that the palm i my primary phone :) Feb 07 13:58:09 Heinervdm: no problem :) mine too Feb 07 13:58:34 you just need a time slot where don't be availbale to other people Feb 07 13:58:38 than you are find Feb 07 13:58:43 :) Feb 07 13:58:48 lets see Feb 07 13:58:56 you don't have to do any modifications to your pre Feb 07 13:59:05 just booting a kernel over usb with attached initramfs Feb 07 13:59:45 do you have a howto for that at webos-internals? Feb 07 14:00:51 Heinervdm: currently not a really howto how to develop with this Feb 07 14:00:56 but I can tell you here Feb 07 14:01:01 it's very simple Feb 07 14:01:07 you just need oe around Feb 07 14:01:22 i have enough oe trees ;) Feb 07 14:01:33 but not today :) Feb 07 14:05:41 ok :) Feb 07 14:06:05 I have a point "do some more documentation on all the palm pre stuff" on my todo list :) Feb 07 14:21:21 PaulFertser: more about these odd 2.6.32 battery problems: "charging" from my laptop, the current is about 100mA and positive, unplugged, it's 560-odd mA and positive, and with the mains charger, it's -350mA. sounds like I have a drain of 400mA coming from somewhere? Feb 07 14:24:04 what's odd with this? except the fact FR blasts on >2W Feb 07 14:29:55 mrmoku|away: there is an error in this commit http://git.shr-project.org/git/?p=pyphonelog.git;a=commitdiff;h=2d73b801fa1a76bd9fbd802cf493ac20d6e8698b it should be phonelog.mo instead of messages.mo Feb 07 14:31:55 Weiss: power down modem, GPS, WLAN, do a top and sigstop all tasks. Then check again Feb 07 14:32:46 Weiss: switch off all LED, make sure vib is off. Dim screen Feb 07 14:33:49 Weiss: that's definitely *not* a _battery_ problem Feb 07 14:34:30 yeah, I agree Feb 07 14:36:01 GPRS with massive data thruput easily can cause such behaviour - to name just one Feb 07 14:36:55 or running aircrack, or mplayer ;-P Feb 07 14:37:29 to name just one other cause, by 2 examples Feb 07 14:37:40 it's sitting idle on my desk with no SIM in.. Feb 07 14:38:06 so now it starts to get starnge Feb 07 14:38:40 cpufreq? Feb 07 14:39:42 trying to charge n900 can also generate that :) Feb 07 14:40:48 if it's kernel-rev dep (lol, yeah lindi- right) I'd guess it might be kernel spinning idle busy. This should show up in top system percentage though I'd guess Feb 07 14:41:49 Weiss: how large is the consumption in suspend? Feb 07 14:42:25 lindi-: you have a talent to ask questions that are hard to answer Feb 07 14:42:32 hehe Feb 07 14:42:38 I don't have the means to measure that right now Feb 07 14:44:05 Weiss: actually you have Feb 07 14:44:11 bq27000 Feb 07 14:44:40 hmm? Feb 07 14:45:09 read out the capacity, suspend for 15min, read again. multiply diff * 4 Feb 07 14:45:52 capacity as in /sys/class/power_supply/battery/capacity? Feb 07 14:45:58 yup Feb 07 14:46:01 e.g. Feb 07 14:46:18 or use bq27k-detail script, for convenience Feb 07 14:47:54 or just check SHR-settings-power (don't miss the "update" button) Feb 07 14:48:12 in progress.. Feb 07 14:48:23 DocScrutinizer: hard to answer? Feb 07 14:48:44 Weiss: just read current_now on resume Feb 07 14:49:01 lindi-: that's extremely unreliable Feb 07 14:49:48 DocScrutinizer: why? Feb 07 14:50:19 * DocScrutinizer suggests to ponder about the meaning of "now" Feb 07 14:50:35 DocScrutinizer: yes it lags several seconds Feb 07 14:50:43 how many? Feb 07 14:50:58 i do not know Feb 07 14:51:06 :-/& Feb 07 14:51:18 but usually over 10 Feb 07 14:51:19 *I* do Feb 07 14:51:24 nope Feb 07 14:52:57 DocScrutinizer: hmm? Feb 07 14:53:40 lindi-: read bq27k datasheet and you'll get to know Feb 07 14:54:58 lindi-: basically you're relying on a hidden clock scheme inside bq27k which you never know the "phaseshift" to your 'real world' probing Feb 07 14:55:37 the clock sheme is even different for the various readings from bq27k Feb 07 14:55:58 for current it's some 5 sec iirc Feb 07 14:56:17 i just measured 14 Feb 07 14:56:25 so you lag 5 Weiss: any results? Feb 07 14:57:57 ok.. capacity went from 28 to 19 in about 10 mins of suspend Feb 07 14:58:08 and then it still might give you an average over a timespan that's not representative Feb 07 14:58:09 (current_now was 566250 just after resume) Feb 07 14:58:15 Weiss: ok Feb 07 14:58:25 Weiss: that is quite high current Feb 07 14:58:29 forget it Feb 07 14:58:29 yeah Feb 07 14:58:40 the left-hand side of the touchscreen seems quite warm, as well Feb 07 14:58:45 Weiss: did the current rise after resume? Feb 07 14:59:06 the current_now? Feb 07 14:59:13 Weiss: yep Feb 07 14:59:38 lindi-: you seem to develop a habit to spoil my mood and throw stick tween my legs Feb 07 14:59:45 Heinervdm: ohh :/ Feb 07 14:59:50 Weiss: but now might be a good idea to remove the battery and figure out where the energy is going :) Feb 07 15:00:01 Heinervdm: btw... how was your presentation? Feb 07 15:00:31 DocScrutinizer: sorry, im trying to be as polite as i can Feb 07 15:00:41 yeah and don't forget to set those loops on fire, so Weiss will look even smarter Feb 07 15:02:18 FSCK I did that hundereds of times. I tell you it's not reliable. You go on with that shit Feb 07 15:02:36 * DocScrutinizer wanders off searching for the red nose Feb 07 15:02:55 suckers Feb 07 15:03:20 :S Feb 07 15:03:23 DocScrutinizer: is lindi trying to pick up the current while suspended ? Feb 07 15:03:37 yeah Feb 07 15:03:41 FWIW.. current_now actually went DOWN slightly a few seconds after resuming Feb 07 15:03:56 overriding my suggestion Feb 07 15:04:07 Weiss: are you charging from usb? Feb 07 15:04:13 DocScrutinizer: i think you could make this work. i actually did some of that ... Feb 07 15:04:45 lindi-: yep Feb 07 15:04:51 you can, but it's not as simple as lindi- suggests. and weiss hoping the loops Feb 07 15:05:15 hopping Feb 07 15:05:32 the capacity method works too, and also gave a number that was too high? Weiss> ok.. capacity went from 28 to 19 in about 10 mins of suspend Feb 07 15:06:40 28 to 19 WHAT? Feb 07 15:06:46 mAh??? Feb 07 15:06:58 percent probably Feb 07 15:07:12 whatever the units of the "capacity" sysfs node are :S Feb 07 15:07:33 fuck % Feb 07 15:07:43 Weiss: when did this start to happen? Feb 07 15:08:04 just after I flashed a 2.6.32 kernel Feb 07 15:08:28 Weiss: does it stop if you switch to older one? Feb 07 15:08:31 * DocScrutinizer afk until lindi- finished confusing people Feb 07 15:20:57 flashed from 2.6.32+KMS to 2.6.29+KMS, now it seems happy Feb 07 15:21:09 will try 2.6.32 (no KMS) in a minute to check it's not my fault Feb 07 15:36:57 Weiss: will be interesting if it really is a software issue Feb 07 16:44:10 mrmoku, pong Feb 07 16:49:05 TAsn: disturbing your studies? Feb 07 16:50:10 I wish you were Feb 07 16:50:13 I just came back from work :( Feb 07 16:50:36 ohh :/ Feb 07 16:50:59 TAsn: I'm having a problem with the hashtable phonelog passes in for new contacts... Feb 07 16:51:38 what did I do wrong ? :P Feb 07 16:51:45 oh, I probably didn't use gvalues Feb 07 16:51:47 have i? Feb 07 16:51:53 hi there Feb 07 16:52:05 Deubeuliou, back again? Feb 07 16:52:16 TAsn: don't know how that should look like in python... but I would say no :P Feb 07 16:52:29 mrmoku, no idea either (how it should look like in python) Feb 07 16:52:35 I'll give it a look later on Feb 07 16:52:36 :P Feb 07 16:52:38 ok Feb 07 16:52:39 though actually Feb 07 16:52:44 I think it worked in the past Feb 07 16:52:49 so I don't think that is it. Feb 07 16:52:52 well it works partly Feb 07 16:53:35 it shows the field fine... but on g_hash_table_insert to change/add a value it segfaults somewhere in glib Feb 07 16:54:04 does anyone know where the sysfs node for powering off GSM went in 2.6.32? Feb 07 16:54:09 TAsn: btw. what is the difference between g_hash_table_insert/replace ? Feb 07 16:54:20 Weiss: moment Feb 07 16:54:50 mrmoku, look at the docs, I don't remember exactly, but I think one calls the free of the previous object, and one does not. Feb 07 16:54:54 Weiss: sed_file $MODEMPY "s#/neo1973-pm-gsm.0/#/gta02-pm-gsm.0/#g" Feb 07 16:55:02 so it is gta02-pm-gsm.0 Feb 07 16:55:15 TAsn: well looking at the docs is what confuses me ;) Feb 07 16:55:27 sec, I'll look Feb 07 16:55:29 and the docs describe the same Feb 07 16:56:02 mrmoku: ah, thanks a lot. should've spotted it, but didn't Feb 07 16:56:18 np Feb 07 16:56:25 mrmoku, replace frees the old key Feb 07 16:56:31 and value Feb 07 16:56:34 while insert Feb 07 16:56:56 does the same :P Feb 07 16:57:11 no Feb 07 16:57:23 insert only deletes the value Feb 07 16:57:28 I think I got the docs right Feb 07 16:57:45 (the second part of the docs talks about remove, I think, or maybe hope :P) Feb 07 16:58:15 ahhh... the yeah, see the difference now :) Feb 07 16:58:48 TAsn: got confused by insert talking about deleting key/value too... but not the old ones Feb 07 16:58:52 did not see that part Feb 07 16:59:00 mrmoku, :) Feb 07 16:59:05 It's terribly confusing Feb 07 16:59:15 maybe I didn't get it right as well, though I think Ihave. Feb 07 17:00:05 ok, then replace is what I want :) Feb 07 17:01:09 hmm Feb 07 17:04:52 mrmoku, to be honest Feb 07 17:05:05 I prefer you'll use remove and an insert instead of a replace Feb 07 17:05:16 It's better to use something we know for sure Feb 07 17:05:19 how it works Feb 07 17:05:26 and can assume everyone will understand Feb 07 17:05:33 then using a weirdly named function Feb 07 17:05:47 that has a secret behavior :) Feb 07 17:05:50 dont you think? Feb 07 17:06:28 ouch Feb 07 17:06:55 DocScrutinizer, ? Feb 07 17:10:10 Serdar: I'm here Feb 07 17:10:15 (in the hacker room) Feb 07 17:10:28 ah. Feb 07 17:11:13 aw ... we are being thrown out Feb 07 17:11:42 hehe same for yesterday Feb 07 17:11:52 I am at Bar 2 Feb 07 17:12:10 ok, incoming Feb 07 17:17:42 TAsn: yeah, agree, ok Feb 07 17:32:19 hello , can we use this on shr-t http://www.mozilla.com/en-US/mobile/features/ ? Feb 07 17:49:19 any opinion ? Feb 07 18:20:08 alabd: IIUC no Feb 07 18:21:18 why not correctly ? Feb 07 18:22:20 because it is using some ARM instructions for newer arm cpus... Feb 07 18:22:34 at least that's what I read in here some time ago Feb 07 18:23:11 mrmoku: what's the name of the program? Feb 07 18:23:29 lindi-: fennec? Feb 07 18:23:40 that url does not mention fennec Feb 07 18:23:45 so i was bit unsure Feb 07 18:23:49 hmm Feb 07 18:23:53 * mrmoku is unsure too :) Feb 07 18:24:33 didn't fennec get renamed to firefox mobile? Feb 07 18:24:51 recently, for release of 1.0 Feb 07 18:26:08 wonder if we'll have iceweasel mobile soon :) Feb 07 18:26:21 lindi-: http://www.mozilla.com/en-US/mobile/faq/ Feb 07 18:26:24 mentions fennec Feb 07 18:26:34 Fennec is the codename of Mozilla’s mobile project Feb 07 18:26:46 , however, the official product name is Firefox. Feb 07 18:27:40 http://ftp.mozilla.org/pub/mozilla.org/mobile/1.0rc3/fennec-1.0rc3.en-US.linux-i686.tar.bz2 Feb 07 18:27:45 that is for linux Feb 07 18:27:55 android version is on the way seems Feb 07 18:37:47 so... my battery drain doesn't seem to be from GPS, GSM, BT or WLAN - all are switched off or rfkilled. is there a better way to ensure the plug is properly pulled on them, or are there any other candidates which can be turned off to test? Feb 07 18:38:45 Weiss: pmu register dump Feb 07 18:39:05 Weiss: plus soc gpio list. Feb 07 18:39:32 Weiss: first you get with sysfs node, the second is by s3c24xx-gpio utility. Feb 07 18:39:43 And someone'd need to make sense of the output... Feb 07 18:40:56 Weiss: turn them on and see if you get even more consumption? Feb 07 18:41:12 ;) Feb 07 18:41:24 Weiss: however, 500 mA is already very high Feb 07 18:41:38 can anybody suggest me a good ebook reader on Neo Feb 07 18:41:48 UberNeo: fbreader Feb 07 18:42:05 but that doesnt support .pdf Feb 07 18:42:47 UberNeo: good ebooks do not come in .pdf usually ;) Feb 07 18:42:58 UberNeo: xpdf works btw, i used it to read some datasheets. Feb 07 18:43:22 and anything to read .doc or .xls Feb 07 18:43:30 does openoffice is the answer Feb 07 18:45:32 UberNeo, you have abiword in SHR feeds Feb 07 18:45:45 PaulFertser, any .ipk available for xpdf Feb 07 18:46:34 UberNeo: no idea, i use Debian. As to the doc, i'd recommend to convert to text or html with wv-utils (or something like that, i can look up the name) and then use fbreader. Feb 07 18:46:50 UberNeo: abiword is a ~lightweight alternative to oo.o writer. Feb 07 18:46:55 (fyi) Feb 07 18:47:28 which all formats does fbreader supports Feb 07 18:48:09 for pdfs you have epdfview in shr feeds too :P Feb 07 18:49:24 UberNeo: formats: http://www.fbreader.org/about.php Feb 07 18:49:49 PaulFertser: mupdf is faster and lighter than xpdf Feb 07 18:50:34 lindi-: thanks! Feb 07 18:55:27 PaulFertser: like these: http://pastebin.de/3796 Feb 07 18:55:30 :) Feb 07 18:55:59 Weiss: yeah, now i'd like somebody to interpret the values :) Feb 07 18:56:21 sadly I don't know very much about PMUs and GPIOs :( Feb 07 18:56:46 Weiss: compare against working situtation? Feb 07 18:56:52 s/situtation/situation/ Feb 07 18:56:52 lindi- meant: Weiss: compare against working situation? Feb 07 18:57:11 Weiss: what you really must know about the GPIOs is that no GPIO should output 1 to a device that has no power supplied to it. Feb 07 18:57:14 ah, good idea Feb 07 18:59:06 PaulFertser: ... unless you want the latter condition to be false ;-) Feb 07 18:59:44 wpwrak: supplying power through a gpio seems like a bad idea :) Feb 07 19:00:58 PaulFertser: heh, sometimes it actually makes sense. if you need very very little power :) Feb 07 19:01:42 wpwrak: some uCs are capable of supplying some 20mA i think, not that little ;) Feb 07 19:02:34 yup, it could be less :) Feb 07 19:11:48 hmm... I see quite a lot of things that were zero with 2.6.29 becoming something else with 2.6.32.. Feb 07 19:14:50 Weiss: i'll try to make sense out of your data a bit later, but today. Too bad nobody else is interested right atm. Feb 07 19:14:56 (because i'm a lazy ass) Feb 07 19:15:32 I'm formatting it nicely at the moment to show the differences Feb 07 19:16:18 There's not that much devices that can be powered on/off, so direct interpretation of results, without comparing with "good" case should be ok too. Feb 07 19:16:50 yeah Feb 07 19:16:57 although there seem to be quite a few differences.. Feb 07 19:28:08 PaulFertser, DocScrutinizer: http://pastebin.de/3799 Feb 07 19:28:16 (definitely going to need your expertise in interpreting this) Feb 07 19:29:12 duh, what??? Feb 07 19:31:51 OMG, you want me to check each and every GPIO of SoC for you??? Feb 07 19:32:23 DocScrutinizer: only those that can affect power managment, given that all the optional devices should be turned off by the moment. Feb 07 19:32:25 damn, that's an expensive task Feb 07 19:33:16 yeah :( Feb 07 19:34:09 I'll go through it register by register of course, if that's the only way, but if anything immediately jumps out as being wrong to either of you.. Feb 07 19:34:42 how should it. that's a friggin number desert Feb 07 19:36:30 messed up by linebreaks, completgely illegible Feb 07 19:39:55 ok, never mind Feb 07 19:40:58 * Weiss gets comfy with a few datasheets... doesn't seem to be much other option (?) Feb 07 19:44:32 Weiss: the way would be to 1) list the changes in a nice list like "B5:F0; D11:>1; " for the pins that changed (new state). 2) either a) check with schematics (pins are named there, like "B5") ans see what it does, or b) go to the sources and look up the #define that gives a meaningful name to GPIO-B5 Feb 07 19:45:36 no need to read datasheets first instance Feb 07 19:46:02 ah, ok - that seems more sane Feb 07 19:46:15 what do the ">"s and "R"s mean? Feb 07 19:46:53 ask wpwrak Feb 07 19:47:02 Weiss: manual page would be definitely in order :) Feb 07 19:47:29 I think it's input, output, high-Z, and special-function (like UART-TX) Feb 07 19:48:14 try gpio --help Feb 07 19:48:47 aha, ok Feb 07 19:49:22 If you prepare the list as mentioned above, I'd be willing to do the schematics lookup Feb 07 19:50:07 (preferrably one pin / line) Feb 07 19:50:27 so s/;/\n/ Feb 07 19:51:25 * DocScrutinizer ->diner Feb 07 19:51:44 s/n/nn/ Feb 07 19:51:45 DocScrutinizer meant: so s/;/\nn/ Feb 07 19:51:57 pfft Feb 07 19:56:24 Weiss: should be output and pull-up/down Feb 07 20:15:23 how to disable sim card contacts in shr-u 'contacts'-app? Feb 07 20:15:55 disable backend Feb 07 20:16:04 topro, what doc said, from shr-settings Feb 07 20:16:15 looked in /etc/frameworkd.conf, but its not self-explaining to me Feb 07 20:16:34 ah, theres gui support, didn't think about Feb 07 20:20:48 DocScrutinizer51: TAsn: thx Feb 07 20:20:57 np. Feb 07 20:21:03 topro, btw, it requires a reboot Feb 07 20:21:04 :| Feb 07 20:21:22 thats what I just realized Feb 07 20:21:36 I know it's very windowsih, we'll attend to that sometime in the future :P Feb 07 20:21:42 (Actually, it's dos1's job) Feb 07 20:21:57 TAsn: not full reboot, just frameworkd reboot Feb 07 20:22:07 So it's not too windowsish Feb 07 20:22:08 :) Feb 07 20:22:10 PaulFertser: too late, power off Feb 07 20:22:18 PaulFertser, but restarting frameworkd is a hassle Feb 07 20:22:35 you gotta know what you are doing Feb 07 20:22:45 TAsn: if only you knew how often i do that. I've a handy script to restart the muxer+frameworkd+ophonekitd Feb 07 20:22:58 So I too just prefer a full restart Feb 07 20:23:05 PaulFertser, ophonekitd = phonefsod? :P Feb 07 20:23:43 TAsn: i'm too fucking cowardish to upgrade though i do not like what i have now a lot :( Feb 07 20:24:02 PaulFertser, you really do have ophonekitd running? Feb 07 20:24:10 TAsn: yes Feb 07 20:24:15 omg Feb 07 20:24:33 that's ~4 months old Feb 07 20:24:35 even more maybe. Feb 07 20:24:52 PaulFertser, that's very windowsish of you :P Feb 07 20:25:00 (using old and buggy sw) Feb 07 20:26:38 TAsn: that's very windowsish of you to still use uber-buggy insanely designed opkg :| Feb 07 20:28:00 at least I'm using latest buggy version :) Feb 07 20:28:37 PaulFertser, actually, a moment before you said that, I realized how much I like pacman Feb 07 20:28:41 it's just so awesome Feb 07 20:28:49 I can't even tell why, it's just perfect. Feb 07 20:28:50 PaulFertser: what are you using if not opkg? no shr? Feb 07 20:28:54 does everything terribly well. Feb 07 20:28:56 topro: debian here Feb 07 20:29:09 topro: with its own unique mix of problems :( Feb 07 20:29:29 PaulFertser, that's soo windowsish of you to use slow apps (apt on the moko) Feb 07 20:29:42 tried debian on freerunner but at a moment when debian unstable didn't install correctly due to xor changes and tslib input module Feb 07 20:30:15 cause I'd prefer apt-get, too Feb 07 20:30:15 TAsn: all my fr is so slow that rarely used apt is not an issue. Feb 07 20:30:33 Heinervdm, will you please ping me when evopedia is in OE? ;) Feb 07 20:30:55 pespin: yes Feb 07 20:31:01 what keeps me from using debian is that shr is way more up-to-date concerning fso stuff Feb 07 20:31:07 TAsn: enabling and disabling backends doesn't require frameworkd restart Feb 07 20:31:49 PaulFertser, ;) Feb 07 20:31:58 dos1, sure it does Feb 07 20:32:05 topro: i used fso from git on my Debian but now that's not too easy because of all that vala deps. Feb 07 20:32:31 TAsn: changing default backend from or to SIM-Messages-FSO does, but enabling/disabling backends doesn't Feb 07 20:33:49 TAsn: well, maybe it's just my mind being foolish now, but i think i remember when i implemented disabling backends on fly :P Feb 07 20:33:58 TAsn: enabling backends always worked on fly Feb 07 20:36:40 dos1, but it's a config, isn't it? Feb 07 20:36:44 do you read configs on the fly? Feb 07 20:36:49 TAsn: no Feb 07 20:37:04 TAsn: but shr-settings uses opimd dbus method to enable/disable backends Feb 07 20:37:13 i c. Feb 07 20:37:14 so maybe. Feb 07 20:37:16 TAsn: so opimd enables/disables, and then saves config Feb 07 20:37:21 but I don't think it removes already cached contacts Feb 07 20:40:06 dos1, anyhow, what about more type related (and not type related) opimd functions? Feb 07 20:40:13 we still miss probing by type Feb 07 20:40:25 i.e where type = "05423213234" Feb 07 20:40:32 which will search all the fields of that type Feb 07 20:41:02 and searching for multiple stuff at the same time Feb 07 20:41:15 i.e where Phone = 2113 or 234234 or 4354354 or 43543534 Feb 07 20:41:20 and get back a table Feb 07 20:42:53 well, probing by type can be implemented client-side :P Feb 07 20:43:10 (but i agree, i'll implement that) Feb 07 20:43:20 dos1, it's slow on client side Feb 07 20:43:27 I started implementing it here Feb 07 20:43:30 hmm? Feb 07 20:43:31 why? Feb 07 20:43:35 but having multi calls Feb 07 20:43:35 it shouldn't be much slower Feb 07 20:43:39 ^ Feb 07 20:43:40 only one call more Feb 07 20:43:49 how come? Feb 07 20:43:54 you don't support "or" Feb 07 20:43:59 so I have to probe each field Feb 07 20:44:11 one call to get the types Feb 07 20:44:12 but i support _at_least_one (or something like that, don't remember exact name :P) Feb 07 20:44:16 and one for each field Feb 07 20:44:27 so it works like "or" Feb 07 20:44:32 dos1, no idea what you are talking about :) Feb 07 20:44:51 TAsn: IIRC i implemented it over your request ;P Feb 07 20:44:55 though anyhow, please wrap it, will make our life easier :) Feb 07 20:45:02 on the same time when implementing sorting Feb 07 20:45:12 dos1, I do tend to have good idea ;p but I don't remember what you are talking about atm. Feb 07 20:45:23 pespin: today at my talk someone said that a user doesn't care about mac address in emtooth. So perhaps you can make a button that switches the view between mac and name and showing name is default Feb 07 20:45:45 * DocScrutinizer51 points to his recommendation to implement regex based free text search, plus a cleartext type attribute for each field Feb 07 20:46:03 DocScrutinizer51: it's already implemented Feb 07 20:46:14 regexp for values Feb 07 20:46:23 and each field has type attribute Feb 07 20:46:47 you just can't regexp in field names :P Feb 07 20:47:02 and you don't want to, either Feb 07 20:47:06 yup Feb 07 20:47:10 assuming fields will be Phone and such is bad. Feb 07 20:47:30 btw, where's the pisi project located at? Feb 07 20:47:41 I want to suggest an idea Feb 07 20:47:49 TAsn: yup, _at_least_one=True Feb 07 20:47:50 nvm Feb 07 20:47:52 found it. Feb 07 20:47:56 dos1, which does what? Feb 07 20:48:07 TAsn: {'Phone':'666', 'Name':'dos', '_at_least_one':True} Feb 07 20:48:11 ok Feb 07 20:48:12 thanks. Feb 07 20:48:21 TAsn: you'll get results with Phone=666 or Name=dos or both :P Feb 07 20:48:22 so it is reasonable Feb 07 20:48:31 dos1, sweet :) Feb 07 20:48:44 (I'd just prefer having a search by type method, but this is good enough atm) Feb 07 20:49:09 nota bene though: name and type of a field is distinct things Feb 07 20:49:12 TAsn: and thanks, i just noticed name resolving in opimd-utils doesn't use _at_least_one - it probes every field in loop... ;/ Feb 07 20:49:29 dos1, :P Feb 07 20:49:54 I wake up early tomorrow, so I'll probably be tired Feb 07 20:50:01 but if not, I guess I'll start using this. Feb 07 20:50:27 the name is user definable for new fields. for the type you have a list of predefined to select from Feb 07 20:50:49 and only apps can install new types and register ffor them Feb 07 20:51:56 DocScrutinizer51: looks like it's already implemented like that ;) Feb 07 20:52:04 (just apps can't install new types yet) Feb 07 20:52:17 cool Feb 07 20:54:03 DocScrutinizer51, yeah, it's starting to get awesome :) Feb 07 20:54:22 this way is very sane, we finally feel like opimd "delivers" Feb 07 20:54:45 talked to mickey today about opimd Feb 07 20:54:56 and? Feb 07 20:55:11 and we thought about removing all the backends :) Feb 07 20:55:28 And only use sqlite Feb 07 20:55:49 and then use a predefined set of fields Feb 07 20:56:20 for those fields there is an colume in the table Feb 07 20:56:35 Heinervdm: what about SIM then? :P Feb 07 20:56:50 that should then be integrated in the app Feb 07 20:57:23 when you insert a new SIM you can choose to import those Contacts Feb 07 20:57:29 btw, we're already using predefinied set of fields in sqlite :P Feb 07 20:57:42 and it's posible to export several contacts to sim Feb 07 20:58:18 dos1: yes, but i've choosen those fields according to the deprected documentation ;) Feb 07 20:58:42 So most of that fields aren't used, because you've choosen other names Feb 07 20:59:05 but atm that doesn't change much... Feb 07 20:59:50 mickey said that he will write an mail about those ideas to the ml Feb 07 21:01:43 (removing all backends) another of my recommendations Feb 07 21:02:23 i know :) Feb 07 21:04:15 fixed record structure will kill opimd though Feb 07 21:04:38 unless each record allows for 512 fields of arbitrary type, name, and content Feb 07 21:06:50 which maybe isn't as bad an idea as it sounds Feb 07 21:08:17 allow user to config fields_max *nd even supply a sqlite 3liner script to modify existing record structure) Feb 07 21:09:22 then set fieldtype of new record's fields to the template - most of the fields type=unused Feb 07 21:10:50 DocScrutinizer51: I traced the GPIOs which had changed: (raw values in your preferred format are also there): http://pastebin.de/3808 Feb 07 21:11:07 looks like sysfs might be blatently lying about power being on or off to certain things... Feb 07 21:11:45 oh shit Feb 07 21:12:49 is there a significant difference between ">0" and "F0"? Feb 07 21:13:13 DocScrutinizer51, (romeving all backends) another one of my recommendations as well. Feb 07 21:14:03 Heinervdm, I agree, though there is one big issue, they should not appear in one table, that's just a terrible waste of hd space :) Feb 07 21:14:32 TAsn: but the query would be much faster Feb 07 21:14:51 Heinervdm, I'm against the current behavior as well Feb 07 21:14:56 any other way is missuse of a database Feb 07 21:15:05 I think we should just split them to different columns Feb 07 21:15:11 *tables Feb 07 21:15:14 and join them Feb 07 21:15:15 when needed Feb 07 21:15:18 with one core table Feb 07 21:15:32 Heinervdm, the current way is a misuse of a db, my suggestion is valid Feb 07 21:16:01 DocScrutinizer51: what do you mean by 'will kill opimd though' ? Feb 07 21:16:20 mrmoku, because it won't let us use many cool custom columns Feb 07 21:16:33 but then he suggested a solution Feb 07 21:16:59 Weiss: no much diff tween F and > afaik Feb 07 21:17:08 DocScrutinizer51, Heinervdm: this is exactly what gave me the motivation to "push" the types changes to opimd Feb 07 21:17:19 this will allow us fast probing Feb 07 21:17:30 and very defined fields Feb 07 21:18:03 TAsn: btw. I'm implementing change notification for contacts in libphone-ui now... to update the list Feb 07 21:18:04 perhaps we can turn that whole thing around Feb 07 21:18:13 mrmoku, supersweet :) Feb 07 21:18:14 one colume for every type Feb 07 21:18:21 TAsn: need a name though :P Feb 07 21:18:24 Weiss: I'll check this pretty list thoroughly as soon as I'm back home Feb 07 21:18:26 Heinervdm, and? Feb 07 21:18:36 suggest one : Feb 07 21:18:38 :P Feb 07 21:18:56 _phoneui_contacts_refresh is what is there (unused) Feb 07 21:18:57 I don't remember our convention for signals Feb 07 21:19:06 with a prefixed _ Feb 07 21:19:07 ? Feb 07 21:19:15 odd. Feb 07 21:19:16 the prototype in phoneui.c Feb 07 21:19:19 mrmoku: kill in a sense of 'mess up functionality fubar' Feb 07 21:19:26 DocScrutinizer51: ahh, ok :) Feb 07 21:19:26 mrmoku, phoneui-utils.c ? Feb 07 21:19:30 yup Feb 07 21:19:47 TAsn: yes it's not that easy, because we need the value and the name of the field Feb 07 21:20:06 Heinervdm, and that'll too cause redundancy Feb 07 21:20:12 DocScrutinizer51: cool - thanks a lot Feb 07 21:20:12 we need to split to multiple databases Feb 07 21:20:35 probably to Feb 07 21:20:39 but that will result in really big joins Feb 07 21:20:45 meant table Feb 07 21:20:45 phoneui_backend_contacts_contact_changed(int changetype, char *path) Feb 07 21:20:53 Heinervdm, nah, because the primary ids are indexed Feb 07 21:20:55 then we have to optimize the querys Feb 07 21:21:08 and with views it's practically cached (I hope) Feb 07 21:21:24 Heinervdm, people don't optimize queries, computers do :P (or at least in some sense) Feb 07 21:21:50 anyhow, I think we should have a "core", "common" and "exotic" tables Feb 07 21:21:55 or something like that :) Feb 07 21:22:03 i that case _we_ should optimize the query Feb 07 21:22:43 core will include name, surname, Phone and everything else we'll define as core Feb 07 21:22:57 common will have stuff that many contacts have but not all Feb 07 21:23:01 and exotic will have the rest Feb 07 21:23:12 this will hopefully mean we won't waste space for nothing. Feb 07 21:23:24 Heinervdm, when I'm talking about space, I'm also talking about cache space wasted Feb 07 21:23:42 and reading parts from sd Feb 07 21:23:44 which both take time. Feb 07 21:23:49 but we should also use the right datatype for a field Feb 07 21:23:55 Heinervdm, of course Feb 07 21:24:06 that's part of our reason to have types in opimd Feb 07 21:24:14 sqlite don't have datatypes Feb 07 21:24:17 they are strictly defined. Feb 07 21:24:22 ynezz, ? Feb 07 21:24:45 Heinervdm, i.e a phone number is a X long string Feb 07 21:24:54 a birthday is a date Feb 07 21:25:08 name is X long string Feb 07 21:25:22 and anyother field you can think of is strictly defined. Feb 07 21:25:41 ynezz: http://www.sqlite.org/datatype3.html Feb 07 21:25:55 all datatypes of opimd are text - except primarykey id maybe Feb 07 21:26:25 currently yes Feb 07 21:26:35 but that has to be changed Feb 07 21:26:57 well I'm wrong, but it's possible to insert string into number filed Feb 07 21:26:58 it's not opimd's task to check types and values. app does that Feb 07 21:27:01 s/filed/field Feb 07 21:28:09 nope. but you can insert number to a string Feb 07 21:28:19 DocScrutinizer51: but if you predefine some fields, then you can predefine the type of those fields too. And then you can things like <, > in the query too for numeric types Feb 07 21:28:24 DocScrutinizer51, but if opimd can assume the value, it's great. Feb 07 21:28:33 so that's why enforcing a date to be legit is a great idea. Feb 07 21:28:48 (in opimd) Feb 07 21:29:27 well, ok. date actually might be usefull Feb 07 21:29:34 also filename Feb 07 21:29:52 we also have timestamps Feb 07 21:30:09 DocScrutinizer51, aye. Feb 07 21:30:11 that's a date Feb 07 21:30:12 Heinervdm, date = timestamps Feb 07 21:30:15 yeah. Feb 07 21:30:16 :) Feb 07 21:30:26 no, timestamps are int ;) Feb 07 21:30:37 Heinervdm, int = date Feb 07 21:30:39 DocScrutinizer51: http://pastebin.ca/1789459 Feb 07 21:30:48 ynezz, I know you are right Feb 07 21:30:50 TAsn: ok :P Feb 07 21:30:54 Weiss: ping Feb 07 21:30:57 (about being able to insert strings to int fields) Feb 07 21:31:10 Weiss: pmu register 0x34 specifies regulator for bluetooth. Feb 07 21:31:11 sqlite somewhat support field types Feb 07 21:31:17 *column types Feb 07 21:31:19 Weiss: in your dump it seems BT is enabled. Feb 07 21:31:20 so what's date? Feb 07 21:31:23 although every cell has a type Feb 07 21:31:28 ynezz: won't fly. edge here atm Feb 07 21:31:29 in reality Feb 07 21:32:00 yep, but you've to be careful, it's not mysql Feb 07 21:32:07 ynezz, yep. Feb 07 21:32:15 on dbus unix timestamps are used for dates Feb 07 21:32:29 there is no explecite date type Feb 07 21:32:31 Heinervdm, we also use that internally Feb 07 21:32:42 Heinervdm, also in sqlite Feb 07 21:32:43 yes, that was our convention Feb 07 21:32:51 Heinervdm, that's the best convention Feb 07 21:33:07 DocScrutinizer51: yep... BT_EN GPIO is enabled and that register is 1 instead of 0... let me double-check that it's switched off according to sysfs.. Feb 07 21:33:42 (except for the 2038 bug) Feb 07 21:34:15 has sqlite a limit? Feb 07 21:34:35 yes 8 bytes :) Feb 07 21:35:28 huh? Feb 07 21:35:49 INTEGER. The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value. Feb 07 21:36:09 according to the sqlite docu Feb 07 21:36:34 Heinervdm, (mac address) ok, I'll think about it :) but before I want to solve some problems I'm having when adding an scroller to a vbox in elementary, maybe you can help me.. I've asked at #e for some days but got no answer :S Feb 07 21:36:42 Heinervdm, oh, ok. Feb 07 21:36:59 TAsn: 8byte = 64bit Feb 07 21:37:20 Weiss: doesn't makee up for 500mA. nasty enough nevrtheless Feb 07 21:37:29 limit? Feb 07 21:37:30 for int maybe Feb 07 21:37:57 Heinervdm, thanks for the math lesson ;P Feb 07 21:38:32 so with 2^63 we shouldn't be affected by the year 2038 bug Feb 07 21:38:47 btw I don't see why you couldn't sort or relatively compare on strings - thus on sane text dateformats as well Feb 07 21:39:16 Heinervdm, yeah :) Feb 07 21:39:35 Heinervdm, we won't last to see the next y2k38 bug Feb 07 21:39:37 DocScrutinizer51: we can do that but then we have to cache all the stuff and then compare Feb 07 21:40:00 with correct types sqlite can compare for us Feb 07 21:40:07 huh? Feb 07 21:40:31 SELECT * FROM table WHERE timestamp < 1234567890 Feb 07 21:40:42 string *is* a correct type Feb 07 21:41:20 SELECT * FROM table WHERE timestamp < "1234567890" Feb 07 21:41:41 or better Feb 07 21:42:22 SELECT * FROM table WHERE timestamp < "2010-01-01-19:30:55,126864" Feb 07 21:42:28 Weiss: with your .29 BT is off while with .32 it's on. Feb 07 21:42:37 Weiss: (0x34 register) Feb 07 21:43:51 pespin: there is an bug in the setup.py of evopedia. It should you only relative path's Feb 07 21:45:06 Heinervdm, don't understand second sentence. are you saying it should use only relative paths? Feb 07 21:45:27 yes, forgot a word :) Feb 07 21:45:31 ok ;) Feb 07 21:45:36 I'll send a mail to author Feb 07 21:46:33 pespin: applications instead of /usr/share/applications and ../lib/static instead of /usr/lib/static Feb 07 21:47:09 Weiss: GSM is on in both cases if i understand it correctly Feb 07 21:47:22 DocScrutinizer51: will that work? never tried < on strings... Feb 07 21:47:51 Heinervdm, until the year 10000 it will Feb 07 21:48:16 23::@85ms used to sort contacts on name alpha collation all the time Feb 07 21:49:06 grr Feb 07 21:49:07 Heinervdm: it's used to sort contacts on name alpha collation all the time Feb 07 21:50:07 ok, but then 2345678 will be bigger then 12345678 Feb 07 21:50:56 of course you have to use sane formats Feb 07 21:51:56 also you usally have funtions: Feb 07 21:52:38 SELECT * FROM table WHERE str2int(timestamp) < 1234567890 Feb 07 21:53:11 if you really really want to do that botch Feb 07 21:54:59 PaulFertser: you're right... testing now, if I make absolutely sure I've turned BT off first, GPB6 and 0x34 both go to zero Feb 07 21:55:07 even: Feb 07 21:56:15 SELECT name, firstname, unixtimestamp2date(timestamp) as birthday FROM table WHERE str2int(timestamp) < 1234567890 Feb 07 21:56:21 Weiss: SD card is powered in both cases too Feb 07 21:56:54 DocScrutinizer, Heinervdm: I'm not sure what you are talking about Feb 07 21:56:57 but just know this: Feb 07 21:57:02 PaulFertser: GSM is definitely off though, according to "cat /sys/bus/platform/devices/gta02-pm-gsm.0/power_on" Feb 07 21:57:17 sqlite naturally supports saving dates as strings, ints and real Feb 07 21:57:34 so all your discussion is probably unneeded :) Feb 07 21:57:39 PaulFertser: sdcard on sounds sane? Feb 07 21:57:42 PaulFertser: SD card, or WLAN? (there's no SD card present..) Feb 07 21:58:05 Weiss: ok, let me check. Feb 07 21:58:12 Weiss: SD card == wlan Feb 07 21:58:37 TAsn: I'm arguing against using prior knowledge about fieldtypes in opimd Feb 07 21:59:15 oh, I disagree with you. Feb 07 21:59:21 but I'm too busy to take part of this discussion Feb 07 21:59:29 on user defined fields you open a can of worms this way Feb 07 21:59:30 so please revert my last comment (disagreement) Feb 07 21:59:56 PaulFertser: WLAN should be powered off according to rfkill? (/sys/bus/platform/devices/gta02-pm-wlan.0/rfkill/rfkill1/state = 0) Feb 07 22:00:28 Weiss: (gsm on/off): http://paste.debian.net/59069/ Feb 07 22:02:33 Weiss: (sd card on) stupid me, sorry, it's indeed the SD card, not wifi. Feb 07 22:02:38 DocScrutinizer51: ^ Feb 07 22:03:11 so? Feb 07 22:04:13 Wifi is always powered on it seems. Feb 07 22:04:17 :-O Feb 07 22:04:50 it's indeed the wifi not sdcard?? Feb 07 22:04:51 sorry lost track. http takes ages as I'm on edge atm Feb 07 22:05:23 DocScrutinizer51: SD card voltage is on, that's normal. What's strange is that wifi vdd is connected to io_3v3, so it's always on too. Feb 07 22:06:02 GSM is behaving oddly.. /sys/bus/platform/devices/gta02-pm-gsm.0/power_on=0, but pmu 15 says 0x07 (I killed ophonekitd) Feb 07 22:06:13 can't comment as no schematics here as well Feb 07 22:07:18 to me it seems this kernel is pretty much completely fucked up Feb 07 22:07:49 Weiss: that's on .32? ask larsc ;) Feb 07 22:07:58 yep, .32 Feb 07 22:08:16 Weiss: same wit BT probably Feb 07 22:08:39 BT seems to behave now... the GPIO switched off when I told it to Feb 07 22:08:57 I think I forgot to disable it when doing the dumps Feb 07 22:09:08 Weiss: (bluetooth): http://paste.debian.net/59070/ Feb 07 22:09:40 that would be even the end of nastiness if the gpio didn't switch when you tell it to do Feb 07 22:11:41 Weiss: what else should we check? Feb 07 22:12:06 accelerometers.. Feb 07 22:12:25 CS and INT lines changed for both accels Feb 07 22:12:38 Weiss: what current difference do you get btw? Feb 07 22:12:52 between .29 and .32? Feb 07 22:13:31 a bit under half an amp Feb 07 22:15:00 Weiss: half an amp, incredible... Feb 07 22:15:17 Weiss: accellerometers seem to be powered all the time, both on my device and for you in both cases. Feb 07 22:15:29 (meaning pmu supplies power here) Feb 07 22:16:00 well... enough of a current difference that it can't charge from USB (only from mains) Feb 07 22:18:07 (in other news, 2.6.32+DRM makes the lock screen slider super-smooth) Feb 07 22:18:53 DocScrutinizer51: do you probably have an idea how such a huge current difference might occur? Feb 07 22:19:36 CPU, GSM Feb 07 22:19:55 Weiss: try turning off GSM by pmu 15=0 Feb 07 22:19:56 (GLAMO?) Feb 07 22:21:05 actually 2W you schould be able to spot by your fingertip, even without removing the case Feb 07 22:21:05 :p blasted kernel devs again Feb 07 22:21:10 (in other news, 2.6.32+DRM makes the lock screen slider super-smooth) Feb 07 22:21:19 whoops, mis-paste Feb 07 22:21:30 DocScrutinizer: yep, it's noticeably warm.. around the left hand side of the screen Feb 07 22:21:42 very roughly... it's not too concentrated Feb 07 22:22:05 Weiss: that's where pmu is Feb 07 22:22:31 PaulFertser: pmu 15=0 might have given a small current change, but not much. current_now=563062 Feb 07 22:22:39 * DocScrutinizer wonders if by any odds the device could have entered selfcharging mode Feb 07 22:22:53 Weiss: and gpio H1=0R; gpio H2=0 Feb 07 22:23:19 nah that's exclusive or by hw, iirc Feb 07 22:23:20 DocScrutinizer51: i checked EN_USBHOST, seem to be correct in both cases. Feb 07 22:23:34 ~praise PaulFertser Feb 07 22:23:35 All hail PaulFertser! Feb 07 22:24:14 Too early, we didn't found the magic current sink yet Feb 07 22:24:17 :| Feb 07 22:24:22 find Feb 07 22:24:52 what does "secondary function" mean for a GPIO? Feb 07 22:24:59 cpu is next to pmu, no? Feb 07 22:25:15 Weiss: like UART Feb 07 22:25:22 or LCD-data Feb 07 22:25:35 Yeah, the same pin can play either role. Feb 07 22:26:13 Weiss: have you tried the manual way to turn off gsm? 15=0, gpio H1=0R; gpio H2=0 should do that. Feb 07 22:26:34 PaulFertser: I've done 15=0, but not the others. trying now... Feb 07 22:27:42 I still don't see any quote on 'top' cpu loads Feb 07 22:28:20 ah.. yep, nothing leaping out in top Feb 07 22:28:21 and I really wonder why :-/ Feb 07 22:29:01 Weiss: what about the idea it's glamo consuming that much? Feb 07 22:29:31 if cpu is running cyrcles somewhere in kernel, there's few chances to spot that via s2c2442-gpio Feb 07 22:29:39 H1H2=0, still a 0.4A missing.. Feb 07 22:30:33 r.e. Glamo: it does it or without DRM/KMS (I tried both), which are completely different paths as far as graphics is concerned.. could be something in glamo-core though Feb 07 22:31:36 I recommend opening the case, opening the cans if really needed, and spot the chip that heats up to 90°C Feb 07 22:31:59 freesmartphone.org: 03mickey 07cornucopia * r0165c943a4fe 10/tools/mdbus2/src/main.vala: mdbus2: upstream readline.vapi is broken; work around it for now Feb 07 22:32:00 freesmartphone.org: 03mickey 07cornucopia * r887ef8c04d6f 10/tools/mdbus2/vapi/readline.vapi: mdbus2: add fixed readline.vapi; scheduled for upstream inclusion Feb 07 22:32:01 freesmartphone.org: 03mickey 07cornucopia * reccce6689f50 10/tools/mdbus2/ (src/main.vala vapi/readline.vapi): mdbus2: tab completion in interactive mode almost works Feb 07 22:32:02 freesmartphone.org: 03mickey 07cornucopia * r0002bc3f731b 10/tools/mdbus2/src/main.vala: mdbus2: fix completion for interfaces Feb 07 22:32:03 freesmartphone.org: 03mickey 07cornucopia * r532f36f522b6 10/tools/mdbus2/src/main.vala: mdbus2: calling methods from interactive shell now works Feb 07 22:32:06 freesmartphone.org: 03mickey 07cornucopia * rac8b50b4bbeb 10/ (19 files in 14 dirs): complete AUTHORS and MAINTAINERS file; please add yourself Feb 07 22:32:06 freesmartphone.org: 03mickey 07cornucopia * r16dcb1ea80ee 10/tools/mdbus2/src/main.vala: mdbus2: unify error messages and fix parameter delivery Feb 07 22:32:14 aaah, forgot: Feb 07 22:32:23 ~spank kernel-devels Feb 07 22:32:24 * apt bends kernel-devels over his knee and tatoos 'ibot' on kernel-devels's pasty white buttocks. Feb 07 22:33:03 hehe Feb 07 22:33:29 git.openmoko.org still unavaible? (for git?) Feb 07 22:34:20 Weiss: is something changing when you completely blank the screen? Feb 07 22:35:36 PaulFertser: difference of about 7000 in current_now.. Feb 07 22:36:10 mickey|sofa, hi! have you seen http://trac.freesmartphone.org/ticket/516 ? Should I add smth more info about this issue? Feb 07 22:36:46 probably each kernel devel that doesn't ship his module/whatever with a set of publically validated unit test scripts should be banned from git commit Feb 07 22:37:16 max_posedon: no, thanks, that's enough info for now. i need to take a look on my own with an updated distro Feb 07 22:38:27 Weiss: btw, PMU is still using wrong values for LDOxENA, they work by chance, not by purpose :| Feb 07 22:38:28 Weiss: could you please use bq27k-detail.sh to give use units to the values you quote Feb 07 22:41:24 freesmartphone.org: 03mickey 07cornucopia * rdea0ee29b552 10/tools/mdbus2/src/main.vala: mdbus2: add some simple checks for bus name and object path validity Feb 07 22:43:36 hi ! Feb 07 22:43:42 heya Deubeuliou Feb 07 22:43:43 * Deubeuliou is back from the fosdem Feb 07 22:43:51 welcome back Feb 07 22:43:53 * mickey|sofa as well Feb 07 22:44:02 dat wuz great :) Feb 07 22:44:08 thanks for your nice presentation Feb 07 22:44:17 i think we had a good program given the short time Feb 07 22:45:01 we were pushed out very quickly, though Feb 07 22:45:04 yeah Feb 07 22:45:20 I even forgot Q&A :/ Feb 07 22:45:24 who knows, perhaps next year we get a full room Feb 07 22:45:32 yeah !\o/ Feb 07 22:45:55 ([2010-02-07 23:35:36] PaulFertser: difference of about 7000 in current_now..) this makes no sense neither for uA nor for mA Feb 07 22:45:56 maybe a "telephony" room Feb 07 22:46:02 yeah Feb 07 22:46:08 Weiss: i briefly checked all changed pmu registeres but couldn't find anything really important. Feb 07 22:46:12 with more platforms Feb 07 22:47:15 that surely would help Feb 07 22:49:04 DocScrutinizer: "Average current" is the useful one here? Feb 07 22:49:26 I'd guess yes. lemme check Feb 07 22:49:32 H Feb 07 22:50:15 ops, typo ^ looking for Heinervdm ;) Feb 07 22:50:44 23:36 -!- Heinervdm [~thomas@pD9E13742.dip.t-dialin.net] has quit [] Feb 07 22:51:16 AI yes Feb 07 22:51:47 DocScrutinizer: probably 7mA difference was because gsm wasn't really enabled and was sleeping (as it does automatically). Feb 07 22:52:16 errr, 7mA diff for completely dimmed screen ? Feb 07 22:52:49 * DocScrutinizer feels like watching 'lost in translation" Feb 07 22:53:05 DocScrutinizer: oh, it's me stupid, we're talking about the screen now :) Feb 07 22:53:21 Yes, this doesn't make sense. Feb 07 22:54:48 DocScrutinizer: in fact watching "lost in translation" was somewhat pleasant iirc. Interesting music, ~good plot and actors, great dialogues, excellent film quality overall. Feb 07 22:58:26 Weiss: (dimmed screen diff) that doesn't sound right Feb 07 22:59:07 * DocScrutinizer had a daydream nightmare of misconfiged SDRAM eating power in selfrefresh like mad, and a dozen other even more nasty ideas showing up on mental horizon Feb 07 22:59:24 :S Feb 07 22:59:37 * Weiss needs to go to bed, but will continue this tomorrow (evening) Feb 07 22:59:57 including taking the PCB out fully to see what's not Feb 07 23:00:06 good, make that a veritable nightmare for tonight then ;-P Feb 07 23:00:16 :o Feb 07 23:00:36 Weiss: so do you really mean turning backlight on and off made 7mA diff? Feb 07 23:00:57 PaulFertser: I mean that was roughly how much current_now changed by.. Feb 07 23:01:31 this kernel sysfs is FUBAAAAAAAR Feb 07 23:01:36 Weiss: backlight should be on an order of 70mA and if it doesn't turn on or off it's hardly unnoticeable. Feb 07 23:02:05 but.. the units of sysfs are "abitrary"? Feb 07 23:02:13 nope Feb 07 23:02:15 or are they supposedly uA? Feb 07 23:02:19 yep Feb 07 23:02:35 at least afaik iirc etc pp Feb 07 23:02:55 Weiss: they must be uA, yes Feb 07 23:04:21 gentlemen, check if kernel devels went havoc another time and simply messed up sysfs pragmas to make life more funny Feb 07 23:04:47 DocScrutinizer: we're working pmu and gpio level now, so that shouldn't be an issue... Feb 07 23:05:25 sure, if they decided current_now should report 10s of uA now, rather than uA Feb 07 23:06:31 that's a further reason I recommended using bq27k-detail, btw Feb 07 23:08:38 Nah, they couldn't have changed bq27k driver in such a strange way. Feb 07 23:08:40 I suspect a "iron in spinach" type of error on Weiss' side though :-P Feb 07 23:11:50 anyway I don't see any chance for LCD bl to burn 500mA Feb 07 23:12:13 otoh when the 500mA figure is from same sysfs node.. :-S Feb 07 23:14:00 aaah, and capacity going down from a supposed % 28 to 19 in 10 minutes also doesn't match the picture Feb 07 23:15:10 well, maybe yes Feb 07 23:15:28 would make for some 600mA drain from bat Feb 07 23:15:52 ? Feb 07 23:16:04 can't calculate anymore Feb 07 23:16:33 That's 108mAh Feb 07 23:16:40 *6 Feb 07 23:16:46 1.8 A? Feb 07 23:16:54 Unrealistic :) Feb 07 23:17:23 9% of 1200mAh bat in 10 min. Unlikely. Feb 07 23:17:44 108mAh/10minutes*60min Feb 07 23:18:36 Oh yeah, /6, i thought it /10, assuming an hour has 100 min apparently. Feb 07 23:18:46 or let me put it that way: 120mAh/2h Feb 07 23:18:50 * PaulFertser should sleep now, talking nonsence Feb 07 23:19:04 1200mAh even Feb 07 23:20:15 DocScrutinizer: so yes, it looks like 648mA consumption indeed. Feb 07 23:21:46 * DocScrutinizer wonders if the modem could see a constant nasty #1024 Feb 07 23:22:39 DocScrutinizer: we made sure the modem is disabled by cutting power to it. pmu 15=0 and appropriate gpio tricks. Feb 07 23:22:56 either that, or GPRS (or spyware to keep a call all the time ;-P ), or CPU burning cycles like aircracking for its life Feb 07 23:23:21 or one of my nightmares Feb 07 23:23:52 Yes, the load might be 0 but if "idle task" doesn't execute the "halt instruction" it would likely result in a really high consumption :) Feb 07 23:23:59 aka glamo havoc, RAM eats refresh Feb 07 23:24:01 etc Feb 07 23:24:17 PaulFertser: exactly Feb 07 23:24:49 NOPREEMPT? :-P Feb 07 23:25:05 or somesuch? Feb 07 23:25:24 cpufreq Feb 07 23:25:42 tickless Feb 07 23:26:35 I bet a bottle of good spanish brandy it's the CPU Feb 07 23:26:49 or GLAMO Feb 07 23:27:36 (all those magic machines in there. /me moans) Feb 07 23:32:20 * DocScrutinizer points to R1813/R1814 and starts to moan even more Feb 07 23:33:17 freesmartphone.org: 03mickey 07cornucopia * rb85302942670 10/tools/serial_forward/ (AUTHORS MAINTAINERS README configure.ac): serial_forward: bump version, authors, README Feb 07 23:33:32 80k6??? Feb 07 23:33:40 yo Feb 07 23:33:44 :-( Feb 07 23:34:44 picks up spikes and noise like hell Feb 07 23:36:00 Is it some weird requirement or another fuckup? Feb 07 23:38:58 freesmartphone.org: 03mickey 07cornucopia * r2dc73d97c64b 10/tools/serial_forward/src/Makefile.am: serial-forward: make distcheck happy Feb 07 23:39:33 PaulFertser: level Feb 07 23:39:48 3V3 -> 1V8 Feb 07 23:39:51 or sth Feb 07 23:40:09 DocScrutinizer: ah, makes some sense then. Feb 07 23:40:18 nah, fuckup Feb 07 23:41:17 one of the things that *ought* have been fixed in A7 the latest Feb 07 23:41:26 DocScrutinizer: what is the correct method? Feb 07 23:41:35 levelshifter Feb 07 23:42:18 I thought there's something "simpler" Feb 07 23:42:37 prolly there is Feb 07 23:43:16 like use one of the dozens unused GPIO in one of the 1V8 chips Feb 07 23:43:39 or scatch it all together Feb 07 23:43:44 and tie high Feb 07 23:44:35 find a better way anyway, than doing a tradeof between S/N and quiescent current Feb 07 23:45:57 now we got the quiescent current and *stikk* we did a reset on every resume as the glamo catches glitches during suspend - at least that's what my cloudy memory reveals Feb 07 23:46:09 the worst of both worlds Feb 07 23:46:23 *still* Feb 07 23:47:22 the story goes like "we dunno if it caught a reset by a spike, so we do a reset on our own to know where we are" Feb 07 23:47:50 iirc Feb 07 23:48:47 mompl, will scan my 89k mails for R1813 Feb 07 23:48:56 takes 30min :-( Feb 07 23:54:21 It's still should be quite a powerful spike/noise to override the soc signal (/me confused) Feb 07 23:55:30 Anyway, sleeptime :/ Feb 07 23:55:46 DocScrutinizer: enjoy your 'evening', see you tomorrow :) Feb 07 23:56:20 PaulFertser: google: Feb 07 23:56:22 It seems that our choice about divider network (R1813 / R1814) to Feb 07 23:56:23 level-translate 3.3V CPU GPIO to 1.8V Glamo RST# might not have been the Feb 07 23:56:25 brightest thing we ever did. I can reset the Glamo (provoking sticky Feb 07 23:57:02 andy on [om-kernel] Feb 07 23:57:14 2008-07-29 Feb 07 23:58:02 subject: Wacky Racers on Glamo Feb 07 23:59:09 I should have pasted a lil more :-((( Feb 07 23:59:14 brightest thing we ever did. I can reset the Glamo (provoking sticky Feb 07 23:59:15 DocScrutinizer: np Feb 07 23:59:16 WSOD) by touching Glamo RST# with my scope probe. Glamo data says you Feb 07 23:59:17 need to assert RST# for 1us to get a reset, but it appears to reset the Feb 07 23:59:19 Googled it already Feb 07 23:59:19 thing on any old glitch and is just recommending to hold it 1us to be Feb 07 23:59:20 sure everything got reset. Feb 08 00:00:16 WSOD --- WAAAAAAAH Feb 08 00:00:42 seems I completely forgot about that bugger Feb 08 00:01:16 PaulFertser: anyway, enjoy your nap Feb 08 00:01:30 Thanks Feb 08 00:02:24 DocScrutinizer: though i can't really understand how that divider network is any worse than 100k pullups used in other places. Feb 08 00:03:06 I guess the problem is they missed on the input load of the RST# Feb 08 00:03:24 which decalibrates the divider Feb 08 00:03:36 Andy'd have noticed that with his scope Feb 08 00:03:41 (a shot from the hip) Feb 08 00:14:31 > > R1813, R1814: We see problems with sensitivity to spikes and EMI here, Feb 08 00:14:32 causing Feb 08 00:14:34 > > inadvertent reset of Glamo. Maybe we can find better idea, like FET for Feb 08 00:14:36 > > levelshifter. Should ask Andy. Impact: BOM and/or Layout. Feb 08 00:14:37 result of meeting: won't get done any change on this for A8 today. Keep topic Feb 08 00:14:38 for A9 ; Feb 08 00:15:17 [me] on a mail about a EE meeting, 2008-11-19 Feb 08 00:15:56 retransmit for PaulFertser :-) Feb 08 00:16:01 > > R1813, R1814: We see problems with sensitivity to spikes and EMI here, Feb 08 00:16:03 causing Feb 08 00:16:04 > > inadvertent reset of Glamo. Maybe we can find better idea, like FET for Feb 08 00:16:06 > > levelshifter. Should ask Andy. Impact: BOM and/or Layout. Feb 08 00:16:07 result of meeting: won't get done any change on this for A8 today. Keep topic Feb 08 00:16:09 for A9 ; Feb 08 00:16:10 [2010-02-08 01:15:17] [me] on a mail about a EE meeting, 2008-11-19 Feb 08 00:21:13 hooray, kmail/Kontaact segfaulted another time. Seems >80k mails isn't exactly the usecase it's designed for Feb 08 02:37:10 DocScrutinizer: you need mutt :) Feb 08 02:37:24 hmm Feb 08 02:37:48 (admittely, I'm at only 44 kmails so far) Feb 08 02:38:30 you purged [community] ? :-D Feb 08 02:38:48 naw, that goes to a different folder Feb 08 02:39:21 only 11 k there, though. 1.5 k in "noise" (buglog and commitlog) Feb 08 02:41:07 yup, actually 80k was exaggerated Feb 08 02:42:02 [admin] was a nightmare :-) Feb 08 02:42:03 i have some folders with 67 k, though (the quarterly catch from my unfiltered mailbox) Feb 08 02:47:13 nah, not exaggerated. [community] has 11844 Feb 08 02:47:18 *unread* Feb 08 02:47:43 plus 57559 read mails Feb 08 02:50:18 57559 _read_ messages... Feb 08 02:50:23 * DocScrutinizer shudders Feb 08 02:50:56 what a way to waste one's life, eh ? ;-) Feb 08 02:51:09 yup Feb 08 02:52:17 * DocScrutinizer wonders if that's enough of a reasoning to get official retiring status Feb 08 02:53:35 taking the invalidity route ? :) Feb 08 02:53:48 just pondering Feb 08 02:55:36 you can not read 280MB of emails in 2 years and stay sane Feb 08 02:57:02 sanity is overrated anyway Feb 08 02:57:12 now that I've realized and accepted that, I feel better instantly ;-P **** ENDING LOGGING AT Mon Feb 08 02:59:57 2010