**** BEGIN LOGGING AT Sat Jan 16 02:59:58 2016 Jan 16 03:32:12 ceene: >> The Valid Discharge Flag (VDQ) in the FLAGS register is set when this condition occurs and remains set until the learning discharge cycle completes or an event occurs that disqualifies the learning cycle.<< and >>A learning cycle can be disqualified by any of the following conditions: 1. Cold temperature: Temperature ≤ TCOMP[3:0] (°C) when the EDV1 threshold voltage is reached. 2. Light load: A capacity learning cycle is Jan 16 03:32:14 disqualified if average current is less than or equal to 2 times the initial standby load when the EDV1 threshold voltage is reached. 3. Fast voltage drop: VOLT ≤ (EDV1 – 256 mV) before EDV1 is set. 4. Excessive charging: Cumulative Charge > 255 NAC counts (910 μVh) during a learning discharge cycle (alternating discharge/charge/discharge before EDV1 is set).<< Jan 16 03:34:43 this boils down to: don't charge during learning cycle (self evident), do discharge with a moderate load that's not too low but also not too high Jan 16 03:35:42 particularly don't cause load bursts when batt voltage is about to reach EDV1 Jan 16 03:36:29 ideally you keep backlight lit, this will warrant a proper calibration Jan 16 03:39:26 ~bq-calibrate Jan 16 03:39:27 methinks bq-calibrate is http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh, or http://talk.maemo.org/showpost.php?p=1053809&postcount=846 Jan 16 03:41:22 "Ho ever" :-P Jan 16 03:46:26 actually there's a lot of cargo cult action suggested in that tmo post. I suggest to rather ignore it all together, it's confusing at best Jan 16 03:52:19 infobot: no, bq-calibrate is http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh, or http://talk.maemo.org/showthread.php?p=1247595 Jan 16 03:52:20 DocScrutinizer05: okay Jan 16 04:12:56 DocScrutinizer05: there are a few other cases listed. I'm not entirely sure, but I think the "Excessive self-discharge" one might be relevant. Jan 16 04:14:29 when I got a new battery (polarcell), the LMD was at something like 1100 mAh, and after fully charging the new one and letting it discharge, it stayed at 6% with NAC = 68 for a few hours, then eventually NAC went to 67 and VDQ changed to 0 at the same time. Jan 16 04:15:24 so from there the NAC and RSOC dropped as I would expect, but VDQ had already been reset, presumably because it was discharging far more than it had expected to given the existing LMD. Jan 16 04:16:48 iirc, I might've observed that twice before just trying to discharge it less efficiently by leaving the light on for the last few hours. Jan 16 04:17:32 I have the log of it happing at least once. Jan 16 04:20:16 https://gist.github.com/Maxdamantus/fc0c0089eedbb5a00982 Jan 16 04:21:52 18:15 3760 6 6 -40 71 71 71 65535 105 27 1 0 Jan 16 04:22:10 20:39 3702 6 6 -127 68 68 68 65535 32 21 1 0 Jan 16 04:22:41 6% at 3.7 V for two and a half hours. Jan 16 04:24:17 Right, 68*16 = 1088, which was my LMD at the time. Jan 16 04:30:36 * Maxdamantus wonders why there's a big red "Not Recommended For New Designs" line at the top of every page in the bq27200 document. Jan 16 04:31:20 Because it was a bad system in the first place, or because it's simply been superceded (and whatever that is will end up with the same line eventually)? Jan 16 04:32:46 * Maxdamantus suspects the former. Jan 16 04:33:08 Actually, probably the latter Jan 16 04:33:17 I've seen that in a lot of 'old chip' pages Jan 16 04:33:33 not sure how other hardware does it, but I imagine it usually doesn't require typical people to do full discharges before telling them anything useful about the battery. Jan 16 04:33:37 Because they want you to use a new design chip(which is probably better supported) Jan 16 04:34:28 unless the devices have a couple of batteries that they can switch between as they calibrate each one. Jan 16 04:35:10 Y'know, I'm still not sure how accurate any of these devices battery meters are. I just know that, say, my Nexus 7 tablet charges to "100%" and shuts down at like 3%. Whether there's another 50% capacity in the battery, I'll never know. Jan 16 04:36:01 On the other hand, my old Iriver mp3 player with Rockbox on it had an even worse gauge; you'd do something stressful and it would drop by like 30% in one minute; let it sit there and it would come back up just as quickly. Jan 16 04:36:03 Yes, but whatever it does, it probably doesn't expect people like my mum to make sure she does a full discharge at least once every 30 cycles. Jan 16 04:36:50 That Rockbox thing probably just directly translates voltage to estimated charge. Jan 16 04:37:01 Yeah Jan 16 04:37:14 I've never done a full discharge(intentionally) on my N900, but I've never expected it to be 100% accurate, either, Jan 16 04:37:18 So you're just seeing the voltage drop. Jan 16 04:37:47 If you've never done a full discharge you're probably not relying on bq27200. Jan 16 04:38:11 Maemo doesn't use it by default. It's just some piece of hardware that is largely unused but wasn't removed. Jan 16 04:38:29 No, I guess not. I'm not sure how the stock calculator works either Jan 16 04:38:50 I think it works similarly. Jan 16 04:39:07 (just by looking at the voltage, and possibly some extra guesswork in software) Jan 16 04:40:00 The difference with bq27200 is that it also monitors current, so can more-or-less measure how much power is actually passing through. Jan 16 04:41:27 The caveat is that with that device in particular the user has to do a full discharge at least every 30 cycles. Jan 16 04:41:44 which is probably unreasonable to expect of most consumers. Jan 16 04:54:57 Cycle Count since Learning: 26 Total Cycle Count since last full reset: 247 Jan 16 08:00:52 hmm, shouldnt proper battery meter rely on more than one source of information? ie. charge amount, discharge amount, battery history Jan 16 08:01:08 and counting self discharge into it too Jan 16 08:21:44 What is "charge amount" and "discharge amount"? Jan 16 08:23:33 Batteries are weird. They don't exactly store a particular amount of charge. Jan 16 08:24:08 The amount of charge you get out depends on things like the discharge rate and ambient temperature. Jan 16 08:24:33 maxd: during charge one can measure roughly how much charge went in Jan 16 08:24:48 *roughly* Jan 16 08:25:16 That's what bq27200 does, though it makes its own mind up as to what information it provides. Jan 16 08:25:43 i wonder if bme-replacement does its own calculations Jan 16 08:25:58 own calculations based on what? Jan 16 08:26:05 on the data above Jan 16 08:26:24 I think bme-replacement is just a reimplementation of bme, which doesn't use bq27200. Jan 16 08:26:40 then it has to calculate charge state by its own Jan 16 08:27:02 If you want to use bq27200, you basically have to do what I said earlier—intentionally do a full discharge at least once every 30 cycles. Jan 16 08:27:27 It doesn't tell you how much charge has passed through it since the last query. Jan 16 08:27:46 It tells you what it thinks about the state of the battery based on its own calculations. Jan 16 08:28:34 offtopic: http://git.linaro.org/people/arnd.bergmann/flashbench.git Jan 16 08:30:07 SD cards are weird too. Jan 16 08:30:54 The speed of transfer depends on things like the datastructure the controller has built up over time for your block device. Jan 16 08:32:11 Maxdamantus: bme-replacement uses bq27xxx Jan 16 08:32:18 Ah, okay. Jan 16 08:32:36 That's probably what I'm using then. Jan 16 08:33:12 So there wasn't something that simply reimplemented bme (producing similar behaviour)? Jan 16 08:33:49 Maxdamantus: none I am aware of Jan 16 08:47:47 http://www.ti.com/product/BQ27200 Jan 16 08:47:54 “Requires No User Calibration” .. hmm Jan 16 08:48:37 Automatic Capacity Reduction With Age Jan 16 10:02:54 y Jan 16 10:03:01 xvv Jan 16 10:56:45 i have slight problem with yappari. If i type fast and press twice the same letter it makes the symbol from long press. Also somtimes single presses are registered as long presses for symbols. Does anyone else have this? And maybe it's more of a inconvenience than problem actually. Jan 16 10:57:14 vajb, this sounds more like general problem than app specific Jan 16 10:57:54 happens only in yappari Jan 16 10:58:44 it feels like app freezes for some microseconds and then continues and misses or wrongly prints my typing Jan 16 10:59:17 start iostat or vmmstat in another window and observe swap activity? Jan 16 11:01:56 i have cpu and memory monitor next to battery symbol and memory shows about half way and cpu peaks when wrong letters appear Jan 16 11:07:47 seems i don't have iostats nor vmmstat installed. Jan 16 11:08:06 its in sysstat pkg Jan 16 11:08:20 and its vmstat not vmm Jan 16 11:08:34 and iostat not iostats Jan 16 11:09:54 Vajb: what about in the terminal? Jan 16 11:10:17 I suspect removing/disabling HIM will fix it. Jan 16 11:10:35 if you don't need the VKB or "symbols" UI anyway. Jan 16 11:11:50 Vajb: first I'd disable the longpress-symbol nonsense Jan 16 11:11:58 ~jrtools Jan 16 11:11:58 extra, extra, read all about it, jrtools is http://wiki.maemo.org/User:Joerg_rw/tools Jan 16 11:12:14 i rarely use vkb.. Jan 16 11:12:25 don't have that problem in terminal Jan 16 11:12:30 gconftool-2 -s /apps/osso/inputmethod/ext_kb_repeat_enabled --type boolean true Jan 16 11:12:44 symbols i need sometimes Jan 16 11:13:14 then I'd probbaly try to renice yappari and see if that _maybe_ helps Jan 16 11:13:36 if i disable long press symbols how do i reach them then? fn+button with wanted symbol? Jan 16 11:13:46 exactly Jan 16 11:14:32 will fn lock still work? (double click locks it on) Jan 16 11:14:32 in the end I guess it's a bug in yappari which prolly has some busyloops Jan 16 11:14:41 sure Jan 16 11:14:48 i see. Jan 16 11:15:17 you *might* want to run yappari under strace Jan 16 11:15:27 actually that's why i asked if someone else is having this "feature" too Jan 16 11:15:33 and if you disable HIM altogether, sym (fn+ctrl) works as the normal Xorg compose key. Jan 16 11:15:52 im afraid i lack the skill of know-how there :) Jan 16 11:17:16 then try (re)nicing yappari. Pretty simple from terminal: nice yappari Jan 16 11:17:20 anyway, thx for all of ur suggestions. Will investigate it more when i get back home. Jan 16 11:18:39 says "no such folder" Jan 16 11:19:21 nice yappari says no such file or directory* Jan 16 11:20:13 then find the yappari binary. Prolly another fsckdup package that has no proper symlink in /usr/bin, so I'd search /opt for it Jan 16 11:20:52 then: nice /opt/yapparidir/yappari-starter or whatever the right path and name Jan 16 11:21:39 find /opt -iname '*yappari*' Jan 16 11:21:46 yes just looked opt it's not there Jan 16 11:22:30 start yappari, then use htop or ps aux to find the full pathname of the binary Jan 16 11:23:16 or look into the .desktop file, iirc it's to be found under /user/share/apps/hildon-desktop/ or something like that Jan 16 11:23:49 /usr/bin/Yappari Jan 16 11:24:04 maybe it was me typing y instead of Y Jan 16 11:24:36 nice'ing started yappari again Jan 16 11:24:56 Unsupported date format character at 1 (%-d.%-m.) Jan 16 11:25:14 and that was the output in terminal Jan 16 11:26:10 no output expected really Jan 16 11:26:22 just for the record: ls -l /usr/share/applications/hildon/*appar* Jan 16 11:27:42 anything specific to look from that output? Jan 16 11:28:52 sh: /usr/share/applications/hildon/yappari.desktop: Permission denied Jan 16 11:29:00 http://paste.opensuse.org/9388254 :-D Jan 16 11:29:01 last line Jan 16 11:29:03 unrelated# Jan 16 11:29:15 ah :D Jan 16 11:29:49 Vajb: /usr/share/applications/hildon/yappari.desktop has the commandline to yappari, I guess Jan 16 11:29:56 cat /usr/share/applications/hildon/yappari.desktop Jan 16 11:31:16 it's the file that defines your yappari desktop icon which you click to start the app Jan 16 11:31:53 anyway not needed anymore since you already found /usr/bin/Yappari Jan 16 11:31:54 yes i played with them once to get certain pdf file to start from icon Jan 16 11:32:23 you could edit the .desktop file if it turns out `nice /usr/bin/Yappari` fixes your problem Jan 16 11:33:37 ok. So basically Exec=/usr/bin/Yappari Jan 16 11:33:42 yes Jan 16 11:34:08 turns to Exec=nice /usr/bin/Yappari Jan 16 11:34:22 iirc tthat's absolutely correct Jan 16 11:34:38 hooray Jan 16 11:34:55 i'll see how yappari works now for few days Jan 16 11:35:01 :-) Jan 16 11:35:15 and maybe even inform ppl here :) Jan 16 11:35:48 im guessing nice'ing is valid till i restart program from app menu? Jan 16 11:35:54 yes Jan 16 11:36:07 it's no setting but rather a runtime option Jan 16 11:36:14 cool, thx for ur suggestions DocScrutinizer05 Jan 16 11:36:20 Vajb: new problem, or always had it? Jan 16 11:36:31 care to explalain what it does? Jan 16 11:36:39 -la* Jan 16 11:37:00 Vajb: suggestion: nice --help; man nice Jan 16 11:37:11 Sicelo: i think i've had it most of the time Jan 16 11:37:15 yappari doesnt do any busy loop that i know of Jan 16 11:37:26 input textbox is just a qt widget Jan 16 11:37:32 Vajb: xyz --help is always a good idea under linux Jan 16 11:37:38 my Yappari behaves. (just got myself banned throught stupidity recently :P ... moved to another number) Jan 16 11:37:58 although i also suffer that bug, Vajb Jan 16 11:38:06 oh. Jan 16 11:38:09 i think it got samething to do with heavy cpu use at same time Jan 16 11:38:21 something* Jan 16 11:38:21 i believe that as well Jan 16 11:38:31 which is a busy loop usually Jan 16 11:38:50 dunno if it's yappari hogging resources or some other process Jan 16 11:38:56 * Maxdamantus remembers some discussion here about yappari and busy loops. Jan 16 11:38:59 but i don't know if the loop is of Yappari's or if it's a coincidence or if it is of QT Jan 16 11:39:31 maybe qt then.. just guessing here :) Jan 16 11:39:35 if it wasn't yappari, then the same problem would show up in every kbd input Jan 16 11:39:41 i've never profiled a qt app, but i guess i can do it Jan 16 11:40:03 how many qt apps are out there? Jan 16 11:40:06 i tried that facebrick or what ever it was, but it was written in qt and also felt sluggish Jan 16 11:40:12 quite a few Jan 16 11:40:38 * ceene has just acquired his second N900 to tinker with Jan 16 11:40:40 ceene, how hard would be rewriting yappari in different toolkit? (gtk2 etc) Jan 16 11:40:44 and even qt is part of yappari, just a linked lib Jan 16 11:40:50 ceene: \m/ Jan 16 11:40:50 maybe doing libyappari ? Jan 16 11:40:52 very hard Jan 16 11:41:01 there's libwa Jan 16 11:41:08 that is a work of coderus mostly Jan 16 11:41:30 but i won't be porting yappari to anything... Jan 16 11:41:36 too much work Jan 16 11:42:21 it's not like yappari is perfect, but it isn't unusable either Jan 16 11:42:29 to throw in my two cents it seems that nice'ing helped Jan 16 11:42:33 nvm, it was about the loop inherent in event-based systems. Jan 16 11:42:33 my very own guess is: yappari has several threads and the internet communication thread blocks the whole process while waiting for or processing some network activity Jan 16 11:42:48 so... if it's (more or less) working, don't touch it Jan 16 11:42:53 i had browser opening and high cpu use and yappari got my input perfectly Jan 16 11:42:57 or searching trough the database Jan 16 11:43:24 though that would be IO bound, not CPU Jan 16 11:43:33 unless it is encrypted Jan 16 11:43:38 freemangordon: yeah, db is another candidate. Does yappari use any db? Jan 16 11:43:49 yes. may db :) Jan 16 11:43:51 there's still no crypto on yappari Jan 16 11:43:53 *many Jan 16 11:44:00 each conversation is a sqlite db Jan 16 11:44:10 freemangordon: IO wait blocks CPU too Jan 16 11:44:28 but nice wouldn;t help Jan 16 11:44:34 particularly when it's maybe swap Jan 16 11:44:35 if it is IO Jan 16 11:44:47 yes, on IO nice doesn't help Jan 16 11:44:57 but ionice would Jan 16 11:45:09 that's why I said **maybe** nice helps Jan 16 11:45:24 ceene: does yappari do some search on key entry? Jan 16 11:45:29 ceene: yes, but only on storage-IO, right? Jan 16 11:45:41 also, how many threads are there? Jan 16 11:46:00 nope, it doesn't act on textchange Jan 16 11:46:07 DocScrutinizer05: actually no, swap should be affected as well Jan 16 11:46:15 freemangordon: number of threads is easy to diagnose, unless you don't have the binry to run Jan 16 11:46:32 freemangordon: by what? Jan 16 11:46:35 DocScrutinizer05: how do you think, do I have watsapp?!? Jan 16 11:46:41 DocScrutinizer05: ischeduler Jan 16 11:46:46 *ioscheduler Jan 16 11:46:53 Isn't yappari written in Python? I'd expect basically one thread to do computations at once. Python code itself can only be running in one thread at a time. Jan 16 11:46:55 yeah, stroage/swap/whatever Jan 16 11:47:07 Maxdamantus: no, QT Jan 16 11:47:14 i can't answer about threads... none explicitly created by yappari, but i guess network connection is run by qt on a separate thread Jan 16 11:47:23 I doubt Jan 16 11:47:28 it's c++/qt Jan 16 11:47:29 Ah. Jan 16 11:47:37 ceene: htop is your friend ;-) Jan 16 11:47:49 that is why you have signals/slots in Qt Jan 16 11:48:01 freemangordon: hehe, right Jan 16 11:48:12 DocScrutinizer05: i think what you said about network could be it Jan 16 11:48:23 I'd almost bet on it Jan 16 11:48:27 ceene: my bet would be that there is sync wait somewhere Jan 16 11:48:39 if you're writing something and you receive loads of data, they will be processed Jan 16 11:48:42 wich blocks Qt from executung the event loop Jan 16 11:49:00 and cpu would go to that slot and get stolen from the UI Jan 16 11:49:09 :nod:: Jan 16 11:49:26 strace will tell Jan 16 11:49:39 ceene: but that can be fixed, just run local Qt event loop on every 1k of data (for example) Jan 16 11:49:57 you just need to somehow set a marker on strace output as soon as you notice the issue occuring Jan 16 11:50:01 that way processing won;t block the UI Jan 16 11:50:26 ceene: is source available on github or some other place besides repos? Jan 16 11:50:33 sure Jan 16 11:50:46 github.com/agamez/yappari Jan 16 11:51:17 I'd be very happy if I got one or two contributors :) Jan 16 11:51:55 ceene: not me, I don't use watsup,viber and similar shit Jan 16 11:52:16 oh, but you enjoy coding! :P Jan 16 11:52:31 i don't use yappari much myself, to be honest Jan 16 11:52:49 i don't have friends lol Jan 16 11:53:52 i've got family who aren't receptive to persuasion Jan 16 11:53:54 :( Jan 16 11:54:14 *maybe* you could run `strace yappari` to log into a file, and have a concurrent session via ssh+wlan with a `echo '#######MARKER########' >>logfile.txt` Jan 16 11:55:11 anyway use the strace options for profiling Jan 16 11:55:23 there's also gprof and others Jan 16 11:56:14 and actually you should be able to tell each single keypress from strace log as well Jan 16 11:56:41 to locate the context where the issue happened Jan 16 11:56:49 yep, and also check if something is runnig without any user event Jan 16 11:57:23 of course there will run quite a lot of stuff without _user_ event Jan 16 11:57:53 hmm, looks scary https://github.com/agamez/yappari/blob/master/src/yappari-application/Whatsapp/connection.cpp Jan 16 11:57:58 but yeah, you will see where the CPU spikes are Jan 16 11:58:04 if there's no network input nothing should happen? Jan 16 11:58:20 yes, that's quite scary if you ask me Jan 16 11:58:23 yep, except of a few keep-alive timers etc Jan 16 11:58:26 there's duped code Jan 16 11:58:36 that i've yet to refactor Jan 16 11:59:05 i even added some debug because i thought some function was never called, but it seems it is Jan 16 12:00:22 https://github.com/agamez/yappari/blob/master/src/yappari-application/Whatsapp/connection.cpp#L116 any questions, Watson? ;-P Jan 16 12:00:29 DocScrutinizer05: IIUC keep-alive, as every othe message, passes through 700 LOC function Jan 16 12:00:36 exactly Jan 16 12:01:21 ceene: you'd better try to log entryfunction time of that monster Jan 16 12:01:32 :) Jan 16 12:01:35 s/entryfunction/function Jan 16 12:02:11 * DocScrutinizer05 headdesks Jan 16 12:02:37 else if (child.getTag() == "sync") else if (child.getTag() == "participant") else if (child.getTag() == "add") Jan 16 12:02:40 etc pp Jan 16 12:03:02 child.getTag() looks like a candidate for a local var, eh? Jan 16 12:03:18 the whole thing looks like a candidate for a case Jan 16 12:03:57 at least it's now else Jan 16 12:04:09 i think when i got it, it were only if's... Jan 16 12:04:16 the compiler prolly isn't that smart to optimize child.getTag() for a single call Jan 16 12:04:52 no way IMO Jan 16 12:04:56 ceene: see http://doc.qt.io/qt-4.8/qcoreapplication.html#processEvents Jan 16 12:05:00 after all this method could deliver a different result on each new invokation Jan 16 12:05:54 ceene: this function is your friend once you found where is the UI thread blocked Jan 16 12:05:59 and iirc child is a tree of sorts, this could get really nasty Jan 16 12:06:54 yep Jan 16 12:06:59 thanks, freemangordon Jan 16 12:07:25 usually those lists have some kind of "isSubset()" stuff Jan 16 12:07:48 change that whole monster to a case construct, with a single child.getTag() Jan 16 12:08:09 dunno the english mathematical terms for operations on rows of values :) Jan 16 12:09:16 c++ supports case on qstring? Jan 16 12:10:07 c++ or Qt? Jan 16 12:10:16 aah Jan 16 12:10:36 no, but you can make a QStringList and get indexOf Jan 16 12:10:54 and then switch on that index Jan 16 12:11:17 ceene: also, while at it, please covert https://github.com/agamez/yappari/blob/master/src/yappari-application/Whatsapp/connection.cpp#L124 to: Jan 16 12:11:27 if (!in->nextTree(node)) Jan 16 12:11:33 return false; Jan 16 12:12:03 that way you'll ident the whole case left, making the code way more readable Jan 16 12:12:45 18 times Child.getTag. And a real master instance of WAAAH: else if (child.getTag() == "media" || child.getTag() == "duplicate") Jan 16 12:13:00 lol Jan 16 12:13:37 well, at least a QString childTag seems like something useful Jan 16 12:13:52 hehe, code slaughter day? i mean review Jan 16 12:14:16 DocScrutinizer05: relax, it is not thaaaat bad, you should see what happens in adeclock :p Jan 16 12:14:25 passing integers through QString ;) Jan 16 12:14:28 hehe Jan 16 12:14:30 http://commadot.com/wp-content/uploads/2009/02/wtf.png Jan 16 12:14:41 the best review is the one that removes the most code and keeps functionality Jan 16 12:15:52 like that " Showing with 0 additions and 427 deletions." Jan 16 12:15:55 ? Jan 16 12:16:03 https://github.com/community-ssu/clock-ui/commit/f7a59c2ea09255b09c742796a2690f902dca8395 Jan 16 12:16:23 unfortunately I still can't pull myself together and find time to finish that Jan 16 12:16:46 rewrite from scratch? Jan 16 12:17:16 no, just rewrite it the way it should've been written from the start Jan 16 12:17:22 ooh, isn't adeclock what had been pushed to replace the stock maemo clock without any real need? Jan 16 12:17:30 * freemangordon hides Jan 16 12:17:36 yes, the same Jan 16 12:18:51 DocScrutinizer05: if you need technical reasons why it should not have been included, look at the last ~10 commits there :) Jan 16 12:18:56 cya folks, have fun! Jan 16 12:19:02 bye Jan 16 12:28:31 you say no real need, but it has extra functionality. Jan 16 12:28:53 my battery is funny Jan 16 12:29:07 mine is uncalibrated Jan 16 12:29:27 Last Measured Discharge: 1410 mAh Jan 16 12:29:32 Charge:0 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF: 0 Jan 16 12:29:35 ILMD=1869 EDVF=3000 EDV1=3248 ISLC=18 Jan 16 12:30:14 i can't get mine calibrated Jan 16 12:30:23 sooner or later vdq turns itself to 0 Jan 16 12:30:36 i don't know why Jan 16 12:31:26 maybe pali knows what to do Jan 16 12:33:18 Cycle Count since Learning: 14 Total Cycle Count since last full reset: 24 Jan 16 12:33:44 ceene, try the maxd suggestion, start some app, music player for example Jan 16 12:34:20 sixwheeledbeast: I was not talking about usability, but for quality Jan 16 12:34:23 fully charge and fully discharce with a heavy load? Jan 16 12:34:49 ceene, medium load Jan 16 12:35:02 maybe just enable wifi Jan 16 12:35:17 but that's basically what i'm doing now Jan 16 12:35:19 normal use Jan 16 12:35:44 freemangordon: I don't disagree, but the extra bits are nice Jan 16 12:36:40 "without any really need" Jan 16 12:38:43 ~flashing Jan 16 12:38:43 from memory, maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh Jan 16 12:40:23 also it was a closed package before anyway IIRC Jan 16 12:45:40 sixwheeledbeast: sure, all this is correct, it is just the quality of the code is... Jan 16 12:46:00 ...pants Jan 16 12:48:09 ceene: you seen what I suggested? Jan 16 12:48:21 re bq27200 calib Jan 16 12:48:36 i think i missed that Jan 16 12:49:29 when was that? Jan 16 12:49:32 i can serch it on the log Jan 16 12:49:56 ceene: just leave the flash LEDs on for a few hours. Jan 16 12:50:09 ceene: that will discharge it at a reasonably stable rate. Jan 16 12:50:19 on airplane mode? Jan 16 12:50:34 Wouldn't bother with airplane mode. Jan 16 12:52:09 airplane mode? hmm? Jan 16 12:52:25 ~bq-calibrate Jan 16 12:52:25 [bq-calibrate] http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh, or http://talk.maemo.org/showthread.php?p=1247595 Jan 16 12:53:04 I doubt those scripts are going to help. Jan 16 12:53:48 I'm pretty sure it's not going to calibrate if there's to great a jump between the calculated discharges. Jan 16 12:53:55 i'm reading it... what's "fastcharger"? Jan 16 12:55:05 as evidenced by my log where NAC sits on the magic number, LMD/16 (mentioned in the cryptic text about learning cycle disqualification) for two and a half hours before VDQ is set to 0 at the same time as NAC continues decreasing. Jan 16 12:55:20 s/to great/too great/ Jan 16 12:55:50 the thing is, mine is a new polarcell, so it's gonna be almost twice as big as the old one Jan 16 12:56:03 Yes. That's the situation I was in. Jan 16 12:56:32 The LMD was 1088 or 1089 mAh, while the Polarcell ended up being over 1590 mAh. Jan 16 12:56:36 and you did only that, charge fully and let it discharce with the flash on? Jan 16 12:57:22 I didn't discharge it all the way with the flash on. I left it on overnight. Jan 16 12:57:33 but i've done that with no success Jan 16 12:57:34 (so it would've been on for the last few hours) Jan 16 12:58:00 i mean, i've charged it, used it for a while, left it during the night, although with leds off Jan 16 12:58:05 shouldn't that work? Jan 16 12:58:06 You should probably also log the output of something like bq27200.sh to see where it resets. Jan 16 12:58:11 or it needs a heavier load? Jan 16 12:58:20 No. It needs a load. Jan 16 12:58:24 ok Jan 16 12:58:28 so i can use it for today Jan 16 12:58:32 check if vdq=1 Jan 16 12:58:37 and light on leds or whatever Jan 16 12:58:40 and go to sleep Jan 16 12:58:45 Yes. Jan 16 12:58:58 a loop of bq27200.sh to check the log tomorrow won't hurt Jan 16 12:59:09 Preferably while it still reports 10% or so CSOC. Jan 16 12:59:12 (at least) Jan 16 12:59:57 ok Jan 16 13:00:04 i'll try that today, thanks! Jan 16 13:01:22 The point of that is to cause it to remember *something* closer to the actual value, so it doesn't sit at 6% (100/16)% for a few hours before giving up. Jan 16 13:01:58 (batteries usually become less efficient when you're drawing more current from them—I guess bq27200 just doesn't know how to compensate for that) Jan 16 13:04:10 ceene: fastcharger is a nokia wallwart Jan 16 13:05:37 ((almost twice as big)) then you need to run several calib learning cycles, until LMD doesn't adjust significantly anymore Jan 16 13:05:58 LMD adjusts only 1/8 per calib, iirc Jan 16 13:06:21 or was it 1/6. can't recall Jan 16 13:07:11 ~100*1.125*1.125*1.125*1.125 Jan 16 13:07:11 160.1806640625 Jan 16 13:07:24 ~100*1.125*1.125*1.125*1.125*1.125*1.125 Jan 16 13:07:24 202.728652954102 Jan 16 13:07:52 seems you'll need 6 calib cycles to adjust from a relative 100% LMD to a 200% Jan 16 13:09:14 ((charge fully and let it discharce with the flash on?)) please read ~bq-calibrate Jan 16 13:09:34 ceene: my solution was to discharge as fast as possible to get it calibrated Jan 16 13:09:48 Vajb: too fast is also wrong Jan 16 13:09:55 i was streaming radio from internet till it shutdown Jan 16 13:09:57 DocScrutinizer05: can you explain how ~bq-calibrate works around the behaviour I observed? Jan 16 13:10:00 looks like there's no right way Jan 16 13:10:02 lol Jan 16 13:10:07 it works but you get massively incorrect calibration Jan 16 13:10:19 my problem was also that too early shutdown Jan 16 13:10:28 but i changed from stock to mugen Jan 16 13:10:52 for first calibration jump it needed fast discharge Jan 16 13:10:53 Vajb: that's why my script shuts down bme prior to calibration Jan 16 13:11:10 others were more gentle discharges Jan 16 13:11:11 in 'useless' news .. am more & more happy with fennec. definitely not fast, but useable Jan 16 13:11:24 Sicelo: did you try midori on debian's chroot? Jan 16 13:11:50 Vajb: aah yes, that works Jan 16 13:12:12 yup can confirm it worked :) Jan 16 13:12:23 i still will try. had problems with my chroot. old squeeze on works, but the wheezy gets corrupted when i install openoffice. meant to ask in here what i could do about that Jan 16 13:12:35 i just don't install openoffice Jan 16 13:12:39 it's too big for the n900 anyway Jan 16 13:13:19 the problem is the insane amount of IO that goes on. ceene, the squeeze chroot came with it, and works fine for my occassional needs :) Jan 16 13:13:39 so i want it in wheezy (libreoffice by the way) Jan 16 13:13:49 anyway calibration will fail when current at calibration time is < 2 times the last measured standby current, so you should enable some consumer, ideally screen backlight Jan 16 13:14:24 okay, the lesson is basically let it consume moderately Jan 16 13:14:34 like leds, or screen backlight or pulseaudio ;) Jan 16 13:15:10 ceene: http://mg.pov.lt/maemo-irclog/latest.log.html#t2016-01-16T05:32:12 Jan 16 13:15:40 ~bq-calibrate Jan 16 13:15:40 i heard bq-calibrate is http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh, or http://talk.maemo.org/showthread.php?p=1247595 Jan 16 13:15:58 ok, thanks a lot! Jan 16 13:16:23 the tmo posthas all my babbling that's maybe relevant for this thing Jan 16 13:16:47 nah, i like your summary Jan 16 13:17:22 ceene: by the way you say midori has html5 in chroot? Jan 16 13:17:39 midori on squeeze hasn't got full html5 support Jan 16 13:17:57 but it loads a hell lot of things Jan 16 13:18:08 in wheezy it's 'fine'? Jan 16 13:18:15 i don't use any other browser at the moment Jan 16 13:18:19 it is probably Jan 16 13:18:47 i wanna build a very small chroot using buildroot Jan 16 13:18:52 with just latest midori Jan 16 13:19:01 and see how it works Jan 16 13:19:13 i guess i'll have to patch libc6 like on the post on tmo Jan 16 13:19:15 let me bring up wheezy & install midori right away Jan 16 13:19:39 You could probably just use debootstrap and specify only midori. Jan 16 13:19:54 (so it will pull in midori and its dependencies) Jan 16 13:20:03 oh, but buildroot does that as well Jan 16 13:20:16 with the added benefit that i can select compilation options and all that Jan 16 13:20:35 i like buildroot a lot :P Jan 16 13:24:57 ~phonecontrol Jan 16 13:24:57 phonecontrol is probably http://wiki.maemo.org/Phone_control Jan 16 13:26:36 why the heck there's no backlight control for 'always on' in there? Jan 16 13:26:56 waiting for DocScrutinizer05 to add it :) Jan 16 13:28:29 mhm, http://lists.maemo.org/pipermail/maemo-developers/2010-May/026195.html My beloved bookmarks Jan 16 13:32:50 https://github.com/agamez/yappari/commits/develop Jan 16 13:33:00 there, we did something Jan 16 13:33:16 there are lots of gems hidden in gconf apparently Jan 16 13:33:30 it's like regedit... Jan 16 13:33:36 yeah Jan 16 13:42:02 ceene: kerio: updated http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh Jan 16 13:42:11 wut Jan 16 13:42:11 why Jan 16 13:42:13 please test Jan 16 13:42:39 kerio: automatic backlight always-on Jan 16 13:43:20 will do tonight! Jan 16 13:43:26 :-) Jan 16 13:44:07 or maybe right now, why not Jan 16 13:44:25 i have two n900 now, i can charge one and play with the other! :) Jan 16 13:45:30 please make sure bq27200.sh actually outputs "VDQ:" Jan 16 13:46:32 Charge:0 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:0 EDV1:0 EDVF: 0 Jan 16 13:46:34 it does Jan 16 13:48:27 I added a check :-) Jan 16 13:50:37 I hope I didn't add any typos Jan 16 13:54:03 anyone knows or can devise a way to completely remove an email account from N900 via command line only (think SSH) Jan 16 13:54:04 it seems to work Jan 16 13:54:08 it's waiting for it to charge Jan 16 14:16:40 ceene: alas the original script would wait infinitely if the bq27200.sh isn't in place or not working Jan 16 14:17:09 thus I added a test in V2.01 Jan 16 14:28:52 right, it's going fine Jan 16 14:28:57 now it has to charge and all that Jan 16 14:43:39 by the way Jan 16 14:43:48 is any nitdroid image that works or something like that? Jan 16 14:45:41 there is i believe. what you'd need it for? they aren't considered the best way to use Android or N900 :) Jan 16 14:46:03 and which should be the best way? Jan 16 14:46:10 i just want to fiddle around Jan 16 14:46:17 buy cheap android :p Jan 16 14:46:24 lol Jan 16 14:47:00 i might end up buying one myself for my work emails (EAS with provisioning enforced) Jan 16 14:48:25 truth is, modest is a shitty mail client Jan 16 14:49:25 :) Jan 16 14:49:48 Working ActiveSync would be great ... Jan 16 14:49:50 but the 'real' problem is not even modest here .. rather activesync daemon Jan 16 14:50:00 activesync works for me Jan 16 14:50:04 xelo: activesync does work, and very well :) Jan 16 14:50:27 just if your organization enforces policies, then you're in trouble Jan 16 14:51:24 Sicelo009N: could you set up a client that connects to your work's server? Jan 16 14:51:29 i'm in such organization, and right now crafting email to request alternative policy for my mailbox .. to be honest, i expect a simple "request rejected" reply :p Jan 16 14:52:14 ceene: how? pointers would help. we have only EAS/OWA. no IMAP/POP Jan 16 14:52:18 Just discover a N950 at my employers devicearchive, and was trying to sync it with my own horde by using MfE, unfortunately it does not work (Invalid Host) Jan 16 14:52:58 N950/N9 should support provisioning .. xelo you sure other devices can sync fine? Jan 16 14:53:05 Sicelo009N: i don't know... it'd be a matter of searching an exchange client that runs on a server of yours and forwards that mail to some other place Jan 16 14:53:20 i do exactly the reverse Jan 16 14:53:32 i have a server that downloads email using IMAP idle Jan 16 14:53:32 problem is ... no linux activesync client :p Jan 16 14:53:57 and then an exchange server that shows my n900 the mail downloaded Jan 16 14:54:01 there's a server... Jan 16 14:54:05 there's no client? Jan 16 14:54:12 Sicelo009N: yes, that works very well with Android, WP8.1, and TzPush in Thunderbird Jan 16 14:54:47 sorry afk for 30 mins. Will be Back later Jan 16 14:55:26 we don't have clients Jan 16 14:56:05 evolution-mapi - Exchange support for the Evolution groupware suite Jan 16 14:56:26 http://paste.debian.net/366139/ is email i'm writing to IT Department :D Jan 16 14:57:23 you may want to "forget" about your device not responding to remote-wipe Jan 16 14:57:46 mapi is not EAS .. that's standard exchange protocol (aiui). but exchange protocol is not 'exposed' to Internet by our server. in short, you can't even setup Outlook at home Jan 16 14:58:02 oh Jan 16 14:58:19 and could you set up something on your work computer? Jan 16 14:59:11 remote wipe .. i have to address that, as it's the main reason they have provisioning enabled. however, i'm hoping that the 'iPhone hole' (Find My iPhonr) might be leverage enough to use my own means (smscon) Jan 16 14:59:26 it may be Jan 16 14:59:39 maybe if you go talk to them and show them your n900 they fall in love with it Jan 16 14:59:44 on work computer no, cannot install anything .. besides, firewalls, etc. different vlan Jan 16 15:00:14 those admins are in netherlands. i'm in south africa :p Jan 16 15:00:24 doesn't seem feasible then Jan 16 15:00:38 or you could ask to be transfered to the netherlands for a couple weeks Jan 16 15:00:53 yeah. i'll be stuck with OWA if they reject this request Jan 16 15:01:23 tbh i don't even care too much about emails .. but I'd love to sync my work calendar to N900 Jan 16 15:05:06 i'd like to extract a snapshot of my n900 so that it can be flashed back again with 0xffff Jan 16 15:05:09 is that doable? Jan 16 15:06:54 backupmenu is one most commonly used method Jan 16 15:07:07 i expect to break lots of things Jan 16 15:07:15 so i think flasher will be faster Jan 16 15:07:36 also, i'd like to be able to redistribute then one of these images Jan 16 15:07:49 and make people follow just the standard flashing procedure Jan 16 15:08:47 yes, BM can make flashable images. never tried it myself, but i seem to recall so Jan 16 15:08:54 also, no matter how bricked the phone ends up, the flasher will always be able to restore it, won't it? Jan 16 15:09:13 so the way to do what i want is to use backupmenu? Jan 16 15:09:31 but what if i overwrite the whole filesystem with say, a debian install? Jan 16 15:12:29 should be fine. but you may want to confirm with DocScrutinizer05 or go through BM thread on tmo Jan 16 15:24:04 suggesting doc because i know he had some interest in this before. Jan 16 15:25:42 i think my new n900 is faster than my old one Jan 16 15:26:01 is that feasible or it's just because i have very little things installed and few deb sources? Jan 16 15:29:08 Fiasco image: -u [dir] unpack fiasco image to directory (default: current) -g file[%sw] generate fiasco image with SW rel version (default: no version) Jan 16 15:29:15 0xffff does what i want, i think Jan 16 15:29:54 re Jan 16 15:45:42 ceene: yes, 'empty Jan 16 15:45:55 ceene: yes, 'empty' device will feel faster :) Jan 16 15:46:24 Can I restore my BackupMenu images through the Nokia Flasher? Jan 16 15:46:26 my thumb N900 (main device) is magnitudes slower than my 'empty' backup N900 (non-thumb) Jan 16 15:46:29 Not currently. This is a planned feature, but not in the current version. It -is- possible to convert a BackupMenu image to a Nokia Flasher rootfs image, but it requires a Linux PC with mtd-utils. Jan 16 15:46:45 http://talk.maemo.org/showthread.php?t=63975 Jan 16 15:46:46 cool Jan 16 15:46:49 so i can do what i want :) Jan 16 15:51:54 what's your secret mission? :) Jan 16 15:52:57 fully replace the operating system with a flashable image Jan 16 15:53:10 that operating system will then be either debian or a buildroot image Jan 16 15:53:13 something like that Jan 16 15:53:53 nice Jan 16 15:54:02 there are priorities, however Jan 16 15:54:18 i still want to finish porting openssl and qt to use latest tls Jan 16 15:54:45 but .. u-boot wouldn't do what you need without need for flashing? Jan 16 15:55:07 probably Jan 16 15:55:58 but that's not a flashable solution Jan 16 15:56:08 that'd require installing things or whatever Jan 16 15:56:18 i don't know N900 low-level stuff .. but i'd guess with your image you'd need some way to have the bootloader load your image Jan 16 15:56:21 :/ Jan 16 15:56:36 i assume the bootloader knows how to boot the kernel Jan 16 15:56:44 and that the kernel is flashable Jan 16 15:57:42 the secret mission as you call it, is to reverse what most people are doing Jan 16 15:57:48 instead of having debian inside a chroot Jan 16 15:57:52 i want to have maemo inside a chroot Jan 16 15:58:02 exactly .. so that's where uboot comes in .. loads your kernel without reflashing each time (which i seem to recall is considered to wear the NAND fast .. which is why multiboot is/was considered bad) Jan 16 15:58:10 i already did that on an Android phone Jan 16 15:58:19 uhm Jan 16 15:58:25 wow.. maemo in android chroot? Jan 16 15:58:26 okay, so u-boot it is for development at least Jan 16 15:58:32 no, no Jan 16 15:58:35 i run android Jan 16 15:58:38 on an chroot Jan 16 15:58:42 i mean Jan 16 15:58:58 ceene: take my works with grain of salt .. ask the guys who know this better than i do Jan 16 15:59:03 *words Jan 16 15:59:08 i took an android phone, made it boot the same kernel but with a rootfs that was on the sdcard and that contained a debian image Jan 16 15:59:38 this debian image then loaded original android rootfs and started it Jan 16 15:59:49 that said, i personally have played with booting debian and arch both in chroot and also natively. native is nicer :) Jan 16 15:59:53 so the debian was the real OS, and Android was the one that lived on a chroot Jan 16 16:00:21 Sicelo are you sure MfE works on N9/N950? Jan 16 16:00:22 If I try "Manual Setup" and enter the ServerAddress, MfE says: "Invalid Host address for MfE Server". Jan 16 16:00:22 My service does not offer autodiscover, and uses a SSL-certificate signed by ca-cert.org. Which might be a problem, Jan 16 16:00:22 But according to the logs, MfE is not even interested in the Addresses I entered: Jan 16 16:00:22 Jan 16 16:57:16 (2016) mfeplugin[2016]: [Debug] Connecting to URL: "https://:443/Microsoft-Server-ActiveSync" Jan 16 16:00:41 xelo: on N900 MfE works just fine Jan 16 16:00:47 looks like funny address that? Jan 16 16:01:20 xelo: got N900? test with it :) Jan 16 16:01:38 Sicelo: unfortunately: no Jan 16 16:01:44 the N9 i've used in the past is back with its owner, .. but outlook.com worked fine on it Jan 16 16:02:07 give either myself of ceene a temporary account on that server? Jan 16 16:02:14 *or* Jan 16 16:02:23 gawd my typing is bad today Jan 16 16:02:41 doesn't matter :) Jan 16 16:02:47 for quick testing I see that 0xffff lets you load a kernel on RAM Jan 16 16:02:59 even flasher-3.5 Jan 16 16:03:01 so I guess I can boot an arbitrary kernel without uboot nor flashing Jan 16 16:03:04 cool Jan 16 16:03:08 that's great for development Jan 16 16:03:29 ceene: by the way, you think it'd be 'possible' to put android chroot on N900? Jan 16 16:03:34 or we'd have kernel problems? Jan 16 16:03:50 android uses a heavily patched kernel Jan 16 16:03:58 we'd need one of the kernels from nitdroid Jan 16 16:04:33 if that kernel boots and the android image boots with that kernel, then it is possible to run android on top of whatever Jan 16 16:05:14 maybe when i have no N900 at all, i'll move to Tizen :/ Jan 16 16:06:11 i got myself another n900 just this morning :) Jan 16 16:06:12 > give either myself of ceene a temporary account on that server? Jan 16 16:06:12 Would work out for you both if you want. I'd need your mail and gpg-keys to communicate login data Jan 16 16:06:28 xelo: you have cacert ca on your N9? Jan 16 16:06:36 and there are more for sell, but i don't think i want to collect them... Jan 16 16:07:10 The Certificate manager Gui says yes, but I higly doubt it. Running OpenMode btw. Jan 16 16:07:49 ceene: my 2nd N900 has bad flex, and SD cards non-dected .. so yeah, i may need another N900 if i can get one easily Jan 16 16:09:14 xelo: no gpg for me :) Jan 16 16:09:42 x509? Jan 16 16:09:45 you could send via irc pm? i'm in via ssl ... insufficient? Jan 16 16:11:12 bad idea, on the other hand, i'm giving an e-Mail account to a strange, what could possibly go wrong ^^ Jan 16 16:11:36 :) Jan 16 16:12:10 but we're no strangers Jan 16 16:12:35 we're all a bunch of people who would know how to harm you, as we are all quite capable computer users Jan 16 16:12:57 but we're all so pretty that we'd never do that Jan 16 16:13:08 i'm busy hacking my n900 :P Jan 16 16:13:36 oh, just tried to install cacert again: Jan 16 16:13:37 certificate_install: aegis_storage.cpp(1935): ERROR commit: access denied, cannot commit '/var/lib/aegis/ps/Ss/certman.ssl-ca' Jan 16 16:13:52 how i hate cacert, ssl and all of that Jan 16 16:14:03 it's like if you want to set something secure Jan 16 16:14:11 you have to know a hell of things Jan 16 16:14:18 and if you do one wrong step you may not know it Jan 16 16:14:25 and end up thinking you're secure when you're not Jan 16 16:14:58 jepp, that describes it quite good Jan 16 16:16:26 Sicelo you've got a PM Jan 16 16:23:02 hi, can please anybody accept my extras upload invitation request? Jan 16 16:29:02 ceene: fwiw, N900 worked with xelo's server :) Jan 16 16:29:48 great! Jan 16 16:30:18 i did made my imap-to-mfe proxy so that I could get PUSH on the N900 Jan 16 16:30:24 as modest doesn't implement imap idle Jan 16 16:30:28 but mfe does push email Jan 16 16:30:57 IDLE would have been really nice. I miss it from my 9300i days Jan 16 16:31:02 yeah; I neede MfE for contacts, don't wanted to use syncevolution to retrieve them from carddav Jan 16 16:31:57 i hate modest Jan 16 16:32:08 it's the worst mail client i've ever used Jan 16 16:32:13 mutt is better Jan 16 16:32:21 i use mutt a lot ;) Jan 16 16:32:21 even when you don't know how to use it, that i don't Jan 16 16:32:30 i mean, i know how to send emails Jan 16 16:32:32 and read them Jan 16 16:32:35 but not much Jan 16 16:32:41 and even then, i like it more than modest Jan 16 16:32:49 try to open an attachment :-) Jan 16 16:32:51 on my N900, that is .. but, i don't really have anything against modest Jan 16 16:33:07 to be honest, i like android's gmail :/ Jan 16 16:33:22 i feel ashamed of saying that here Jan 16 16:33:26 :) Jan 16 16:33:52 what is your biggest issue with modest? (besides lack of IDLE) Jan 16 16:33:53 but it's the truth Jan 16 16:33:56 well Jan 16 16:34:00 it's ugly as hell Jan 16 16:34:02 it's slow as hell Jan 16 16:34:20 i can't configure my gmail account because it has thousands of emails Jan 16 16:34:22 maybe you should try the one in devel Jan 16 16:34:25 and modest tries to read them all Jan 16 16:34:41 so it simply tries to suffocate my n900 to death Jan 16 16:34:44 there's a limit of sorts available .. i think 250 or so Jan 16 16:35:04 and that seems to be too much... Jan 16 16:35:09 also, i can't search messages Jan 16 16:35:25 on android's gmail I type "whatever" and i get a list of mails mentioning that Jan 16 16:35:32 ah yes, search is missing. and mutt is so good at it Jan 16 16:35:49 of course in modest i don't need to search for anything, because this proxy that i've setup only has a few mails on it Jan 16 16:35:57 so i just simply gaze around the subjects Jan 16 16:36:03 Android gmail ... isn't that gmail only? Jan 16 16:36:16 but if it's something from two months ago, then there's nothing i can do Jan 16 16:36:21 yes, i just meant the app for android Jan 16 16:36:45 ah, the one that can also configure Yahoo/Exchange, etc? Jan 16 16:36:49 i've found myself opening midori to go to the html version of gmail (latest is too power hungry) and search there Jan 16 16:37:04 don't know, the 'Gmail' app is the only one i've used Jan 16 16:37:12 i think the one you say is different Jan 16 16:37:14 mutt is available for N900. works well Jan 16 16:37:35 i'd like something a little more graphic :/ Jan 16 16:38:11 i don't know android apps so well myself. just know they are generally to email clients on Android.. on is general, and the other is gmail-specific. you can't use it for other accounts. i could be wrong Jan 16 16:38:55 i've only tested the 'Gmail' one, which I believe only interfaces with gmail.com Jan 16 16:39:01 but it's interface is quite good if you ask me Jan 16 16:39:13 i'd like something that is at least half of that Jan 16 16:40:08 ceene: any clue how to tell QMaemo5ListPickSelector to show less than 5 rows? Jan 16 16:40:53 freemangordon: sorry, no idea... maybe scorpius used it on yappari and it's there somewhere? Jan 16 16:41:03 np Jan 16 16:41:34 if https://doc.qt.io/archives/qt-4.7/qmaemo5listpickselector.html doesn't help i don't know if it's possible even Jan 16 16:42:22 maybe by passing it a custom view with void QMaemo5ListPickSelector::setView ( QAbstractItemView * itemView ) Jan 16 16:43:16 ~kernel-power Jan 16 16:43:16 from memory, kp is http://talk.maemo.org/showthread.php?t=94287 Jan 16 16:50:37 how fast is n900's usb? Jan 16 16:50:54 i was thinking a weird thing Jan 16 16:51:28 how about a device that presents itself as a mass storage device but which is interfacing to a RAM chip Jan 16 16:51:42 so we set that mass storage device as swap and turn swappiness to the maximum Jan 16 16:51:51 instant ram expansion! Jan 16 16:52:42 we're USB2.0. but, i wonder if drivers, etc. won't be bottleneck Jan 16 16:53:06 well, we could write a special driver for this Jan 16 16:53:11 remove the mass storage emulation Jan 16 16:53:22 and reduce the software to the minimum Jan 16 16:53:27 don't know, just a wild idea :) Jan 16 16:53:40 SD card .. not fast? Jan 16 16:54:04 a chip of ram would be faster Jan 16 16:57:24 why was the optification done that way? Jan 16 16:57:34 wouldn't unionfs have been better? Jan 16 16:57:49 instead of modifying packages, modifying what the filesystem looks like Jan 16 16:59:37 "chip of ram" would not be faster, USB 2.0 is too slow. optification was, afaik, a quick hack. Jan 16 17:00:28 maybe if you could get max usb 2.0 throughput it would be faster than most micro sd cards. Jan 16 17:01:41 eek.. upgrading kernel-modules, and now there's diversion of joikuspot.ko (which i'm not even using) Jan 16 17:02:21 local diversion of /usr/bin/JoikuSpot_Bouncer.ko to /lib/modules/2.6.28-omap1/JoikuSpot_Bouncer.ko Jan 16 17:03:18 which one is the "real" one? Jan 16 17:06:44 what is that? Jan 16 17:07:50 i guess a kernel module that was/is used for hospot stuff. not sure Jan 16 17:09:54 dpkg-divert --test --remove /usr/bin/JoikuSpot_Bouncer.ko Removing `local diversion of /usr/bin/JoikuSpot_Bouncer.ko to /lib/modules/2.6.28-omap1/JoikuSpot_Bouncer.ko' Jan 16 17:09:57 dpkg-divert: rename involves overwriting `/usr/bin/JoikuSpot_Bouncer.ko' with different file `/lib/modules/2.6.28-omap1/JoikuSpot_Bouncer.ko', not allowed Jan 16 17:10:48 any ideas how i could handle this? need to update kernel-modules to 2.6.28-20103103+0m5+cssu1.2 Jan 16 17:12:02 dpkg -S /usr/bin/JoikuSpot_Bouncer.ko ? Jan 16 17:12:08 to see which is the package that owns that Jan 16 17:13:12 # dpkg -S /usr/bin/JoikuSpot_Bouncer.ko Jan 16 17:13:13 local diversion from: /usr/bin/JoikuSpot_Bouncer.ko Jan 16 17:13:13 local diversion to: /lib/modules/2.6.28-omap1/JoikuSpot_Bouncer.ko Jan 16 17:13:16 hmm Jan 16 17:13:26 i'll just end up deleting the bugger :D Jan 16 17:13:45 after all, installing the modules will restore the file :/ Jan 16 17:14:05 yep Jan 16 17:14:18 Pali: ping Jan 16 17:17:33 ok, ignore that. deleting file and removing the diversion worked Jan 16 17:23:52 Sicelo009N: pong Jan 16 17:25:44 i needed help with a kernel module.. joikuspotbouncer.. but 'solved' Jan 16 17:26:16 i deleted it in /usr/bin, removed the diversion, & installed modules. seems to be fine Jan 16 17:28:41 Pali: /opt/boot contains lots of images. i can safely remove them? i'm using MyDocs/bootmenu.img.d/ currently Jan 16 17:28:49 Pali: is there something on the kernel that is not too difficult to fix for someone how codes well in C but hasn't written anything for the kernel? Jan 16 17:28:53 i think i should be 'fine' Jan 16 17:39:32 Sicelo009N: you should not delete /opt/boot images because they are used for generating those in MyDocs Jan 16 17:40:13 ah yes, i've notice :) Jan 16 17:42:14 rebooting now.. hope i broke nothing Jan 16 17:46:52 ok.. nothing broke. but i'm unhappy. so CSSU1.2 kernel is not a power kernel? Jan 16 17:47:30 battery won't charge for example (i'm on replacement bme) Jan 16 17:53:53 non-booting N900 now :D Jan 16 17:55:54 B-) Jan 16 17:57:37 booting again. let me go wash my old car. enough maemo madness Jan 16 18:13:10 could someone check how big is /usr/bin/worldclock on cssu-testing? Jan 16 18:19:49 ii clock-ui 0.6-1+0cssu6 UI part of the clock Jan 16 18:19:54 -rwxr-xr-x 1 root root 569288 Dec 23 2014 /usr/bin/worldclock Jan 16 18:20:35 and... Jan 16 18:20:38 ii clock-ui 0.6-1+0cssu7 UI part of the clock Jan 16 18:20:41 lrwxrwxrwx 1 root root 13 Jan 16 17:02 /usr/bin/worldclock -> maemo-invoker Jan 16 18:20:52 -rwxr-xr-x 1 root root 12016 Apr 30 2015 /usr/bin/maemo-invoker Jan 16 18:25:15 where's latest kernel v4.X available? Jan 16 18:40:16 ceene: check worldclock.launch Jan 16 18:41:05 -rwxr-xr-x 1 root root 620564 Apr 30 2015 ./usr/bin/worldclock.launch Jan 16 18:41:22 Pali: where can i get sources for latest bootable kernel? Jan 16 18:41:30 ok, so 620564 vs 569288 Jan 16 18:41:36 ceene: kp? Jan 16 18:41:42 no, your 4.x Jan 16 18:41:57 git://github.com/pali/linux-n900.git Jan 16 18:42:10 any branch? Jan 16 18:42:32 branch name has scheme v-n900 Jan 16 18:42:39 ok Jan 16 18:43:08 and is there a defconfig i can use? Jan 16 18:44:57 rx51_defconfig Jan 16 18:45:13 ok! Jan 16 18:45:19 i'll be trying to boot it at least :) Jan 16 18:46:08 ceene: wait, where those 2 came from? Jan 16 18:46:17 the first one Jan 16 18:46:18 cssu6 Jan 16 18:46:21 is from my main n900 Jan 16 18:46:25 the other one Jan 16 18:46:27 oh, sorry Jan 16 18:46:30 the other one is cssu-thumb Jan 16 18:46:33 just installed it today Jan 16 18:46:41 maybe it isn't what you wanted Jan 16 18:46:58 I wanted ARM version size Jan 16 18:47:36 so, cssu6 is 569288 and is smaller than -thumb one? Jan 16 18:47:37 that's then the first tow lines? .deb version 0.6-1+0cssu6 filesize 569288 Jan 16 18:47:47 it seems so Jan 16 18:47:52 hmm, weird Jan 16 18:48:10 unless I didn;t build it in the -thumb target :) Jan 16 18:48:13 however Jan 16 18:48:32 -rwxr-xr-x 1 root root 451392 Jan 16 20:07 /usr/bin/worldclock.launch Jan 16 18:48:51 this is ARM version from the code on github :) Jan 16 18:49:02 Pali: ^^^ Jan 16 18:49:05 they are quite different then Jan 16 18:49:12 I finally found time to work on that Jan 16 18:49:25 ceene: well, look at the commit log and you'll see why Jan 16 18:49:46 I've stripped maybe... dunno... 1000 LOC? Jan 16 18:49:52 or more Jan 16 18:50:31 and it still works? Jan 16 18:50:48 that's nice :) Jan 16 18:50:59 and it works better ;) Jan 16 18:52:44 how much code can a clock need? Jan 16 18:53:00 lots of Jan 16 18:53:09 as UI is not exactly simple Jan 16 19:01:03 which architecture variant is the n900? Jan 16 19:01:11 hmm? Jan 16 19:01:15 i mean Jan 16 19:01:26 arm920t, arm1136j-s, or what? Jan 16 19:01:29 those are examples Jan 16 19:01:37 i don't how would you call it, the arm processor itself Jan 16 19:01:38 arm7-a Jan 16 19:01:46 iirc Jan 16 19:02:01 ceene: "cat /proc/cpuinfo" :) Jan 16 19:02:19 cpuinfo always confuses me Jan 16 19:02:22 as there is cortex a7 Jan 16 19:02:23 arm7 Jan 16 19:02:26 and the hell of them Jan 16 19:02:31 cortex is SOC Jan 16 19:02:41 not CPU Jan 16 19:02:45 ~soc Jan 16 19:02:45 [soc] System On Chip - many embedded cpus include a variety of peripherals as well which makes them more than just a CPU. Send Out Cards - http://www.sendoutcards.com/ Summer of Code (a google project) U of U's School of Computing (http://www.cs.utah.edu/) Jan 16 19:02:45 also, i don't find any match on the list of buildroot arm supported architectures Jan 16 19:02:56 maemo is armel Jan 16 19:03:15 but you may want to use armhf Jan 16 19:05:37 buildroot lets me choose among this, and later on it lets me choose hf and thumb Jan 16 19:05:47 arm920t arm922t arm926t arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s mpcore cortex-A5 cortex-A7 cortex-A8 cortex-A9 cortex-A12 cortex-A15 cortex-M3 fa526/626 pj4 strongarm sa110/sa1100 xscale iwmmxt Jan 16 19:05:56 i don't know which of these should I choose Jan 16 19:06:02 cortex-a8 Jan 16 19:06:32 cool, thanks! Jan 16 19:06:50 now it lets me choose EABI or EABIhf, I'll test both Jan 16 19:07:33 and also "floating point strategy" which can be soft float, VFPv2, VFPv3, VFPv3-D16 and NEON Jan 16 19:07:42 NEON Jan 16 19:07:46 and later on, ARM vs Thumb2 Jan 16 19:07:52 which kernel? Jan 16 19:07:55 4.4? Jan 16 19:08:02 yes, i'll be compiling Pali's one Jan 16 19:08:11 thumb2 then Jan 16 19:08:20 ok! Jan 16 19:08:31 ceene: you build debian, correct? Jan 16 19:08:41 no, not right now Jan 16 19:08:50 what are you doing then? Jan 16 19:08:53 i'm using buildroot to build a very basic rootfs Jan 16 19:09:04 just a shell and little else Jan 16 19:09:10 still, the same Jan 16 19:09:10 and little by little i'll be adding things Jan 16 19:09:15 you'd better choose EABIhf Jan 16 19:09:26 although first thing will be trying to boot maemo with this kernel Jan 16 19:09:54 ceene: you need to do some thing to maemo to be able to boot it with upstream kernels Jan 16 19:10:11 it won't boot by default? Jan 16 19:10:27 no Jan 16 19:10:32 oh Jan 16 19:10:40 what needs to be done? Jan 16 19:10:44 is it written somewhere? Jan 16 19:10:47 for n900 use gcc flags: -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon Jan 16 19:11:25 for thumb build add flags: -mthumb -mno-thumb-interwork Jan 16 19:11:56 and for hardfp add: mfloat-abi=hard Jan 16 19:11:59 -mno-thumb-interwork is by default iirc Jan 16 19:12:19 but doesn;t hurt either to add it Jan 16 19:12:26 ok Jan 16 19:13:02 ceene: https://lkml.org/lkml/2015/7/24/469 Jan 16 19:13:04 for softfp use instead: -mfloat-abi=softfp (needed for Maemo5) Jan 16 19:13:36 great, thanks! Jan 16 19:13:48 ceene: but!!! Jan 16 19:13:51 ceene: do not change /etc/event.d/sgx file (as written in that LKML post) Jan 16 19:14:40 ceene: there is still a nasty bug that ruins onenand fs after the first powerdown/reboot Jan 16 19:14:41 ok Jan 16 19:14:47 oh Jan 16 19:14:56 so you'd better not try it now :) Jan 16 19:14:59 lol Jan 16 19:15:00 ok Jan 16 19:15:14 but flashing again will fix it, won't it? Jan 16 19:15:19 sure Jan 16 19:15:26 ok, then i don't mind Jan 16 19:15:31 that's why I bought this new n900 :) Jan 16 19:15:55 i want to help you guys test all of this :) Jan 16 19:15:57 cool. who know, you may even find that bug :) Jan 16 19:16:05 knows even Jan 16 19:16:16 i don't know... Jan 16 19:16:19 well, I can code in C Jan 16 19:16:24 i made a living of that, in fact Jan 16 19:16:27 C+vhdl :) Jan 16 19:16:33 but i've never touched much the kernel itself Jan 16 19:18:21 well, gotta go now Jan 16 19:18:27 thanks for all the info! Jan 16 19:18:31 cya! Jan 16 19:19:35 hmm, thumb-build worldclock is 223k :) Jan 16 19:25:54 I guess I can shave a few KB more, but it doesn't worth it Jan 16 19:48:05 does this work on a nokia n900 running maemo http://browser.garage.maemo.org/ ? Jan 16 19:49:38 yes, though the version on n900 is newer Jan 16 19:55:05 freemangordon: do i need to install the microb-browser package from a repro? Jan 16 19:56:14 Stable release1.0.4 / December 17, 2008 ? Jan 16 19:56:18 that seems old Jan 16 19:56:53 zZap-X: don't you have a "Browser" already on N900? look in your application list? Jan 16 19:57:14 Sicelo: yes, but that was last updated in 2008? Jan 16 19:58:18 likely Jan 16 19:58:28 no.. there was no N900 in 2008 Jan 16 19:58:50 oh ok Jan 16 19:58:56 but yes, microb is old Jan 16 20:24:06 are there any alternatives to n900 what can run maemo? Jan 16 20:24:38 no .. Nokia N9 Jan 16 20:24:42 neo900 Jan 16 20:26:18 Sicelo: N9 can;t run maemo Jan 16 20:26:46 well, it "can" but there is no maemo for N9 Jan 16 20:27:48 M6 :) Jan 16 20:28:05 that's what I meant Jan 16 20:28:07 its more jolla than maemo Jan 16 20:29:54 you're putting the egg before the chicken :p Jan 16 20:30:28 pah :P Jan 16 20:37:37 neo900 costs a lot!!! Jan 16 20:37:48 :) Jan 16 20:38:14 would of been cheaper for them to get a chinese firm to make a dedicated phone Jan 16 20:38:20 with new hardware Jan 16 20:39:17 not the design goal Jan 16 20:40:10 the idea is to keep maemo ... so esp. you need drop-in replacement cpu for example Jan 16 20:41:06 i want nokia to start re-making the n950 Jan 16 20:41:49 tell them :p Jan 16 20:42:23 n950 is not that good Jan 16 20:42:31 lots of problems Jan 16 20:46:58 seems annoying that in this world of tech only the n900 / neo900 are the only options.. Jan 16 20:47:40 * zZap-X wins 3 billion on lottery and donates to neo900 Jan 16 20:48:46 nokia is no more Jan 16 20:49:01 it's just m$ shack boy Jan 16 20:49:38 fmg: how about n950 with maemo5 ? Jan 16 20:51:06 same reason as N9 Jan 16 20:51:55 is the N9 faster than a N900? Jan 16 20:52:38 1 GHz Cortex A8 Jan 16 20:52:55 yes. 1GHz processor, and 1GB RAM Jan 16 20:53:19 can MeeGo OS be replaced with maemo ? Jan 16 20:53:45 Just get one of those larger battery covers and stick a pi zero in it. Jan 16 20:54:42 good idea Jan 16 20:55:00 * Maxdamantus would like to try that. Jan 16 20:55:08 https://www.raspberrypi.org/blog/piphone-home-made-raspberry-pi-smartphone/ Jan 16 20:55:15 maxd: broadcom? bueeeeergh Jan 16 20:55:25 anyway, nite nite Jan 16 21:37:33 Maxdamantus: noway. Jan 16 21:38:00 just have a look at the power you need for this (shitty) board Jan 16 21:38:25 I seriously dont understand why people bother with this thing Jan 16 22:00:18 bencoh: I imagine it's probably about the same as the N900 while both are idling. Jan 16 22:00:24 no Jan 16 22:00:26 not at all Jan 16 22:00:40 n900 needs around 5~10mAh idle Jan 16 22:00:56 Maybe mine never idles then. Jan 16 22:01:10 rpi is more like 300mAh (three freaking hundred) Jan 16 22:01:26 Pi Zero. Jan 16 22:01:35 The zero one apparently uses a bit less than the other models. Jan 16 22:01:45 oh, maybe the same as the A+. Jan 16 22:01:59 A+ goes down to 100. Jan 16 22:02:02 http://raspi.tv/2015/raspberry-pi-zero-power-measurements Jan 16 22:02:13 seriously, why do you need 100mAh to idle? Jan 16 22:02:23 http://raspi.tv/2015/raspberry-pi-zero-power-measurements Jan 16 22:02:29 ah :) Jan 16 22:02:43 that's both stupid and crazy Jan 16 22:03:01 they just dont care about that aspect Jan 16 22:03:06 I imagine you could put it to sleep while intending to actually idle it. Jan 16 22:03:29 it's a cheap broadcom SoC for the set-top boxes market Jan 16 22:05:32 It's also not entirely clear what it means by "idling". Jan 16 22:05:48 If you're running Debian you've probably already got a bunch of crappy services doing random stuff all the time. Jan 16 22:07:08 and according to a not-particularly-authoritative comment below, you can save another 20 mAh by disabling the LEDs and .. HDMI. Jan 16 22:07:36 I imagine there are a bunch of other things you can do to reduce the idle draw. Jan 16 22:07:42 Maxdamantus: just have a look at the different phone/tablet projects Jan 16 22:07:56 they're happy when they can run their stuff a few hours on a huge battery Jan 16 22:08:00 er, 20 mA* Jan 16 22:08:17 no, seriously, this is not the way to go, you'd be wasting your time Jan 16 22:09:13 I'd rather go help the neo900 guys, or ask pyra and/or opendelico about working something around their omap5 board(s) Jan 16 22:21:37 btw, all of your uses of mAh should probably have been mA. Jan 16 22:21:46 unless you meant over an hour. Jan 16 22:25:03 err right, mA **** ENDING LOGGING AT Sun Jan 17 02:59:58 2016