IRC log for #maemo-ssu on 20120930

00:13.31*** join/#maemo-ssu _xnt14 (~xnt14@xceleo.us)
00:26.32*** join/#maemo-ssu fredrinLap (~fn@cm-84.208.108.15.getinternet.no)
00:56.40*** join/#maemo-ssu fredrinLap (~fn@cm-84.208.108.15.getinternet.no)
01:09.37*** join/#maemo-ssu fredrinLap (~fn@cm-84.208.108.15.getinternet.no)
01:15.57*** join/#maemo-ssu fredrinLap (~fn@cm-84.208.108.15.getinternet.no)
01:32.15*** join/#maemo-ssu fredrinLap (~fn@cm-84.208.108.15.getinternet.no)
01:50.12*** join/#maemo-ssu fredrinLap (~fn@cm-84.208.108.15.getinternet.no)
02:15.25*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
02:36.59*** join/#maemo-ssu fredrinLap (~fn@cm-84.208.108.15.getinternet.no)
03:03.47*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
03:49.42*** join/#maemo-ssu jon_y (~enforcer@swz-173-88.tm.net.my)
05:20.03DocScrutinizer05anybody ready for fun with sftp?
05:20.27DocScrutinizer05I have a rather strange bug in KDE
05:20.43DocScrutinizer05(maybe not limited to KDE)
05:21.20DocScrutinizer05you probably know ~/.ssh/id_dsa.pub
05:22.02DocScrutinizer05AIUI it's just needed on targets, not on origin of a ssh/sftp connection
05:22.14DocScrutinizer05even there it's called known_hosts
05:23.15DocScrutinizer05so obviously there's nothing wrong with `mv id_dsa.pub id_dsa.pub-away`
05:24.03DocScrutinizer05sftp://user@host:port   still works great, in both konqueror and dolphin
05:25.11DocScrutinizer05but!! only once, since then some sneaky magic created a new id_dsa.pub, alas a crippled truncated one, and next connection via sftp:// will fail due to that :-o
05:26.50DocScrutinizer05plus each time you open a normal ssh connection it spamms that trunkated key for a greeting
05:28.21DocScrutinizer05err, correction:
05:28.33DocScrutinizer05even there it's called authorized_keys
06:04.14*** join/#maemo-ssu Guest57704 (~rd@p57B4847F.dip0.t-ipconnect.de)
07:08.22*** join/#maemo-ssu timo^ (~timo@unaffiliated/tiempjuuh)
07:34.56*** join/#maemo-ssu amiconn (amiconn@rockbox/developer/amiconn)
07:56.34*** join/#maemo-ssu fw190 (~fw190@user-188-33-151-143.play-internet.pl)
07:56.57fw190DocScrutinizer05: I vanished yesterday as I was on my last legs
07:57.02fw190all went well
07:57.06fw190LXDE works ok
07:57.58fw190I installed patterns-opensuse-lxde and it pulled everything as it should
07:58.08fw190thanks for the tips yesterday
08:00.24keriofw190: how's lxde?
08:00.30kerioand have you realized that it's worse than xfce?
08:07.08fw190kerio: well it looks like lxde
08:07.16fw190newver used xfce
08:07.26kerioto be fair, the latest xfce is somewhat bad
08:07.29kerioit used to be good
08:07.44fw190everyone is saying that lxde is lighter
08:07.51fw190so I stick to it
08:08.00kerioxfce used to be the "light" DE
08:08.10keriothen it became heavier
08:08.14fw190but comparing with KDE I do not see much speed improvment
08:08.23keriowell, is KDE slow for you?
08:08.27fw190no
08:09.56kerio:)
08:10.33fw190I just have to find the settings which changes from one click to two
08:10.43fw190although I'm starting to get used to it
08:20.31fw190just found it
08:20.34fw190have to say it
08:20.44fw190this suse thingy looks better and better to me
08:34.13*** join/#maemo-ssu CodenameStrike (~assassin@210.195.80.229)
08:35.39*** join/#maemo-ssu CodenameStrike (~assassin@210.195.80.229)
08:59.14*** join/#maemo-ssu NIN101 (~NIN@p5DD29167.dip0.t-ipconnect.de)
09:04.45*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
09:06.26*** join/#maemo-ssu Pali (~pali@unaffiliated/pali)
09:13.45freemangordonmerlin1991: http://talk.maemo.org/showthread.php?p=1274218#post1274218
09:14.21merlin1991freemangordon: I just saw it
09:14.36freemangordonyou'd better disable ipv6 DNS until everyone is on CSSU :D:D:D
09:14.57merlin1991ipv6 has been there all the time
09:15.05merlin1991I wonder why it fails now
09:15.10freemangordonhmm, then it is your ISP
09:15.22freemangordonlemme try on my device
09:18.42freemangordonwell, ping6 fails here as well, but I don't have problems with apt-get update
09:19.48merlin1991odd, http://centralops.net/co/Ping.aspx for example works
09:20.45freemangordonmerlin1991: in the meantime:
09:20.46freemangordonhttp://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/scratchbox-toolchain-linaro-4.7-2012.09-fremantle-armv7a_1.0.17_i386.deb
09:20.50*** join/#maemo-ssu int_ua (~int_ua@ip-602f.proline.net.ua)
09:21.03*** join/#maemo-ssu CodenameStrike (~assassin@210.195.80.229)
09:21.41merlin1991freemangordon: btw what do you get for ping6 ipv6.google.com    on your device?
09:21.56freemangordonnetwork unreachable
09:22.41merlin1991also you have 384 dl of the mp so far :D
09:22.49freemangordonwow
09:23.07int_uahey, I just got second N900 ^_^
09:23.19freemangordonhmm, not good, i'd better not screw with pulseaudio :D:D:D
09:23.25merlin1991int_ua: welcome to the club of madmen who own several n900s :D
09:23.43int_uabut haven't slept 28 hours)
09:23.53int_uasee you tomorrow :)
09:24.01merlin1991have a nice sleep :)
09:24.11int_uathanks :)
09:24.14freemangordonint_ua: night
09:24.28merlin1991freemangordon: do we have dig on the device?
09:24.43freemangordonnslookup?
09:24.53freemangordonnot sure for dig
09:25.00merlin1991dang dig is so much better :P
09:25.23merlin1991currently has no n900 nearby, all 4 of them are ~65 km away from him
09:25.37*** join/#maemo-ssu arcean (~arcean@aaem131.neoplus.adsl.tpnet.pl)
09:26.10merlin1991hm I could drop the ipv6 dns entry on maemo.merlin1991.at
09:26.20merlin1991aka AAAA entry
09:33.58freemangordonmerlin1991: need to reboot my PC
09:34.18merlin1991~lart rndc
09:34.18infobotinstalls PocketPC on rndc's PDA
09:35.42*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
09:37.44freemangordonmerlin1991: no idea, but that should be something with bind (or whatever DNS server you use)
09:39.00merlin1991well I wonder why his/her n900 decided to query the dns for AAAA instead of A entries
09:39.12merlin1991ah wait
09:39.45merlin1991afaik I set up ipv6 dns entries on my side, but the guy who hosts the real dns servers had ipv6 disabled on his bind back then
09:47.16keriofreemangordon pls
10:00.52*** join/#maemo-ssu dhbiker (~dhbiker@APN-122-88-230-gprs.simobil.net)
10:27.39merlin1991gotta love my university, finally found my course which has a description page that is awesomely emtpy except an entry about some jabber chatroom, so I dl psi try to remember my jabber pw again, and finally logon, to find the chat room empty
10:27.40merlin1991yay
10:38.39kerioyo merlin1991
10:38.45keriocan we update connui-home-cellular pls
10:39.24DocScrutinizer05yo dawg, heard you like info. So we put info about info into info of your course
10:40.03merlin1991kerio: eh is there anyhting new on gitorious?
10:40.15DocScrutinizer05yo dawg, heard you like chat... ;-P
10:40.16keriomerlin1991: the logging fix
10:40.58DocScrutinizer05is it complete
10:41.00DocScrutinizer05ß
10:41.02DocScrutinizer05?
10:41.33merlin1991ah yeah http://gitorious.org/community-ssu/operator-name-cbs-widget/commit/ff96ce3653b9951158badc150cb4c62aec28b1fc
10:41.49DocScrutinizer05still, is it *complete* now?
10:42.06DocScrutinizer05has anybody finally *tested* that ?
10:42.18keriotested what?
10:42.22keriothe whole thing or just that fix?
10:43.14DocScrutinizer05takes a huge sip of his coffe, and breathes deep
10:43.51DocScrutinizer05the fact that/if log files won't appear despite logging off, with random loglines in them
10:44.35merlin1991kreio wanna play guinea pig?
10:44.51merlin1991s/kreio/kerio/
10:44.59merlin1991should use tab instead of typing myself :P
10:45.01keriosure, why not
10:45.14merlin1991hits the reboot button
10:46.07DocScrutinizer05merlin1991: btw I yesterday spotted something I'd frown on as a pretty evil flaw in maemo boot UX
10:46.50DocScrutinizer05fsck gets started without *any* feedback to user about "prepare to watch your device acting_bricked"
10:47.05kerioDocScrutinizer05: to be fair it's ext3 fsck
10:47.23kerioit's journaled and stuff
10:47.32DocScrutinizer05well, my fsck.ext3 takes quite some time here
10:47.46DocScrutinizer05naw, fsck doesn't use journal
10:48.15DocScrutinizer05once you need or want fsck, you forget about journal.
10:48.25DocScrutinizer05journal is for not needing fsck at all
10:48.46DocScrutinizer05basically&afaik
10:49.05DocScrutinizer05anyway my fsck.ext3 here takes dozens of minutes
10:49.10DocScrutinizer05on PC
10:49.11keriotune2fses his mmcblk0p2
10:49.42merlin1991hm regarding fucked up course pages, http://ti.tuwien.ac.at/rts/teaching/courses/osue/ is the best so far timeout when trying to access it
10:50.20merlin1991why the fuck can't they use the centralized information system, every single stupid course has a link to their "own" homepage that doesn't work most of the time
10:50.59DocScrutinizer05yeah, down4me2
10:51.20DocScrutinizer05yo dawg...
10:51.39merlin1991and the best thing about it, the semester begins tomorrow, and guess what, the course in question has a reservation for a room on monday
10:52.04DocScrutinizer05errrwut?
10:52.22DocScrutinizer05sounds like it's a sane thing
10:52.32DocScrutinizer05surprisingly sane?
10:52.33keriotomorrow my courses begin too ^_____^
10:53.00merlin1991kerio: what do you study?
10:53.05keriomath
10:53.25merlin1991ah yeah /me forgot
10:53.30DocScrutinizer05merlin1991: call the Prof on Sunday noon ;-P "Hey Prof, where's the room?"
10:53.58DocScrutinizer05that explains some bits
10:54.11merlin1991call the prog "sup dwag, I heard you like questions in questions, so what's up with the page and which room would it show?" :D
10:54.17merlin1991s/prog/prof/
10:55.02DocScrutinizer05aaah, that makes more sense than prog ;-)
10:56.45merlin1991oh ffs automake madness in my sb again
10:57.48DocScrutinizer05merlin1991: less +/else /etc/event.d/rcS-late
10:58.38DocScrutinizer05waddooyathink? Add some LP5523 machine pattern for notifier LED?
11:00.49merlin1991hm what's the right way (tm) to edit symlinks in /etc/alternatives ?
11:02.44DocScrutinizer05err
11:03.03DocScrutinizer05usually postinst does that afaik
11:03.24DocScrutinizer05prolly there's even a scriptie dedicated to that daunting task
11:03.58merlin1991seems to be update-alternatives, but it keep claiming that there's no alternative for aclocal
11:05.24kerioreplacing rcS-late will fuck up soooooooooo many things
11:06.12DocScrutinizer05kerio: please elaborate
11:06.34keriowell, it's the place where a lot of system mods live
11:06.48DocScrutinizer05that's what patch is meant for
11:06.48keriopeople with weird swaps, people with strange partitioning...
11:07.18DocScrutinizer05and if we don't have patch, we still can use sed to tweak whatever sits in /etc/event.d/rcS-late.
11:07.26merlin1991kerio: http://cdnm.at/~christian/maemo/cssu/connui-home-cellular/
11:07.51DocScrutinizer05and if even that's not feasible or PC, we can wrap fsck.* by a wrapper taking care about proper user-notification
11:08.15merlin1991srly why don't people ever use dpkg-divert on packaged scripts they edit?
11:08.31keriomerlin1991: because they don't know how dpkg works
11:09.34merlin1991It's so stupid to go "uh I'm gonna edit this file here and don't think about anything but my immediate gain"
11:09.36DocScrutinizer05why don't we just use proper md5sum checks to detect edited config/scrript files and do like all good updaters: install xyfile.new instead of overwriting xyfile unconditionally?
11:09.53kerioDocScrutinizer05: guess what, apt actually does that
11:09.54kerioit asks the user
11:09.57kerio(for config files)
11:10.01kerio(for modified config files)
11:10.05DocScrutinizer05thought as much
11:10.14merlin19912 reasons, firstly there is no such support for scripts in dpkg
11:10.24merlin1991only for "configfiles" and stuff in /etc
11:10.31kerio"config file modified, install (N)ew, keep (O)ld, show (D)iff, ask (L)ater"
11:10.33merlin1991and secondly, because ham!
11:10.59DocScrutinizer05~fsck HAM
11:10.59infobote2fsck /dev/HAM : warning! filesystem contains dumbasses!
11:11.00keriomerlin1991: opername.log seems to not appear
11:11.28DocScrutinizer05kerio: good
11:11.46DocScrutinizer05now please also check if enabling logging will change that
11:12.24DocScrutinizer05also check if that silly timestamp got fixed
11:13.41merlin1991kerio: you got this fix aswell: http://www.gitorious.org/community-ssu/operator-name-cbs-widget/commit/95ca519c5b29dfb7a7692f19828781ddfcc29d63
11:13.46merlin1991DocScrutinizer05: which silly timestamp?
11:13.53DocScrutinizer05merlin1991: no comment from your side about general nastiness to start fsck.* and let user stare at moving dots for 'hours'?
11:14.13keriomerlin1991: the timestamp in the connui logs is 01120930
11:14.17merlin1991eh no n900 so no chance to comment till later this evening
11:14.20DocScrutinizer05merlin1991: the 19112
11:14.24DocScrutinizer05year
11:15.09DocScrutinizer05merlin1991: (comment) mompls, I pastebin the rcs-late for you
11:18.12merlin1991is about to fix the fsckd timestamp
11:18.22merlin1991what's the timestamp log convention?
11:18.28DocScrutinizer05http://maemo.cloud-7.de/maemo5/etc/events.d/rcS-late
11:19.06merlin1991oh nice, autofsck
11:19.16DocScrutinizer05yeah
11:19.25DocScrutinizer05without any notification to user
11:19.40DocScrutinizer05a bug in my book
11:22.46merlin1991kerio: did you enable the log and check it?
11:22.57keriono
11:22.59merlin1991judging from the source the timestamp should have a format of xx.xx.xx xx:xx:xx
11:23.42merlin1991though the order on the xx.xx.xx is day month year which imo should be the other way around :P
11:25.09merlin1991so we have 3 things for next -testing already, openssl dbg strip, connui-home-cellular logfix + namefix and camera-ui updates
11:27.15*** join/#maemo-ssu ZogG (~zoggrules@funtoo/user/ZogG)
11:27.56merlin1991DocScrutinizer05/kerio please test something reagarding camera-ui, set the captured image preview to unlimited, take a pic and the delete it in the preview window
11:28.07merlin1991do you get the viewfinder back or a black screen?
11:28.55DocScrutinizer05"happy" that I still can test that ;-P
11:30.19DocScrutinizer05though, first of all, WTF do I configure the review timing?
11:30.59merlin1991there's a wrench symbol somewhere on the side of the screen iirc
11:31.11merlin1991or it's one of the buttons on the bottom lef
11:31.13merlin1991+t
11:31.29DocScrutinizer05alas the menu under wrench has no fsckng setting for that
11:31.44DocScrutinizer05got it
11:31.52DocScrutinizer052nd left on bottom left
11:32.56kerioi get the viewfinder back
11:33.55merlin1991good, then mag did compile that one
11:37.26merlin1991so the new stuff in camera ui would be launcher support and proper cam directory code
11:38.14DocScrutinizer05video is totally useless
11:38.20DocScrutinizer05slow as molasses
11:38.32DocScrutinizer05takes like 20s to start capture
11:38.44merlin1991might be faster with the coming update
11:38.45DocScrutinizer05but yes, viewfinder comes back
11:39.06DocScrutinizer05autofocus distance is totally wrong 90% of the times
11:39.43merlin1991well that's still the same as with the stock camera
11:40.10DocScrutinizer05hitting play button in preview opens mediaplayer. Deleting video file there and then closing mp returns me to preview where I could delete *again*
11:41.07DocScrutinizer05closing preview seems to freeze the whole system for several seconds, until viewfinder re-appears
11:41.42merlin1991don't hate so much on our beloved cam :D
11:45.07kerioDocScrutinizer05: camera-ui in cssu-thumb is much, much faster :3
11:45.35DocScrutinizer05and the worse: it seems to ignore trigger button presses that are shorter than 0.5s
11:45.57DocScrutinizer05obviously trackerd all the time hogs CPU like mad
11:46.56DocScrutinizer05while it *should* *just* 'index' the _one_ media file that just got created/deleted, and then STFU again
11:47.18DocScrutinizer05(unconfirmed by any means like htop etc!)
11:47.33DocScrutinizer05(just cpu load widget constantly red)
11:48.38DocScrutinizer05honestly tracked needs to get suspended during realtime stuff like camera usage
11:50.36DocScrutinizer05when you short a rapid sequence, "rapid" like >1pic/s (if that's even possible), you for sure don't need any friggin trackerd hogging system resources for indexing that as well could be done later
11:51.02DocScrutinizer05same when you return from preview to viewfinder
11:51.40DocScrutinizer05as long as there's viewfinder visible, trackerd has to go hybernate mode
11:52.32DocScrutinizer05may just store up dbus msgs about media files to examine, for later processing
11:53.13DocScrutinizer05but to answer your question: yes, viewfinder comes back... eventually ;-P
11:54.17DocScrutinizer05UX however is like with a 1880's camera XP
11:55.08DocScrutinizer05"please don't move!" PFOOOOSH-FLASH <magnesia smoke goes up>
11:55.42DocScrutinizer05"please stay! I'm just inserting another plate"
12:02.03DocScrutinizer05on a "stock" PR1.3 (PK47 or sth, my t900 devel device), turnaround for the sequence >start video capture, stop video capture, review shows up, hit delete in preview, hit "ok", returns to viewfinder, start video capture< is like 5 times faster than on CSSU-T
12:02.48DocScrutinizer05also reacts reliably on short trigger button push
12:02.58DocScrutinizer05reliably and instantly
12:03.19DocScrutinizer05not with 2s delay like nicocam/cssu-t
12:03.59kerioDocScrutinizer05: cache?
12:04.09DocScrutinizer05honestly, this stuff isn't ready for prime time
12:04.44kerioit's pretty fast here, idk
12:05.09kerio...actually you could try it too, you have a n900 with cssu-thumb installed
12:06.23DocScrutinizer05I just tried on cssu-thumb by mistake, looked all the same like on cssu-t
12:07.36kerioDocScrutinizer05: is it updated?
12:07.46kerionicocam was thumbified recently
12:08.12DocScrutinizer05kerio: well, actually cssu-thumb is significantly faster than cssu-t, but still not as fast as stock
12:09.10DocScrutinizer05esp invocation of preview and return to viewfinder after hitting "ok" for delete is still sluggish, compared to stock
12:09.32DocScrutinizer05while reaction to trigger button is almost bearable
12:09.45DocScrutinizer05both for starting and stopping capture
12:12.36DocScrutinizer05but... could it be that charging is completely fsckdup in cssu-thumb?
12:14.42kerioD:
12:14.46keriowhy would it be?
12:14.52keriobme is the same
12:15.33DocScrutinizer05somehow device been stuck at "USB mode: just charging" in sysmenu. When I click it, the selector AssRage/PCShit pops up. Selecting AssRage gives me another notifier "not possible, storage already in use"
12:16.09DocScrutinizer05I plugged and unplugged USB 10 or 15 times before that, and it didn't even recognize
12:16.29keriowell, maybe the storage is in use
12:16.34DocScrutinizer05NB all the above been with USB *detached*
12:16.39keriohaha
12:16.39kerioneat
12:16.44kerio~n900-full-reset
12:16.44infobotmethinks n900-full-reset is when the user presses the PWRON (power-on) button for 8 seconds and removes the battery in the next 8 seconds, the TPS65950 enters NO SUPPLY state instead of BACKUP state, even if a valid backup battery is present. In such a situation, the backup domain registers are also reset, along with the VRRTC domain registers.
12:17.19keriowell, ke-recv isn't thumby
12:17.41DocScrutinizer05nah, now after that error-msg I quoted, it's back to normal. I inserted USB and it did "swooooosh" and notifier about charging came up
12:18.18DocScrutinizer05I guess something severely fsckd up in recent KP, regarding fast charger detect
12:18.23DocScrutinizer05and related stuff
12:19.59DocScrutinizer05h-e-n had to get over quite some headache due to this abomination of "layering violations" when reading /sys/*/*/charger nukes PHY settings and thus messes up musb-hdrc driver state
12:20.40DocScrutinizer05we had "some asshole is trying to probe for charger" klog in original h-e-n kernel. dunno what happened to it
12:20.51keriohah
12:20.56kerioplease, tell me that was the actual message
12:21.04DocScrutinizer05yes
12:21.08DocScrutinizer05verbatim
12:21.10kerio=D
12:21.59DocScrutinizer05should've told a story to devels messing with it (/me glares at pali)
12:22.27kerioPali: *glare*
12:23.08DocScrutinizer05you MUST NOT probe for D+- short during musb-hdrc has 'allocated' USB to do meaningful stuff like ENUM or data transfer!
12:23.11DocScrutinizer05~2119
12:23.12infobotThe key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
12:23.31Palinew kernel-power has patch which disable that sysfs node charger when host mode is active
12:24.06DocScrutinizer05well, this probelm isn't hostmode specific
12:24.17Paliwhen musb go back to peripheral mode, then charger detection is enabled again
12:24.19DocScrutinizer05welcome Pali :-)
12:27.24DocScrutinizer05Pali: iirc musb-hdrc'.ko' initializes PHY as soon as somebody tries to do something over USB, like e.g. enable mass storage mode, or PC-Suite (or hostmode, yes). Any subsequent probing for D+- short nukes those PHY config settings and renders whole USB in an undefined defunct state
12:28.02DocScrutinizer05no matter if done via /sys readout, or via direct call to related musc-hdrc function
12:28.14DocScrutinizer05(aka kernel-internal)
12:29.19DocScrutinizer05the even more funny stuff about that: PHY gets backed up via main bat even during real device powerdown
12:29.49DocScrutinizer05so any such mess is relatively sticky, until musb-hdrc takes care to initialize it again the proper way
12:30.30DocScrutinizer05and!!! there's NO way to really reliably reset PHY, unlike twl4030
12:31.08DocScrutinizer05only reliable reset is: remove main bat, short + and - battery contacts in device. wait 10 minutes (to be sure)
12:31.49DocScrutinizer05if PHY is misconfigured, even flatbatrecover may fail
12:32.10DocScrutinizer05since it depends on PHY detecting D+- short and signalling it to bq24150
12:32.13kerioDocScrutinizer05: why do you need to short + and -? :o
12:32.26DocScrutinizer05to discharge buffer capacitors
12:32.48DocScrutinizer05there are quite some huge cubes on Vbat
12:32.53DocScrutinizer05several 100 uF
12:34.01kerioDocScrutinizer05: does a working bupbat screw with this, too?
12:34.18kerioalso, do i have a problem if my usb works?
12:34.23DocScrutinizer05and there's no *reliable* way to discharge them in a short time, though trying power button during battery removed may help
12:34.44DocScrutinizer05no, as long as your usb and charging works, no problem
12:34.59keriohmm, does this also mean that in case of water damage, you're basically screwed?
12:35.19kerioif removing the battery still leaves quite a bit of charge
12:35.32DocScrutinizer05if however charging doesn't kick in, or device thinks it's connected to PC while in fact it's connected to fastcharger or to nothing at all, odds are this is cause by PHY
12:36.51DocScrutinizer05kerio: nope, since the reason for battery removal on water incidents is to stop electrolysis which means rapid discharge of buffer capacitors if they actually seen shorts by water
12:37.27keriooh, so it basically solves itself
12:37.28kerioi see
12:37.41DocScrutinizer05lemme put it this way: if water shorts your + and -, your capacitors are empty during few seconds
12:38.24DocScrutinizer05for buffering PHY 1707 on a intact device however they may last for hours
12:38.48keriogot it
12:38.56kerioto reset PHY, i must dunk my device in water
12:39.05DocScrutinizer05yeah, kinda
12:40.27DocScrutinizer05(disclaimer: all the above is not verified on a normal scientific level, but rather just off top of my head without properly checking each detail)
12:40.59DocScrutinizer05which *usually* is just good enough for any RL purpose ;-D
12:41.20kerioto be honest i don't remember the last time i connected my n900 to my pc when fremantle was booted
12:41.30kerioonly backupmenu/bootmenu
12:41.45DocScrutinizer05but don't call me out on it, when it turns out there is some incorrect or fuzzy bit in the whole story
12:46.42DocScrutinizer05tbh I *think* I've seen similar lockups on USB with stock kernel
12:47.16DocScrutinizer05there's a known race condition in kernel, with detecting Vbus vs detecting D+- short
12:47.34DocScrutinizer05the window for that race might have grown in KP
12:49.17DocScrutinizer05however so far on my daily iroN900 I'm used to an occasional USB charger detect miss, but that's just a simple ignore and gets fixed by un- and re-plugging fastcharger
12:49.38kerioyeah, i get that too
12:49.38DocScrutinizer05this time, on cssu-thumb not even 15 rounds did fix it
12:50.36kerioanyway, going back to the nicocam thing
12:50.50keriowhat's your installed version for camera-ui?
12:50.56DocScrutinizer05i'm done with testing. Noting to add so far
12:51.30DocScrutinizer05what could it be? latest T
12:51.46kerio1.1.29.2+0cssu14+thumb0 then?
12:52.12DocScrutinizer05as well as cssu-thumb as of when I installed thumb on that other device, a few weeks ago
12:52.38kerioi don't really remember *when* fmg thumbified camera-ui
12:52.48DocScrutinizer05nfc, I have not even a ssh open to the thumb thingie
12:52.58keriohe also added maemo-invoker support
12:53.06kerioand optification
12:53.08kerio(i think)
12:53.23DocScrutinizer05that might help a lot, with switching to and from mediaplayer
12:53.30keriohm, he didn't optify it
12:53.36keriobut it's maemo-invokered
12:54.16DocScrutinizer05anyway, have to get some glimpse of TheBigBlueBox aka RL
12:54.30DocScrutinizer05o/
12:54.37keriowatch out, it's dangerous out there
12:54.42DocScrutinizer05yeah
12:54.57DocScrutinizer05I watched Monk, I heard the music
12:55.36DocScrutinizer05...cause it's jungle out there, it's jungle out there!
12:57.18DocScrutinizer05http://www.magistrix.de/lyrics/Randy Newman/Its-A-Jungle-Out-There-96950.html
12:58.17DocScrutinizer05http://www.youtube.com/watch?v=HIW69IRODxM
14:22.46PaliDocScrutinizer05, freemangordon, seems that I found problem
14:22.59freemangordonPali: where?
14:23.04Palisee log
14:23.27Paliproblem is that stupid battery status area plugin cannot handle hal changeset
14:23.58PaliI changed all calls libhal_changeset_set_property_ to libhal_device_set_property_string
14:24.17Paliand then status area battery plugin show message "battery is low"
14:27.15freemangordonPali: which log, there is a wall of text :)
14:27.21freemangordonbtw why did you change that?
14:27.42freemangordondo you remember me REing the original bme-addon
14:27.51Palifreemangordon, find your name in log
14:28.31Palifreemangordon, I changed it now (only for testing, not in git yet), because statusbar battery plugin not worked
14:29.09Paliwithout this change statusbar battery plugin did not show me message "charger disconnected" and message "battery is low"
14:29.32freemangordonaah, i see
14:30.08freemangordonPali: AFAIK bme status plugin waits for dbus calls, though I might be wrong
14:30.18freemangordondbus signals even
14:30.33PaliI'm sending same dbus signals as bme/hald-addon-bme
14:30.46freemangordonhmm
14:30.54freemangordondoes it work now?
14:31.10Paliseems that after I changed code to use libhal_device_set_property_string is working...
14:31.14DocScrutinizer05Pali: nice :-)
14:31.20Palinow I'm waiting until battery will be empty :D
14:31.21freemangordonyeah, great
14:31.25freemangordonhehe
14:32.26DocScrutinizer05we now just wanna know why the other stuff been used or if it really been used at all in original bme*, and why this doesn't work in your RE if it's actually different
14:33.52Palifreemangordon, in hald-addon-bme README.properties.gz is written that for information about "battery low" is need first to change battery.charge_level.capacity_state to "" and then to new real value
14:33.53DocScrutinizer05I mean, there's probably a difference in semantics between libhal_device_set_property_string and libhal_changeset_set_property_
14:34.38freemangordonDocScrutinizer05: I didn't do 100% RE replacement (as with VKB)
14:34.48freemangordonjust basic sceleton
14:34.48Paliso we need to decide when to send this "signal" battery is empty
14:34.56DocScrutinizer05aah, so that's been an educated guess
14:35.15Palioriginal hald-addon-bme sent it more times (you can see that phone show message battery is too low/empty more times...)
14:35.19DocScrutinizer05well, near miss fair enough then
14:35.59freemangordonPali: I think the signal is sent every time voltage goes onder the threshold
14:36.09freemangordons/onder/bellow/
14:37.06DocScrutinizer05nah, it also has a gate timer, to stop too frequent msgs/signals
14:37.14freemangordonthe other option is to send a signal on every percent down
14:37.26freemangordon(after we are in low zone)
14:37.27PaliDocScrutinizer05, now new hald-addon-bme sending empty state (which cause that dsme will turn device off) when EDV1 or EDVF flag in bq27200 is set
14:37.36Paliit is ok?
14:37.58DocScrutinizer05edv1 iirc, yes
14:38.21freemangordondo we have enough charge for graceful shutdown?
14:38.23DocScrutinizer05edv1 with some 90s delay, to give user a chance to close stuff
14:38.29DocScrutinizer05edvf immediately
14:39.07Palinow both edv1 or edvf immedialety turn device off
14:39.22freemangordonDocScrutinizer05: what do you think about: <freemangordon> the other option is to send a signal on every percent down
14:40.00freemangordonsounds like the best option to me
14:40.14Paliand low state is when bq27200 report capacity below 15%
14:40.30Pali(7% is for edv1)
14:40.47freemangordonwell, so we'll have 7 beeps before shutdown
14:40.48Palilow state = show notification
14:40.54DocScrutinizer05so: when edv1 got hit for >15s, you send a warning "going to power down!" and start timer for next msg that does real teardown. On either exiry of that timer, or on edvf you send "I'm shutting down NOW!" and do that - unless meanwhile charging kicked in or voltage is above edv1 again
14:41.51DocScrutinizer05freemangordon: I guess that's exactly what bme does
14:41.59DocScrutinizer05(per 1%)
14:42.14freemangordonDocScrutinizer05: only charger should preven shutdown once "shutting down" message appears
14:42.30freemangordonDocScrutinizer05: yeah, that is what i think too
14:42.44DocScrutinizer05nah, not really. Battery can recover pretty much from a brownout on heavy load
14:43.07freemangordonthen no "shutting down" message :)
14:43.55freemangordonand TBH I think it is better to shutdown with a slightly more charge, than to run battery flast
14:43.59DocScrutinizer05btw percentage of charge my be vastly unrelated to actual voltage of cell
14:44.00freemangordon*flat
14:44.20DocScrutinizer05may*
14:45.34freemangordonhmm, how precise is remaining percenatge if the battery is not calibrated?
14:45.37DocScrutinizer05I'll think about it during my brinnerunch
14:45.54DocScrutinizer05freemangordon: might be totally off
14:46.13freemangordonI mean after a couple of discharge cycles
14:46.40freemangordonso bq has had a chance to measure at least something
14:46.58DocScrutinizer05we had OM GTA02 shut down at ~60% real capacity remaining, due to bq27000 miscalibration and shutdown mechanism only looking for percent-charge rather than voltage
14:48.13DocScrutinizer05basing shutdown on EDV1/EDVF is sane. Waiting for 0% count down to 0% for warnings isn't
14:48.14freemangordonI don't think it is a good idea to force calibration only in order to have correct shutdown
14:48.39freemangordonAIUI that is what Pali does
14:48.39DocScrutinizer05I'll think about it during my brinnerunch
14:48.50DocScrutinizer05o/
14:48.55freemangordon~brinnerunch
14:49.06DocScrutinizer05dinner+brunch
14:49.08kerioi say we wait the 10 or so seconds on EDV1 so we can properly calibrate bq27200
14:49.45freemangordonyou mean auto-calibrate on first battery empty?
14:50.04DocScrutinizer05I say we only warn on EDV1, and shut down on EDVF
14:50.10Paliif edv1 is set, then learning cycle is complete
14:50.11freemangordonagree
14:50.26freemangordonPali: only if you have a full charge AFAIK
14:50.37freemangordon(at the start of discharge cycle)
14:50.45kerioPali: hm?
14:50.54Paliyes
14:50.56keriooh girhgt
14:50.58kerio*right
14:51.20DocScrutinizer05even a short intermediate charging stops learning cycle
14:51.30PaliI mean that it is ok to turn device off (if learning cycle was active, then after edv1 is complete)
14:51.46freemangordonwell, how is learning syscle activated?
14:51.52freemangordon*cycle
14:52.26DocScrutinizer05EDVF = End of Discharge Voltage Final. we should take it as that
14:52.33Palistart charging when edv1 is set and stop charging when battery is charged
14:52.39keriofreemangordon: VDQ set
14:52.52kerioaka fully charge
14:53.08Palithen vdq is set and when edv1 is set again, cycle is complete
14:53.29freemangordonyou mean there is no need SW to take care of it?
14:53.45freemangordonto set some bit or something?
14:53.48keriono
14:53.49DocScrutinizer05a valid learning cycle includes: charging to 100% -> VDQ:1. discharge without any intermediate charging or other extrema, until EDV1 is hit
14:54.04kerioit's just a bq27200 thing
14:54.15freemangordonand if learning cycle is interrupted, what happens with the calibration?
14:54.23DocScrutinizer05untouched
14:54.27freemangordongreat
14:54.35freemangordonI don't see any problem then
14:54.36DocScrutinizer05VDQ:0
14:54.42DocScrutinizer05there
14:54.46DocScrutinizer05's no problem
14:54.51keriothe problem is that you need to wait a handful of seconds below EDV1 voltage
14:54.57keriousually it's not doable with bme
14:55.02DocScrutinizer05just we shouldn't shut down on EDV1
14:55.03freemangordonkerio: no bme there
14:55.06kerioindeed
14:55.08freemangordonDocScrutinizer05: :nod:
14:55.13freemangordonPali: ^^^
14:55.19DocScrutinizer05since that per definitionem wwastes 6% of bat capacity
14:55.41kerioshut down after 60-90s under EDV1 or when you reach EDVF
14:56.06freemangordonhmm , we'd better just ignore EDV1
14:56.11DocScrutinizer05that's what I said
14:56.22freemangordonand shutdown on EDVF
14:56.23DocScrutinizer05no, not that :-)
14:56.31kerioDocScrutinizer05: we should hold enough charge to boot, though
14:56.34DocScrutinizer05we start warnings at EDV1
14:56.36kerioboot to ACT_DEAD at least
14:56.48DocScrutinizer05kerio: that's granted
14:56.54keriogranted how?
14:57.03keriohow big is EDVF?
14:57.07DocScrutinizer05edvf still allows device to boot
14:57.11kerioi see
14:57.27DocScrutinizer05hw cutout threshold is waaay lower
14:58.04DocScrutinizer05anyway, cya. I'm going hypoglycemic
14:58.16kerioeat some food
14:58.18keriofood is good!
14:58.49keriohttp://youtu.be/g-uLTTT3BPc
14:59.28freemangordonPali: so, AIUI -> start battery low beeps on N% (10-15), beep on every % down, ignore EDV1 and shutdown on EDVF
14:59.42Paliok
15:00.09freemangordonBTW we may want to keep the current BME threshol for low warnings
15:00.22freemangordonor lower it just a bit (2-3 %)
15:00.30DocScrutinizer05well, increase warning freequency to a timed schedule on EDV1 since bq27200 switches from ~6% to 0% on EDV1 anyway
15:01.03freemangordonaah, i see
15:01.06DocScrutinizer05or maybe I recall wrong
15:01.14DocScrutinizer05read DS please
15:01.27freemangordonyeah, batt low every 30 seconds should be ok
15:01.28DocScrutinizer05or ~jr/bme
15:01.47freemangordon(once we are at EDV1)
15:01.50DocScrutinizer05there are some nice logs, with comments
15:02.13DocScrutinizer05~jrtools
15:02.13infoboti heard jrtools is http://wiki.maemo.org/User:Joerg_rw/tools
15:02.21DocScrutinizer05../bme*
15:02.21freemangordonPali: ^^^
15:02.56DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/jrbme/bme_discharge_learn_log
15:03.28DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/jrbme/bme_chargefloat2_log et al
15:03.32DocScrutinizer05study those
15:03.45kerio30 seconds? ew
15:03.54kerioafter i got the first warning, i *know* the battery is low
15:08.44DocScrutinizer05http://people.openmoko.org/joerg/battery/batlog.txt.odf
15:09.46DocScrutinizer05make as many as possible of those timing and level parameters configurable, via module parameters or whatever
15:10.18DocScrutinizer05so kerio can set that warning frequency to once per day ;-D
15:10.33kerioomfg i liek configurations
15:10.52DocScrutinizer05also timeout levels for those "90sec stable EDV1 "
15:11.04DocScrutinizer05cyacyacyacya
15:12.11kerioPali: eventually will you rewrite the statusmenu button to allow for detailed data from bq27k and to choose usb host mode?
15:12.42Palikerio, MAG already started rewriting it
15:13.15PaliI have pending merge request for it, MAG wrote me that he merge it after he commit some changes...
15:13.50kerio:D
15:14.15kerioPali: also, can you make your UI a bit more configurable so we can actually choose the usb speed and/or manually enumerate?
15:14.37Palikerio, I have no time for it now...
15:14.38DocScrutinizer05is there a way to detect user clicking away a one-line-notifier?
15:14.54kerioDocScrutinizer05: make it permanent :)
15:15.01DocScrutinizer05nah!!!
15:15.32DocScrutinizer05the idea is to open the permanent requester when user clicks on the bat-low warning
15:16.00DocScrutinizer05in that requester you can say "don't warn for this low-power-event again"
15:16.21merlin1991a click on notifier discards it
15:16.24DocScrutinizer05or set period of warning to something more pleasant for you
15:16.38DocScrutinizer05merlin1991: that's not what I asked
15:16.46DocScrutinizer05I know that
15:17.30merlin1991I'm saying to change that for 1 notifier would be a break of ui
15:17.52DocScrutinizer05I didn't suggest to change that
15:18.09keriojust detect whether the user dismissed it or it was just timeout'd
15:18.13DocScrutinizer05I asked "is it detectable that user did it (click it away)"
15:18.18merlin1991<DocScrutinizer05> the idea is to open the permanent requester when user clicks on the bat-low warning
15:18.32merlin1991thus you're suggesting to change the default behaviour even if not implemented in the notifier
15:18.41merlin1991which is inconsistent to the rest of the ui
15:19.17DocScrutinizer05hmm, i'll think about that. Maybe you got a pojnt, maybe I don't think it's a good point ;-)
15:19.22DocScrutinizer05or maybe I do
15:19.39keriowe could just make it a bigass system notification
15:19.46kerioone of the ones in the middle, that you *have* to dismiss
15:20.09DocScrutinizer05goes blackout
15:20.10*** join/#maemo-ssu int_ua (~int_ua@ip-602f.proline.net.ua)
15:29.29*** join/#maemo-ssu ZogG (~zoggrules@funtoo/user/ZogG)
15:37.18*** join/#maemo-ssu arcean_ (~arcean@aaem131.neoplus.adsl.tpnet.pl)
16:19.47DocScrutinizer51after dealing with pending blackout due to *my* charge reaching EDVF, I retought the notifier thingie and I guess merlin1991 is right. Anything related to powerflow-alarm config etc belongs to a requester popping up after clicking battery button in system menu
16:20.27DocScrutinizer51s/flow/-low/
16:21.15kerioDocScrutinizer51: actually, config belongs in Settings
16:21.27keriothe battery button in the system menu is for live stuff
16:21.45DocScrutinizer51I however already wanna come up with another weird idea tweaking UI: the battery icon as such is BS for low battery
16:22.10DocScrutinizer51kerio: exactly what I meant
16:22.40DocScrutinizer51snoozing a bat-low-alarm *is* a live thing
16:24.20DocScrutinizer51bat icon is utter crap for detecting change of 1 row of pixels from green to red. I suggest to change the iconset and animation
16:26.42Palihald-addon-bme changes pushed to git on gitorious
16:28.28kerioD:
16:28.30keriodon't do this to me
16:28.34kerioi'm not at home tomorrow
16:28.45kerioi really want to try it, but i know i mustn't
16:31.52Palisee http://pastebin.com/mppAFAKd
16:32.21PaliEDVF was set when voltage was only 3021
16:32.28Paliit is good idea to wait for EDVF?
16:32.35PaliDocScrutinizer51, see ^^^
16:33.37DocScrutinizer51according to bq27200 DS this is incorrect behaviour/voltage
16:33.59kerioD:
16:38.02DocScrutinizer51EDV1 set at 3239mV in that log
16:38.40DocScrutinizer51EDVF at 30nn mV is correect and sane
16:39.43DocScrutinizer51device is meant to shut down immeidiately though gracefully at tripping EDVF
16:41.15keriois "LOW" edvf?
16:42.18DocScrutinizer51I guess
16:42.28DocScrutinizer51not my version of script
16:42.39*** join/#maemo-ssu timo^ (~timo@unaffiliated/tiempjuuh)
16:42.40kerio~shadowjk
16:42.44keriohrmpf
16:42.57DocScrutinizer51hrmpf?
16:43.09kerioi thought i added that factoid
16:43.33DocScrutinizer51you won't add a nick as factoid, will you?
16:43.48kerioof course
16:43.50kerio~pali
16:43.50infoboti heard pali is http://atrey.karlin.mff.cuni.cz/~pali/
16:44.13*** join/#maemo-ssu toxaris (~toxaris@s83-180-246-172.cust.tele2.se)
16:44.42DocScrutinizer51whatever it is you're after, maybe you find it next to
16:44.51DocScrutinizer51~jrtools
16:44.52infoboti guess jrtools is http://wiki.maemo.org/User:Joerg_rw/tools
16:45.01kerioi wanted the url to bq27200.sh
16:45.25DocScrutinizer51^^^^
16:45.39DocScrutinizer51../jrbme/
16:45.46keriooic
16:48.26DocScrutinizer51and of course at maemo.cloud-7.de
16:49.22DocScrutinizer51maemo/patches'n'tools/ or sth like that
16:49.43keriohehe, http://maemo.cloud-7.de/Aegis-kills-device.jpg
17:16.18*** join/#maemo-ssu arcean_ (~arcean@aaem131.neoplus.adsl.tpnet.pl)
17:38.47*** join/#maemo-ssu Guest57704 (~rd@p57B4847F.dip0.t-ipconnect.de)
17:55.52*** join/#maemo-ssu timo^ (~timo@unaffiliated/tiempjuuh)
18:02.09*** join/#maemo-ssu fw190 (~fw190@user-5-173-80-252.play-internet.pl)
18:30.49*** join/#maemo-ssu timo^ (~timo@unaffiliated/tiempjuuh)
19:03.35*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
19:54.22*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
20:29.58*** join/#maemo-ssu M13 (~Miha@170.133-224-87.telenet.ru)
21:09.21*** join/#maemo-ssu Guest57704 (~rd@p57B4847F.dip0.t-ipconnect.de)
21:22.05*** join/#maemo-ssu int_ua (~int_ua@ip-602f.proline.net.ua)
21:25.51SpacedOutDocScrutinizer05: I missed getting in on the USB charging discussion.  I've tracked down a problem where plugging into a wall charger works, but plugging into a computer usb port doesn't charge and the computer doesn't see the N900.  musb_core.c  struct musb_ctx holds hardware register values, it can get it into that state.
21:29.27SpacedOut`echo mem > /sys/power/state` is the most reliable way to get it into that state. If anyone is wanting to debug it I have a patch for compiling the USB drivers as modules which also fixes some concurrency problems in the charger detection routines, a whole bunch of debugging print messages.
22:06.58*** join/#maemo-ssu arcean_ (~arcean@aaem131.neoplus.adsl.tpnet.pl)
22:09.53DocScrutinizer51SpacedOut: we concluded during 18months of h-e-n development that musb-hdrc has to be monolithic.
22:11.03SpacedOutI'm fine with it being compiled in the kernel with the default configuration, but I have it working as module, and that is very handy if anyone is trying to do development or debugging on it.
22:12.03SpacedOutWhich I was.
22:12.14DocScrutinizer51and setting device to suspend-to-ram is kinda useless since it either wakes up again after 10s due to signal-level change message from cmt, or you block that and it won't even wake up on inbound call
22:13.07SpacedOutI was wanting to point out that some of the problems you were having with it detecting the usb port and charging sounded familiar with what I was debugging, depending on the specifics and it all gets pretty fuzzy trying to track down all the variables.
22:13.40DocScrutinizer51or you have very secrit wisdom how to tell bb5 cmt to stop spamming unsol msgs
22:14.12SpacedOutI think suspend to ram is useless unless you are in offline mode, and that is exactly how I use it, not very often, but I want it near off, but not have to boot it up when I'm ready to use it again.
22:15.01DocScrutinizer51yep, this works. speedevil done this
22:15.26DocScrutinizer51sorry for terse answers
22:15.27DocScrutinizer51N900
22:18.19SpacedOutI didn't get the reference or what part works, the current suspend to ram works for me after my patches for one to let it work with a computer USB port after resuming.
23:30.15int_uamaemo.org down
23:30.27int_uaisup.me/maemo.org
23:51.04int_uaI've just installed CSSU-thumb and U-Boot disappeared, is that ok?
23:52.12merlin1991it's to be expected
23:52.17merlin1991cssu-thumb flashes a kernel
23:52.43merlin1991but you can install the kerne-thumb (or how it's called) bootimg and install uboot again

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