IRC log of #maemo-ssu for Wednesday, 2012-11-07

kerioand it also makes it quite hard to test, because dpkg is a fucking mess and you can't easily switch between versions00:00
keriogregoa: you around?00:02
gregoakerio: yes but I'm doing 2 or 3 thing in parallel, so only easy questions please :)00:03
Palikerio, if you want I can compile all deb packages for testing :D00:04
keriogregoa: Pali's status applet checks dpkg for the version of a package and has a different behaviour depending on it00:04
kerioi'd say it's a bad idea - is it?00:05
gregoagregoa: at install time? at runtime once? every second? something else?00:05
kerioruntime once00:05
keriobut it's still silly00:05
Palithere is no other way how to check if is installed Nokia BME version or new replacement00:06
kerioof course there's not, you haven't put an empty file somewhere :s00:06
Paliusing someting in /etc/ is worse...00:06
keriosomething that can be replicated *manually* easily00:06
gregoahm, not a packaging question :)00:06
Paliconffiles are not cleaned automatically after upgrading/downgrading00:07
kerio/usr/share/ then00:07
kerioor something00:07
*** Skry has quit IRC00:07
Palido you remember MAG problem with ke-recv in CSSU?00:07
keriohm, i don't00:07
gregoaI 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
kerioPali: actually, much easier00:08
keriocheck for the existance of /usr/sbin/bme_RX-5100:08
kerio:D00:08
Palibad idea00:09
Paliyou have bme binary, so it will not work00:09
kerioyeah but i can divert it easily00:10
kerioinstead of installing a new package that will delete it00:10
*** _ade_ has quit IRC00:10
Palikerio, create new shell script which do: while sleep 1000000; do true; done00:10
Paliand store it to /usr/sbin/bme_RX-5100:11
Paliand start it00:11
Pali(and divert old bme somewhere)00:11
kerioi'm still firmly against using packaging metadata to discern behaviours00:12
Palidirty hack, but testing now without recompiling applet00:12
keriothe packaging is about what's installed through apt, not about what's installed00:12
kerioanyway, testing it :)00:12
kerioshould i do "start bme" at this point?00:13
kerioor just run it?00:13
keriooh rofl, i didn't make it executable and now everything is botched00:15
*** IronLegend has joined #maemo-ssu00:15
keriothankfully i have rescueos :D00: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"; fi00:16
PaliDocScrutinizer05, I need to check if nokias hald-addon-bme is not installed00:18
DocScrutinizer05well, seems similarly easy00:18
Paliand your solution is like my...00:18
Palicalling md5sum or dpkg00:18
DocScrutinizer05not sure about that00:18
kerioi'm also firmly against this kind of extremely specific checking00:18
Palimd5sum must read full file00:19
DocScrutinizer05dpkg is heavy, and depending on a lot of stuff, and might not even always be available00:19
Paliand dpkg must read parse /var/lib/dpkg/state file00:19
DocScrutinizer05state?00:20
kerioPali: why doesn't your bme replacement just ship a fake process that only sleeps in /usr/sbin/bme_RX-5100:20
Palibecause it is stupid to have one process00:20
Paliwhich will only sleep because of nokia...00:20
DocScrutinizer05I recall moving /var/lib/dpkg to last dark corner of my MyDocs, to make room on rootfs00:20
DocScrutinizer05occasionally00:20
kerioi just optified it :)00:21
DocScrutinizer05aq00:21
DocScrutinizer05anyway00:21
kerioPali: something's wrong, it's still slow00:21
kerio  780 root      2596 S    {bme_RX-51} /bin/sh /usr/sbin/bme_RX-5100:21
kerioah crap00:21
DocScrutinizer05I don't see which problem was the right problem for dpkg check being the solution00:22
Palipgrep -f ^/usr/sbin/bme_RX-5100:22
Palikerio, make it executable00:22
DocScrutinizer05probably tl;dr for chanlog00:22
kerioPali: it's running00:22
Paliand start without /bin/sh00:22
keriohm00:22
Palikerio, ok then restart applet00:22
kerioi already rebooted dammit00:23
kerioit still appears as {bme_RX-51} /bin/sh /usr/sbin/bme_RX-5100:23
kerioit's probably the problem here00:23
DocScrutinizer05I'm rather sure about any package being *installed* is not the right flag for anything outside installation process to decide on it00:24
Palikerio, did you started without /bin/sh prefix?00:24
kerioyes00:24
keriosudo /usr/sbin/bme_RX-5100:24
kerioi can't do more, i'm afraid00:24
Palikerio, run: pgrep -f ^/usr/sbin/bme_RX-5100:24
DocScrutinizer05sudo what?00:25
kerioPali: nothing00:25
DocScrutinizer05don't you think a root process would also need root's environment?00:25
kerioDocScrutinizer05: it's a script that does jack shit00:25
kerioall i need is something that says "i'm /usr/sbin/bme_RX-51" and does nothing00:25
DocScrutinizer05what for?00:25
Palikerio, run without root00:26
keriopgrep still fails00:26
Palikerio, better start from bash00:26
Palimaybe busybox doing something stupid if you starting shell script from shell00:26
kerioDocScrutinizer05: because Pali's new battery applet does a shitton of weird tests to choose what to do00:26
DocScrutinizer05:-/00:27
kerioPali: now it's bash /usr/sbin/bme_RX-5100:27
*** nox- has joined #maemo-ssu00:27
PaliDocScrutinizer05, do you have idea how to check if new version of hald-addon-bme is installed?00:27
kerioby the way, you could just make it use bq2415x-charger :)00:27
DocScrutinizer05Pali: well, for hostmode kernel we invented a version string in some /proc/* output00:28
Palibut this is userland part00:28
kerioDocScrutinizer05: as a sidenote, bq27200's full charge is the calibrated full charge, right?00:28
kerioand you should use that, instead of the design capacity00:28
DocScrutinizer05err, yes?00:29
kerioDocScrutinizer05: i mean, bq27200 is the most accurate thing you can get, wrt battery status, so it should supersede anything else00:30
DocScrutinizer05regarding what?00:31
keriocurrent consumption, TTE/TTF, full charge, percentage00:32
keriocurrent charge, too00:32
DocScrutinizer05bq27200 is accurate only when CI=000:32
DocScrutinizer05on all of those you listed except current consumption00:33
keriohm, how do i get CI with the module?00:33
DocScrutinizer05CI=1 and they could be off like if you had a car lead acid battery in that thing00:33
kerioDocScrutinizer05: yeah but maybe they're not :300:34
keriough, you need to get the value from bq27200-0/registers00:35
DocScrutinizer05eeeek00:35
DocScrutinizer05look at bq27k-detail2.sh and then ponder why I decided to list stuff that way00:35
keriohehehe00:36
DocScrutinizer05I as well could have done a hexdump00:37
DocScrutinizer05but I thought it's more useful the way it is now00:37
DocScrutinizer05btw the bq27000.ko of openmoko actually had /raw sysnode as well, where you in fact could get that hexdump00:38
DocScrutinizer05if you really need it00:38
Paliin kp too00:38
DocScrutinizer05wm8753 audio mixer even allows writing raw hex values to same /raw sysnode in its sys-API00:39
kerioPali: actually a "flags" file in bq27200-0 would be neat00:40
DocScrutinizer05a flags dir maybe?00:40
DocScrutinizer05hell, there aren't that many. make a /CI file, a /VDF1 file etc00:40
Palipatches are welcome :-)00:41
kerioPali: are you going to add bq24k support to your status applet then?00:45
kerioit would be neat00:45
Palikerio, it will not help00:49
Palibecause current code reading data from HAL00:49
kerioyeah, i said *add* (:00:49
Paliand HAL updating values only every 10s00:49
Paliso this is reason why it is slow for this00:50
Palikerio, code for receiving events from bq2415x kernel driver is in hald-addon-bme00:51
Paliand I do not want to copy & paste same code00:51
keriocan't you always grab the data from hald-addon-bme then?00:51
kerioskip the "compatibility" thing and require people to use bme+stock hald-addon or modules+replacement hald-addon00:52
Palikerio, I can only from new hald-addon-bme00:52
keriohold on, what happens if you install the applet with everything else stock?00:52
*** luf has joined #maemo-ssu01:04
lufmerlin1991: I pushed the fix to the obexd git repository.01:15
*** MrPingu has quit IRC01:18
*** wmarone has joined #maemo-ssu01:21
*** wmarone_ has quit IRC01:22
*** luf has quit IRC01:26
*** Timo has joined #maemo-ssu01:40
*** lizardo has quit IRC01:45
*** lizardo has joined #maemo-ssu01:56
*** lizardo has quit IRC02:00
*** Timo has quit IRC02:05
*** arcean has quit IRC02:09
*** Pali has quit IRC02:40
*** kolp has joined #maemo-ssu02:57
kolpHi, 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 IRC03:16
*** tadzik has joined #maemo-ssu03:24
*** dafox has quit IRC04:14
*** M4rtinK has quit IRC04:50
*** kolp_ has joined #maemo-ssu05:24
*** kolp has quit IRC05:26
*** amiconn has quit IRC05:39
*** amiconn_ has joined #maemo-ssu05:39
*** amiconn_ is now known as amiconn05:39
*** DocScrutinizer05 has quit IRC06:04
*** DocScrutinizer05 has joined #maemo-ssu06:04
*** nox- has quit IRC06:40
*** Jade has quit IRC07:24
*** Jade has joined #maemo-ssu07:24
*** Jade has quit IRC07:24
*** Jade has joined #maemo-ssu07:24
*** Jaded has joined #maemo-ssu07:31
*** Jaded has joined #maemo-ssu07:31
*** luf has joined #maemo-ssu07:33
*** Jade has quit IRC07:34
*** Skry has joined #maemo-ssu07:53
*** LaoLang_cool has joined #maemo-ssu08:42
*** X-Fade has quit IRC09:18
*** ZogG has quit IRC09:19
*** luf has left #maemo-ssu09:32
*** luf has joined #maemo-ssu09:32
*** ZogG has joined #maemo-ssu09:37
*** ZogG has quit IRC09:37
*** ZogG has joined #maemo-ssu09:37
*** ZogG has quit IRC09:53
*** luf has quit IRC10:09
*** luf has joined #maemo-ssu10:16
*** LaoLang_cool has quit IRC10: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 kolp11:16
*** Pali has joined #maemo-ssu11:30
*** ruskie has quit IRC11:33
merlin1991kolp: you'd have to rewrite the plugin11:42
lufmerrlin1991: did you catch my message that irmc in obexd is fixed in cssu git?11:55
kolpmerlin1991: is it open source?11:56
merlin1991luf: yep, I'm building :)11:57
merlin1991kolp: no idea11:57
kolpok, thanks, I'll have a look :)11:57
*** X-Fade has joined #maemo-ssu12:10
*** dhbiker has quit IRC12:15
*** MrPingu has joined #maemo-ssu12:16
MrPinguPali: status-menu-battery applet seems to fine over here, having BME, KP51r1 and on CSSU_thumb ;)12:19
MrPinguThanks12:19
PaliMrPingu, ok12:19
*** ruskie has joined #maemo-ssu12:20
*** M4rtinK has joined #maemo-ssu12:21
MrPinguExcept for the weird calculation of remaining time12:21
MrPinguBut that's not you to blame :P12:22
Paliyou can use time calculation from bq27x00_battery module when bme is stopped12:22
*** dhbiker has joined #maemo-ssu12:27
MrPinguI know :)12:31
*** lizardo has joined #maemo-ssu12:40
*** X-Fade has quit IRC12:43
*** dhbiker has quit IRC12:47
*** X-Fade has joined #maemo-ssu12:49
*** lizardo has quit IRC12:52
*** MrPingu has quit IRC13:01
kolpmerlin1991: fyi, it's closed, together with libconnui, for which also no headers are available. Awesome...13:01
merlin1991hm afaik we do have reversed headers for libconnui somewhere (not sure might be that is one of the aborted re projects though)13:02
merlin1991Pali/freemangordon/jonwil would know13:02
freemangordonhttps://gitorious.org/community-ssu/libconnui-dev13:06
freemangordonkudos to jonwil13:06
kolpThanks, will check13:07
freemangordonPali:  I wonder how BME calculates the remaining time13:08
freemangordonI don;t believe it is wrong, most probably we just miss something13:08
Palifreemangordon, see changelog from nokia binary package13:09
Palithere is written that remaining time was deleted from widget (fixing some bug)13:09
Pali * Really remove all use-time estimations. Fixes: NB#13566913:10
Pali  * Fixes: NB#133014 Remove use-time estimation from status menu battery13:10
Paliping andre__13:11
freemangordonok, but why is that? I bet it is because initialy n900 has usage time around 6 hours :D:D:D13:11
freemangordons/has/had/13:11
infobotfreemangordon meant: ok, but why is that? I bet it is because initialy n900 had usage time around 6 hours :D:D:D13:11
andre__pong Pali13:12
* andre__ on the leave13:12
andre__and no, I don't have access to Nokia's bugtracker anymore :)13:12
Paliok13:13
freemangordonbattery.remaining_time = 0  (0x0)  (int)13:14
freemangordonUSB connected13:14
Paliandre__, do you remember why was remaining time removed from status menu applet?13:14
Palifreemangordon, when charging bme not reporting time (sometimes)13:15
freemangordonPali: in ^^^ case you'd better write "Charging" or "Connected to charger" instead of the remaining time of 013:15
Palimy applet never show time 013:16
Paliand it really show charging13:16
Palior not?13:16
Palibug?13:16
Paliand new hald-addon-bme reporting time when battery will be fully charged13:17
freemangordonPali: I don;t have your applet installed13:17
Paliok :-)13:17
freemangordonjust lshal -u /../bme13:17
kolpPali: it shows 'charging', and also the time remaining13:27
kolp(Which right now is 2 hours for 82%) o.O13:27
Palikolp, I do not know how bme working...13:27
kolpAnd then switches to 5 hours when I disconnect the charger :)13:28
merlin1991sqlite from marmistrz looks good13:36
merlin1991now building13:36
merlin1991bah it needs debhelper >= 713:38
*** jonwil has joined #maemo-ssu13:42
chem|stmerlin1991: do you have a workaround at hand for the ARGZ thing with modest not building13:54
merlin1991I haxx0red my libtool file the last time13:55
chem|stÎ was wondering what broke it13:55
merlin1991(/usr/share/libtool/libtool.m4)13:56
merlin1991hm not that m4 file though13:56
chem|stI was looking into several files attached to that matter and did not find anything13:57
chem|stI definetly miss something there13:57
freemangordonmerlin1991: wasn't it automake version?13:57
chem|stfreemangordon: nothing changed...13:57
freemangordoni.e. you need to install --reinstll 1.813:57
freemangordonand after that install --reinstall 1.913:58
chem|stwell I try that again13:58
merlin1991freemangordon: 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 stuff13:58
chem|stI did not want to touch that again cause that was what broke kerecv before13:58
freemangordonyou can try autoreconf --force13:58
freemangordon^^^13:58
chem|stmerlin1991: that was intltool13:59
merlin1991ah yeah true13:59
chem|stwhich is working fine with my setup13:59
merlin1991ah yeah I remember13:59
chem|stI had to install automake in a specific order13:59
merlin1991I only remember the argz stuff because it showed up whilst I tried to get intltool to run13:59
merlin1991hm currently grepping for that stuff but can't find it :P14:00
chem|stfreemangordon: I did not change anything apart of installing pythen-dev things in between14:00
freemangordonaah, wait14:01
chem|stI am scared to try that installation procedure of automake again14:01
freemangordonremove python-dev, disable maemo-extras repo and install python-dev from SDK repo14:02
chem|stfreemangordon: I cannot remember what was pulled in with it14:02
freemangordonchem|st: does not matter14:02
chem|stehrm one second14:02
freemangordoniirc there are 2 versions of python-dev14:02
freemangordonthe one in extras breaks a couple of packages. IIRC14:03
freemangordonyou need the one in SDK14:03
freemangordonrepo14:03
*** marko has joined #maemo-ssu14:04
*** marko is now known as dhbiker14:04
merlin1991oh yes, the sqlite library from harm cannot be built in it's current form for the cssu :/14:04
*** dhbiker is now known as marko14:05
*** marko has quit IRC14:05
*** dhbiker has joined #maemo-ssu14:06
*** MrPingu has joined #maemo-ssu14:07
Palikerio, I updated hald-addon-bme & status menu plugin14:09
Palinow working fine without bme too :-)14:09
Paliyou can try them14:09
Palifiles are on same URLs14:09
merlin1991hm 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
freemangordonmerlin1991: we have automake 1.1014:14
merlin1991in -devel14:15
merlin1991not in sdk / cssu14:15
freemangordonPali: a wild idea - it seems BME is reporting some sane values, can you average the last N reported values and use that somehow14:17
*** dhbiker has quit IRC14:19
freemangordonPali: for remaining time that is14:19
chem|stre14:37
chem|stfreemangordon: changed the python stuff14:39
chem|stso back to ARGZ14:39
chem|stideas?14:39
chem|stit is not the automake and it is not the python-dev thing14:41
merlin1991chemist run a git clean -dfxe .gitignore and then try to build again14:51
chem|stnope14:51
andre__Pali, oh, no idea, sorry14:56
*** M4rtinK has quit IRC14:56
merlin1991hm searching for the gl_func_argz fun on google brought me http://mg.pov.lt/maemo-irclog/%23maemo.2009-11-04.log.html14:57
merlin1991somewhere around 1:20 the fun starts :D14:57
chem|st?15:02
merlin1991fun as in great irc quote quality .D15:02
chem|stI found that before but around 1:20 isn't anything useful15:02
merlin1991usually 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
merlin1991yeah 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|stnice :(15:05
chem|stasking lardman in #maemo how he solved it...15:05
Paliandre__, ok15:10
Palifreemangordon, so this should be done in hald-addon-bme (not in status menu applet)15:11
*** krayon has quit IRC15:17
Palifreemangordon, 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-62745015:21
Palifrom August 19th 200915:21
*** lizardo has joined #maemo-ssu15:30
Palihere is too: http://mobile-review.com/review/nokia-rx51-n900-en.shtml15:33
MrPinguMaybe they removed it because BME calculations suck15:34
Paligood point15:37
Palifreemangordon, can you test if new libbmeipc working with kernel drivers?15:39
PaliI fixed last problems in hald-addon-bme and it is ready for replace15:40
jonwildo we have proper algorithm for calculating temperature yet (i.e. to pass correct value to pulseaudio)15:42
Paliyes15:44
Paliimplemented in kernel driver rx51_battery.ko15:44
jonwilhow did you figure out the math?15:44
*** luf has quit IRC15:46
Palijonwil, I found on net formula for some samsung chip15:46
jonwiland it works same as real BME?15:46
Paliand DocScrutinizer05 put his n900 into fridge for getting more RAW+BME values15:47
jonwilok15:47
Paliand then I modified constants in samsung formula15:47
Paliand then that formula reported same values as DocScrutinizer's bme15:48
jonwilok, sounds good then15:48
Palijonwil, and I found in CAL formula constants15:49
Paliso I think we really have connrect formula15:49
jonwilthats good to know15:49
Palijonwil, so bme replacement is complete :-)15:50
jonwilWould the CAL constants be in the bit that changes from device to device?15:50
Palinow we need to test if everything together working15:50
MrPinguGood work, Pali!15:50
Palijonwil, I looked into more CAL dumps and all has same value in that constants position15:50
jonwilok15:50
Palijonwil, look to irc log for more info15:51
jonwilok15:51
jonwilsounds good anyway if we got it all figured out15:51
jonwilGood that we have open source BME replacement bits15:51
Palijonwil, now we have working new status menu plugin too :-)15:51
Palifor battery15:52
jonwilThat's one less binary blob the MeeGo/Mer/Tizen/etc guys need to use15:52
Palijonwil, I need to know what systemui actdead battery plugin doing15:52
Palido you have time to write some documentation about systemui?15:52
Palifreemangordon, want to rewrite alarm systemui plugin too15:53
Paliso some systemui info will be usefull15:53
DocScrutinizer05jonwil: I couldn't care less about tizen rt al guys and what they have to use or not15:54
Palijonwil, I sent rx51_battery driver for upstreaming: https://lkml.org/lkml/2012/10/30/44615:54
*** Pali has quit IRC16:01
*** dafox has joined #maemo-ssu16:08
*** dafox has joined #maemo-ssu16:10
jonwillooking at that plugin, I see it making calls to libcanberra, dbus, glib, gconf, gtk, libhal and pango16:11
jonwilThe canberra stuff is all about playing /usr/share/sounds/ui-charging_started.wav and /usr/share/sounds/ui-wrong_charger.wav16:18
jonwildbus 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
jonwilgconf is reading /system/systemui/acting_dead/window_priority16:19
jonwilits also setting up HAL stuff to look at the properties maemo.rechargeable.charging_status, maemo.charger.connection_status, battery.charge_level.current16:23
jonwilit also looking for battery.rechargeable.is_charging, battery.rechargeable.is_discharging, maemo.charger.type, battery.charge_level.capacity_state,16:27
jonwilI hope that info helps16:27
freemangordonjonwil: do you have any info about systemui?16:35
freemangordonanything REed?16:35
jonwilhttp://www.cncmods.net/files/systemui.h16:36
jonwilthats all I got basically16:36
*** dafox has quit IRC16:38
jonwilthat plus anything I posted to the lists16:41
*** Pali has joined #maemo-ssu16:44
*** luf has joined #maemo-ssu16:45
* jonwil points Pali to the logs16:45
* jonwil wishes using OpenSSL to do AES encryption wasn't so hard :(16:48
*** arcean has joined #maemo-ssu16:49
Palijonwil, irc log for battery temperature: http://mg.pov.lt/maemo-irclog/%23maemo.2012-09-27.log.html#t2012-09-27T17:00:1816:51
Pali+ look some days before and after16:51
jonwil':)16:51
jonwildid you see my info on the actingdead plugin?16:51
*** jonwil has quit IRC16:59
Palinow from irc log17:04
chem|stcan 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
MrPinguhttp://pastebin.com/zSVfAbxK17:24
MrPinguchem|st: ^^^17:24
*** gregoa_ has joined #maemo-ssu17:24
MrPinguAlready got python-support but for python-dev dependencies are there, I guess. Hope it helps you17:25
*** gregoa_ has quit IRC17:28
*** lizardo has quit IRC17:28
merlin1991chem|st: apt-cache show python-all-dev ;)17:29
chem|stMrPingu: damn... thankyou17:29
chem|stmerlin1991: I needed a dependency tree not only its own dependencies17:29
chem|stmerlin1991: was looking if I missed something17:30
chem|stso for some reason modest compiled fine before I had a hand on libxml217:30
*** arcean has quit IRC17:51
*** arcean has joined #maemo-ssu17:52
*** dhbiker has joined #maemo-ssu18:11
*** dhbiker has quit IRC18:11
*** kolp has quit IRC18:12
*** kolp has joined #maemo-ssu18:12
*** arcean has quit IRC18:15
*** _rd has joined #maemo-ssu18:18
*** Pali has quit IRC18:19
*** NIN101 has joined #maemo-ssu18:45
*** _rd has quit IRC18:45
*** krayon has joined #maemo-ssu18:58
keriogoddammit where's pali19:04
kerio~seen Pali19:04
infobotpali <~pali@unaffiliated/pali> was last seen on IRC in channel #maemo-ssu, 1h 59m 30s ago, saying: 'now from irc log'.19:04
keriohrmpf :C19:05
kerioi need to tell him his hald-addon-bme sucks19:05
kerioor something19:05
freemangordonsend him an email19:05
freemangordonit is not in /tec/* either19:09
freemangordon*/etc/*19:10
freemangordonI wonder if it is because of the country I live19:10
freemangordonoops, ECHAN19:14
*** raccoon_ has quit IRC19:17
*** raccoon_ has joined #maemo-ssu19:17
*** dhbiker has joined #maemo-ssu19:21
*** Pali has joined #maemo-ssu19:47
lufkerio: pali is back ;)19:49
kerioluf: i know :D19:49
kerioPali: here's probably better, even though it's not exactly cssu material19:49
kerioPali: left charging overnight, woke to battery at "99%" and charging19:49
kerioremoved charger, and then started toying around to try to make the charging icon disappear19:50
*** MrPingu has quit IRC19:51
Palikerio, did you updated to new version?19:51
keriowhich new version?19:51
keriono19:51
keriogimme some binaries19:51
keriopossibly in .debs19:51
kerioi don't have a toolchain anywhere19:52
Palihttp://mg.pov.lt/maemo-ssu-irclog/latest.log.html#t2012-11-07T14:09:2619:53
Palikerio, update both hald-addon-bme and status menu plugin and then reboot19:53
Palibinaries are on same url19:53
kerioPali: so now the applet works regardless of hald-addon-bme?19:53
kerio:D :D :D19:54
Paliyes it is working :-)19:54
keriobut hald-addon-bme expects the modules to be loaded only19:54
keriois it still status-area-applet-battery 1.0-1?19:54
Paliyes, same files19:55
Palihald-addon-bme support modules hotplug too19:55
keriowhat values does it provide when no modules are loaded?19:55
Palizero19:55
keriowon't it shut down the phone due to low battery then? :)19:56
Palino19:57
kerioPali: the status applet still checks for the version of bme, doesn't it19:57
kerio:(19:57
kerioit locks up the booting :(19:57
Paliyes it check, but reading charging values when changing19:58
kerioPali: hmm, there's something wrong19:59
kerioi get a solid green led when the screen is locked19:59
kerionew hald-addon-bme, new status-area-applet-battery, bq2415x-charger, bq27x00-battery and rx51-battery loaded20:00
keriohm, now i don't20:01
keriook, i'm going to try charging now20:01
kerioPali: idea: tapping on the battery in the status menu gives additional bq27200 informations20:07
DocScrutinizer05^^^ I support that idea a lot20:16
DocScrutinizer05kerio: you're aware green LED is just a msg to mce, requesting a certain pattern? The pattern will20:17
DocScrutinizer05'stick' until unset or overridden by a pattern with higher prio20:17
kerioPali: and, in that same popup, allow starting hostmode or something20:18
* kerio has very little space in the status menu20:18
DocScrutinizer05I.E. allow execution of arbitrary binary on clicking a certain button20:18
kerioDocScrutinizer05: you're going to run sudo bq27200.sh 60, right20:19
kerioit won't work!20:19
DocScrutinizer05'color' (and maybe also writing) on the button depending on return of the 'binary' called20:19
DocScrutinizer05kerio: depends on proper specs for the API between that applet and the binary20:20
kerioPali: you made the applet use the bq27200 data for the full charge :D :D :D20:21
kerioi love you20:21
DocScrutinizer05kerio: I think of 'binary' returning sth like `echo "-textbox "voltage: 3800mV\ncurrent: 266mA discharge"`20:22
keriohm20:22
kerioeeh, i don't really like it20:23
kerioif you want custom messages, there's widgets or buttons for it20:23
DocScrutinizer05or `echo "-button-color red -button-text 'kernel module didn't respond'"20:23
PaliI'm not going to implement that20:24
PaliI do not have time for it20:24
DocScrutinizer05kerio: 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 stuff20:24
kerioDocScrutinizer05: i think it uses hald-addon-bme data20:25
kerioPali: right?20:25
DocScrutinizer05I honestly don't care what it's using20:25
kerioPali: btw, it works perfectly20:25
DocScrutinizer05h-e-n original is supposed to still work, even with new applet20:25
kerionot if bq27x00-charger is loaded :)20:26
kerioer, bq2415x-charger20:26
kerioyou'd have to change booston a tiny bit20:26
DocScrutinizer05pfff, 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
keriobecause if it did that, i'd tell it to fuck off >:C20:27
kerioi want battery information while hostmoding, dammit20:27
DocScrutinizer05then I tell you as h-e-n user to f o20:27
kerioh-e-n devs are so rude!20:28
DocScrutinizer05so what? booston already gathers some battery info20:28
DocScrutinizer05it could gather more, if only no other process interferes by exclusively allocatzing the I2C interface to the chips20:29
keriokernel module don't care, kernel module don't give a fuck20:29
DocScrutinizer05???20:30
* DocScrutinizer05 detects kerio trolling mode20:30
kerioa http://www.youtube.com/watch?v=4r7wHMg5Yjg reference20:30
DocScrutinizer05o/20:30
kerioDocScrutinizer05: anyway, there is (or should be) no need to unload the charger modules to do hostmode20:32
*** dhbiker has quit IRC20:32
*** ZogG has joined #maemo-ssu20:33
*** ZogG has joined #maemo-ssu20:33
*** dhbiker has joined #maemo-ssu20:34
*** MrPingu has joined #maemo-ssu20:38
freemangordonalarm UI leaks at least one DBusMessage :(20:40
*** iDont has joined #maemo-ssu20:58
*** ZogG has quit IRC21:04
*** ZogG has joined #maemo-ssu21:19
*** ZogG has quit IRC21:19
*** ZogG has joined #maemo-ssu21:19
DocScrutinizer05leaks dbus-msg?21:23
*** dhbiker has quit IRC21:24
*** ZogG has quit IRC21:34
kerioPali: why do we need the "Battery:" text in the status menu applet?21:34
Paliwhy not?21:35
kerioit uses up space for no good reason21:35
Paliin original there is21:35
keriothere's *only* that in the original21:35
Palido you have problem with space in your language?21:35
Palistrings are transtaled21:35
kerioit's kinda full when it's also charging21:36
kerioPali: do you have a libbmeipc to give me too?21:36
Palikerio, new freemangordon libbmeipc only export temperate21:36
Paliyes, there is source code in git repo: https://gitorious.org/rx51-bme-replacement/libbmeipc21:37
Palikerio, for help ask freemangordon, he tested older version21:41
*** Milhouse has quit IRC21:45
*** Milhouse has joined #maemo-ssu21:45
*** arcean has joined #maemo-ssu21:48
*** ZogG has joined #maemo-ssu21:50
*** ZogG has quit IRC21:50
*** ZogG has joined #maemo-ssu21:50
*** iDont has quit IRC22:02
*** iDont has joined #maemo-ssu22:19
*** toxaris has joined #maemo-ssu22:24
lufI have a question about bluez PAN.22:26
lufAnyone open to discussion how it should be implemented?22:27
lufI'm trying to create a mode for NAP where no bridge interface will be used.22:27
lufBut it needs some mechanism for setting the interface which is added.22:28
kerioluf: #bluez :)22:28
lufkerio: :D Nice they remove all other code except NAP + bridge => I see no possibility22:28
lufkerio: any other idea opinion? :)22:29
lufI see two different ways22:29
kerioluf: no, i mean, go ask the guys in #bluez22:29
kerioit's the dev channel22:29
luf1) 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
luf2) just call some DBUS signal/method to keep another sw to setup the interface22:31
lufkerio: it's not so low devel thing.22:31
*** _rd has joined #maemo-ssu22:32
lufoption 1 means everything will be managed by bluez, option 2 means keep the settings of interfaces on another piece of SW.22:33
kerioi'd vote for 122:34
keriobut changing config files doesn't allow for "live" configuration22:35
lufkerio: 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
lufBTW 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
lufHmmm, it's good to write it here. I make better overview for myself.22:41
*** arcean has quit IRC22:41
lufNow I prefer option 1.22:41
lufDocScrutinizer05: I think you will be happy to share your opinion :)22:43
DocScrutinizer05I have to think about it, not sure I really understand the details yet22:45
lufDocScrutinizer05: Ok. feel free to ask.22:45
lufMaybe I should also describe the current situation (bluez-4.99).22:46
lufNow 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-ssu23:14
lufI'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 IRC23:15
*** Sc0rpius has quit IRC23:15
*** _rd has quit IRC23:18
*** iDont has quit IRC23:27
*** _rd has joined #maemo-ssu23:29
*** toxaris has quit IRC23:33
*** dhbiker has joined #maemo-ssu23:35
*** _rd has quit IRC23:48
*** _rd has joined #maemo-ssu23:48
*** NIN101 has quit IRC23:54
*** M4rtinK has joined #maemo-ssu23:58

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!