IRC log for #maemo-ssu on 20120805

01:14.33*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.141)
01:41.00*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
02:26.34*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
02:28.56*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
04:37.49ShadowJK_DocScrutinizer; charging completely after discharge is not necessary
04:38.34ShadowJK_and you probably want to grep for TTE
04:38.52ShadowJK_oh, they're on same line
04:39.54ShadowJK_kerio; I calibrate at a "normal" load, something like 300mA when reaching 3248mV
04:40.47ShadowJK_Against that calibration, lighter loads will run longer, and heavier loads might suddenly jump from 10% to 6% at the end
04:41.00ShadowJK_depending on how good/worn the battery is
04:52.18*** join/#maemo-ssu ThreeM (~DonJohnso@cassiopeia.uberspace.de)
06:54.04kerioShadowJK_: hm
06:54.33keriowon't 300mA for 15s make bme shut down the phone, though?
06:57.39*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.141)
07:45.21*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.141)
08:27.45*** join/#maemo-ssu NIN101 (~NIN@p5DD298A5.dip0.t-ipconnect.de)
08:44.20*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
09:17.24DocScrutinizer05ShadowJK_: right, last message is BS
09:18.25DocScrutinizer05kerio: bme won't do anything, it's stopped
09:20.51DocScrutinizer05kerio: and while mine made some funny noise on starting it again after finishing calib cycle at EDV1, it still started charging right away and did NOT shut down, as you can see in http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.session.log
10:15.38*** join/#maemo-ssu arcean (~arcean@aafr218.neoplus.adsl.tpnet.pl)
11:02.08*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
11:09.58kerioDocScrutinizer05: hm
11:10.05keriok
11:10.13DocScrutinizer05re-hmmm
11:10.21keriostill, charge21 is cooler
11:10.24kerio>:)
11:10.32DocScrutinizer05cooler than what?
11:10.42keriothan bme
11:11.24DocScrutinizer05one thing's for sure, YOU are lame! ;-) otherwise you'd rename (or symlink) charge21.sh to bme if you like it so much
11:11.56kerioi'm waiting for pali to release the userland for his charging module
11:12.15DocScrutinizer05I'm not interested in what you're waiting for
11:12.28kerioyou're mean :(
11:12.47DocScrutinizer05heads out for another coffee, since IRC once again has negativism as an answer to contribution
11:13.05kerioanyway, i suppose that enabling bme *right after* edv1 turns on would make it work
11:13.36DocScrutinizer05dafaq it does, I tested it
11:13.43kerioyou tested it once
11:13.58DocScrutinizer05and you?
11:14.13keriostill 0, will probably test it this night
11:14.48DocScrutinizer05btw what makes you think I tested that all *once*? :-o
11:15.20keriotwice? thrice?
11:15.21DocScrutinizer05I'm fuzzing with bq27200, bq24150 and bme since, err >2 years now
11:15.31kerioi meant that script
11:15.48DocScrutinizer05oh yeah, my very first script I wrote in my life
11:16.26DocScrutinizer05"did you use THAT VERY '1' for your last time you calculated '1+1=2'?"
11:22.09DocScrutinizer05kerio: look, I'm "the master of charging and boostmode", and I wrote that script off top of my head and it worked instantly on first shot, not even a typo, just a nonsensical final echo "BS message"
11:22.36DocScrutinizer05and I tested it and it worked
11:22.52DocScrutinizer05what else got you to critisize?
11:25.24DocScrutinizer05kerio: since I wrote that whole script just for you:
11:25.28DocScrutinizer05[2012-08-04 23:31:47] <kerio> no, i'm talking about bq27200
11:25.29DocScrutinizer05[2012-08-04 23:31:55] <kerio> http://talk.maemo.org/showpost.php?p=1053809&postcount=846 here's a guide
11:25.52DocScrutinizer05I thought I'd get a tad better words than "meh, bme is lame!"
11:26.15DocScrutinizer05ohwell
11:27.13DocScrutinizer05if you're too lame to tell me you want to use it for charge21.sh, then oh my not me to blame
11:27.36DocScrutinizer05I'd write same script for charge21.sh in same time, and it works same way
11:41.51DocScrutinizer05btw you should check for most recent version before using it
11:43.34DocScrutinizer05still shakes head about how and why bme would shut down device rather than starting to charge immediately, when started at low battery and charger plugged in
11:45.17DocScrutinizer05would probably result in really nasty deadlock when plugging in a shutdown device with flat battery, as bme on getting started would immediately shut it down again, thus stopping charging before it began
11:45.47DocScrutinizer05begun?
11:46.06BCMMhas transitions.ini moved or something? my /usr/share/hildon-desktop/transitions.ini has forcerotation = 0 but i still need to lock landscape mode to stop it rotating things like camera-ui
11:47.05BCMM... naturally, i can't reproduce this behaviour now taht i've typed it in to IRC
11:47.13DocScrutinizer05forcedrotation is not allow-gui-rotate
11:47.26BCMMDocScrutinizer05: ?
11:47.39DocScrutinizer05frankly camera-ui down't need any forcing to rotate
11:47.48DocScrutinizer05doesn't*
11:47.53BCMMforcedrotation rotates apps that don't mark their windows as rotatable, unless they are on hte blacklist, right?
11:48.06DocScrutinizer05something like that
11:48.18BCMMDocScrutinizer05: wait, camera-ui (cssu version) rotates of its own accord?
11:48.43DocScrutinizer05camera in cssu-t is nikocam that probably does mark window as rotating
11:48.57BCMMwhy would it do that?
11:49.02BCMMalso, fcamera has had the same problem
11:49.08DocScrutinizer05because it's written like that
11:49.25DocScrutinizer05so what was your question?
11:49.48DocScrutinizer05why forcedrotation=0 doesn't stop apps from rotating? because it's not defined to do that
11:50.14BCMMi *think* that non-rotating apps have been (intermitently) rotating as if forced
11:50.20BCMMincluding apps that are on my blacklist
11:50.55DocScrutinizer05well, I don't use blacklist since I hate rotation
11:51.13DocScrutinizer05I use gui-can-rotate=0 (or similar)
11:51.24BCMMDocScrutinizer05: what's that do? landscape lock?
11:51.31DocScrutinizer05so for details you better ask somebody else
11:51.43DocScrutinizer05yes, basically landscape lock
11:51.49BCMMalso, my tile_font entry doesn't seem to be honoured, so I was wondering if it didn't like my transitions.ini in general
11:52.15DocScrutinizer05quite possible, transitions.ini has changed a bit
11:52.33BCMMwell i'll start again from the default version and edit again i guess
11:52.40DocScrutinizer05good plan
11:52.51DocScrutinizer05also see changelog and faq and features wiki
11:52.52BCMMis that what transitions.ini.dpkg-dist in the same directory is?
11:53.12DocScrutinizer05nfc
11:53.58merlin1991BCMM: start with http://gitorious.org/community-ssu/hildon-desktop/blobs/master/data/transitions.ini as a base
11:53.59BCMMhmm. then what is the dpk or apt command to restore default configs?
11:54.06BCMMmerlin1991: ah, thanks. will do!
11:54.27BCMMuh, if that's from git, won't it be for a potentially newer version that what i have?
11:54.56merlin1991nope, there have been no changes to it in ages
11:55.14BCMMmerlin1991: is it actually maintained?
11:55.38BCMMcause i've had a way to trigger a hildon-desktop crash for ages
11:55.42merlin1991well arcean still hacks on hildon-desktop, but there were no changes on the transistion.ini since quite some time
11:55.57merlin1991BCMM: and where is the friggin bug report about that?
11:56.07merlin1991those are things we'd like to know :D
11:56.08BCMMmerlin1991: i'll look it up
11:56.39BCMMmerlin1991: it may not have helped that somebody else had already posted it, but really vaguely
11:56.50BCMMnot quite vaguely enough for it to be sensible to make a new bug instead of commenting
11:57.25merlin1991did go over *all* bugs against cssu at some point in time, but does not remember a vague bug about h-d crashing
11:57.30BCMMmerlin1991: https://bugs.maemo.org/show_bug.cgi?id=12266
11:57.32povbotBug 12266: hildon-desktop crashes when switching from fullscreen application to notification
11:57.55BCMMi believe that the title is inaccurate as explained by my comment
11:58.14BCMMit dates back to MHD before there was a CSSU version of HD
11:58.30merlin1991hm atm firefox is not showing the page :/
11:59.05keriomerlin1991: expired ssl cert
11:59.07kerio:/
11:59.42merlin1991kerio: nah that ain't the problem, silly firefox took 2 minutes to load the page
11:59.56*** join/#maemo-ssu mase76 (~mase76@p5DD39C68.dip.t-dialin.net)
11:59.57BCMMmerlin1991: basically, when you have set gconf key /apps/osso/hildon-desktop/key-actions/ctrl_backspace_in_tasknav to make ctrl-backspace work like alt-tab, then you try to use that with a notification window up (e.g. sms), HD crashes every time
12:01.34merlin1991how the fuck did that bug get past me
12:01.56DocScrutinizer05hah, nice
12:02.13DocScrutinizer05never ran into it, while I too use ctrl-bs like that
12:02.21BCMMDocScrutinizer05: did you just manage to reproduce it?
12:02.25merlin1991blames bugzilla
12:02.31DocScrutinizer05never occured to me to use it while notifier shows
12:02.42DocScrutinizer05not yet tried
12:03.00BCMMDocScrutinizer05: heh, you need to get a mobile provider who spams SMS with special offers and stuff then.
12:03.27DocScrutinizer05BCMM: which type of notifier are we talking about? the temporary one, or the multiline interactive one?
12:03.27BCMMi'm often multi-window browsing with notification i don't want to deal with yet up
12:03.28merlin1991oh, I know why
12:03.37merlin1991it's files as severity enhancement
12:03.37BCMMDocScrutinizer05: i don't know what you mean by hte latter
12:03.44merlin1991s/files/filed/
12:03.57BCMMDocScrutinizer05: but i mean the sort of thing you get for an sms
12:03.59DocScrutinizer05as WUT?
12:04.25kerionot crashing is definetely an enhancement
12:04.26BCMMwhere the top left button lights up and there is a "window" on the switcher
12:04.37DocScrutinizer05hmm, my last sms just left a blinking white square upper left
12:04.42BCMMuh, i just tried to reproduce it and it didn't crash...
12:04.43BCMMthat's a first
12:04.51BCMMsorry, maybe it got quitely fixed
12:05.10DocScrutinizer05I'll try to reproduce it
12:05.25BCMMthis time it just "alt-tabbed" between the real windows i had open and ignored the notification
12:05.30DocScrutinizer05sends sms to self :-/
12:05.53BCMMDocScrutinizer05: woah, i'm stupid, i've been asking my network for my allowance
12:05.57DocScrutinizer05ok, so I won't send that sms
12:05.57BCMMdidn't occur to me to text self
12:06.21BCMMi haven't tested it in a while since i'm just in hte habit of not using alt-tab when there is an "active" task-switch button
12:06.31BCMMbut this is the first time it hasn't killed HD
12:07.11BCMMjust rebooting in case having restarted h-d to apply transitions made a difference
12:10.27BCMMit really isn't crashing for SMS notifications any more. sorry.
12:10.45*** join/#maemo-ssu trx (ns-team@212.200.199.98)
12:11.49merlin1991BCMM: I'll try it when I get back home, but if nobody can reproduce it anymore I'll close the bug report as "works for me"
12:13.34BCMMi wonder how long i've been being careful about alt-tab for for no reason...
12:13.41BCMMi'll just test with some other notifications
12:14.27DocScrutinizer05merlin1991: shall I close ticket?
12:14.38merlin1991DocScrutinizer05: wait a bit
12:14.50merlin1991it might be that it works sometimes
12:14.59DocScrutinizer05BCMM: could you post a comment according to "WFM now"?
12:15.11merlin1991I hate bugs like #12631 the original reporter provided a lot of information, I traced down the problem, we fixed it and now when it's time to confirm the "fixed" he isn't around anymore
12:15.26DocScrutinizer05usual
12:15.46DocScrutinizer05"closing since OP not around. Reopen if due"
12:16.25merlin1991hm I wonder if I've put anybody on 12601
12:16.38DocScrutinizer05what's wrong with povbot?
12:16.45DocScrutinizer05bug 12631
12:16.46povbotBug https://bugs.maemo.org/12631 MonoDevelop app broken after update cssu
12:17.02merlin1991bug like #12631
12:17.13merlin1991bug like 12631
12:17.22merlin1991seems it only triggers on bug $x
12:17.24DocScrutinizer05bugs 12345
12:17.31merlin1991bug 12345
12:17.32povbotBug https://bugs.maemo.org/12345 Miniature's i18n is missing
12:17.34DocScrutinizer05bug #12345
12:17.42merlin1991oh not even with #
12:17.42DocScrutinizer05bug #12348
12:17.43povbotBug https://bugs.maemo.org/12348 Miniature for MeeGo CE doesn't show TextField
12:18.15DocScrutinizer05timeout
12:18.29DocScrutinizer05povbot is semi-intelligent
12:18.30povbotDocScrutinizer05: Error: "is" is not a valid command.
12:18.43DocScrutinizer05only SEMI ;-)
12:19.02DocScrutinizer05bug #12345
12:19.10DocScrutinizer05ooh that long?
12:19.21DocScrutinizer05bug #12346
12:19.22povbotBug https://bugs.maemo.org/12346 Miniature needs a proper repository
12:19.43DocScrutinizer05anyway needs " bug "
12:19.57DocScrutinizer05" bugs " obviously doesn't work
12:20.11DocScrutinizer05back to 12631
12:22.42DocScrutinizer05LOLWUT? * Assertion at mini-arm.c:2881, condition `thumb_supported' not met
12:23.44merlin1991DocScrutinizer05: that was because mono loaded the osso-gnome-vfs lib (which was thumb) but realized by itself that it can not run thumb on our kernel
12:23.57merlin1991which in turn made the assert fail
12:24.00DocScrutinizer05coooolshit
12:24.07DocScrutinizer05;-P
12:24.35DocScrutinizer05mono is great, isn't it (me heads out puking a bit)
12:31.58kerioDocScrutinizer05: was your n900 in offline mode when you did the calibration with your script?
12:35.38DocScrutinizer05no
12:36.42kerioalso, is it intended for the notification led to turn on like during flatbat recovery?
12:37.30kerio(nothing in the userland side handling the charging)
12:38.05DocScrutinizer05will go away in short time
12:38.22kerioi see
12:38.52DocScrutinizer05though I admit I could handle that closer
12:39.21DocScrutinizer05the script been an initial proof of concept that 'just worked'
12:39.45keriowhat turns that led on, btw?
12:39.56DocScrutinizer05since you requested a script *immediately* "ptherwise won't happen"
12:39.56keriobq24k?
12:40.42DocScrutinizer05bq24150 chip will enable steady amber (under certain circumstances)
12:40.45kerioi request a bugatti veyron immediately!
12:41.05kerioand i'm still not convinced that turning on bme won't make my phone shutdown (because bme is stupid)
12:41.13kerio(and my battery is kinda awful)
12:41.41kerioanyway, TTE: 166 minutes
12:41.53DocScrutinizer05[2012-08-05 13:43:34] * DocScrutinizer05 still shakes head about how and why bme would shut down device rather than starting to charge immediately, when started at low battery and charger plugged in
12:41.54DocScrutinizer05[2012-08-05 13:45:16] <DocScrutinizer05> would probably result in really nasty deadlock when plugging in a shutdown device with flat battery, as bme on getting started would immediately shut it down again, thus stopping charging before it began
12:42.08keriohold on, "would probably"?
12:42.19kerioisn't flatbat recovery made *because* that situation would arise?
12:42.30DocScrutinizer05no
12:43.42DocScrutinizer05flatbat emergency charging made for bme even starting eventually
12:43.51DocScrutinizer05not to cure bme shutting down device
12:44.04DocScrutinizer05which would definitely lead to a bootloop
12:44.14kerioyeah but in theory flatbat emergency charging would bring the battery up to a level where bme won't complain
12:44.33DocScrutinizer05nonsense
12:45.00DocScrutinizer05flatbat emergency charging would bring the battery up to a level where system can start
12:45.20DocScrutinizer05that's way below the level where bme complains
12:47.21DocScrutinizer05has delusions of an UPS built by kerio, that when mains returns shuts down PC since "power been away before"
12:47.40keriohehe
12:47.42kerioit's the only way to be sure!
12:47.43DocScrutinizer05bme is a C*H*A*R*G*E*R
12:48.10DocScrutinizer05when started it begins to *charge*, not shuts down system
12:48.15keriohmm, perhaps it's hald-addon-bme that does stuff like that?
12:48.39keriothere's definetely *something* that shuts down the system gracefully when the battery is too low
12:48.42DocScrutinizer05NOBODY does stuff like that
12:49.00DocScrutinizer05since it would result in every single N900 deadlocked in bootloop
12:49.43DocScrutinizer05kerio: whatever shuts down system when battery too low ONLY does that when NOT IN CHARGING MODE
12:49.49keriok
12:50.04DocScrutinizer05otherwise low battery was fatal
12:50.19DocScrutinizer05every single time
12:50.53DocScrutinizer05logic, watson, mere logic!
12:53.16DocScrutinizer05btw the steady amber gets reset by bq24150 watchdog eventually
12:53.59DocScrutinizer05or by Vbat >> Vbat-end for emergency charge
12:55.18DocScrutinizer05since emergency charge stops at iirc 3.7V and we shut down bme (which causes emergency charge and amber initially) at only 100% charged battery which is ~4.2V and thus >> 3.7V
12:57.18keriohmm... not really, i started the script when the battery was already more than halfway discharged
12:57.47keriobut bq27k reports "discharging"
12:57.53kerio(amber light still on)
13:22.48DocScrutinizer05kerio: umm, charging battery is only needed for setting VDQ:1
13:23.48BCMMmerlin1991, DocScrutinizer05: managed to reproduce the bug this time
13:24.01DocScrutinizer05if your bq27200 already started a learning cycle (VDQ:1), it's not necessary to charge prior to discharging until EDV1:1
13:24.24BCMMi have the calander and two browser windows open, and an email notification
13:24.39kerioyeah, but the emergency charge won't stop due to high voltage
13:24.42DocScrutinizer05BCMM: then maybe attach proper detailed(!) "how to reproduce" to ticket
13:24.44BCMMand when i press ctrl-backspace, h-d dies every time when i release ctrl
13:24.53BCMMDocScrutinizer05: my comment on the bug basically is that
13:25.00BCMMit's always worked for me before today
13:25.07DocScrutinizer05kerio: DADAAADADAAA you spotted a flaw in my script
13:25.50DocScrutinizer05kerio: even worse: the charging by emergency-charge my invalidate the learning-cycle
13:26.01DocScrutinizer05kerio: thanks!
13:27.40BCMMhuh, h-d isn't respawning
13:28.01BCMMi thought the watchdog was supposed to trigger a reboot, not just leave me with no WM
13:28.19DocScrutinizer05kerio: bq24150 will stop emergency charging anyway after ~30min, but you need to keep device power consumption above charging current delivered by bq24150 during that time, otherwise battery gets intermittent discharge (or rather charge) that will invalidate the whole learning cycle
13:28.44DocScrutinizer05BCMM: err, yes
13:29.24DocScrutinizer05until dsme decides it respawned too fast too often, when cssu should open a xterm rather than rebooting device hard
13:30.18*** join/#maemo-ssu taziff (~Taziff@cyr108.internetdsl.tpnet.pl)
13:30.26DocScrutinizer05err, fuzzy as always. DSME supposed to restart H-D several times
13:30.49BCMMwhat's the use opening an xterm if there is no WM and some other window just ends up in front?
13:30.51DocScrutinizer05until finally DSME reboots (stock) resp opens xterm (CSSU)
13:31.38kerioDocScrutinizer05: whew, apparently backlight at level 5 + crappy 3g reception is enough to consume more than the emergency charge can provide :D
13:31.46DocScrutinizer05since there's no WM you usually can't start new apps after xterm start, so xterm window should be on top
13:32.31BCMMDocScrutinizer05: yep, can reproduce the crash now. i have an email notification up, and any attempt to use the task switcher crashes h-d
13:32.58BCMMmy comment on the bug is the best i cna do for steps to reproduce, no idea why it failed earlier
13:34.50kerioBCMM: not enough windows open, maybe?
13:36.16BCMMkerio: i can do it with just one, or none
13:36.34BCMMwith none, it crashes on starting the switcher, not on exiting
13:36.53BCMMi don't knnow if it makes a difference that it's a multiple email notification
13:47.36merlin1991BCMM: I'll get arcean on it when I get a hold of him
13:50.37DocScrutinizer05kerio: could yu please post result of "which i2cget"?
13:50.42BCMMmerlin1991: thx
13:51.17DocScrutinizer05merlin1991: you? ^^^
13:51.39kerioDocScrutinizer05: ""
13:51.40merlin1991DocScrutinizer05: no n900 here till tonight
13:51.49keriothe output of "sudo which i2cget" is "/usr/sbin/i2cget"
13:51.54DocScrutinizer05umm, thanks to both
13:51.57kerioit's installed with bnf
13:51.59kerioi think
13:52.03kerioor something
13:52.11DocScrutinizer05thanks
13:52.37merlin1991kerio: you can check the package with "dpkg-query -S /usr/sbin/i2cget"
13:52.50keriohm, no it's not bnf
13:52.53keriomerlin1991: ty
13:54.02kerioanyway, DocScrutinizer05++
13:54.14keriothe script still worked
13:54.15kerio:3
13:54.41DocScrutinizer05kerio: meanwhile you might want to download fixed version
13:54.45*** join/#maemo-ssu taziff (~Taziff@cyr108.internetdsl.tpnet.pl)
13:54.48kerio:o
13:54.51*** join/#maemo-ssu MrPingu (~chatzilla@86.92.226.97)
13:54.51keriowhat did you fix?
13:55.02kerioi downloaded it two hours ago or something
13:55.09DocScrutinizer05reset bq24150 to stop emergency charging
13:55.14*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.141)
13:55.21kerioneat
13:55.44keriolink again plskthx
13:55.45*** join/#maemo-ssu taziff1 (~Taziff@cyr108.internetdsl.tpnet.pl)
13:55.54kerioanyway, the package is i2c-tools
13:56.01kerio(for i2cget and i2cset)
13:57.48DocScrutinizer05patched again, please redownload ;-)
13:58.18DocScrutinizer05http://talk.maemo.org/showpost.php?p=1247595&postcount=1369
13:59.07kerioDocScrutinizer05: there's still no pali-like brightness restore :c
13:59.27DocScrutinizer05there is joerg brightness restore
13:59.31DocScrutinizer05but commented out
13:59.33keriorestarting mce is carpet bombing!
14:01.09kerioresetting the brightness level is like sniping
14:01.11*** part/#maemo-ssu kerio (~kerio@unaffiliated/kerio)
14:01.14*** join/#maemo-ssu kerio (~kerio@unaffiliated/kerio)
14:01.18kerio(whoops)
14:04.58DocScrutinizer05kerio: now it occurs to me - how did you manage to start the script *after* plugging in charger and still have VDQ:1 ?
14:05.24keriono, i started it before :)
14:05.29DocScrutinizer05hehe
14:07.33DocScrutinizer05well, I hope the new command I inserted to disable charger chip will fix the issue reliably
14:12.19*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
14:12.31*** join/#maemo-ssu DocScrutinizer (~halley@openmoko/engineers/joerg)
14:24.29DocScrutinizer05you might want to recheck massively edited http://talk.maemo.org/showthread.php?p=1247595#post1247595
14:26.34kerioDocScrutinizer05: hmm, how do you completely stop the charging *before* the user has plugged in the wallcharger?
14:27.11keriowon't the flatbat recovery start, if the user connects the wallcharger after you reset bq24k?
14:27.16DocScrutinizer05I hope to achieve that ny sending "disable" command to bq24150
14:27.46keriowill bme reenable it correctly afterwards?
14:27.51kerioShadowJK_: ping
14:27.54DocScrutinizer05I'm not sure if chip won't enter reset with charging enabled nevertheless, after 32s watchdog times out
14:28.01DocScrutinizer05yes
14:28.41ShadowJK_I would expect it to reset after either 32s or 32m
14:29.26DocScrutinizer0532s
14:29.44DocScrutinizer05any I2C command enters 32s mode
14:31.06DocScrutinizer05I probably should check for VDQ:1 during discharge, and abort and quit when VDQ:0
14:32.41DocScrutinizer05I as well could keep bq24150 from resetting, by tickling watchdog ;-)
14:32.59DocScrutinizer05said, done
14:33.41ShadowJK_checks results of charging at 550
14:35.34DocScrutinizer05kerio: ShadowJK_please recheck http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh
14:35.56kerioi like how i've suddenly become a battery chip expert
14:36.20kerioDocScrutinizer05: still the carpet bombing thing, huh
14:36.23kerio:3
14:36.43ShadowJK_9075 seconds to full at 550. 6657 at 950
14:36.46DocScrutinizer05I send /usr/sbin/i2cset -y 2 0x6b 0x01 0xcc   every 10s now
14:37.27DocScrutinizer05according to ShadowJK_'s script which I ruthlessly use to save me from reading datasheet, this disables charger
14:37.55keriocan't find any obvious problems
14:37.57kerioapart from the fact that you're spamming the i2c bus
14:38.05DocScrutinizer05:shrug:
14:38.18DocScrutinizer05that's what it's made for
14:38.18ShadowJK_cc?
14:38.27DocScrutinizer05:shrug: again
14:38.28ShadowJK_oh
14:38.45DocScrutinizer05<PROTECTED>
14:38.46DocScrutinizer05<PROTECTED>
14:38.49DocScrutinizer05(C) ShadowJK_
14:39.35DocScrutinizer05I'm way too lazy to bit-AND the shit myself
14:39.42DocScrutinizer05from that datasheet
14:40.30ShadowJK_enable termination charger disable, no input carge current limit, 3.4V weak battery threshold
14:41.27DocScrutinizer05sounds sane enough for the intended purpose
14:42.24DocScrutinizer05actually a funny problem to disable emergency charging
14:42.39DocScrutinizer05not really something you usually want to accomplish
14:43.47DocScrutinizer05not even a documented function afaik
14:44.13DocScrutinizer05since it's quite a pathological state for charger chip
14:46.10ShadowJK_you just do it like bme, set disable charger bit. then tickle watchdog
14:50.31DocScrutinizer05hmm, when exactly is bme doing that?
14:50.43DocScrutinizer05and for what purpose?
14:51.02ShadowJK_when charger is unplugged
14:51.14DocScrutinizer05duh, it should STFU then
14:51.20ShadowJK_before determining rate of charge after plugging in
14:51.43DocScrutinizer05mhm, that's sane, yes
14:52.07ShadowJK_If you don't atleast tickle wd you get the orange bright led immediately when user plugs in charger too
14:52.40DocScrutinizer05:nod: that is what I'm about to fix
14:54.13DocScrutinizer05well, so I suppose I could sent watchdog tickle instead/in-addition to the 10s each 0xcc
14:54.30DocScrutinizer05aka i2cset -y 2 0x6b 0x01 0xcc # No limit, 3.4V weak threshold, enable term, charger disable
14:55.18DocScrutinizer05not sure though if watchdog is supposed to kick in when constant I2Cset comand to config register happens
14:55.42DocScrutinizer05frowns
14:59.51DocScrutinizer05done
15:05.41*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
15:30.24kerioDocScrutinizer05: by the way, are you sure that not advising for offline mode is a good idea?
15:30.27keriowhat if a call comes in?
15:31.06DocScrutinizer05so what? then a call comes in
15:31.22DocScrutinizer05how's that different from you being on the road?
15:31.23keriovoltage drop and stuff
15:31.29DocScrutinizer05meh
15:31.41kerioi meant during the discharge part, where we leave the n900 almost empty
15:31.54DocScrutinizer05still meh
15:32.42DocScrutinizer05what desaster could happen?
15:33.59keriophone shuts down before calibration ends D:
15:36.33DocScrutinizer05hardly
15:37.10DocScrutinizer05but you're free to go offline if you're that concerned
15:44.07kerioDocScrutinizer05: instead of doing nothing or resetting the brightness by restarting mce, your script could lock the screen
15:44.43jonwilyeah, trigger the same thing as the lock flick button does
15:48.58DocScrutinizer05I frankly like it the way it is
15:49.55DocScrutinizer05for charging the backlight off makes sense anyway, and mce restarts creates that uebercool fade in effect on screen
15:50.31DocScrutinizer05why bother about even more different methods?
15:59.17*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
16:03.47kerioso there's a visual indication of the charging happening
16:03.54kerio(blinking amber led/solid green led)
16:39.41*** join/#maemo-ssu infobot (~infobot@rikers.org)
16:39.41*** topic/#maemo-ssu is Maemo Community Seamless Software Update "CSSU" channel, http://wiki.maemo.org/Community_SSU | Known bugs: http://j.mp/communityssu-bugs | Channel logs: http://mg.pov.lt/maemo-ssu-irclog/ | Sources: http://gitorious.org/community-ssu/ | Latest version (testing): 21.2011.38-1Tmaemo4.1; (stable): 21.2011.38-1Smaemo3
16:39.41*** mode/#maemo-ssu [+v infobot] by ChanServ
16:39.44DocScrutinizer05that explains this
16:39.46keriohi infobot ^_^
16:39.49DocScrutinizer05wb infobot
16:39.54kerio~botsnack
16:39.54infobotthanks, kerio
16:40.02DocScrutinizer05~+uptime
16:40.17DocScrutinizer05tim busy
16:43.06keriook, registered
16:45.44keriook, thanked
16:58.17*** join/#maemo-ssu EdLin_ (~EdLin@securabit/listener/edlin)
17:06.36DocScrutinizer05haha, nice comment applicable to pushing leet stuff into cssu while it's not at all needed there:
17:06.41DocScrutinizer05sanshiro's reply:
17:06.43DocScrutinizer05Fanboy insecurities on full display: s/he needs other people (everybody if possible) to like what s/he likes. IF not, s/he goes on the offensive.
17:06.44DocScrutinizer05When you grow up, you will be able to use/buy things and enjoy them without such worries.
17:08.16*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
17:18.18*** join/#maemo-ssu bsdmaniak (~bsdmaniak@std93-20-88-120-139-80.fbx.proxad.net)
17:20.42*** join/#maemo-ssu luf (~luf@ip-89-103-223-40.net.upcbroadband.cz)
17:38.15*** join/#maemo-ssu mase76 (~mase76@p5DD39C68.dip.t-dialin.net)
17:45.14*** join/#maemo-ssu Raimu-X (rmaunula@tuomi.oulu.fi)
17:56.34*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
18:10.34*** join/#maemo-ssu chainsawbike (~chainsawb@unaffiliated/chainsawbike)
18:10.34*** join/#maemo-ssu _xnt14 (~xnt14@xceleo.us)
18:10.34*** join/#maemo-ssu xmlich02 (~imlich@2001:67c:1220:80c:1:317f:3611:ac2f)
18:10.34*** join/#maemo-ssu merlin1991 (~merlin@Maemo/community/cssu/merlin1991)
18:13.44*** join/#maemo-ssu jon-kha (~jon-kha@hoasnet-fe32dd00-87.dhcp.inet.fi)
19:04.59*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.