IRC log for #maemo-ssu on 20130407

00:11.47*** join/#maemo-ssu kerio (~kerio@Maemo/community/contributor/kerio)
00:25.16*** join/#maemo-ssu Martix (~martix@158.195.156.162)
01:19.52*** join/#maemo-ssu unclouded (~neil@2001:4428:200:80fc:ec9f:d21:9ba5:7bc)
02:06.58*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
02:08.38*** join/#maemo-ssu sv (~discopig@modemcable140.167-130-66.mc.videotron.ca)
02:08.39*** join/#maemo-ssu sv (~discopig@unaffiliated/discopig)
02:26.13*** join/#maemo-ssu jon_y_ (~enforcer@2002:3c35:9d87::3c35:9d87)
03:04.26*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
05:01.26*** join/#maemo-ssu M13 (~MirandaLS@170.133-224-87.telenet.ru)
05:12.10*** join/#maemo-ssu luf (~luf@ip-94-112-59-161.net.upcbroadband.cz)
07:21.50*** join/#maemo-ssu M4rtinK (~M4rtinK@158.195.156.165)
07:42.56*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
08:03.52*** join/#maemo-ssu kolp (~quassel@212.255.227.127)
08:42.34*** join/#maemo-ssu futpib (~futpib@89.106.197.42)
09:04.34*** join/#maemo-ssu NIN101 (~NIN@p5DD284C0.dip0.t-ipconnect.de)
09:08.38*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
09:24.23*** join/#maemo-ssu M4rtinK (~M4rtinK@147.175.116.232)
09:27.45*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
10:29.51*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-195-168-252-233.static.nextra.sk)
10:48.49*** join/#maemo-ssu arcean (~arcean@aael136.neoplus.adsl.tpnet.pl)
10:56.53*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-195-168-252-233.static.nextra.sk)
10:59.53*** join/#maemo-ssu M13 (~MirandaLS@170.133-224-87.telenet.ru)
11:21.00*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-195-168-252-233.static.nextra.sk)
11:23.54*** join/#maemo-ssu Martix (~martix@147.175.116.232)
11:44.00*** join/#maemo-ssu Martix (~martix@147.175.116.232)
11:47.52*** join/#maemo-ssu M4rtinK (~M4rtinK@147.175.116.232)
11:54.34*** join/#maemo-ssu arcean_ (~arcean@aaen184.neoplus.adsl.tpnet.pl)
12:27.37*** join/#maemo-ssu M4rtinK (~M4rtinK@147.175.116.232)
12:33.58*** join/#maemo-ssu Martix (~martix@147.175.116.232)
13:07.13*** join/#maemo-ssu Martix (~martix@147.175.116.232)
13:17.26*** join/#maemo-ssu Martix_ (~martix@147.175.116.232)
14:03.34*** join/#maemo-ssu arcean (~arcean@aaen184.neoplus.adsl.tpnet.pl)
14:15.04kerioDocScrutinizer05: my bq27k.py is becoming more and more clever :D
14:15.11kerionow i have a factory function that makes classes
14:15.33DocScrutinizer05ducks and covers
14:16.21DocScrutinizer05anybody a short noob summary about /etc/postfix/aliases for me?
14:17.23DocScrutinizer05there's also a ./aliases.db, does it need special treatment or does it sync to ./aliases 'automagically' ?
14:17.34DocScrutinizer05or are they unrelated?
14:22.53*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
14:46.46*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
15:44.20*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
15:44.39*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
15:48.39*** join/#maemo-ssu arcean (~arcean@aaen184.neoplus.adsl.tpnet.pl)
15:59.17merlin1991is does need treatment
15:59.23merlin1991either postfix restart or some command
16:01.11gregoanewaliases? (which I used the last time for sendmail, in the last millenium)
16:52.00*** join/#maemo-ssu NIN101 (~NIN@p5DD284C0.dip0.t-ipconnect.de)
17:04.15*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
17:10.10*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
17:45.35*** join/#maemo-ssu Mihanizat0r (~MirandaLS@170.133-224-87.telenet.ru)
17:55.06*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-86-49-81-87.net.upcbroadband.cz)
18:19.15*** join/#maemo-ssu Martix_ (martix@nat/redhat/x-lkdrzaprnyzjjyqd)
18:30.52*** join/#maemo-ssu Martix (martix@nat/redhat/x-jrnirdbgbcqkcgpd)
18:38.17DocScrutinizer05yeah, jacekowski also suggested newaliases
18:38.24DocScrutinizer05thanks
19:05.38*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
19:20.51discopighi
19:22.50*** join/#maemo-ssu gregoa_ (~gregoa@colleen.colgarra.priv.at)
19:46.29*** join/#maemo-ssu LauRoman (~LauRoman@5-14-92-176.residential.rdsnet.ro)
19:50.05freemangordonmerlin1991: dammit, fix that repo at last, even I am unable to upgrade to cssu, package system-services=0.3.8-68+0cssu1 is nowhere to be found :(
19:55.09*** join/#maemo-ssu arcean_ (~arcean@aacu54.neoplus.adsl.tpnet.pl)
20:55.24*** join/#maemo-ssu NIN101 (~NIN@p5DD284C0.dip0.t-ipconnect.de)
21:20.02*** join/#maemo-ssu Estel_ (~Estel@d56-215.icpnet.pl)
21:20.02*** join/#maemo-ssu Estel_ (~Estel@Maemo/community/contributor/Estel-)
21:24.35*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
21:28.03*** join/#maemo-ssu arcean_ (~arcean@aacu54.neoplus.adsl.tpnet.pl)
21:31.18Estel_kerio,  do you remember one of my devices that can't charge normally due to treating usb data pins as non-existent, so it require forcing dedicated mode in bme replacement?
21:31.39Estel_I did as suggested, i.e. forced it in /etc/event.d/bme, but it turned out, that it's too late for some situations
21:32.18Estel_for example, if battery get discharged completely (to the point of under 3000 mV), device doesnt event want to start booting, and when connected to charger, only *pretends* that it is emergency charging, by yellow diode
21:32.34Estel_now, where to modprobe bq2415x_battery, to get earliest charging possible?
21:32.42Estel_/sbin/preinit sounds ok, but...
21:33.06Estel_what about act_dead mode or emergency charging? anyone know what else should i edit to put charging module there?
21:33.16Estel_device uses u-boot, if that matters
21:34.14Estel_normally no problems, but if device user, accidentally, let it discharge too much, no way to charge it without using external charger, even if for 5 minutes (to allow device boot normally, at plug-in charger during boot). If possible, I would like to achieve emergency charging, too
21:34.47Estel_ShadowJK,  any ideas, how to force device into *really* charging in emergency mode (charger plugged in and battery under 3000 mV)
21:35.14Estel_or is it all hardcoded so without chip detecting crossed data, it will just light yellow diode, but do nothing? (as it does now)
21:39.51*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
21:46.34DocScrutinizer05amber LED is hardwired to bq24150 STAT output that indicates chip is in charging mode
21:47.28DocScrutinizer05D+/- detection by PHY is hardwired to bq24150 OTG input, that in POR state of schip determines whether chip is doing 500mA or 100mA charging
21:47.49kerioso Estel_'s stuck doing emergency charge at 100mA?
21:48.03DocScrutinizer05bottom line: when steady amber LED, bq24150 *is* charging battery, at least with 100mA
21:48.44Estel_DocScrutinizer05,  strange, as with this device, it doesn't work in emergency mode at all, while in normal mode it charger pefectly
21:48.48*** join/#maemo-ssu entitled (e@lodju.net)
21:48.59Estel_standard 1200 mA battery went from 2900 mV to 2600 mV
21:49.11Estel_during 10+ hours of "emergency charging"
21:49.12DocScrutinizer05a broken PHY will cause no D+/- short detection, so charging doesn't get forced to 500mA or even more, but stays at 100mA
21:49.18Estel_in that particular device
21:49.26Estel_i would be happy with 100 mA too
21:49.55Estel_I wonder why it doesn't charge at all. I'm not sure if it isn't even eating power due to that bright diode, lol
21:50.18DocScrutinizer05I don't know how much the system will consume when in pre-boot state at low voltage
21:50.20Estel_but that battery definitelly should get charged above 3000 mV pretty fast, @100mA
21:50.50Estel_just assumption - it shouldn't consume as much as 100mA, methinks
21:50.54DocScrutinizer05it *should* be really low power consumption
21:51.01Estel_nods
21:51.37Estel_btw on other devices I was able to emergency charge from dumb charger (100 mA), so something doesn't work as intended with broken phy
21:51.38Estel_ah
21:51.53Estel_from time to time, bme replacement detect this device as "boost mode", if not forced
21:51.57Estel_when connected to charger
21:52.10Estel_I wonder why, and how it can affect emergency charging?
21:52.30Estel_(btw, during non-charging, idle consumption is absolutely normal, so no power leaking)
21:52.46DocScrutinizer05maybe whatever damaged PHY (extreme overvoltage on USB?) also smoked up bq24150
21:52.54Estel_anyway, it seems that I can't affect the way emergency charging is happening via any means?
21:53.20Estel_DocScrutinizer05,  shouldn't be the case, as it's charging fine when device is booted using bq2415x_charger module :P
21:54.00DocScrutinizer05emergency charging is a purely hw-defined thing, as long as bq24150 is in POR state (hard to keep it in any other state)
21:54.47Estel_although unknown reason for device being damaged (I got it in this state, for free, as un-repairable, revived it by preparing working backup to restore, that used modules for kernel matching one in-device)
21:54.49Estel_I see
21:54.57Estel_hm, I wonder what could trigger other state...
21:55.04DocScrutinizer05twl4030 might become sticky on some weird settings regarding power/usb
21:55.35DocScrutinizer05~full-reset
21:55.44DocScrutinizer05or somesuch
21:56.01Estel_anyway, leaving emergency mode - when battery is above 3000 mV and device boots into act_dead when charger plugged in, modprobing charging module in /sbin/preinit is enough?
21:56.24Estel_DocScrutinizer05,  if full reset is that thing including removing battery for extended period of time, sadly, I tried it
21:56.56DocScrutinizer05~listkeys #maemo
21:57.14DocScrutinizer05~listkeys reset
21:57.39DocScrutinizer05~full reset
21:57.39infobotfrom memory, full reset is flip the battery switch to "replace" open the cover, press the little button with the stylus, close cover, flip the switch to normal, power on.  Warning: data in ram storage will be lost by doing a full reset
21:57.44Estel_For me it isn't problem, but device is used by my son on trips and somesuch, when LiPo charger or other N900's are not around. I'll wind up bancruting and buying external charger for 5$, probably. And modding it, cause ones sold here have risk of killing people by idiotic design, where *battery" pins have possibility to bend into touching 220V
21:57.53DocScrutinizer05meh!
21:58.08Estel_I just started to think I've missed some little button on N900 :P
21:58.38Estel_thanks for taking your time to explain emergency charger and searching for that factoid, btw
21:59.10*** join/#maemo-ssu gregoa (~gregoa@colleen.colgarra.priv.at)
21:59.51Estel_so, anyone remember how fckn act_dead is called? it doesn't skip /sbin/preinit in actdead mode, I hope? actually, it should be called from /sbin/preinit if certain conditions are meet?
22:01.30DocScrutinizer05full reset for twl4030 is done by holding powerbutton for 15s while inserting battery, or somesuch
22:04.10DocScrutinizer05~listkeys reset
22:04.20merlin1991freemangordon: use http://community-testing.merlin1991.at/ ;)
22:04.48freemangordonmerlin1991: it is missing there too
22:04.55merlin1991dafuq
22:05.02freemangordonand in all of the mirrors
22:05.04Estel_DocScrutinizer05,  thanks
22:05.27freemangordonmerlin1991: oh, wait
22:05.34Estel_one should hold it for at least 15 seconds and then enter battery, or hold and insert, then keep holding?
22:05.42freemangordonmerlin1991: it is in upstart, WTF?
22:05.44merlin1991http://community-testing.merlin1991.at/pool/free/u/upstart/system-services_0.3.8-68%2b0cssu1_armel.deb
22:05.53merlin1991yeah silly upstart package
22:06.17freemangordonyeah, my bad, I was looking in s directory
22:06.25merlin1991I did aswell
22:06.37freemangordonmerlin1991: however, repo should be fixed
22:06.46Estel_kerio, how one force u-boot to boot from sd, from u-boot terminal? it proposes some scripts like sdboot or emmcboot, but none of them works
22:06.59freemangordonEstel_: run sdboot
22:07.05Estel_(when one enters u-boot console, it informs about it, but none of them works)
22:07.08freemangordonor run mmcboot
22:07.13Estel_freemangrdon, it gives shitload of errors
22:07.13DocScrutinizer05I think it been like "hold for 12s at most 12s after inserting battery" or whatever
22:07.15Estel_any of them
22:07.45kerioEstel_: manual parameters
22:07.46freemangordonEstel_: then you don't have fat first partition. afaik
22:08.11Estel_freemangordon,  I have fat as first partition on emmc and it works from u-boot menu entries
22:08.18Estel_*just* mmcboot command doesn't work
22:08.47merlin1991DocScrutinizer05: are you planning on staying up longer today?
22:08.59Estel_it complains something about ext4, maybe it get confused by mmcblk0p2 being eext4? but why it cares, it should look at mmcblk0p1 only
22:09.13freemangordonEstel_: no idea then
22:09.40Estel_freemangordon,  considering that I have only one partition on sd and that partition is vfat, and using sdboot command result in same ext4 errors...
22:10.03Estel_I assume u-boot browse through all partitions and get pissed off by finding something that it doesn't like, even when he shouldn't care
22:10.34Estel_need to pester Pali, probably, but if he is going to say "won't fix, try to push upstream patch", I'm stopping to report anything to Pali :P
22:10.58Estel_if I would be able to push upstream patch, I wouldm fuck in fix it myself, instead of asking here or reporting anything to him
22:11.12Estel_s/fuck in/fucking/
22:16.11DocScrutinizer05merlin1991: probably
22:16.14DocScrutinizer05merlin1991: why?
22:16.25merlin1991might need some sudo on garage/repo later on
22:16.31DocScrutinizer05np
22:31.50Estel_DocScrutinizer05,  now the question is, does hard reset of charging chip work if battery inserted during performing hard reset is on unholy low voltage?
22:32.10Estel_or holy low voltage, like < 3000mV but > than 2500 mV
22:32.48Estel_(or unholy, like something like 2200 mV - never happened, but thinking theoretically). I wonder what kind fo voltage from battery is required to perform full_reset?
22:38.27Estel_"from different barrel" - I have 4 packages ready, but no time to polish packaging and release into repositories, ffs :P
22:38.49Estel_irony hits - all of them are for non-free section (kon-boot, and 3 games)
22:39.36Estel_especially funny, considering, how I used to ignore annoucements for  non-open source things for Maemo
22:39.58Estel_especially for non-FOSS game projects, heh
22:53.59*** join/#maemo-ssu arcean_ (~arcean@aacu54.neoplus.adsl.tpnet.pl)
23:14.31ShadowJKEstel_; afaik it's always limited to 100mA hardware-only. When I had uBoot+meego on spare device, bme would not start charging empty battery (nolo charging missing), but there was still enough time for me to launch xterm and launch meegocharge21.sh
23:17.13DocScrutinizer05ShadowJK: according to schematics and bq24150 datasheet it's forced into 500mA mode on OTG=1 in POR mode
23:20.00DocScrutinizer05OTG  D4 I
23:20.02DocScrutinizer05Boost mode enable control or input current limiting selection pin. When OTG is in active status, bq24150/1 is forced to operate in boost mode. It has higher priority over I2C control and can be disabled through control register. The logic voltage level at OTG active status can also be controlled. At POR, the OTG pin is default to be used as the input current limiting selection pin. When OTG = High, Iin – limit = 500mA and when OTG
23:20.03DocScrutinizer05= Low, Iin – limit = 100mA, see the Control Register for details.
23:22.49DocScrutinizer05while
23:23.04DocScrutinizer05STA TC 4 O  Charge status pin. Pull low when charge in progress. Open drain for other conditions. During faults,  a128-mS pulse is sent out. STAT pin can be disabled by the EN_STAT bit in control register. STAT ca nbe used to drive a LED or communicate with a host processor.
23:26.56ShadowJKDocScrutinizer05; current balance and the time I had to start charge indicated 100mA
23:27.26ShadowJKI didn't always manage to start charging before voltage dropped too low
23:31.01DocScrutinizer05sorry, I can't follow
23:31.28DocScrutinizer05NB the OTG function is defined for POR (non I2C) mode only
23:31.50DocScrutinizer05in I2C mode you can configure OTG input to anything you like
23:32.48DocScrutinizer05btw difference of 1704 and 1707 is in level of charge output, so it matches what bq24150 needs for emergency fastcharging to work
23:32.51DocScrutinizer05iirc

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