IRC log of #maemo for Friday, 2015-01-30

*** M4rtinK has quit IRC00:00
*** _rd has quit IRC00:05
*** RiD has quit IRC00:14
*** Mek has quit IRC00:14
*** Mek has joined #maemo00:15
*** RiD has joined #maemo00:15
*** drathir has quit IRC00:16
*** stryngs has left #maemo00:16
*** Pali has quit IRC00:18
*** tanty is now known as tanty_off00:19
*** M4rtinK has joined #maemo00:24
*** at1as has quit IRC00:25
*** drathir has joined #maemo00:30
gregoa&g 2500:35
MaxdamantusSo has someone made something like bq27200.sh that uses the kernel module instead of i2c?00:40
* Maxdamantus just did a hack modification to it.00:40
Maxdamantus./i2cget (){ sed '/^'"$4"'/!d; s/^[^=]*=//' </sys/class/power_supply/bq27200-0/registers; }00:40
Maxdamantusthough had to lower-case some uses of the command.00:41
*** wotan147 has quit IRC00:43
bencohbleh, stryngs disconnected00:53
bencohfor the record, apt-get source libc6 works in scratchbox (it comes from fremantle/sdk/free)00:54
*** dos1 has quit IRC01:07
*** M4rtinK has quit IRC01:39
*** florian has quit IRC01:41
*** XDS2010_ has quit IRC01:48
*** r00t|home has quit IRC01:49
*** rZr has left #maemo01:56
*** XDS2010_ has joined #maemo01:56
*** dos1 has joined #maemo01:58
MaxdamantusYay, won a race in typeracer on my N900.01:59
Oksana:-)02:14
*** LauRoman|Alt has quit IRC02:16
*** RiD has quit IRC02:16
*** xorly| has quit IRC02:19
*** mario has quit IRC02:19
*** mario has joined #maemo02:20
*** mario has left #maemo02:24
*** hubutm20 has joined #maemo02:33
*** hubutm20 has quit IRC02:44
*** xes has quit IRC02:47
*** fmunozs has joined #maemo02:54
*** Kabouik has joined #maemo02:55
*** Kabouik_ has quit IRC02:57
*** hubutm20 has joined #maemo03:00
*** vakkov has quit IRC03:15
*** vakkov has joined #maemo03:18
*** Kabouik_ has joined #maemo04:11
*** Oksana has quit IRC04:14
*** Kabouik has quit IRC04:15
*** robbiethe1st has joined #maemo04:29
*** Oksana has joined #maemo04:33
*** fortytwo has quit IRC04:39
*** obsed has joined #maemo04:39
*** fortytwo has joined #maemo04:41
*** NIN101 has quit IRC05:19
*** NIN101 has joined #maemo05:19
*** futpib has quit IRC05:21
*** trumee has quit IRC05:24
*** trumee has joined #maemo05:31
*** trumee has joined #maemo05:34
*** at1as has joined #maemo05:46
*** at1as has quit IRC05:52
*** at1as has joined #maemo05:52
*** lxp1 has joined #maemo06:01
*** lxp has quit IRC06:03
*** robbiethe1st has quit IRC06:21
*** fmunozs has quit IRC06:49
*** at1as has quit IRC06:49
*** bef0rd has quit IRC06:50
*** bef0rd has joined #maemo06:51
*** bef0rd has quit IRC06:55
*** at1as has joined #maemo07:20
*** xjiujiu has joined #maemo07:25
*** CR0W has quit IRC07:25
Sicelo_i will install cssu-t sometime soon07:37
Sicelo_sorry07:37
freemangordonSicelo_: why sorry?07:41
*** spoofy has quit IRC07:57
*** Oksana has quit IRC08:03
*** Psi has quit IRC08:06
*** Psi has joined #maemo08:09
*** Luke-Jr has quit IRC08:26
*** Luke-Jr has joined #maemo08:27
*** hubutm20 has quit IRC08:32
*** VDVsx_ has joined #maemo08:40
*** VDVsx has quit IRC08:42
*** at1as has quit IRC08:43
*** ssvb has quit IRC08:48
*** LauRoman|Alt has joined #maemo08:54
*** ssvb has joined #maemo08:58
*** _rd has joined #maemo08:58
*** zGrr has joined #maemo09:08
*** mavhc has quit IRC09:22
*** _rd has quit IRC09:22
*** mavhc has joined #maemo09:24
zGrrmoin :)09:25
*** mavhc has quit IRC09:34
*** mavhc has joined #maemo09:37
*** Cor-Ai_ has joined #maemo09:44
*** Cor-Ai has quit IRC09:46
*** auenfx4 has joined #maemo09:51
*** auenf has quit IRC09:52
*** Luke-Jr has joined #maemo10:12
*** Pali has joined #maemo10:15
*** sunny_s has joined #maemo10:19
*** tanty_off is now known as tanty10:21
*** florian_kc has joined #maemo10:32
*** Haudegen has quit IRC10:33
*** florian_kc is now known as florian10:35
*** Haudegen has joined #maemo10:38
*** _rd has joined #maemo10:40
*** skule has quit IRC10:47
*** auenf has joined #maemo10:54
*** auenfx4 has quit IRC10:55
*** sparetire has quit IRC10:59
*** auenfx4 has joined #maemo11:04
*** auenf has quit IRC11:05
*** ceene has quit IRC11:08
*** geaaru has joined #maemo11:12
*** Haudegen has quit IRC11:14
*** Haudegen has joined #maemo11:19
*** _rd has quit IRC11:20
*** Haudegen has quit IRC11:25
*** Haudegen has joined #maemo11:27
*** LauRoman|Alt has quit IRC11:34
*** Kabouik has joined #maemo11:40
bencohyay, just received a new polarcell11:46
bencohnow ... do I need to do anything to "calibrate" it ?11:47
kerioyou can calibrate the bq27200 chip in the n900 if you want11:49
keriobut it's not something that's used by the standard BME11:49
kerioso it won't be reflected by the battery applet, for instance11:49
bencohhmm11:57
bencohdoes it mean that bme has some hardcoded constants for nokia bl-5j ?11:57
*** N-Mi has joined #maemo11:57
kerionobody knows what bme does12:00
kerioexcept that it's shit12:00
bencoh:]12:00
Vajbi thought that bme just uses that resistor value to estimate capacity12:00
bencohhmm12:00
Vajbtho bme replacemnt seams to lean on same value...12:01
Vajbbleh12:01
Vajbseems12:01
kerioyou don't understand how bme replacement works then12:01
bencohhow does it work ?12:01
Vajbthat is so true :)12:02
kerioif bq27k is calibrated, it'll use all the values from it12:02
Vajbbut i can clearly see what my battery applet shows and what not12:02
keriootherwise it'll use the resistor value12:02
kerioif rx51_battery is loaded12:03
Vajbwell it is calibrated but value is not even close to last measured discharge value12:03
*** _rd has joined #maemo12:03
keriothen it's not calibrated12:04
Vajb1487 last measured and applet shows 127712:04
kerioCI?12:04
kerioit's one of the flags12:04
Vajbci?12:04
kerioit's one of the flags12:04
bencohlooks like rx51_battery is loaded but unused according to lsmod12:04
bencohI'm using the original bme though12:04
*** FlameReaper-PC has joined #maemo12:05
bencoh(cssu-s)12:05
Vajbci:112:05
kerioVajb: so there you go12:05
bencohor does it just periodically check a /sys entry ?12:05
kerioit's not calibrated12:05
Vajbhmm how come?12:05
keriobecause the calibration was marked invalid due to aging12:05
Vajbi ran bq five times12:05
Vajband this is quite new battery12:06
Vajbtwo months maybe12:06
kerioCI is set after 30 charge cycles12:06
Vajbbut ok ci is the flag to follow12:06
Vajbguess it should be 0 then12:06
kerioit's not that "it should be 0"12:06
kerioit's that if CI is set, you can't trust the bq27k values12:07
keriothat's what the flag means12:07
kerioit's also set in case of extreme conditions, iirc12:07
*** Vajb has quit IRC12:11
*** Vajb has joined #maemo12:12
bencohwhat I understand from this is that nokia fucked up with an onboard charge controler :p12:14
kerioeeh12:14
keriobq27k is intended to be attached to the battery itself, yes12:15
bencohI hope that batteries are cheaper at least12:15
kerioi don't think the cost of a chip is relevant12:15
bencohI mean, effectively cheaper, for customers (us)12:15
bencohthen it was a stupid idea :)12:15
keriothe cost of raw nand compared to the cost of a uSD is pretty much the same12:15
kerioeven though a uSD has some extra component12:16
kerio*components12:16
bencohkerio: bottomline ... should I do anything regarding the new polarcell, apart from just swapping it with the old one ? :)12:17
keriorecalibrate bq27k, if you want12:17
keriobut it's hard to calibrate it if you're running bme_rx5112:18
bencohdoes bme remplacement run on cssu-s ?12:18
MaxdamantusWhy is it hard to calibrate if you're running bme_rx51? Because it shuts down the system?12:19
*** skule has joined #maemo12:23
Vajbkerio: so i need to run bq272k 30 times to calibrate or just load and discharge my battery normally 30 times? It shows now that i had 35 cycles since last calibration12:25
keriowut12:26
keriono, you just do the calibration once12:26
kerioit'll last for 30 cycles12:26
Vajbbut it never showed the right value so i guess it was never succesfull12:26
keriohuh12:26
keriothat's weird12:26
kerioare you sure you have the bme replacement installed?12:27
Maxdamantuscat /sys/class/power_supply/bq27200-0/capacity12:27
kerioand not some weird battery applet12:27
bencoh11:26 < kerio> no, you just do the calibration once12:27
bencoh11:26 < kerio> it'll last for 30 cycles12:27
Vajbi mean it changed value everytime, but it was always 200mah less12:27
kerioah yes, that's another issue12:27
keriobq27k won't adjust too much12:28
kerioso until you get two calibrations in a row with roughly the same value, you're not getting a correct value12:28
bencohbleh12:28
bencohit feels like black magic12:28
kerioit's to avoid outliners12:28
keriobecause of weird issues12:28
keriobut, again, it shows that bq27k was supposed to be attached to a constant power source12:29
keriobecause you lose the calibration when you switch battery12:29
bencohexactly12:29
MaxdamantusWould it still actually be effective even if part of the battery?12:29
kerioof course12:29
bencohit would be calibrated once and for all12:29
MaxdamantusI don't think I ever let my N900 fully charge then fully discharge, until a few days ago.12:30
kerioyou just have to be mindful that every once in a while, you have to let it discharge completely12:30
Maxdamantusfor the almost-year I've had it.12:30
MaxdamantusYeah, so it's something users have to consciously do.12:30
bencohMaxdamantus: same here, but my old polarcell has never shown anything beyond 1230mAh12:31
bencoh(I dunno how old it is)12:31
kerionot all polarcells are equal i guess12:31
bencohprolly12:31
kerioi bought a random-ass battery with no discernible brand12:31
Maxdamantusand what does it mean by the 30 charge cycles?12:31
kerioand i got a ~1500mAh thing12:31
bencohand I guess they age too12:31
Maxdamantuswhat constitutes a charge cycle, if not letting it fully charge then fully discharge?12:32
Maxdamantus(which should calibrate it)12:32
keriocharging and discharging a total of LMD12:32
kerioso if you discharge from 100% to 50% and then charge it back to 100% twice, it's a cycle12:32
MaxdamantusAh.12:32
kerioor roughly a cycle i guess12:33
keriobq27k does some automatic lowering of LMD as time goes12:33
kerioso your expectations are never too high12:33
kerioit's a pretty nice chip :312:33
bencohkerio: buying a random noname battery feels like placing a bet12:34
bencoh"will it blend ?"12:34
MaxdamantusI'm still sceptical about the fact that users would have to consciously calibrate it.12:34
kerioit was suggested by vi____, iirc12:34
kerioMaxdamantus: if you want really accurate measurements, it's even worse12:35
bencohvi____ ?12:35
keriobecause the faster you discharge it, the less charge it's going to show12:35
keriobecause it's not an ideal capacitor12:35
keriothere's lots of chemical bullshit going on in a lithium battery12:35
bencohit's no bullshit :p12:35
MaxdamantusI think I found the opposite.12:36
bencoh(no, I'm no chemist)12:36
MaxdamantusWhen I first tried to calibrate it a few days ago, I discharged it in about two hours, and it recorded the LMD as 1486 mAh.12:36
MaxdamantusIt's now down to 1177 mAh after another similarly fast one (~2h30) and one slow one (~20h)12:38
kerioyeah, because your battery is roughly 1200 but the default was 150012:39
kerioso you need two or three calibrations to get an accurate value12:39
kerioregardless of how fast you're discharging the battery :)12:39
MaxdamantusThe default where?12:39
Maxdamantusprovided by the chip manufacturer?12:40
Maxdamantusor did the previous user use a higher-capacity battery?12:40
keriothe default in bq27k, yes12:40
MaxdamantusMm.12:40
keriono no, the data is reset when you pull the battery12:40
kerioistr it's not attached to the backup battery12:40
keriowhich is probably not working anyway12:40
MaxdamantusIndeed.12:41
MaxdamantusHm. I though I'd already pulled the battery out (long enough for it to forget the time) since the first calibration.12:42
Maxdamantusmaybe I haven't.12:43
kerioooh actually i'm wrong12:44
keriothe default is ILMD12:44
kerioInitial Last Measured Discharge (ILMD): 2056.32 mAh12:44
*** _rd has quit IRC12:45
Maxdamantuson the N900?12:45
MaxdamantusIt looks like the ILMD is meant to be programmed in.12:45
kerioyep12:46
keriobut it wasn't programmed12:46
MaxdamantusHeh, because they weren't expecting to use it.12:46
kerioit's not particularly meaningful, the way it was implemented on the n90012:46
kerioyou program a batch of chips with the approximate charge your batteries are going to hold12:46
*** Haudegen has quit IRC12:47
*** Haudegen has joined #maemo12:51
bencoh11:44 < kerio> Initial Last Measured Discharge (ILMD): 2056.32 mAh12:53
bencohwait, what ? 2056mah ?12:53
bencohwhere does that come from ?12:54
* Maxdamantus wonders if it'd be better if the software let people specify what they think the battery's capacity is.12:55
bencohprolly not12:56
Maxdamantusand just use that and `LMD - NAC`12:56
kerioit's not linear12:57
kerioit's used as a starting point for calculations12:57
Paliinitial value comes from EEPROM chip in n90013:01
Paliprogrammed by Nokia13:02
keriowhy wasn't it set in a more sensible way, tho13:06
*** uhhimhere has quit IRC13:10
*** ssvb has quit IRC13:28
*** futpib has joined #maemo13:31
*** ssvb has joined #maemo13:31
*** uhhimhere has joined #maemo13:37
Palikerio: because nokia bme does not use ILMD, so it was probably programmed to default max value13:45
kerioyeah but13:46
*** auenfx4 has quit IRC13:46
keriothey know their BL-5J13:46
PaliI think they did not set ILMD value and by default some factory settings is 0xFFFF or so13:46
*** auenf has joined #maemo13:47
keriooic13:47
*** ceene has joined #maemo13:52
Vajbi guess bme replacement is now sorted. So maybe someone can explain how is it possible that my n900 still reboots daily with sw_rst even though i have r&d mode enabled with 3 wd flags14:18
Vajbsyslog doesn't show anything unusuall. Is there other ways to debug?14:19
Palilifeguard reset?14:35
Palihw reset?14:36
*** MohammadAG has quit IRC14:41
*** ssvb has quit IRC14:42
*** MohammadAG has joined #maemo14:48
Vajbenabled14:48
Vajbalso omap is enabled14:48
*** at1as has joined #maemo14:49
*** arcean has joined #maemo14:52
*** hurrian has joined #maemo14:53
*** kylanpaj has quit IRC14:57
*** kylanpaj has joined #maemo14:57
*** b-p has quit IRC15:41
*** stryngs has joined #maemo15:43
Palithen some hw reset.. low battery? other hw problem?15:56
*** vakkov has quit IRC15:58
Vajbbattery is fresh16:13
Vajbdunno about hw problems. Everything seems to work16:13
Vajbalso worth mentioning is that it has no sim just wlan connection always on16:14
Vajbi thought first that maybe battery connection is the cause, but tightening them brought no difference16:15
Vajbhow to pinpoint hw problem?16:15
*** bef0rd has joined #maemo16:24
*** vakkov has joined #maemo16:25
*** b-p has joined #maemo16:26
*** ashneo76 has joined #maemo16:31
*** zGrr has quit IRC16:34
*** ssvb has joined #maemo16:38
*** VDVsx_ has quit IRC16:45
*** arcean has quit IRC16:48
*** arcean has joined #maemo16:56
*** VDVsx_ has joined #maemo16:58
Paliprovide syslog17:10
Palimaybe there is something17:10
*** xjiujiu has quit IRC17:15
*** vakkov has quit IRC17:17
Vajbr there any specific lines to search for?17:17
Vajbgive my device a few days and it will produce syslog to look at.17:18
Vajbshould i post it to pastebin for example?17:18
*** vakkov has joined #maemo17:22
*** Kabouik_ has quit IRC17:33
*** Kabouik_ has joined #maemo17:34
Palithere must be something which caused reboot17:38
Palieither regular reboot (and rsyslogd daemon write to systlog that was stopped) or HW reboot (no indication about regular reboot)17:39
*** xjiujiu has joined #maemo17:41
*** dimw1t has joined #maemo17:42
*** at1as has quit IRC17:42
*** b2n2 has quit IRC17:50
*** dimw1t is now known as at1as17:52
freemangordonPali: EEPROM?18:01
freemangordonif it is EEPROM we can reprogram it18:01
*** bef0rd has quit IRC18:02
*** bef0rd has joined #maemo18:02
*** bef0rd has quit IRC18:07
*** b2n2 has joined #maemo18:07
*** RedW has quit IRC18:08
*** RedW has joined #maemo18:11
*** at1as has quit IRC18:14
*** at1as has joined #maemo18:15
*** florian has quit IRC18:23
*** vakkov has quit IRC18:39
*** troulouliou_dev has joined #maemo18:47
*** RiD has joined #maemo18:55
*** xjiujiu has quit IRC18:59
*** ced117 has joined #maemo19:01
*** troulouliou_dev has quit IRC19:02
*** vakkov has joined #maemo19:19
Palifreemangordon: cannot, it is connected to bq chip19:25
Paliand reprogramming needs some voltage on hw level...19:25
Paliask shadowjk, he could know more...19:26
*** mavhc has quit IRC19:27
*** mavhc has joined #maemo19:27
*** mavhc has quit IRC19:29
*** mavhc has joined #maemo19:33
*** spoofy has joined #maemo19:45
*** povbot has joined #maemo19:51
*** b2n2 has quit IRC19:52
*** geaaru has quit IRC20:00
*** tanty is now known as tanty_off20:02
*** b2n2 has joined #maemo20:03
*** FReaper-PC has joined #maemo20:07
*** Drevkevac has quit IRC20:08
*** pigeon has quit IRC20:08
*** lool has quit IRC20:08
*** ecc3g has quit IRC20:08
*** fk_lx has quit IRC20:08
*** Gizmokid2005 has quit IRC20:08
*** Sc0rpius has quit IRC20:08
*** AndrewX192 has quit IRC20:09
*** drawkula has quit IRC20:09
*** Veggen has quit IRC20:09
*** fk_lx has joined #maemo20:09
*** emma has quit IRC20:09
*** frals has quit IRC20:09
*** obironbo has quit IRC20:09
*** lool has joined #maemo20:09
*** pigeon has joined #maemo20:09
*** FlameReaper-PC has quit IRC20:09
*** Veggen has joined #maemo20:09
*** frals has joined #maemo20:10
*** frals has quit IRC20:10
*** frals has joined #maemo20:10
*** obironbo has joined #maemo20:10
*** emma has joined #maemo20:10
*** Sc0rpius has joined #maemo20:13
*** Gizmokid2005 has joined #maemo20:13
*** Drevkevac has joined #maemo20:15
ShadowJKiirc 40V on pins not exposed20:15
*** ced117 has quit IRC20:17
*** Haudegen has quit IRC20:19
*** AndrewX192 has joined #maemo20:21
*** drawkula has joined #maemo20:22
*** Haudegen has joined #maemo20:23
*** RedW has quit IRC20:25
*** ced117 has joined #maemo20:30
*** N-Mi has quit IRC20:38
*** N-Mi has joined #maemo20:41
*** N-Mi has quit IRC20:51
*** Kabouik has quit IRC20:51
*** maybeArgh has joined #maemo21:06
*** maybeWTF has quit IRC21:10
*** eMHa has quit IRC21:13
*** wotan147 has joined #maemo21:20
*** sparetire has joined #maemo21:24
*** eMHa has joined #maemo21:25
*** _maniac__ has quit IRC21:37
*** _maniac__ has joined #maemo21:38
*** sq-one has joined #maemo22:13
stryngsIs it insane to upgrade dpkg itself?22:29
*** ecc3g has joined #maemo22:29
stryngsWould it break my n900?22:29
*** _rd has joined #maemo22:34
*** xes has joined #maemo22:42
*** LauRoman has joined #maemo22:42
stryngsNobody? =-)22:45
stryngsCommon folks, I'm trying to build a native package builder for the n90022:46
*** florian has joined #maemo22:46
stryngsThis will be of great use to those who wish to build .debs directly on their n90022:46
stryngsJust need a wee bit o help22:46
Sicelo_dpkg did get updated in some CSSU version iirc.. anyway, since you do things your own way, i'd say take a backup, try what you want, and see...22:53
stryngstrue =)22:53
stryngsIt'll be neat though Sicelo, a native dh_make and such22:53
stryngsI know people harp on scratchbox and all22:54
stryngsi was missing dpkg-buildflags, so i needed to update =)22:54
*** RiD has quit IRC23:00
*** arcean has quit IRC23:02
merlin1991stryngs: there should be a newer debhelper version in extras23:08
merlin1991maemo.org/packages/view/debhelper7/23:08
merlin1991dunno if that is enough to include what you want23:08
stryngslooking for 8 =/23:22
stryngsi'm playing the dependency hell game23:22
stryngsbut im almost htere!23:22
stryngsand when done I'm gunna repo it up for the community !23:22
stryngsPretty exciting =)23:22
stryngsWould upgrading perl be bad for the n90023:23
*** LauRoman|Alt has joined #maemo23:24
MaxdamantusMm, so now LMD is 1175 mAh, down from 1177. I guess that means it's found about the right value.23:30
*** M4rtinK has joined #maemo23:32
*** Kaari has joined #maemo23:34
stryngszomg, my head is gunna pop23:41
stryngsi just want to say, I HATE scratchbox23:41
merlin1991nah scratchbox is fine23:43
merlin1991when you know the quirks ;923:43
merlin1991btw please make your new debhelper package in a way that it can coexist with the original one, because if not we are in build hell ...23:43
*** RiD has joined #maemo23:48
*** Milhouse has quit IRC23:48
*** stryngs has quit IRC23:49
*** BCMM has joined #maemo23:50
*** LauRoman|Alt has quit IRC23:57
*** LauRoman|Alt has joined #maemo23:59

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