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