kerio | and it also makes it quite hard to test, because dpkg is a fucking mess and you can't easily switch between versions | 00:00 |
---|---|---|
kerio | gregoa: you around? | 00:02 |
gregoa | kerio: yes but I'm doing 2 or 3 thing in parallel, so only easy questions please :) | 00:03 |
Pali | kerio, if you want I can compile all deb packages for testing :D | 00:04 |
kerio | gregoa: Pali's status applet checks dpkg for the version of a package and has a different behaviour depending on it | 00:04 |
kerio | i'd say it's a bad idea - is it? | 00:05 |
gregoa | gregoa: at install time? at runtime once? every second? something else? | 00:05 |
kerio | runtime once | 00:05 |
kerio | but it's still silly | 00:05 |
Pali | there is no other way how to check if is installed Nokia BME version or new replacement | 00:06 |
kerio | of course there's not, you haven't put an empty file somewhere :s | 00:06 |
Pali | using someting in /etc/ is worse... | 00:06 |
kerio | something that can be replicated *manually* easily | 00:06 |
gregoa | hm, not a packaging question :) | 00:06 |
Pali | conffiles are not cleaned automatically after upgrading/downgrading | 00:07 |
kerio | /usr/share/ then | 00:07 |
kerio | or something | 00:07 |
*** Skry has quit IRC | 00:07 | |
Pali | do you remember MAG problem with ke-recv in CSSU? | 00:07 |
kerio | hm, i don't | 00:07 |
gregoa | I mean, shelling out obvisouls slows down startup but I have no idea if there's other way to find the version or differentiate between "old" and "new" | 00:07 |
kerio | Pali: actually, much easier | 00:08 |
kerio | check for the existance of /usr/sbin/bme_RX-51 | 00:08 |
kerio | :D | 00:08 |
Pali | bad idea | 00:09 |
Pali | you have bme binary, so it will not work | 00:09 |
kerio | yeah but i can divert it easily | 00:10 |
kerio | instead of installing a new package that will delete it | 00:10 |
*** _ade_ has quit IRC | 00:10 | |
Pali | kerio, create new shell script which do: while sleep 1000000; do true; done | 00:10 |
Pali | and store it to /usr/sbin/bme_RX-51 | 00:11 |
Pali | and start it | 00:11 |
Pali | (and divert old bme somewhere) | 00:11 |
kerio | i'm still firmly against using packaging metadata to discern behaviours | 00:12 |
Pali | dirty hack, but testing now without recompiling applet | 00:12 |
kerio | the packaging is about what's installed through apt, not about what's installed | 00:12 |
kerio | anyway, testing it :) | 00:12 |
kerio | should i do "start bme" at this point? | 00:13 |
kerio | or just run it? | 00:13 |
kerio | oh rofl, i didn't make it executable and now everything is botched | 00:15 |
*** IronLegend has joined #maemo-ssu | 00:15 | |
kerio | thankfully i have rescueos :D | 00:15 |
DocScrutinizer05 | ((<Pali> there is no other way how to check if is installed Nokia BME version or new replacement)) if [ "$(md5sum /usr/sbin/bme_RX-51|cut -d ' ' -f 1)" == "c2eb6586292b9afa407c307ebc4894e7" ]; then echo "original bme detected"; fi | 00:16 |
Pali | DocScrutinizer05, I need to check if nokias hald-addon-bme is not installed | 00:18 |
DocScrutinizer05 | well, seems similarly easy | 00:18 |
Pali | and your solution is like my... | 00:18 |
Pali | calling md5sum or dpkg | 00:18 |
DocScrutinizer05 | not sure about that | 00:18 |
kerio | i'm also firmly against this kind of extremely specific checking | 00:18 |
Pali | md5sum must read full file | 00:19 |
DocScrutinizer05 | dpkg is heavy, and depending on a lot of stuff, and might not even always be available | 00:19 |
Pali | and dpkg must read parse /var/lib/dpkg/state file | 00:19 |
DocScrutinizer05 | state? | 00:20 |
kerio | Pali: why doesn't your bme replacement just ship a fake process that only sleeps in /usr/sbin/bme_RX-51 | 00:20 |
Pali | because it is stupid to have one process | 00:20 |
Pali | which will only sleep because of nokia... | 00:20 |
DocScrutinizer05 | I recall moving /var/lib/dpkg to last dark corner of my MyDocs, to make room on rootfs | 00:20 |
DocScrutinizer05 | occasionally | 00:20 |
kerio | i just optified it :) | 00:21 |
DocScrutinizer05 | aq | 00:21 |
DocScrutinizer05 | anyway | 00:21 |
kerio | Pali: something's wrong, it's still slow | 00:21 |
kerio | 780 root 2596 S {bme_RX-51} /bin/sh /usr/sbin/bme_RX-51 | 00:21 |
kerio | ah crap | 00:21 |
DocScrutinizer05 | I don't see which problem was the right problem for dpkg check being the solution | 00:22 |
Pali | pgrep -f ^/usr/sbin/bme_RX-51 | 00:22 |
Pali | kerio, make it executable | 00:22 |
DocScrutinizer05 | probably tl;dr for chanlog | 00:22 |
kerio | Pali: it's running | 00:22 |
Pali | and start without /bin/sh | 00:22 |
kerio | hm | 00:22 |
Pali | kerio, ok then restart applet | 00:22 |
kerio | i already rebooted dammit | 00:23 |
kerio | it still appears as {bme_RX-51} /bin/sh /usr/sbin/bme_RX-51 | 00:23 |
kerio | it's probably the problem here | 00:23 |
DocScrutinizer05 | I'm rather sure about any package being *installed* is not the right flag for anything outside installation process to decide on it | 00:24 |
Pali | kerio, did you started without /bin/sh prefix? | 00:24 |
kerio | yes | 00:24 |
kerio | sudo /usr/sbin/bme_RX-51 | 00:24 |
kerio | i can't do more, i'm afraid | 00:24 |
Pali | kerio, run: pgrep -f ^/usr/sbin/bme_RX-51 | 00:24 |
DocScrutinizer05 | sudo what? | 00:25 |
kerio | Pali: nothing | 00:25 |
DocScrutinizer05 | don't you think a root process would also need root's environment? | 00:25 |
kerio | DocScrutinizer05: it's a script that does jack shit | 00:25 |
kerio | all i need is something that says "i'm /usr/sbin/bme_RX-51" and does nothing | 00:25 |
DocScrutinizer05 | what for? | 00:25 |
Pali | kerio, run without root | 00:26 |
kerio | pgrep still fails | 00:26 |
Pali | kerio, better start from bash | 00:26 |
Pali | maybe busybox doing something stupid if you starting shell script from shell | 00:26 |
kerio | DocScrutinizer05: because Pali's new battery applet does a shitton of weird tests to choose what to do | 00:26 |
DocScrutinizer05 | :-/ | 00:27 |
kerio | Pali: now it's bash /usr/sbin/bme_RX-51 | 00:27 |
*** nox- has joined #maemo-ssu | 00:27 | |
Pali | DocScrutinizer05, do you have idea how to check if new version of hald-addon-bme is installed? | 00:27 |
kerio | by the way, you could just make it use bq2415x-charger :) | 00:27 |
DocScrutinizer05 | Pali: well, for hostmode kernel we invented a version string in some /proc/* output | 00:28 |
Pali | but this is userland part | 00:28 |
kerio | DocScrutinizer05: as a sidenote, bq27200's full charge is the calibrated full charge, right? | 00:28 |
kerio | and you should use that, instead of the design capacity | 00:28 |
DocScrutinizer05 | err, yes? | 00:29 |
kerio | DocScrutinizer05: i mean, bq27200 is the most accurate thing you can get, wrt battery status, so it should supersede anything else | 00:30 |
DocScrutinizer05 | regarding what? | 00:31 |
kerio | current consumption, TTE/TTF, full charge, percentage | 00:32 |
kerio | current charge, too | 00:32 |
DocScrutinizer05 | bq27200 is accurate only when CI=0 | 00:32 |
DocScrutinizer05 | on all of those you listed except current consumption | 00:33 |
kerio | hm, how do i get CI with the module? | 00:33 |
DocScrutinizer05 | CI=1 and they could be off like if you had a car lead acid battery in that thing | 00:33 |
kerio | DocScrutinizer05: yeah but maybe they're not :3 | 00:34 |
kerio | ugh, you need to get the value from bq27200-0/registers | 00:35 |
DocScrutinizer05 | eeeek | 00:35 |
DocScrutinizer05 | look at bq27k-detail2.sh and then ponder why I decided to list stuff that way | 00:35 |
kerio | hehehe | 00:36 |
DocScrutinizer05 | I as well could have done a hexdump | 00:37 |
DocScrutinizer05 | but I thought it's more useful the way it is now | 00:37 |
DocScrutinizer05 | btw the bq27000.ko of openmoko actually had /raw sysnode as well, where you in fact could get that hexdump | 00:38 |
DocScrutinizer05 | if you really need it | 00:38 |
Pali | in kp too | 00:38 |
DocScrutinizer05 | wm8753 audio mixer even allows writing raw hex values to same /raw sysnode in its sys-API | 00:39 |
kerio | Pali: actually a "flags" file in bq27200-0 would be neat | 00:40 |
DocScrutinizer05 | a flags dir maybe? | 00:40 |
DocScrutinizer05 | hell, there aren't that many. make a /CI file, a /VDF1 file etc | 00:40 |
Pali | patches are welcome :-) | 00:41 |
kerio | Pali: are you going to add bq24k support to your status applet then? | 00:45 |
kerio | it would be neat | 00:45 |
Pali | kerio, it will not help | 00:49 |
Pali | because current code reading data from HAL | 00:49 |
kerio | yeah, i said *add* (: | 00:49 |
Pali | and HAL updating values only every 10s | 00:49 |
Pali | so this is reason why it is slow for this | 00:50 |
Pali | kerio, code for receiving events from bq2415x kernel driver is in hald-addon-bme | 00:51 |
Pali | and I do not want to copy & paste same code | 00:51 |
kerio | can't you always grab the data from hald-addon-bme then? | 00:51 |
kerio | skip the "compatibility" thing and require people to use bme+stock hald-addon or modules+replacement hald-addon | 00:52 |
Pali | kerio, I can only from new hald-addon-bme | 00:52 |
kerio | hold on, what happens if you install the applet with everything else stock? | 00:52 |
*** luf has joined #maemo-ssu | 01:04 | |
luf | merlin1991: I pushed the fix to the obexd git repository. | 01:15 |
*** MrPingu has quit IRC | 01:18 | |
*** wmarone has joined #maemo-ssu | 01:21 | |
*** wmarone_ has quit IRC | 01:22 | |
*** luf has quit IRC | 01:26 | |
*** Timo has joined #maemo-ssu | 01:40 | |
*** lizardo has quit IRC | 01:45 | |
*** lizardo has joined #maemo-ssu | 01:56 | |
*** lizardo has quit IRC | 02:00 | |
*** Timo has quit IRC | 02:05 | |
*** arcean has quit IRC | 02:09 | |
*** Pali has quit IRC | 02:40 | |
*** kolp has joined #maemo-ssu | 02:57 | |
kolp | Hi, does anyone have an idea how hard it would be to replace the wifi icon in the status area with one that shows the link quality like in the status menu? | 02:59 |
*** tadzik has quit IRC | 03:16 | |
*** tadzik has joined #maemo-ssu | 03:24 | |
*** dafox has quit IRC | 04:14 | |
*** M4rtinK has quit IRC | 04:50 | |
*** kolp_ has joined #maemo-ssu | 05:24 | |
*** kolp has quit IRC | 05:26 | |
*** amiconn has quit IRC | 05:39 | |
*** amiconn_ has joined #maemo-ssu | 05:39 | |
*** amiconn_ is now known as amiconn | 05:39 | |
*** DocScrutinizer05 has quit IRC | 06:04 | |
*** DocScrutinizer05 has joined #maemo-ssu | 06:04 | |
*** nox- has quit IRC | 06:40 | |
*** Jade has quit IRC | 07:24 | |
*** Jade has joined #maemo-ssu | 07:24 | |
*** Jade has quit IRC | 07:24 | |
*** Jade has joined #maemo-ssu | 07:24 | |
*** Jaded has joined #maemo-ssu | 07:31 | |
*** Jaded has joined #maemo-ssu | 07:31 | |
*** luf has joined #maemo-ssu | 07:33 | |
*** Jade has quit IRC | 07:34 | |
*** Skry has joined #maemo-ssu | 07:53 | |
*** LaoLang_cool has joined #maemo-ssu | 08:42 | |
*** X-Fade has quit IRC | 09:18 | |
*** ZogG has quit IRC | 09:19 | |
*** luf has left #maemo-ssu | 09:32 | |
*** luf has joined #maemo-ssu | 09:32 | |
*** ZogG has joined #maemo-ssu | 09:37 | |
*** ZogG has quit IRC | 09:37 | |
*** ZogG has joined #maemo-ssu | 09:37 | |
*** ZogG has quit IRC | 09:53 | |
*** luf has quit IRC | 10:09 | |
*** luf has joined #maemo-ssu | 10:16 | |
*** LaoLang_cool has quit IRC | 10:32 | |
kolp_ | Hi, does anyone have an idea how hard it would be to replace the wifi icon in the status area with one that shows the link quality like in the status menu? | 11:03 |
*** kolp_ is now known as kolp | 11:16 | |
*** Pali has joined #maemo-ssu | 11:30 | |
*** ruskie has quit IRC | 11:33 | |
merlin1991 | kolp: you'd have to rewrite the plugin | 11:42 |
luf | merrlin1991: did you catch my message that irmc in obexd is fixed in cssu git? | 11:55 |
kolp | merlin1991: is it open source? | 11:56 |
merlin1991 | luf: yep, I'm building :) | 11:57 |
merlin1991 | kolp: no idea | 11:57 |
kolp | ok, thanks, I'll have a look :) | 11:57 |
*** X-Fade has joined #maemo-ssu | 12:10 | |
*** dhbiker has quit IRC | 12:15 | |
*** MrPingu has joined #maemo-ssu | 12:16 | |
MrPingu | Pali: status-menu-battery applet seems to fine over here, having BME, KP51r1 and on CSSU_thumb ;) | 12:19 |
MrPingu | Thanks | 12:19 |
Pali | MrPingu, ok | 12:19 |
*** ruskie has joined #maemo-ssu | 12:20 | |
*** M4rtinK has joined #maemo-ssu | 12:21 | |
MrPingu | Except for the weird calculation of remaining time | 12:21 |
MrPingu | But that's not you to blame :P | 12:22 |
Pali | you can use time calculation from bq27x00_battery module when bme is stopped | 12:22 |
*** dhbiker has joined #maemo-ssu | 12:27 | |
MrPingu | I know :) | 12:31 |
*** lizardo has joined #maemo-ssu | 12:40 | |
*** X-Fade has quit IRC | 12:43 | |
*** dhbiker has quit IRC | 12:47 | |
*** X-Fade has joined #maemo-ssu | 12:49 | |
*** lizardo has quit IRC | 12:52 | |
*** MrPingu has quit IRC | 13:01 | |
kolp | merlin1991: fyi, it's closed, together with libconnui, for which also no headers are available. Awesome... | 13:01 |
merlin1991 | hm afaik we do have reversed headers for libconnui somewhere (not sure might be that is one of the aborted re projects though) | 13:02 |
merlin1991 | Pali/freemangordon/jonwil would know | 13:02 |
freemangordon | https://gitorious.org/community-ssu/libconnui-dev | 13:06 |
freemangordon | kudos to jonwil | 13:06 |
kolp | Thanks, will check | 13:07 |
freemangordon | Pali: I wonder how BME calculates the remaining time | 13:08 |
freemangordon | I don;t believe it is wrong, most probably we just miss something | 13:08 |
Pali | freemangordon, see changelog from nokia binary package | 13:09 |
Pali | there is written that remaining time was deleted from widget (fixing some bug) | 13:09 |
Pali | * Really remove all use-time estimations. Fixes: NB#135669 | 13:10 |
Pali | * Fixes: NB#133014 Remove use-time estimation from status menu battery | 13:10 |
Pali | ping andre__ | 13:11 |
freemangordon | ok, but why is that? I bet it is because initialy n900 has usage time around 6 hours :D:D:D | 13:11 |
freemangordon | s/has/had/ | 13:11 |
infobot | freemangordon meant: ok, but why is that? I bet it is because initialy n900 had usage time around 6 hours :D:D:D | 13:11 |
andre__ | pong Pali | 13:12 |
* andre__ on the leave | 13:12 | |
andre__ | and no, I don't have access to Nokia's bugtracker anymore :) | 13:12 |
Pali | ok | 13:13 |
freemangordon | battery.remaining_time = 0 (0x0) (int) | 13:14 |
freemangordon | USB connected | 13:14 |
Pali | andre__, do you remember why was remaining time removed from status menu applet? | 13:14 |
Pali | freemangordon, when charging bme not reporting time (sometimes) | 13:15 |
freemangordon | Pali: in ^^^ case you'd better write "Charging" or "Connected to charger" instead of the remaining time of 0 | 13:15 |
Pali | my applet never show time 0 | 13:16 |
Pali | and it really show charging | 13:16 |
Pali | or not? | 13:16 |
Pali | bug? | 13:16 |
Pali | and new hald-addon-bme reporting time when battery will be fully charged | 13:17 |
freemangordon | Pali: I don;t have your applet installed | 13:17 |
Pali | ok :-) | 13:17 |
freemangordon | just lshal -u /../bme | 13:17 |
kolp | Pali: it shows 'charging', and also the time remaining | 13:27 |
kolp | (Which right now is 2 hours for 82%) o.O | 13:27 |
Pali | kolp, I do not know how bme working... | 13:27 |
kolp | And then switches to 5 hours when I disconnect the charger :) | 13:28 |
merlin1991 | sqlite from marmistrz looks good | 13:36 |
merlin1991 | now building | 13:36 |
merlin1991 | bah it needs debhelper >= 7 | 13:38 |
*** jonwil has joined #maemo-ssu | 13:42 | |
chem|st | merlin1991: do you have a workaround at hand for the ARGZ thing with modest not building | 13:54 |
merlin1991 | I haxx0red my libtool file the last time | 13:55 |
chem|st | Î was wondering what broke it | 13:55 |
merlin1991 | (/usr/share/libtool/libtool.m4) | 13:56 |
merlin1991 | hm not that m4 file though | 13:56 |
chem|st | I was looking into several files attached to that matter and did not find anything | 13:57 |
chem|st | I definetly miss something there | 13:57 |
freemangordon | merlin1991: wasn't it automake version? | 13:57 |
chem|st | freemangordon: nothing changed... | 13:57 |
freemangordon | i.e. you need to install --reinstll 1.8 | 13:57 |
freemangordon | and after that install --reinstall 1.9 | 13:58 |
chem|st | well I try that again | 13:58 |
merlin1991 | freemangordon: I never made it to the right config of automake versions, so I just haxx0red the absolute path into the m4 file so it did could find the stuff | 13:58 |
chem|st | I did not want to touch that again cause that was what broke kerecv before | 13:58 |
freemangordon | you can try autoreconf --force | 13:58 |
freemangordon | ^^^ | 13:58 |
chem|st | merlin1991: that was intltool | 13:59 |
merlin1991 | ah yeah true | 13:59 |
chem|st | which is working fine with my setup | 13:59 |
merlin1991 | ah yeah I remember | 13:59 |
chem|st | I had to install automake in a specific order | 13:59 |
merlin1991 | I only remember the argz stuff because it showed up whilst I tried to get intltool to run | 13:59 |
merlin1991 | hm currently grepping for that stuff but can't find it :P | 14:00 |
chem|st | freemangordon: I did not change anything apart of installing pythen-dev things in between | 14:00 |
freemangordon | aah, wait | 14:01 |
chem|st | I am scared to try that installation procedure of automake again | 14:01 |
freemangordon | remove python-dev, disable maemo-extras repo and install python-dev from SDK repo | 14:02 |
chem|st | freemangordon: I cannot remember what was pulled in with it | 14:02 |
freemangordon | chem|st: does not matter | 14:02 |
chem|st | ehrm one second | 14:02 |
freemangordon | iirc there are 2 versions of python-dev | 14:02 |
freemangordon | the one in extras breaks a couple of packages. IIRC | 14:03 |
freemangordon | you need the one in SDK | 14:03 |
freemangordon | repo | 14:03 |
*** marko has joined #maemo-ssu | 14:04 | |
*** marko is now known as dhbiker | 14:04 | |
merlin1991 | oh yes, the sqlite library from harm cannot be built in it's current form for the cssu :/ | 14:04 |
*** dhbiker is now known as marko | 14:05 | |
*** marko has quit IRC | 14:05 | |
*** dhbiker has joined #maemo-ssu | 14:06 | |
*** MrPingu has joined #maemo-ssu | 14:07 | |
Pali | kerio, I updated hald-addon-bme & status menu plugin | 14:09 |
Pali | now working fine without bme too :-) | 14:09 |
Pali | you can try them | 14:09 |
Pali | files are on same URLs | 14:09 |
merlin1991 | hm sqlite from harmattan depends on debhelper 7 (fixed easily), tcl8.5 (even conflicts 8.4 which is what we have) and automake 1.10 (latest we have is 1.9) | 14:12 |
freemangordon | merlin1991: we have automake 1.10 | 14:14 |
merlin1991 | in -devel | 14:15 |
merlin1991 | not in sdk / cssu | 14:15 |
freemangordon | Pali: a wild idea - it seems BME is reporting some sane values, can you average the last N reported values and use that somehow | 14:17 |
*** dhbiker has quit IRC | 14:19 | |
freemangordon | Pali: for remaining time that is | 14:19 |
chem|st | re | 14:37 |
chem|st | freemangordon: changed the python stuff | 14:39 |
chem|st | so back to ARGZ | 14:39 |
chem|st | ideas? | 14:39 |
chem|st | it is not the automake and it is not the python-dev thing | 14:41 |
merlin1991 | chemist run a git clean -dfxe .gitignore and then try to build again | 14:51 |
chem|st | nope | 14:51 |
andre__ | Pali, oh, no idea, sorry | 14:56 |
*** M4rtinK has quit IRC | 14:56 | |
merlin1991 | hm searching for the gl_func_argz fun on google brought me http://mg.pov.lt/maemo-irclog/%23maemo.2009-11-04.log.html | 14:57 |
merlin1991 | somewhere around 1:20 the fun starts :D | 14:57 |
chem|st | ? | 15:02 |
merlin1991 | fun as in great irc quote quality .D | 15:02 |
chem|st | I found that before but around 1:20 isn't anything useful | 15:02 |
merlin1991 | usually fun isn't usefull ;) | 15:02 |
chem|st | ... you mean I earned a free promotion as soon as I get it to build that way? | 15:03 |
merlin1991 | yeah you'll have to pay 2€ more into the cssu fund after you got your promotion, cssu status are very strict ;) | 15:03 |
merlin1991 | *statutes* | 15:03 |
chem|st | nice :( | 15:05 |
chem|st | asking lardman in #maemo how he solved it... | 15:05 |
Pali | andre__, ok | 15:10 |
Pali | freemangordon, so this should be done in hald-addon-bme (not in status menu applet) | 15:11 |
*** krayon has quit IRC | 15:17 | |
Pali | freemangordon, here is screen of old battery widget with time info: http://www.techradar.com/news/phone-and-communications/mobile-phones/nokias-maemo-os-appearing-next-month-627450 | 15:21 |
Pali | from August 19th 2009 | 15:21 |
*** lizardo has joined #maemo-ssu | 15:30 | |
Pali | here is too: http://mobile-review.com/review/nokia-rx51-n900-en.shtml | 15:33 |
MrPingu | Maybe they removed it because BME calculations suck | 15:34 |
Pali | good point | 15:37 |
Pali | freemangordon, can you test if new libbmeipc working with kernel drivers? | 15:39 |
Pali | I fixed last problems in hald-addon-bme and it is ready for replace | 15:40 |
jonwil | do we have proper algorithm for calculating temperature yet (i.e. to pass correct value to pulseaudio) | 15:42 |
Pali | yes | 15:44 |
Pali | implemented in kernel driver rx51_battery.ko | 15:44 |
jonwil | how did you figure out the math? | 15:44 |
*** luf has quit IRC | 15:46 | |
Pali | jonwil, I found on net formula for some samsung chip | 15:46 |
jonwil | and it works same as real BME? | 15:46 |
Pali | and DocScrutinizer05 put his n900 into fridge for getting more RAW+BME values | 15:47 |
jonwil | ok | 15:47 |
Pali | and then I modified constants in samsung formula | 15:47 |
Pali | and then that formula reported same values as DocScrutinizer's bme | 15:48 |
jonwil | ok, sounds good then | 15:48 |
Pali | jonwil, and I found in CAL formula constants | 15:49 |
Pali | so I think we really have connrect formula | 15:49 |
jonwil | thats good to know | 15:49 |
Pali | jonwil, so bme replacement is complete :-) | 15:50 |
jonwil | Would the CAL constants be in the bit that changes from device to device? | 15:50 |
Pali | now we need to test if everything together working | 15:50 |
MrPingu | Good work, Pali! | 15:50 |
Pali | jonwil, I looked into more CAL dumps and all has same value in that constants position | 15:50 |
jonwil | ok | 15:50 |
Pali | jonwil, look to irc log for more info | 15:51 |
jonwil | ok | 15:51 |
jonwil | sounds good anyway if we got it all figured out | 15:51 |
jonwil | Good that we have open source BME replacement bits | 15:51 |
Pali | jonwil, now we have working new status menu plugin too :-) | 15:51 |
Pali | for battery | 15:52 |
jonwil | That's one less binary blob the MeeGo/Mer/Tizen/etc guys need to use | 15:52 |
Pali | jonwil, I need to know what systemui actdead battery plugin doing | 15:52 |
Pali | do you have time to write some documentation about systemui? | 15:52 |
Pali | freemangordon, want to rewrite alarm systemui plugin too | 15:53 |
Pali | so some systemui info will be usefull | 15:53 |
DocScrutinizer05 | jonwil: I couldn't care less about tizen rt al guys and what they have to use or not | 15:54 |
Pali | jonwil, I sent rx51_battery driver for upstreaming: https://lkml.org/lkml/2012/10/30/446 | 15:54 |
*** Pali has quit IRC | 16:01 | |
*** dafox has joined #maemo-ssu | 16:08 | |
*** dafox has joined #maemo-ssu | 16:10 | |
jonwil | looking at that plugin, I see it making calls to libcanberra, dbus, glib, gconf, gtk, libhal and pango | 16:11 |
jonwil | The canberra stuff is all about playing /usr/share/sounds/ui-charging_started.wav and /usr/share/sounds/ui-wrong_charger.wav | 16:18 |
jonwil | dbus is about interface='com.nokia.mce.signal',member='display_status_ind', interface='com.nokia.mce.request',member='req_display_state_off', interface='com.nokia.mce.request',member='req_display_state_on' and interface='com.nokia.mce.request',member='get_display_status' | 16:18 |
jonwil | gconf is reading /system/systemui/acting_dead/window_priority | 16:19 |
jonwil | its also setting up HAL stuff to look at the properties maemo.rechargeable.charging_status, maemo.charger.connection_status, battery.charge_level.current | 16:23 |
jonwil | it also looking for battery.rechargeable.is_charging, battery.rechargeable.is_discharging, maemo.charger.type, battery.charge_level.capacity_state, | 16:27 |
jonwil | I hope that info helps | 16:27 |
freemangordon | jonwil: do you have any info about systemui? | 16:35 |
freemangordon | anything REed? | 16:35 |
jonwil | http://www.cncmods.net/files/systemui.h | 16:36 |
jonwil | thats all I got basically | 16:36 |
*** dafox has quit IRC | 16:38 | |
jonwil | that plus anything I posted to the lists | 16:41 |
*** Pali has joined #maemo-ssu | 16:44 | |
*** luf has joined #maemo-ssu | 16:45 | |
* jonwil points Pali to the logs | 16:45 | |
* jonwil wishes using OpenSSL to do AES encryption wasn't so hard :( | 16:48 | |
*** arcean has joined #maemo-ssu | 16:49 | |
Pali | jonwil, irc log for battery temperature: http://mg.pov.lt/maemo-irclog/%23maemo.2012-09-27.log.html#t2012-09-27T17:00:18 | 16:51 |
Pali | + look some days before and after | 16:51 |
jonwil | ':) | 16:51 |
jonwil | did you see my info on the actingdead plugin? | 16:51 |
*** jonwil has quit IRC | 16:59 | |
Pali | now from irc log | 17:04 |
chem|st | can someone who has no python dev stuff installed pls try to install python-all-dev python-support and tell me what it wants to drag in?! | 17:21 |
MrPingu | http://pastebin.com/zSVfAbxK | 17:24 |
MrPingu | chem|st: ^^^ | 17:24 |
*** gregoa_ has joined #maemo-ssu | 17:24 | |
MrPingu | Already got python-support but for python-dev dependencies are there, I guess. Hope it helps you | 17:25 |
*** gregoa_ has quit IRC | 17:28 | |
*** lizardo has quit IRC | 17:28 | |
merlin1991 | chem|st: apt-cache show python-all-dev ;) | 17:29 |
chem|st | MrPingu: damn... thankyou | 17:29 |
chem|st | merlin1991: I needed a dependency tree not only its own dependencies | 17:29 |
chem|st | merlin1991: was looking if I missed something | 17:30 |
chem|st | so for some reason modest compiled fine before I had a hand on libxml2 | 17:30 |
*** arcean has quit IRC | 17:51 | |
*** arcean has joined #maemo-ssu | 17:52 | |
*** dhbiker has joined #maemo-ssu | 18:11 | |
*** dhbiker has quit IRC | 18:11 | |
*** kolp has quit IRC | 18:12 | |
*** kolp has joined #maemo-ssu | 18:12 | |
*** arcean has quit IRC | 18:15 | |
*** _rd has joined #maemo-ssu | 18:18 | |
*** Pali has quit IRC | 18:19 | |
*** NIN101 has joined #maemo-ssu | 18:45 | |
*** _rd has quit IRC | 18:45 | |
*** krayon has joined #maemo-ssu | 18:58 | |
kerio | goddammit where's pali | 19:04 |
kerio | ~seen Pali | 19:04 |
infobot | pali <~pali@unaffiliated/pali> was last seen on IRC in channel #maemo-ssu, 1h 59m 30s ago, saying: 'now from irc log'. | 19:04 |
kerio | hrmpf :C | 19:05 |
kerio | i need to tell him his hald-addon-bme sucks | 19:05 |
kerio | or something | 19:05 |
freemangordon | send him an email | 19:05 |
freemangordon | it is not in /tec/* either | 19:09 |
freemangordon | */etc/* | 19:10 |
freemangordon | I wonder if it is because of the country I live | 19:10 |
freemangordon | oops, ECHAN | 19:14 |
*** raccoon_ has quit IRC | 19:17 | |
*** raccoon_ has joined #maemo-ssu | 19:17 | |
*** dhbiker has joined #maemo-ssu | 19:21 | |
*** Pali has joined #maemo-ssu | 19:47 | |
luf | kerio: pali is back ;) | 19:49 |
kerio | luf: i know :D | 19:49 |
kerio | Pali: here's probably better, even though it's not exactly cssu material | 19:49 |
kerio | Pali: left charging overnight, woke to battery at "99%" and charging | 19:49 |
kerio | removed charger, and then started toying around to try to make the charging icon disappear | 19:50 |
*** MrPingu has quit IRC | 19:51 | |
Pali | kerio, did you updated to new version? | 19:51 |
kerio | which new version? | 19:51 |
kerio | no | 19:51 |
kerio | gimme some binaries | 19:51 |
kerio | possibly in .debs | 19:51 |
kerio | i don't have a toolchain anywhere | 19:52 |
Pali | http://mg.pov.lt/maemo-ssu-irclog/latest.log.html#t2012-11-07T14:09:26 | 19:53 |
Pali | kerio, update both hald-addon-bme and status menu plugin and then reboot | 19:53 |
Pali | binaries are on same url | 19:53 |
kerio | Pali: so now the applet works regardless of hald-addon-bme? | 19:53 |
kerio | :D :D :D | 19:54 |
Pali | yes it is working :-) | 19:54 |
kerio | but hald-addon-bme expects the modules to be loaded only | 19:54 |
kerio | is it still status-area-applet-battery 1.0-1? | 19:54 |
Pali | yes, same files | 19:55 |
Pali | hald-addon-bme support modules hotplug too | 19:55 |
kerio | what values does it provide when no modules are loaded? | 19:55 |
Pali | zero | 19:55 |
kerio | won't it shut down the phone due to low battery then? :) | 19:56 |
Pali | no | 19:57 |
kerio | Pali: the status applet still checks for the version of bme, doesn't it | 19:57 |
kerio | :( | 19:57 |
kerio | it locks up the booting :( | 19:57 |
Pali | yes it check, but reading charging values when changing | 19:58 |
kerio | Pali: hmm, there's something wrong | 19:59 |
kerio | i get a solid green led when the screen is locked | 19:59 |
kerio | new hald-addon-bme, new status-area-applet-battery, bq2415x-charger, bq27x00-battery and rx51-battery loaded | 20:00 |
kerio | hm, now i don't | 20:01 |
kerio | ok, i'm going to try charging now | 20:01 |
kerio | Pali: idea: tapping on the battery in the status menu gives additional bq27200 informations | 20:07 |
DocScrutinizer05 | ^^^ I support that idea a lot | 20:16 |
DocScrutinizer05 | kerio: you're aware green LED is just a msg to mce, requesting a certain pattern? The pattern will | 20:17 |
DocScrutinizer05 | 'stick' until unset or overridden by a pattern with higher prio | 20:17 |
kerio | Pali: and, in that same popup, allow starting hostmode or something | 20:18 |
* kerio has very little space in the status menu | 20:18 | |
DocScrutinizer05 | I.E. allow execution of arbitrary binary on clicking a certain button | 20:18 |
kerio | DocScrutinizer05: you're going to run sudo bq27200.sh 60, right | 20:19 |
kerio | it won't work! | 20:19 |
DocScrutinizer05 | 'color' (and maybe also writing) on the button depending on return of the 'binary' called | 20:19 |
DocScrutinizer05 | kerio: depends on proper specs for the API between that applet and the binary | 20:20 |
kerio | Pali: you made the applet use the bq27200 data for the full charge :D :D :D | 20:21 |
kerio | i love you | 20:21 |
DocScrutinizer05 | kerio: I think of 'binary' returning sth like `echo "-textbox "voltage: 3800mV\ncurrent: 266mA discharge"` | 20:22 |
kerio | hm | 20:22 |
kerio | eeh, i don't really like it | 20:23 |
kerio | if you want custom messages, there's widgets or buttons for it | 20:23 |
DocScrutinizer05 | or `echo "-button-color red -button-text 'kernel module didn't respond'" | 20:23 |
Pali | I'm not going to implement that | 20:24 |
Pali | I do not have time for it | 20:24 |
DocScrutinizer05 | kerio: I don't like a hard dependency of battery applet to either bq24xx.ko stuff nor any other h-e-n or bme-replacement related stuff | 20:24 |
kerio | DocScrutinizer05: i think it uses hald-addon-bme data | 20:25 |
kerio | Pali: right? | 20:25 |
DocScrutinizer05 | I honestly don't care what it's using | 20:25 |
kerio | Pali: btw, it works perfectly | 20:25 |
DocScrutinizer05 | h-e-n original is supposed to still work, even with new applet | 20:25 |
kerio | not if bq27x00-charger is loaded :) | 20:26 |
kerio | er, bq2415x-charger | 20:26 |
kerio | you'd have to change booston a tiny bit | 20:26 |
DocScrutinizer05 | pfff, what makes you think h-e-n original v2.0 couldn't unload bq2415x-charger to do stuff the way it thinks is better suited? | 20:27 |
kerio | because if it did that, i'd tell it to fuck off >:C | 20:27 |
kerio | i want battery information while hostmoding, dammit | 20:27 |
DocScrutinizer05 | then I tell you as h-e-n user to f o | 20:27 |
kerio | h-e-n devs are so rude! | 20:28 |
DocScrutinizer05 | so what? booston already gathers some battery info | 20:28 |
DocScrutinizer05 | it could gather more, if only no other process interferes by exclusively allocatzing the I2C interface to the chips | 20:29 |
kerio | kernel module don't care, kernel module don't give a fuck | 20:29 |
DocScrutinizer05 | ??? | 20:30 |
* DocScrutinizer05 detects kerio trolling mode | 20:30 | |
kerio | a http://www.youtube.com/watch?v=4r7wHMg5Yjg reference | 20:30 |
DocScrutinizer05 | o/ | 20:30 |
kerio | DocScrutinizer05: anyway, there is (or should be) no need to unload the charger modules to do hostmode | 20:32 |
*** dhbiker has quit IRC | 20:32 | |
*** ZogG has joined #maemo-ssu | 20:33 | |
*** ZogG has joined #maemo-ssu | 20:33 | |
*** dhbiker has joined #maemo-ssu | 20:34 | |
*** MrPingu has joined #maemo-ssu | 20:38 | |
freemangordon | alarm UI leaks at least one DBusMessage :( | 20:40 |
*** iDont has joined #maemo-ssu | 20:58 | |
*** ZogG has quit IRC | 21:04 | |
*** ZogG has joined #maemo-ssu | 21:19 | |
*** ZogG has quit IRC | 21:19 | |
*** ZogG has joined #maemo-ssu | 21:19 | |
DocScrutinizer05 | leaks dbus-msg? | 21:23 |
*** dhbiker has quit IRC | 21:24 | |
*** ZogG has quit IRC | 21:34 | |
kerio | Pali: why do we need the "Battery:" text in the status menu applet? | 21:34 |
Pali | why not? | 21:35 |
kerio | it uses up space for no good reason | 21:35 |
Pali | in original there is | 21:35 |
kerio | there's *only* that in the original | 21:35 |
Pali | do you have problem with space in your language? | 21:35 |
Pali | strings are transtaled | 21:35 |
kerio | it's kinda full when it's also charging | 21:36 |
kerio | Pali: do you have a libbmeipc to give me too? | 21:36 |
Pali | kerio, new freemangordon libbmeipc only export temperate | 21:36 |
Pali | yes, there is source code in git repo: https://gitorious.org/rx51-bme-replacement/libbmeipc | 21:37 |
Pali | kerio, for help ask freemangordon, he tested older version | 21:41 |
*** Milhouse has quit IRC | 21:45 | |
*** Milhouse has joined #maemo-ssu | 21:45 | |
*** arcean has joined #maemo-ssu | 21:48 | |
*** ZogG has joined #maemo-ssu | 21:50 | |
*** ZogG has quit IRC | 21:50 | |
*** ZogG has joined #maemo-ssu | 21:50 | |
*** iDont has quit IRC | 22:02 | |
*** iDont has joined #maemo-ssu | 22:19 | |
*** toxaris has joined #maemo-ssu | 22:24 | |
luf | I have a question about bluez PAN. | 22:26 |
luf | Anyone open to discussion how it should be implemented? | 22:27 |
luf | I'm trying to create a mode for NAP where no bridge interface will be used. | 22:27 |
luf | But it needs some mechanism for setting the interface which is added. | 22:28 |
kerio | luf: #bluez :) | 22:28 |
luf | kerio: :D Nice they remove all other code except NAP + bridge => I see no possibility | 22:28 |
luf | kerio: any other idea opinion? :) | 22:29 |
luf | I see two different ways | 22:29 |
kerio | luf: no, i mean, go ask the guys in #bluez | 22:29 |
kerio | it's the dev channel | 22:29 |
luf | 1) put back the network.conf with NAP settings (bridge_name - none mean no bridge, script for setting devices, option if bluez should start NAP automaticaly during startup) | 22:31 |
luf | 2) just call some DBUS signal/method to keep another sw to setup the interface | 22:31 |
luf | kerio: it's not so low devel thing. | 22:31 |
*** _rd has joined #maemo-ssu | 22:32 | |
luf | option 1 means everything will be managed by bluez, option 2 means keep the settings of interfaces on another piece of SW. | 22:33 |
kerio | i'd vote for 1 | 22:34 |
kerio | but changing config files doesn't allow for "live" configuration | 22:35 |
luf | kerio: that's the problem ;) Also when you want to use NAP + bridge - someone should create some settings (what interface is for outgoing traffic - or choose from default route + some priorities in config file - it sounds very complicated)? | 22:37 |
luf | BTW live configuration should be done in runtime only (change the bridge + include/exclude interface) or change some bnepX interface ... while config settings are default for next bluez restart. | 22:38 |
luf | Hmmm, it's good to write it here. I make better overview for myself. | 22:41 |
*** arcean has quit IRC | 22:41 | |
luf | Now I prefer option 1. | 22:41 |
luf | DocScrutinizer05: I think you will be happy to share your opinion :) | 22:43 |
DocScrutinizer05 | I have to think about it, not sure I really understand the details yet | 22:45 |
luf | DocScrutinizer05: Ok. feel free to ask. | 22:45 |
luf | Maybe I should also describe the current situation (bluez-4.99). | 22:46 |
luf | Now the NAP is enabled/disabled using DBUS methods - it's a problem that you have to enable NAP when you pair it with computer so the computer can see that the device supporting NAP. | 22:47 |
*** arcean has joined #maemo-ssu | 23:14 | |
luf | I'm going to sleep. But I'll take a look into archive so if you have any thought about bluez + PAN please write it. | 23:15 |
*** luf has quit IRC | 23:15 | |
*** Sc0rpius has quit IRC | 23:15 | |
*** _rd has quit IRC | 23:18 | |
*** iDont has quit IRC | 23:27 | |
*** _rd has joined #maemo-ssu | 23:29 | |
*** toxaris has quit IRC | 23:33 | |
*** dhbiker has joined #maemo-ssu | 23:35 | |
*** _rd has quit IRC | 23:48 | |
*** _rd has joined #maemo-ssu | 23:48 | |
*** NIN101 has quit IRC | 23:54 | |
*** M4rtinK has joined #maemo-ssu | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!