IRC log of #maemo-ssu for Tuesday, 2013-04-09

*** Martix has joined #maemo-ssu00:00
*** Martix has joined #maemo-ssu00:05
*** Martix has quit IRC00:07
*** Guest70244 has quit IRC00:12
ShadowJKthe power increase on plugging in happens with normal device too, with kernelpower it goes away after reading out the sysnode for charger detect00:21
*** xes has quit IRC00:21
ShadowJKwtih vanilla kernel it never goes away00:22
ShadowJKSo when you force charging from powersource without shorted d+/d-, the increased power drain is always present00:22
ShadowJKabout 80mA extra00:22
*** Vlad_on_the_road has quit IRC00:31
*** MohammadAG has joined #maemo-ssu00:50
Estel_ShadowJK,  when I force it using KP, it isn't present00:53
Estel_no additional 80 mA00:53
Estel_it's problem in range of 500 additional mA, untill I reset bq24150 via i2cget00:54
ShadowJKforce it?00:54
Estel_using bme replacement00:55
Estel_forcing detection of dedicated charger00:56
kerioeither it's detecting it or it's forced01:00
kerioyou can't have both01:00
Estel_forced, forced01:00
*** LauRoman has quit IRC01:38
*** LauRoman has joined #maemo-ssu01:42
*** kolp has quit IRC01:45
*** luf has quit IRC02:10
*** arcean has quit IRC03:00
*** M4rtinK has quit IRC03:19
DocScrutinizer05musb core tries to talk to phy via ULPI. If phy is defect, the staemachine in musb core might go mad and spam phy with commands and gets IRQ as answer and resends commands04:06
DocScrutinizer05almost a "hardware only" thing04:07
DocScrutinizer05or just maybe KP has "newest leete patches" and now tries to enable boost chargepump in twl4030 ;-P04:10
DocScrutinizer05just mere luck that this chargepump is missing a capacitor, or we'd burn the N900 by one chip in boostmode while other chip in chargemode04:11
DocScrutinizer05on beaglebord somebody smoked up his hw this way04:12
DocScrutinizer05OOOH HAHA04:14
DocScrutinizer05OTG pin of bq24150 actually switches the chip into boost mode when in I2C mode04:15
DocScrutinizer05and the OTG pin on bq24150 is connected to... PHY04:16
DocScrutinizer05so if kernel sends "keep alive" aka watchdog tickling to bq24150 via I2C but forgets to properly initialize the chip (configure OTG pin so it will not force boost mode), you most likely will see nasty behaviour04:20
DocScrutinizer05particularly with broken PHY chip that obviously doesn't obey to what musb core tells it to do04:21
DocScrutinizer05when PHY isn't connected to battery anymore, it might even cause wild oscillation between boost (PHY now gets voltage from boostmode via USB, and thus starts to work correctly, disasserting CHARGER/OTG) and proper "normal mode" (PHY works properly from VBUS voltage by boost, and thus doesn't provide OTG pulldown anymore, so bq24150 stops boost)04:28
DocScrutinizer05this wild oscillation would for sure cause arbitrary power burning, by charging up buffer capacitors on VBUS, then using same enery stored in those buffer capacitors to charge battery, then starting with boostmode again a millisecond later04:30
DocScrutinizer05obviously attaching a charger will fix it since VBUS always present so PHY won't stop working and thus never asserts OTG erratically04:31
DocScrutinizer05funny bug04:31
DocScrutinizer05so funny I even like to check back in schematics now if it's a real possibility, or if I missed sth04:33
DocScrutinizer05nope, i made a logical mistake, OTG pin needs HIGH voltage to force chip into boost mode, NOT GND level. And the line from PHY to bq24150 (CHRG_DET -> OTG) has even a pulldown R428104:40
DocScrutinizer05anyway PHY depends on GAIA HFCLKOUT, and GAIA is the chip that gets reset by full-reset procedure04:46
DocScrutinizer05HFCLKOUT is a (iirc) 32768Hz clock derived from RTC04:47
DocScrutinizer05and it's configurable in sticky GAIA (aka TWL4030) config registers04:48
*** unclouded has joined #maemo-ssu04:48
DocScrutinizer05without that clock, ULPI communication to musbcore for sure is flawed04:49
DocScrutinizer05anywy, PHY is conected to quite a number of other subsystems, and it could provide enough material for a master thesis to try and analyze all possible failure modes whith this chip going south in various strange ways04:58
DocScrutinizer05not even complete removal of that PHY 1707 chip will yield predictable results04:59
*** amiconn has quit IRC05:04
*** amiconn_ has joined #maemo-ssu05:04
*** amiconn_ is now known as amiconn05:04
*** LauRoman has quit IRC05:59
*** DocScrutinizer05 has quit IRC06:03
*** DocScrutinizer05 has joined #maemo-ssu06:03
*** nox- has quit IRC07:10
*** M13 has joined #maemo-ssu07:18
*** sunny_s has joined #maemo-ssu07:42
*** M13 has quit IRC09:02
*** M13 has joined #maemo-ssu09:03
*** amiconn has quit IRC09:31
*** amiconn has joined #maemo-ssu09:31
*** M4rtinK has joined #maemo-ssu09:37
*** sunny_s has quit IRC09:58
*** LauRoman has joined #maemo-ssu09:59
*** M4rtinK has quit IRC10:03
*** dhbiker has joined #maemo-ssu10:07
*** sv has joined #maemo-ssu12:17
*** sv has joined #maemo-ssu12:17
*** kolp has joined #maemo-ssu12:20
*** discopig has quit IRC12:21
*** sunny_s has joined #maemo-ssu12:34
*** futpib has joined #maemo-ssu12:55
*** kolp has quit IRC13:07
*** M13 has quit IRC13:20
*** LauRoman has quit IRC13:25
*** sv is now known as discopig13:42
*** FReaper has quit IRC13:59
*** FReaper has joined #maemo-ssu14:03
*** unclouded has quit IRC14:23
*** sv has joined #maemo-ssu14:41
*** discopig has quit IRC14:43
*** sv is now known as discopig14:43
*** lizardo has joined #maemo-ssu15:21
*** kolp has joined #maemo-ssu16:00
*** jonwil has joined #maemo-ssu16:11
jonwilhi16:11
*** arcean has joined #maemo-ssu16:20
*** M13 has joined #maemo-ssu17:40
*** andre__ has quit IRC18:26
*** NIN101 has joined #maemo-ssu18:41
DocScrutinizer05hi jonwil18:43
*** andre__ has joined #maemo-ssu18:49
*** andre__ has joined #maemo-ssu18:49
* jonwil wonders if all the issues relating to maemo infrastructure were ever solved18:49
jonwillike the problems with the signature on the repositories18:49
*** NIN101 has quit IRC18:53
*** NIN102 has joined #maemo-ssu18:53
DocScrutinizer05no, those signature problems are still pending, the nokia-ext guy seems has no pressure to do sth about it19:17
DocScrutinizer05otoh siganture problem is not related to maemo infra19:17
DocScrutinizer05right now we have another problem that's actually related to maemo.org: SSL certs, they are expiring by the day now19:18
DocScrutinizer05and we still don't own the domain19:18
*** DocScrutinizer51 has quit IRC19:21
*** DocScrutinizer51 has joined #maemo-ssu19:21
jonwilSo because the domain and stuff are still owned/controlled by Nokia only Nokia can legally obtain SSL certs for it?19:29
*** jonwil has quit IRC19:34
kerioDocScrutinizer05: startssl will allow you to get free certs if you control the matching webserver iirc19:42
kerioeither that, or the DNS19:42
DocScrutinizer05yes, but only lowest "level" of cert. We'd prefer a wildcard cert, and those are only available address-validated not domain-validated, and they cost a few bucks19:50
DocScrutinizer05anyway warfare seems has opted for startssl for now19:52
*** M4rtinK has joined #maemo-ssu20:03
kerioof course he did20:15
kerioit's /free/20:15
kerioand it requires barely more than no effort20:16
*** arcean_ has joined #maemo-ssu20:36
*** arcean has quit IRC20:39
*** Vlad_on_the_road has joined #maemo-ssu20:49
*** luf has joined #maemo-ssu21:00
*** andre__ has quit IRC21:39
*** BCMM has joined #maemo-ssu21:42
*** andre__ has joined #maemo-ssu21:51
*** xes has joined #maemo-ssu21:53
Estel_DocScrutinizer05,  when I reset chip, and then enable boost via i2cset like in booston from HEN, I got exact same power usage as just after boot, on that device with broken smth22:29
Estel_I workarounded it by modifying /etc/event.d/bme to unload module touching bq24150, enabling boost via i2cset, reseting bq24150 via i2c set, loading module again, and forcing dedicated charging22:30
Estel_strangely, skipping "enable boostmode" step, sticking to only reset command, doesnt work22:30
Estel_despite that all other symptoms seems to idnicate device is in boostmode since boot22:31
Estel_fortunatelly, trick with enabling boost and resetting chip in next command works, so no need to put charger in after every boot22:31
Estel_for sure this device wasn't presenting that behavior from beginning, it seems that usage made this problem appear22:32
Estel_so I wonder what will come next :P22:32
*** NIN102 has quit IRC22:41
*** M13 has quit IRC22:50
*** dhbiker has quit IRC23:23
*** lizardo has quit IRC23:40
*** LauRoman has joined #maemo-ssu23:47

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