**** BEGIN LOGGING AT Sun Apr 17 02:59:58 2016 Apr 17 10:29:52 my battery is only 797mAh now :p Apr 17 10:30:19 that happens Apr 17 10:30:36 we may have yappari sometime in the not so far future Apr 17 10:30:48 i'm a lot more optimistic than a month ago Apr 17 10:31:02 it happens that all that was needed was to start doing something and stop complaining :D Apr 17 10:31:28 ;) Apr 17 10:31:39 that will be nice. you'll be called Jesus Christ, lol Apr 17 10:31:42 i hate all of this very much, though Apr 17 10:31:50 saviour of the N900 users Apr 17 10:31:51 i'm thinking of placing a big donate button Apr 17 10:32:01 i'm sure i'd receive a couple bucks Apr 17 10:32:07 lol Apr 17 10:32:18 yes, you should Apr 17 10:32:34 i had explicitley said before that i didn't want donations directed to me Apr 17 10:32:42 as i hadn't done really much by myself Apr 17 10:33:15 also, i don't feel that much comfortable with donatios Apr 17 10:33:28 seems like payment for something i may stop supporting suddenly Apr 17 10:33:46 on the other hand, money tempts me :D Apr 17 10:34:25 i say you deserve something, that's for sure Apr 17 10:34:39 well, first off i need to really get this thing working Apr 17 10:34:42 maybe put a disclaimer under the donate button Apr 17 10:35:07 to cover you in case things end up changing in a permanent way Apr 17 10:36:36 uhm, old protocol seems to be working Apr 17 10:36:48 but i think that's what's getting us banned Apr 17 10:37:20 brb .. getting some nuts from shop Apr 17 10:40:19 nuts ot sresahp tes Apr 17 10:42:54 ceene: yeah, usually that helps :) (start doing something) Apr 17 10:58:51 DocScrutinizer05: i just started logging to batlog.txt and running calibration script from full charge. TTE screen on 258, TTE screen off 606 Apr 17 11:17:33 Maxdamantus: nuts & bolts ;) Apr 17 13:28:28 cool -- 128GB card seems to be detected by the n900 Apr 17 13:28:58 samsung pro ? Apr 17 13:29:11 anything else just sucks on 4k random writes Apr 17 13:29:50 Pretty much any SD card will be. Apr 17 13:30:02 Uh, I don't buy SD cards for speed Apr 17 13:30:09 They're all the category of: SLOW Apr 17 13:30:15 nope Apr 17 13:30:24 samsung pro excel at 4k writes Apr 17 13:30:32 which means 10-100x faster than anything else Apr 17 13:30:44 And does the n900 interface support that? Apr 17 13:30:49 And what job would you do on your n900 to require that Apr 17 13:30:55 as someone pointed out 5 minutes on apt-get upgrade instead of 2 hours Apr 17 13:31:05 chroot running? Apr 17 13:31:06 Are you suggesting I run my rootfs on a sd card? Apr 17 13:31:24 compiling/running chroots/vms Apr 17 13:31:30 I would never compile on a SD card. Apr 17 13:31:44 Although it is true, I run gentoo on a sd card on my other n900, but I never use my n900 to build anything Apr 17 13:32:05 building all packages for that gentoo externally? Apr 17 13:32:14 On my laptop. Chrooted into the n900 sd card. Apr 17 13:32:25 but all the I/O is done on a tmpfs. Apr 17 13:32:32 Except for the 'make install' phase :) Apr 17 13:32:54 anyway, it's 4MB/s vs 40kB/s on random writes Apr 17 13:33:03 I mostly care about reads Apr 17 13:33:08 similar story Apr 17 13:33:23 http://forum.armbian.com/index.php/topic/954-sd-card-performance/ Apr 17 13:33:28 I'll benchmark it for you if you want, even though I don't care and I'm quite happy with my sd card :) Apr 17 13:33:37 They're all in the "not useful for anything but slow access" category Apr 17 13:34:30 people using armbian have very different use cases I think Apr 17 13:34:39 yes, running as rootfs Apr 17 13:34:52 i was planning to run n900 from sd card too Apr 17 13:34:57 I mean, for work we have our own embedded distro running on allwinner machines Apr 17 13:35:11 It's a custom gentoo one, and all the device needs for updates is a 4MB squashfs system Apr 17 13:35:25 (It will run portage and everything else, but it will fetch binary packages) Apr 17 13:35:33 So I'm not really worried about the i/o regardless Apr 17 13:35:43 but this was just for: cool, I can store so much on my n900, it's insane, idea Apr 17 13:35:55 :) Apr 17 13:36:03 * Maxdamantus has been using a 128 GB card for a while. Apr 17 13:36:08 now imagine n800 has 2 full size sd slots ;) Apr 17 13:36:28 http://www.amazon.com/Samsung-Class-Adapter-MB-MG64DA-AM/dp/B00IVPU88U Apr 17 13:36:33 one of these, KotCzarny? Apr 17 13:36:47 looks like Apr 17 13:36:50 KotCzarny: there was also a samsung 128gb card in the shop, about 20 eur more Apr 17 13:36:57 my next sd card will be samsung pro Apr 17 13:37:08 This is a transcend one Apr 17 13:37:42 remember samsung makes the flash chips so they can put higher quality chip at lower price Apr 17 13:38:08 Wizzup: I have 128GB sammy pro and can confirm that it makes all the difference when you put swap on it Apr 17 13:38:26 * Maxdamantus expects SD cards to die eventually. Apr 17 13:38:28 I see, maybe I'll go to plesio and get one at some point. Apr 17 13:38:31 Maxdamantus: Me too Apr 17 13:38:52 I have that one for,umm...., 2? 3? years? Apr 17 13:38:57 create 32 swapfiles and rotate them every month? Apr 17 13:39:13 this make no sence Apr 17 13:39:28 ok, 8 Apr 17 13:39:31 the controller in the card is supposed to do the wear leveling Apr 17 13:39:56 fmg, when you write a file its marked as used? Apr 17 13:40:35 "write a file" isn't something the SD card understands. Apr 17 13:41:58 I am not sure I understand the question Apr 17 13:42:20 also, 2 years? Didn't know they had 128 GB microSD cards that long ago. Apr 17 13:43:59 or even 3 years, I really can't remember Apr 17 13:44:02 apparently SanDisk introduced the first one in Feb 2014. Apr 17 13:44:09 idea is sd card doesnt use new block every time, only when it detects that block needs wear levelling Apr 17 13:44:20 i might be wrong because i dont know the real algo used Apr 17 13:44:45 maxd: samsung pros are ~3-4 years old Apr 17 13:44:49 KotCzarny: I wouldn't dare to predict what might have been implemented in the card controller :) Apr 17 13:44:57 KotCzarny: but not 128 GB ones. Apr 17 13:45:02 (microSD, that is) Apr 17 13:45:09 yes, 128 uSD that is Apr 17 13:45:23 SEOUL, Korea – December 16, 2015 Apr 17 13:45:24 I got a 128 GB uSD some months ago. Already had to RMA it Apr 17 13:45:30 http://www.samsung.com/semiconductor/about-us/news/24501 Apr 17 13:45:48 might be about pro+ tho Apr 17 13:47:29 yep, mine is class 10 Apr 17 13:47:51 funny as it is google sucks at finding release news for pros Apr 17 13:48:51 * Maxdamantus is using a "SanDisk 128GB Ultra® microSDXC™ UHS-I Class 10" Apr 17 13:49:20 Maxdamantus: this card is like snail Apr 17 13:49:24 was using some 64 GB Kingston thing not too long ago, but it did actually seem to have bad performance. Apr 17 13:49:41 there are only few flash chips manufacturers Apr 17 13:49:57 and there are plenty of fakes, kingstones are leading in that area Apr 17 13:50:31 I don't think it'd be a fake. I just bought pretty much the cheapest one. Apr 17 13:50:34 https://www.android-user.de/standard-evo-und-pro-samsung-stellt-brandneue-microsd-kartenserie-vor/ Apr 17 13:50:38 april 2014 Apr 17 13:50:55 maxd: check manf id in /sys Apr 17 13:51:25 Don't the "fake" ones usually have limited storage? Apr 17 13:51:56 (but where they pretend to still maintain everything) Apr 17 13:52:02 maxd: doesnt matter, thing is they are usually done via ghost runs in real factories but using degraded material Apr 17 13:52:10 also, serial number is usually low Apr 17 13:53:08 http://www.bunniestudios.com/blog/?p=918 Apr 17 13:53:13 nice article about the topic Apr 17 13:54:05 old, and probably fakers caught on, but there is a chance that no one bothered and it's still valid Apr 17 13:56:38 hi all)) Apr 17 13:56:38 for the experiment I decided to install easy debian ,there is no problem with the repository Apr 17 13:56:38 W. Failed to fetch Not Found [IP 128.61.240.89 80] Apr 17 13:56:38 may know working repository? Apr 17 14:12:37 for old releases you shall use archive.debian.org Apr 17 14:14:48 ceene: thanks ,I automatically download there pocket sulu Apr 17 14:15:10 using meneger maemo app Apr 17 14:15:20 app manager sorry Apr 17 14:57:57 Linkandzelda_: the more interesting value is the plain mA then Apr 17 15:46:18 ~tell Linkandzelda_ about power Apr 17 15:54:11 DocScrutinizer05: ive had that tab open for a few days, i'll get to it soon, hehe Apr 17 15:55:10 anyway screen-on *massively* depends on brightness setting and usually even ambient light Apr 17 15:56:21 >>Screen on, no backlight. +80 mA // Backlight on max +150 mA, +40mA on 4 of 5 steps in simple brightness applet & low ambient (/sys/class/backlight/acx565akm/brightness = 63)<< Apr 17 15:58:31 >>Idle, no SIM, wlan off 7 mA@4.1 V Total<< Apr 17 16:05:15 Linkandzelda_: for example WLAN eats huge amounts of power when enabled but *not* logged in to a WLAN-AP Apr 17 16:07:38 DocScrutinizer05: how do i get current mA value? Apr 17 16:07:55 by reading 2nd col ;-) Apr 17 16:08:01 ok Apr 17 16:09:35 it's a almost singular measurement, averaging over at max 2.5s Apr 17 16:09:39 Average Current: 158 mA Apr 17 16:10:25 right now: screen off, wifi on (connected), ssh on and connected (2 connections), bq script logging + calibrate running. no sim, no other apps running Apr 17 16:10:30 seems like a lot of current Apr 17 16:10:39 wifi on power savings mode MAX? Apr 17 16:10:45 AP decent? Apr 17 16:11:05 AP is strong, its 2 feet from the box Apr 17 16:11:16 not sure about power saving mode Apr 17 16:11:35 2 feet might be too close actually, and PSM is not related to distance resp signal strength Apr 17 16:12:40 with screen on max brightness same other situation: Average Current: 564 mA Apr 17 16:12:41 there won't be much of an option other than run the script from local xterm or using `screen` to run it, then disable WLAN Apr 17 16:13:45 42% TTE: 77 minutes Apr 17 16:13:46 WLAN without proper PSM might easily eat 200mA according to http://wiki.maemo.org/N900_Hardware_Power_Consumption Apr 17 16:13:59 something isnt going right thats for sure lol Apr 17 16:14:06 going to switch to another AP Apr 17 16:14:14 or not, it will kill the scripts Apr 17 16:14:34 :nod: Apr 17 16:14:50 unless you used nohup or screen Apr 17 16:15:21 Linkandzelda_: did you check with wlan off? Apr 17 16:15:28 there won't be much of an option other than run the script from local xterm or using `screen` to run it, then disable WLAN Apr 17 16:16:00 s/using `screen`/using nohup or screen/ Apr 17 16:16:00 DocScrutinizer05 meant: there won't be much of an option other than run the script from local xterm or using nohup or screen to run it, then disable WLAN Apr 17 16:16:35 ok, except Apr 17 16:16:52 E: Couldn't find package screen Apr 17 16:16:55 WLAN RX (*not* TX) is notorious to eat vast amounts of power Apr 17 16:17:45 http://maemo.org/packages/view/screen-n900/ Apr 17 16:18:12 typical. extras-devel Apr 17 16:19:16 i think i should reflash and just put on the basics Apr 17 16:22:22 DocScrutinizer05: i just enabled extras-devel but it cant find screen still, or screen-n900 Apr 17 16:24:11 http://maemo.cloud-7.de/tmp.txt Apr 17 16:27:11 I told you about enable-catalogs ? Apr 17 16:27:29 http://maemo.cloud-7.de/maemo5/session-log_enable-catalogs_README.txt Apr 17 16:27:54 http://maemo.cloud-7.de/maemo5/usr/local/sbin/enable-catalogs Apr 17 16:28:53 you might not find screen in HAM, it's a cmdline tool which possibly doesn't show up in HAM Apr 17 16:29:09 there are options in HAM to allow that, though Apr 17 16:29:15 ~redpill Apr 17 16:29:16 extra, extra, read all about it, redpill is http://wiki.maemo.org/Red_Pill_mode Apr 17 16:29:27 just use xterm and apt-get Apr 17 16:29:47 might be obsolete meanwhile, CSSU HAM prolly has it enabled by default Apr 17 16:30:07 anyway, use apt-get install to install cmdline tools Apr 17 16:30:08 DocScrutinizer05: /usr/local/sbin/enable-catalogs: trap: line 80: ERR: invalid signal specification Apr 17 16:30:23 and yea i did that using apt-get first Apr 17 16:30:25 hmmm, no bash? Apr 17 16:30:42 yea i have bash Apr 17 16:30:48 did I miss to put the right shebang line in? Apr 17 16:31:28 ok i see Apr 17 16:31:40 changed it to bin/bash Apr 17 16:31:52 thanks for noting it Apr 17 16:32:09 though when i run it, it doesnt output anything other than "copied catalog setting to all" Apr 17 16:32:55 fixed Apr 17 16:33:25 pplease read the --help Apr 17 16:34:16 you fist need to create settings (and save them) before you can restore them Apr 17 16:34:22 first* Apr 17 16:35:04 you're free to name them any way you like, "basic" and "all" are arbitrary names I chosen Apr 17 16:36:43 ok, so i enable the ones i want in ham, then save a profile, then enable others, then save another profile, etc Apr 17 16:37:32 yay for screen Apr 17 16:38:08 yes Apr 17 16:38:21 exactly Apr 17 16:38:33 my battery will be dead in 67 mins Apr 17 16:39:12 and the calibrate script will end Apr 17 16:39:22 isn't your device a little warm already? Apr 17 16:39:49 yea Apr 17 16:39:53 must get warm at this power level Apr 17 16:40:09 could it be the overclock to 805? Apr 17 16:40:12 you started handwarmer app ;-P Apr 17 16:40:16 i imagine it draws more power Apr 17 16:40:19 yes Apr 17 16:40:35 do not overclock! Apr 17 16:41:24 unless you know **exactly** what you're doing, and why (and that should be a really good rationale, like "otherwise the video playback skips frames2) Apr 17 16:42:35 overclocking (app) makes it damn easy to set completely nonsensical parameters, like lock CPU to 800MHz Apr 17 16:43:54 if im not gonna overclock then i guess i have no reason to run kernel-power Apr 17 16:44:29 seen that a bazillion times that users came here whining about their short battery standby time - turned out they did lock CPU to always clocked at insane speed, while it SHOULD auto-adjust clock frequency and go to zeroclock 99%+ of the time Apr 17 16:45:06 hmm, where is fakeroot package? Apr 17 16:45:16 oh, i made sure not to lock it, just raised the max to 805, min still at 250 Apr 17 16:46:10 oh nice, extras devel has tmux as well as screen Apr 17 16:46:22 will these ever make it to the stable repos? Apr 17 16:46:30 answer is: maybe Apr 17 16:46:32 prolly not Apr 17 16:47:00 * Linkandzelda_ is tempted to upgrade everything from extras-devel and see what happens Apr 17 16:47:01 lack of maintainers to promote them, and testers to vote them up in maemo-testing Apr 17 16:47:15 it will break your system Apr 17 16:47:20 Linkandzelda_: do it, you are on the verge of reflashing anyway Apr 17 16:47:35 and its better to risk it now than later Apr 17 16:47:46 there are a lot of broken packages in extras-devel which will replace the perfectly working versions you got now Apr 17 16:48:00 well, at least potentially Apr 17 16:48:12 well Apr 17 16:48:19 i'll let this calibration script end Apr 17 16:48:33 then if i decide to reflash, i will see what happens Apr 17 16:48:34 won't take long, eh? ;-P Apr 17 16:48:46 168 mins if i leave my screen off Apr 17 16:49:11 I suspect your WLAN is borked Apr 17 16:49:42 if you just changed CPUclock-MAX to 800some, nothing too bad should esue from that Apr 17 16:49:47 ensue Apr 17 16:50:04 let me get my kernel profile Apr 17 16:50:39 use zzztop Apr 17 16:51:08 to see what's actually going on with CPU freq, also which process gets most IRQs etc Apr 17 16:51:36 I already spotted you got too many IRQs on I2C iirc Apr 17 16:51:41 http://sprunge.us/AaNJ Apr 17 16:52:30 GOVERNOR=ondemand MAXFREQ=805 looks sane to me Apr 17 16:52:42 no OC expert here Apr 17 16:54:11 zzztop http://sprunge.us/EQEK Apr 17 16:54:16 anyway (h)top and zzztop are your friends Apr 17 16:54:38 C1 | 92.8% BAAAD[TM] Apr 17 16:55:00 500 MHz | 100.0% BAAAD[TM] Apr 17 16:55:25 gg[tm] Apr 17 16:57:00 top or htop should reveal which app gone berserk (if any) Apr 17 16:57:35 load average 0.04 Apr 17 16:57:41 o.O Apr 17 16:57:54 load average: 0.02, 0.07, 0.15 Apr 17 16:57:59 then it's kernel itself Apr 17 16:58:01 basically nothing happening lol Apr 17 16:58:17 swapperd looks fishy to me Apr 17 16:58:43 PID | Activity | task's comm | function Apr 17 16:58:44 -------+----------+-----------------+--------- Apr 17 16:58:46 0 | 344 | swapper | tick_nohz_restart_sched_tick (tick_sched_timer) Apr 17 16:58:56 i saw that yea Apr 17 16:59:14 did you mess with swap settings? or add swap optimization apps? Apr 17 16:59:34 i have that swappolube app Apr 17 16:59:41 (might be a red herring and this is totally normal for swapper) Apr 17 17:00:01 hmm, swappolube shouldn't mess with CPU load too much Apr 17 17:00:23 what's mem usage according to top? Apr 17 17:00:28 and swap usage Apr 17 17:01:26 http://pastebin.com/faznY0TT Apr 17 17:01:52 normal Apr 17 17:01:58 even good I'd say Apr 17 17:02:21 top itself is the highest cpu offender Apr 17 17:02:29 http://paste.opensuse.org/82314150 Apr 17 17:02:35 WLAN it is then Apr 17 17:02:49 so its wlan or kernel Apr 17 17:03:09 check WLAN PSM setting Apr 17 17:03:42 i still dont know how to do that Apr 17 17:03:53 settings -> internet Apr 17 17:04:13 connections Apr 17 17:04:17 edit Apr 17 17:04:42 advanced Apr 17 17:04:45 ok Apr 17 17:04:55 others Apr 17 17:05:04 transmission power 100 mW, power saving on (max) Apr 17 17:05:05 second row Apr 17 17:05:12 max is good Apr 17 17:05:21 your AP might not be compatible Apr 17 17:05:34 any way i can find that out? Apr 17 17:05:37 TX power is basically irrelevant Apr 17 17:05:40 change channel in ap Apr 17 17:05:44 i guess by disconencting and monitoring Apr 17 17:05:50 maybe its just noisy env Apr 17 17:05:56 hmm, this is very hard to find out, afaik Apr 17 17:06:24 yes, disabling WLAN and checking power during that is the easiest way to spot the culprit Apr 17 17:06:28 channel is 11 Apr 17 17:06:33 irrelevant Apr 17 17:06:34 try 6 and 1 Apr 17 17:06:53 iwlist scan could help if it was supported, but you can check on laptop Apr 17 17:07:04 i'll change that stuff later, since its gonna boot me out and scripts will die, not sure how to move them into a screen when they are running Apr 17 17:07:17 serach interval in first menu is relevant as long as you're _not_ connected to AP Apr 17 17:07:30 that one is set to 10 mins Apr 17 17:07:31 you can't Apr 17 17:07:37 10min ok Apr 17 17:07:45 yea, didnt think so (re:screen) Apr 17 17:07:49 30 min better, but... who would want that Apr 17 17:08:50 you can assume each $interval time the WLAN will go active searching for APs to connect to, for at least 60s, and eats lots of power (200mA) during that time Apr 17 17:09:13 well thats useless if im always on the same AP right Apr 17 17:09:42 yes, irreleavnt when you are always connected. Relevant as soon as you leave range of the AP though Apr 17 17:10:50 when WLAN is connected to an AP, it won't search for other APs, basically. It's already active all the time and only PSM allows it to go inactive Apr 17 17:11:22 99% of time inactive, between one beacon and next, of AP Apr 17 17:11:38 you could try PSM: medium Apr 17 17:12:00 sometimes yields better results with borked APs than PSM: max Apr 17 17:12:24 changing it will work if im still connected without booting me? Apr 17 17:12:36 that's why PSM is a per-connection setting Apr 17 17:12:42 yes, works Apr 17 17:12:45 ok Apr 17 17:13:08 it should just reconnect you instantly, which will go unnoticed by ssh Apr 17 17:13:52 ok it changed Apr 17 17:13:57 my ssh sessions survive 30 minutes out-of-flat ;-) Apr 17 17:13:58 gave me a power warning Apr 17 17:14:29 quite amazing to come home and see your ssh session simply resuming Apr 17 17:14:41 for survival of ssh sessions see: mosh Apr 17 17:14:42 that is quite good, how is that possible Apr 17 17:15:03 ssh doesn't do much keep-alive to detect 'packet loss' Apr 17 17:15:43 so it's just like pulling your ethernet cable from your PC for a few seconds Apr 17 17:15:53 nothing really bad will happen Apr 17 17:16:21 Average Current: 234 mA Apr 17 17:16:26 for the TCP stack it's just like arbitrary packet loss, worst case Apr 17 17:16:53 screen on Average Current: 557 mA Apr 17 17:16:55 I'd not bet important limbs on this PSM change taking immediate effect Apr 17 17:17:07 thats ok Apr 17 17:17:38 what bonehead made git depend on busybox? Apr 17 17:18:28 first go do the `nohup/screen bq27200.sh >> batlog.txt` test and disable/disconnect WLAN, tomake sure it's WLAN at all Apr 17 17:18:51 what's your AP brand/model? Apr 17 17:18:59 what about calibration script? Apr 17 17:19:05 it will die in 20 mins Apr 17 17:19:24 the make and model, its a tp link.. something Apr 17 17:19:31 finish the calibration, then you're done with calibrating anyway Apr 17 17:19:46 is it safe to reflash after calibrating? Apr 17 17:19:51 hmm, seen crappy tplink models, inded Apr 17 17:20:01 seen semi-good ones too Apr 17 17:20:08 TP-LINK TL-WDR3600 N600 Wireless Dual Band Gigabit Cable Router Apr 17 17:20:58 sorry, can't comment. Maybe try aunt google, "$AP-model powersavings" Apr 17 17:22:28 you might want to make sure the AP doesn't send more than one beacon per second Apr 17 17:23:08 beacon interval is 100 Apr 17 17:23:41 http://www.techworld.com/mobile/a-guide-to-wi-fi-power-save-technologies-4103/ Apr 17 17:23:54 will this slow it down if thats changed? Apr 17 17:24:26 also something funny, if i dont refresh the bq script its Average Current: 172 mA Apr 17 17:24:39 100ms/beacon is still tolerable Apr 17 17:24:41 then if i go and use wifi ssh it jumps to 350+ Apr 17 17:26:50 it will die any minute so i'll disable wifi when it does and will find out the current Apr 17 17:27:31 I suspect a cablemodem WLAN router will use all sorts of bandwidth maximation techniques, neglecting any powersaving Apr 17 17:28:52 the typical usecase for such AP is to sport WLAN linked internet TV sets etc Apr 17 17:29:46 which do not need to bother about powersaving Apr 17 17:30:59 makes sense Apr 17 17:31:11 I suggest you run bq27200.sh|tee -a batlog.txt from a device-local xterm Apr 17 17:32:19 I even have an icon for that ;-) Apr 17 17:32:52 ok, i will kill the ssh one then Apr 17 17:34:45 im running it now in a screen Apr 17 17:34:57 http://paste.opensuse.org/50969901 Apr 17 17:35:31 i need to make a script create-screen-if-not-exists Apr 17 17:36:15 ? Apr 17 17:36:24 then when i open the icon it will connect to the screen if its existing, or it will make a new one and run the logger automatically in the screen Apr 17 17:36:30 screen the command? Apr 17 17:36:30 anyway, i think it just died Apr 17 17:36:33 yea Apr 17 17:36:40 sorry, gnu screen i usually call it Apr 17 17:36:51 I think screen has an option that does exactly that already Apr 17 17:37:04 then i can have another window in that which tail -f batlog Apr 17 17:37:41 i'll fiddle with that later, im going to disable wifi now Apr 17 17:37:56 -D -R Attach here and now. In detail this means: If a session is running, then reattach. If necessary detach and logout remotely first. If it was not running create it and notify the user. This is the author’s favorite. Apr 17 17:38:28 that sounds so good, i should read man pages more often Apr 17 17:40:10 i just turned off wifi and the device reset itself Apr 17 17:40:49 yeah, you also might want to get man-db-n900 Apr 17 17:40:51 ;-) Apr 17 17:43:00 seems current now is really low Apr 17 17:43:08 25-50 mA max Apr 17 17:43:09 plus nuke that silly docpurge, see ~jrtools Apr 17 17:43:17 that's better :-D Apr 17 17:43:29 is it normal for current to be low after a reboot? Apr 17 17:43:46 err, it's always normal for current to be low ;-D Apr 17 17:43:54 ok Apr 17 17:44:04 oh, and, it didnt apply my OC settings Apr 17 17:44:05 Linkandzelda_: your normal current should be ~10mA Apr 17 17:44:19 its 13 mA now Apr 17 17:44:20 (n900 idle, gsm on but idle, wifi off) Apr 17 17:44:29 that's normal now! Apr 17 17:44:34 shall i wait a bit more or enable wifi? Apr 17 17:44:41 that's what I'd mandate Apr 17 17:44:55 well, wait a bit more, then enable wifi Apr 17 17:45:08 ok Apr 17 17:45:12 you'll see current go through the roof Apr 17 17:45:19 I bet Apr 17 17:45:26 i need to go away, will be back to enable it in 1-2 hours Apr 17 17:45:32 will let it charge up a bit too Apr 17 17:45:39 better that Apr 17 17:45:57 btw what's your LMD now? Apr 17 17:46:55 seems your battery is in quite good condition i'd say Apr 17 17:47:03 current raised to 135 Apr 17 17:47:12 and its 1193 LMD now Apr 17 17:49:23 113 on max brightness, normal? Apr 17 17:49:31 it will get higher Apr 17 17:49:39 but yeah Apr 17 17:50:41 depends on ambient light, might even be higher Apr 17 17:51:08 ~power Apr 17 17:51:08 power is, like, http://wiki.maemo.org/N900_Hardware_Power_Consumption Apr 17 17:51:09 [18:44:05] Linkandzelda_: your normal current should be ~10mA <- this would be with screen off? Apr 17 17:51:18 yes Apr 17 17:51:19 yes Apr 17 17:51:26 ok makes sense Apr 17 17:51:39 then it has to be wifi i guess, only logical explanation in this case Apr 17 17:51:51 yes Apr 17 17:51:53 remember, crowded channels will wake the chip more often Apr 17 17:52:10 i had xchat off the whole time before Apr 17 17:52:25 oh, wait, my bad Apr 17 17:52:30 wifi channels.. Apr 17 17:52:34 that's why i suggested scanning (can be with your lappy) to check which part of the radio is a bit freeer Apr 17 17:52:46 hmm? Apr 17 17:53:03 and then i pick a free channel that other networks are not using much of? Apr 17 17:53:15 hmm?? Apr 17 17:53:20 usually your options are limited to 1/6/11 Apr 17 17:53:32 otherwise you get noise no matter what Apr 17 17:53:42 you're talking to somebody about setting up your AP? Apr 17 17:54:31 current down to 32 Apr 17 17:55:29 going to check out the other networks here Apr 17 17:56:41 they are all using 1/6/11, both mine are using 11 and 10 Apr 17 17:56:56 um Apr 17 17:57:05 using 10 and 11 is not that wise Apr 17 17:57:26 i mean close channels interfere each other Apr 17 17:57:27 i'll flip one of them over to 1 then Apr 17 17:59:01 dunno what you're doing but keep in mind you need a 2 free channels distance gap between used channels on WLAN, usually. Better 3 Apr 17 17:59:16 god dammit, i have 3 APs in this place that belong to me Apr 17 17:59:59 ok, disabled one Apr 17 17:59:59 just use 1 with guest/alt essids? some APs support multiple networks on single channel Apr 17 18:00:24 WLAN can cope with interferences but to avoid interferences and thus maximize bandwidth you need a gap to next used channel, left and right Apr 17 18:01:08 wifieye app in N900 shows this very nicely Apr 17 18:01:33 channel 1 is very crowded Apr 17 18:01:39 6 has 3 on it Apr 17 18:01:49 11 has 4 Apr 17 18:01:54 not sure how else to do this Apr 17 18:02:01 use 6 and 11 then Apr 17 18:02:19 http://my-maemo.com/software/applications.php?fldAuto=1241&faq=37 Apr 17 18:02:29 does range matter in interference? Apr 17 18:02:34 yes Apr 17 18:02:35 yes Apr 17 18:02:37 of course Apr 17 18:02:46 too close and you get noise too Apr 17 18:02:48 ok, all the ones in channel 1 are weak Apr 17 18:02:56 that's good Apr 17 18:03:17 channel 6 has some ones that are stronger than the ones in my own house Apr 17 18:03:22 hehe Apr 17 18:03:25 so i guess i'll go with 1 and 11 Apr 17 18:04:04 ok, looking good Apr 17 18:04:29 install wifieye, I can recommend it. nice app Apr 17 18:04:35 i will grab it Apr 17 18:04:43 when i next turn on wifi Apr 17 18:04:54 current is at 184 now with screen on Apr 17 18:05:09 ~power Apr 17 18:05:09 power is, like, http://wiki.maemo.org/N900_Hardware_Power_Consumption Apr 17 18:05:36 i have the list Apr 17 18:06:42 WLAN on - no powersave - 200 mA Backlight on max +150 mA Apr 17 18:06:47 = 350mA Apr 17 18:07:26 im going to turn on wifi Apr 17 18:07:44 without WLAN (or WLAN in working PSM) it's +150 mA for backlight plus some 10 to 20 for rest of system Apr 17 18:09:18 http://wiki.maemo.org/Wifi_power_saving_mode Apr 17 18:10:57 i have advanced interface switcher, i noticed there's 2 modes for wifi. stock and bleeding edge? Apr 17 18:11:49 whatever that is? Apr 17 18:11:58 not sure what it is Apr 17 18:12:14 maybe someone packaged some different wifi driver Apr 17 18:12:39 im leaving wifi on with screen off, will be back later Apr 17 18:17:30 please forget advanced interface switcher or any similar tools Apr 17 18:19:40 I don't see what for you'd need that anyway, you can switchinterfaces with the standard maemo means Apr 17 18:20:24 al this supposedly leete stuff messes with maemo internals in a very obscure way and usually causes problems Apr 17 18:24:58 BT and USB should show up in your list of connections to choose from, when installed Apr 17 18:25:24 no reason to use any interface switcher for that Apr 17 18:26:00 GPRS and all WLAN connections show up in same list by default Apr 17 18:26:48 the only switchers I consider useful are 2G/3G and TabletMode Apr 17 18:27:40 and I made me a QueenBeecon applet to switch on/off WLAN auto-connect Apr 17 18:28:37 mainly to stop the dropouts while listening to music via BT, that are caused by coexistence when WLAN searches for APs every 5 or 10 minutes Apr 17 18:40:48 funny how it took me years to finally realize the audio dropouts only happening while not connected to my home AP, and in an interval exactly same as the WLAN search period configured in networks Apr 17 18:57:27 * DocScrutinizer05 could figure just *one* interface handler app that's lacking and might be useful: reconfiguring GPRS to have none or invaid APN so the modem doesn't connect to GPRS connectivity at all, when you go 2offline" by whatever criteria manually or automatic. Since there's no other way to stop inbound traffic via GPRS, except going completely airplane-mode aka off with the modem, which would also block regular calls and SMS. Apr 17 18:57:50 invalid* Apr 17 18:58:27 s/2/"/ Apr 17 18:59:45 however *beware and steer clear* of auto-disconnect app. I don't know what it does exactly, but I know it's notorious to mess up your system, causes troubles, and doesn't deinstall cleanly so you need to reflash to get rid of it Apr 17 19:00:46 frals: how would you reconfigure (or switch) the APN of modem? Apr 17 19:14:15 or otherwise shut down the GPRS connection (PDU?) Apr 17 19:18:47 err PDP? Apr 17 19:19:28 https://en.wikipedia.org/wiki/GPRS_core_network#PDP_context Apr 17 19:22:55 frals: iirc you said BB5 modem supports up to 3 PDP contexts. How would I switch between them, resp activate/deactivate one context (aka 'create a session'?) Apr 17 19:24:30 someone should tell him he is talking in the wrong channel Apr 17 20:00:29 DocScrutinizer05: seems everything idle screen off + wifi = 350 mA current Apr 17 20:01:46 yes, your wifi is "borked" Apr 17 20:02:13 hmm, check wifi power management, on the device that is Apr 17 20:02:14 now since i turned on the screen, its down to 186 for the last 2 mins Apr 17 20:02:39 freemangordon: been there done that :-) Apr 17 20:02:45 ah, ok Apr 17 20:02:50 its ad medium now, i could put it back? Apr 17 20:03:32 you need to compare, but honestly I guess you're out of luck unless you get better AP or reconfigure the one you have Apr 17 20:03:49 this is funny Apr 17 20:04:13 http://sprunge.us/CZFD Apr 17 20:04:28 http://www.techworld.com/mobile/a-guide-to-wi-fi-power-save-technologies-4103/ is realy worth a read Apr 17 20:04:54 21:12 is when i went afk and left the screen off Apr 17 20:05:06 22:59 is when i returned Apr 17 20:05:20 check the figures there, its idling at 350 but when im using it its lower Apr 17 20:05:35 sense isnt made, unless im looking at the wrong column Apr 17 20:06:27 you're aware that negative mA are DIScharge while positive are charging? Apr 17 20:06:50 yea Apr 17 20:07:01 wait Apr 17 20:07:04 and this is just battery, not complete system Apr 17 20:07:14 its charging now since earlier Apr 17 20:07:37 its 68% Apr 17 20:07:50 i thought this was how much current was being used Apr 17 20:08:02 so really i should not charge it Apr 17 20:08:11 to get accurate figures? Apr 17 20:08:30 so 21:10 and 21:11 you either disconnected charger or system drew more power than charger been able to deliver, so it used battery to fill in Apr 17 20:08:49 yes, this is plain battery current Apr 17 20:09:16 system and charger are 'on the one end' and battery 'on the other end' Apr 17 20:09:20 oh, so the higher the positive number while charging the less usage? im getting overly confused Apr 17 20:09:30 basically yes Apr 17 20:09:50 then i'll leave it to charge 100% and take it off power Apr 17 20:09:58 then will messure how much current it pulls Apr 17 20:10:01 while charging you can't tell about system power consumption Apr 17 20:10:17 i should have known that earlier, that was a waste of time lol Apr 17 20:10:45 it's the battery gauge, not the system power monitor Apr 17 20:11:11 sorry I wasn't clear about that Apr 17 20:12:47 its no problem, i learn new things every day with this device Apr 17 20:13:06 so a mA of 0 is no charge and no discharge Apr 17 20:13:27 yes Apr 17 20:13:36 so with brightness full + wifi i'd expect a -350 mA? just want to confirm that Apr 17 20:13:42 and still the system may be on Apr 17 20:13:54 yes Apr 17 20:14:00 ok Apr 17 20:14:11 i will look out for the numbers its discharging at then Apr 17 20:14:16 after it charges Apr 17 20:14:27 when not connected to charger (or calibrate script disabled charger) Apr 17 20:14:28 and for some reason my clock is 2 hours fast Apr 17 20:14:47 timezone? Apr 17 20:14:55 GMT Apr 17 20:14:58 its my error Apr 17 20:15:11 i must have put in the time 2 hours fast.. somehow Apr 17 20:15:44 possible. Or you changed TZ after setting time Apr 17 20:17:04 its set correctly now Apr 17 20:19:41 good luck! :-) Apr 17 20:20:23 ps: I had a linksys wrt54g AP and it worked just fine with N900 PSM Apr 17 20:21:13 recently Fritzbox 7490 which also seems to work fine, though I didn't test too thoroughly Apr 17 20:21:37 ooh, the linksys ran ddWRT Apr 17 20:21:54 i have a dlan av 500 as my second AP Apr 17 20:22:05 no idea about its internals Apr 17 20:22:16 but after i try this when its discharging Apr 17 20:22:23 i'll try that AP as well Apr 17 20:23:32 good plan Apr 17 20:24:41 aunt google may also help to find reports about configuring (or failing to) PSM on your cablemodem router Apr 17 20:25:24 i did a quick check earlier, didnt find anything useful Apr 17 20:26:00 possibly not easy, try finding out about the WLAN chip it uses, then search for that plus PSM Apr 17 20:26:35 it's quite adavnced research topic ;-) Apr 17 20:27:01 99.9% of users never even heard of PSM Apr 17 20:36:10 especially if they use Android/iOS/WP .. OSes that don't encourage learning Apr 17 20:37:31 ...and tend to shut down all connections immediately whenever you lock the screen ;-) Apr 17 20:40:44 apparently they don't anymore Apr 17 21:06:23 iOS sucks, and android is boring Apr 17 21:06:50 91% charged, almost ready to pull the plug Apr 17 21:42:08 yay 100% Apr 17 21:42:22 DocScrutinizer05: time for me to monitor discharge Apr 17 21:50:14 DocScrutinizer05: idle, wifi on, no sim, screen off = -10/12 mA Apr 17 21:51:05 sounds decent Apr 17 21:54:59 screen on same situation = -196/234 mA Apr 17 21:55:06 seems normal Apr 17 21:55:14 right? Apr 17 21:56:42 yes Apr 17 21:57:54 then whats the typical screen on time/tte with screen on + wifi? Apr 17 21:58:01 screen 80 + BL 150 Apr 17 21:58:38 that depends *massively* on brightness you've set, and possibly ambient light Apr 17 21:58:52 max brightness Apr 17 21:59:03 how do i turn off ambiant light or stop that processing? Apr 17 21:59:08 Backlight on max +150 mA, +40mA on 4 of 5 steps in simple brightness applet & low ambient Apr 17 21:59:42 you basicall it's automatically off with brightness at level 5 (max) Apr 17 22:00:14 on levell4, see above Apr 17 22:00:26 i see Apr 17 22:00:48 well standby TTE is good, 6.3k mins Apr 17 22:00:57 sounds OK Apr 17 22:00:58 on is between 300-360 Apr 17 22:01:12 5-6h sounds normal, yes Apr 17 22:01:18 so 5-6 hours of usage Apr 17 22:01:29 i guess with xchat and other processing, it would drop to 3-4 Apr 17 22:01:34 no Apr 17 22:01:41 xchat is pretty lighweight Apr 17 22:01:43 gonna turn on xchat and see Apr 17 22:02:18 http://wiki.maemo.org/N900_Hardware_Power_Consumption >>xchat 8 freenode chan, wifi PSM medium, screen locked:<< (author: me) Apr 17 22:02:35 test Apr 17 22:02:48 ok it works Apr 17 22:03:16 wait a minute and I'll provide a live log with PSM max Apr 17 22:04:50 tte dropped to 150-180 with just xchat Apr 17 22:04:56 00:04 4173 100 100 -15 1028 1028 1028 65535 4044 27 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0 Apr 17 22:04:57 00:04 4171 100 100 -16 1027 1027 1027 65535 3655 26 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0 Apr 17 22:06:40 finally Apr 17 22:06:44 my nick Apr 17 22:07:04 http://paste.opensuse.org/45143997 Apr 17 22:07:26 is that with stuff active? unplugged? screen on? xchat? wifi? Apr 17 22:07:42 how lol Apr 17 22:07:47 locked, wifi PSM Apr 17 22:08:05 of course unplugged Apr 17 22:08:28 xchat see ps Apr 17 22:09:15 some 9 channels Apr 17 22:09:31 via ZNC Apr 17 22:09:40 picked out the last minuytes and put it here with comments http://paste.opensuse.org/86715382 Apr 17 22:09:50 GSM standby on 3G Apr 17 22:10:25 brightness level? Apr 17 22:10:38 locked Apr 17 22:10:53 IOW screen off Apr 17 22:11:14 then i guess i need to reflash, something is eating something for sure Apr 17 22:11:23 hmm? Apr 17 22:11:34 you got a decent 10mA with screen off Apr 17 22:11:42 yes, thats good Apr 17 22:11:45 just on isnt so good Apr 17 22:11:54 3 hours of xchat lol Apr 17 22:12:11 it dropped 5% just since i opened xchat Apr 17 22:12:13 meh, when screen is on, any active app will refresh the screen, so that eats more CPU Apr 17 22:12:43 going to switch away from xchat and see if leaving it on the desktop changes much/anything Apr 17 22:12:53 for your convenience I'll enable scree on Apr 17 22:12:56 then i'll change to my second wifi, see if it makes any difference Apr 17 22:13:02 screen on? Apr 17 22:17:08 http://paste.opensuse.org/61422185 Apr 17 22:17:34 this is with WLAN PSM:max Apr 17 22:17:54 different PSM mode can have massive impact Apr 17 22:19:03 hmm, so the first paste is screen off? Apr 17 22:19:04 PSM max means the WLAN goes sleeping 200ms after a dat transmission (of which there happen a few with xchat). PSM medium means it takes 1000ms until WLAN goes sleeping Apr 17 22:19:25 locked means screen off, yes Apr 17 22:20:06 ok Apr 17 22:20:14 now your numbers make more sense Apr 17 22:21:09 im going to switch back to max psm Apr 17 22:23:51 note that there are also other parameters regarding diplay which may have impact on screen-on consumption, like display energy saving, in conjunction with the actual colors and brightness your display shows Apr 17 22:24:24 plus, for xchat, there are a few meters that get constantly updated and could save some CPU when disabled, iirc Apr 17 22:25:20 what does display power saving mode do? just noticed i have it disabled Apr 17 22:25:28 plus my ZNC bouncer might bundle several small packages into one larger transmission, thus causing less frequent wake from sleep for my WLAN Apr 17 22:25:41 well, i have ZNC as well Apr 17 22:25:53 it adjusts backlight brightness according to display content Apr 17 22:26:01 i see Apr 17 22:26:24 when your display is all black, no need to power backlight at full vroom Apr 17 22:27:15 when all is dim white, you dim backlight and make content full transparent/white Apr 17 22:28:09 when you use different font and bg colors, this will have very subtle effects on BL power consumption Apr 17 22:28:36 NB it's the brightest little pixel in the whole display that counts Apr 17 22:28:57 BL needs to be bright enough to make that one pixel shine Apr 17 22:29:23 switch off that one pixel to black and the BL will dim accordingly Apr 17 22:30:33 iirc there's a still and a movie mode, don't ask me what's the exact difference Apr 17 22:30:54 does it have an effect on level 5? Apr 17 22:30:58 anyway both conserve backlight energy Apr 17 22:31:02 yes Apr 17 22:33:23 no matter which brightness you've chosen, black is black. So when your complete display has black content, the BL will dim anyway since no light is supposed to come out no matter what Apr 17 22:35:00 makes no sense to keep on the lights when you cover the lamp with a black curtain, eh? Apr 17 22:36:31 makes sense Apr 17 22:36:42 we hw engineers are smart, we implöement stuff you never thought of ;-) Apr 17 22:39:05 heh Apr 17 22:39:18 btw, does your xchat sound script obey the profile settings? Apr 17 22:39:26 yes Apr 17 22:39:30 at least silent Apr 17 22:39:32 useful Apr 17 22:39:47 i wanted to make a new profile for no-chat sounds but the rest Apr 17 22:39:48 it's not my script but maemo at large that does Apr 17 22:40:01 so when i have xchat running and i have irc on my computer, the phone doesnt buzz Apr 17 22:40:23 then i just switch profile when i want notifications Apr 17 22:40:45 hmm, you might query the profile setting from (prolly) gconftool and decide whether to play a sound or not, in my script Apr 17 22:41:15 should be easy enough Apr 17 22:41:49 ok, then i'll mess with that at some point Apr 17 22:44:06 /system/tweakr: Apr 17 22:44:07 current-preset = dfltLaut Apr 17 22:44:25 you want tweakr for that, to create new profile Apr 17 22:47:16 IroN900:~# gconftool --get /system/tweakr/current-preset Apr 17 22:47:17 dfltLaut Apr 17 22:48:16 gconftool -R /system/tweakr Apr 17 22:49:46 if [ `gconftool --get /system/tweakr/current-preset` != no-xchatsound-profile ]; then playsound $1; fi Apr 17 22:49:58 sth along that line Apr 17 22:50:12 or even Apr 17 22:50:31 if [ `gconftool --get /system/tweakr/current-preset` == no-xchatsound-profile ]; then exit; fi Apr 17 22:51:15 that's from maemo with love ;-) do that on any other phone! Apr 17 22:52:48 nice! Apr 17 22:53:53 http://paste.opensuse.org/15825398 gconftool -R /|less Apr 17 22:55:50 I bet there's even a way to augment all profile settings by an item "[x] xchat allowed to make noise in this profile", but that's somewhat more evolved Apr 17 22:57:08 * DocScrutinizer05 wishes he had actually implemented his general profile framework, back when Apr 17 22:58:03 sth that not only tweaks a few sound levels but also tweaks virtually everything you'd want, starting from brightness to themes etc Apr 17 22:59:36 sounds like something useful Apr 17 23:00:48 yes, it prolly would have been mad useful Apr 17 23:01:03 wondering if its worth doing a reflash now or not Apr 17 23:01:17 I don't see a reason for a reflash Apr 17 23:01:38 i'd be better to just uninstall all the stuff i dont really need Apr 17 23:03:47 and just to clarify, im still not sure on the best procedure to go when working with extras devel Apr 17 23:15:03 extras-devel: find an app you want, ideally in ~pkg, then enable-catalogs extras-devel, install the app package via HAM (or via apt-get if it's cmdline stuff), do enable-catalogs default Apr 17 23:15:15 ~pkg Apr 17 23:15:23 ~pkgs Apr 17 23:15:28 grrr Apr 17 23:17:04 alternatively you first enable extras-devel, search the app inside HAM, install it, disable extras-devel. DO NOT UPDATE (all) in HAM while extras-devel enabled Apr 17 23:17:17 ~pkg Apr 17 23:17:18 i guess pkg is http://maemo.org/packages/ Apr 17 23:17:36 so i should use that site to search for available stuff that i might want Apr 17 23:17:45 yes Apr 17 23:17:48 ideally Apr 17 23:17:58 or use HAM as mentioned above Apr 17 23:18:11 just in the latter case DO NOT UPDATE Apr 17 23:19:14 HAM will show you quite a number of packages that have updates, as soon as you enable extras-devel. You usually don't want those Apr 17 23:20:03 just install what you really want and immediately disable extras-devel catalog again, without updating those other packages Apr 17 23:20:22 ok Apr 17 23:24:14 don't get me wrong, there are also fine updates for some packages in extras.devel. Just that's not warranted by anybody or anything. So for each package you get from extras-devel you need to really know why you fetch it from there and not use a older version in maemo-extras instead Apr 17 23:24:52 the maemo-extras packages are supposed to be stable, the extras-devel packages are possibly hazardous Apr 17 23:25:09 ~extras-devel Apr 17 23:25:09 i guess extras-devel is http://wiki.maemo.org/Extras-devel **** ENDING LOGGING AT Mon Apr 18 02:59:58 2016