IRC log for #maemo-ssu on 20130331

02:01.48*** join/#maemo-ssu LauRoman (~LauRoman@5.14.92.176)
02:17.21*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
04:03.59*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
04:41.27*** join/#maemo-ssu M13 (~MirandaLS@170.133-224-87.telenet.ru)
06:17.58*** join/#maemo-ssu futpib (~futpib@89.106.197.71)
06:59.49*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
09:54.49*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
09:58.39*** join/#maemo-ssu kolp (~quassel@212.255.228.146)
10:11.56*** join/#maemo-ssu XDS2010 (uid1218@gateway/web/irccloud.com/x-fmlymdbwujcglmdn)
11:14.17*** join/#maemo-ssu XDS2010 (uid1218@gateway/web/irccloud.com/x-xfmlthbabrmzzjis)
11:50.43*** join/#maemo-ssu arcean (~arcean@aaeq37.neoplus.adsl.tpnet.pl)
12:13.52*** join/#maemo-ssu XDS2010 (uid1218@gateway/web/irccloud.com/x-bqsyojwcecntiefu)
12:36.21*** join/#maemo-ssu BCMM (~user@unaffiliated/bcmm)
13:53.46*** join/#maemo-ssu LauRoman (~LauRoman@5-14-92-176.residential.rdsnet.ro)
14:40.20*** join/#maemo-ssu arcean_ (~arcean@aaeu202.neoplus.adsl.tpnet.pl)
15:58.18*** join/#maemo-ssu NIN101 (~NIN@p5DD29484.dip0.t-ipconnect.de)
16:06.30Estel_freemangordon,  how come?
16:07.03Estel_kerio,  geek's porn reading this datasheet discussion. Just out of curiosity, why using python for such calculations, instead of... idk, sh?
16:07.23keriobecause python is the shit
16:07.35Estel_or, writing a patch to bq27x00_battery to export everything to sysnodes as it should, instead of leaving half as register-only dump?
16:07.54Estel_which isn't real dump, as it calculates already some things, but meh
16:09.38Estel_hm, I've just migrated device that is some kilometers away from me, to u-boot without attached kernel...
16:09.47Estel_feels like drone master
16:09.52Estel_I know, silly ;)
16:10.40Estel_It's just nice to see that freaking everything, including reverse ssh, works as it should, including reboots and flashing
16:11.19keriowho's doing the manual interventions on the device?
16:11.23Estel_no one
16:11.27Estel_that's the point
16:11.38kerioso what happens if you do a dsmetool -p?
16:11.46Estel_da what
16:11.51keriopower off
16:11.57Estel_:P used reboot instead
16:12.05Estel_with cpu reset bit
16:12.21Estel_and default entry for u-boot
16:12.45Estel_flash from device via 2xssh
16:13.12Estel_not as in package, just 2 ssh windows for softupd and flasher, --local
16:13.41Estel_then, after booting, device automagically starts pre-defined network, and do reverse ssh using pub key
16:14.07Estel_hey, I got nice idea for bumping N950's price
16:14.29Estel_lets abuse faulty QA and prepare some very useful, but backdoored package for N950
16:14.59Estel_then lets flash remotely a kernel that overvoltage MPU
16:15.11Estel_;)
16:16.02Estel_actually I remember one guy who fried his N900 by flashing something totally inapproriate, including fried electronic smell after boot
16:16.58Estel_flashing self-destruct kernel to 99% of N950's, and selling last working ones to collectors in 20 years would be infinite fun!
16:17.36Estel_hopes everyone understands irony here
16:17.55Estel_watched as DocScrutinizer05 instatntly went into kernel coding
16:20.04DocScrutinizer05please eliminate me from your reality!!!
16:20.50DocScrutinizer05since it's a hermetic reality, I don't care. But I care you highlighting or otherwise referncing me
16:28.18Estel_no problem, if you have sense of humour amputated, I can pretend you doesn't exist ;) happy easter
16:32.54DocScrutinizer05I'll challenge you by your word, and call you out on it
16:35.35DocScrutinizer05admits that he has maybe a strange sense of humor, or a crippled one, but for _sure_ a _different_ one to the seemingly specific polish humor that thinks insulting and annoying people is funny
16:44.19DocScrutinizer05...and that "humor" not even noticing when that deliberately driving annoyances "for humor purposes"  falls back to to spreading (implicit, sometimes) lies, I have to add maybe to that list
17:11.26*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
17:39.48*** join/#maemo-ssu Sicelo (~Sicelo@unaffiliated/sicelo)
18:49.50kerioi seriously have to stop wasting time on this
18:49.56kerioDocScrutinizer05: this is the current output of bq27k.py: http://pastebin.mozilla.org/2262833
18:52.29DocScrutinizer05kerio: nice :-) how about highlighting lines 18, 28,29?
18:52.50keriowhy NAC in particular?
18:53.27DocScrutinizer05yup
18:53.51DocScrutinizer05maybe also 34|35 (if the value is NOT 65535)
18:56.23keriohm, i don't know
18:56.37kerioyou probably want a different mode of display altogether, if you just want to know how charged the battery is
18:58.57DocScrutinizer05Digital Magnitude Filter threshold (DMF): 0.0147 mV  could use normalization to current ( / RS [20mR]) to result in a minimum current in mA under which the gas gauge stands still
18:59.46kerioah, but RS is 20 uR, not 20 mR
18:59.50DocScrutinizer05~(0.0147 / 1000) / ( 20 / 1000)
18:59.50infobot0.000735
19:00.00DocScrutinizer05no
19:00.12keriooh, right
19:00.35DocScrutinizer05~0.000735 * 1000
19:00.35infobot0.735
19:00.38DocScrutinizer05mA
19:00.57keriowait, why do i have to multiply by 1000 if it's already in mV?
19:01.11kerionvm, i can't units
19:01.48DocScrutinizer050.0147mV / 20mOhm = 0.000735A
19:05.06DocScrutinizer05line 1 has a strange unit here - either you used a Ohm symbol that my browser doesn't support, or you have a typo there
19:05.55kerioi assumed that the ascii version of Ohm was O
19:05.59kerioit's apparently R?
19:06.50keriohttp://pastebin.mozilla.org/2262853 i liek indentations
19:08.00DocScrutinizer05if anything, then "R" though that's also not really common practice
19:08.36*** join/#maemo-ssu freemangordon (~ivo@130-204-50-168.2074221835.ddns.cablebg.net)
19:09.46keriowhat, then?
19:09.47kerioOhm?
19:10.02keriothat should be something times henries times metres
19:10.18keriooh no, a henry is H
19:11.12kerioalright, "Use /ohm/ when the ohm symbol is unavailable"
19:11.40RaimuDraw an ASCII resistor! With colour stripes!
19:12.35DocScrutinizer05you could use 1/S
19:12.40DocScrutinizer05Sievert ;-D
19:13.12keriounit of conducibility?
19:13.20DocScrutinizer05oops, Siemens
19:14.44DocScrutinizer05S=1/Ohm=A/V
19:15.11DocScrutinizer05so 1/S is as pretty for Ohm as is V/A
19:15.40RaimuI thought Sievert was for radiation. :D
19:15.53DocScrutinizer05Mho ;-P
19:16.03DocScrutinizer05Raimu: it is
19:16.15DocScrutinizer05Sv!=S
19:16.38DocScrutinizer05Mho=1/ohM=S
19:19.58DocScrutinizer05nah, "R" is perfect
19:20.06DocScrutinizer05R=U/I
19:20.27DocScrutinizer05P=U^2*R
19:20.36DocScrutinizer05err
19:20.39DocScrutinizer05P=U^2/R
19:21.13kerioR can't be the unit of R
19:21.16keriocome on
19:21.24DocScrutinizer05so "R" is as good a sign for Ohm as "I" is for Ampere
19:21.40*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
19:22.03DocScrutinizer05or "U" for Volt, "P" for Watt
19:23.25DocScrutinizer05so use "R" unless you prefer "Ohm"
19:24.08kerioan article by Poynton about writing SI units and symbols says to use "ohm" when the symbol isn't available
19:26.09DocScrutinizer05well, in lowercase it looks weird, but OK
19:26.40kerionow, how do i access the secret calculation result register?
19:27.39kerioand how do i call it, most importantly
19:28.28kerioDocScrutinizer05: how does I2C work, for dumps like that? do you actually have to fire 128 reads to get the whole shebang?
19:29.10DocScrutinizer05you can use i2cdump
19:29.19keriois it a special, optimized command?
19:29.24keriohow do the kernel modules do it?
19:29.27DocScrutinizer05which uses a special mode in I2C if available, iirc
19:29.32keriojust spam the bus periodically?
19:29.33kerioi see
19:30.03DocScrutinizer05I2C allows to do sequential access to several consecutive registers
19:30.18DocScrutinizer05some chips don't support that mode
19:31.02DocScrutinizer05usually you send address of register, then read back value of register. That's a standard cycle
19:31.20DocScrutinizer05bulk mode allows to do several reads after initial addr write
19:31.35DocScrutinizer05chip will auto-increment register addr
19:33.08DocScrutinizer05still wonders which secret calculation register kerio meant
19:33.22kerio0x5f-5e
19:33.39DocScrutinizer05err, you can read that like any other standard register
19:33.59kerioi know, but it's kinda awkward to do that with the way i made the lib
19:36.22kerioi bet C is for calibration actually
19:37.49kerio...the fuck just happened
19:42.17DocScrutinizer05WTF???
19:42.38kerioanyway, eprog
19:42.44kerioalso, april's fools
19:43.00DocScrutinizer05prolly
19:43.02kerioaka useless internet day
19:43.29DocScrutinizer05who the fuck is RichiH?
19:43.39keriofreenode staff
19:43.44DocScrutinizer05indeed
19:43.51DocScrutinizer05sucker ;-P
19:44.35DocScrutinizer05CBA to visit any of his links
19:49.56*** join/#maemo-ssu futpib (~futpib@89.106.197.112)
20:19.39Estel_I planned to post april fool for marble, but they ceased maemo support :(
20:19.57Estel_they had nice "feature" of showing your gps position when on moon map
20:20.11Estel_I wanted to report a bug, that I'm really 2 craters away that map shows
20:20.48Estel_well, no one to address april's fool to, thought. Damn their withdrawal of maemo version
20:37.07merlin1991my harddrive makes the weirdest sound ever
20:37.14merlin1991sounds like dribbiing water? o_O
20:37.19merlin1991*dribbling*
20:37.27keriomerlin1991: april's fools!
20:37.39merlin1991kerio: nah, scary!
20:38.24merlin1991but it's just the one where my games are on, so not that bad if it is indeed broken
20:40.31keriohttp://pastebin.ca/2346486 165 lines of code and 80 of output formatting :s
20:41.08merlin1991and the weird sounds continues
20:41.14merlin1991this feels baaad
20:41.35merlin1991kerio: why so much docstring?
20:41.37keriocopy your nethack saves!
20:41.58keriobecause i follow PEP257
20:43.56merlin1991hates those python elitists
20:44.22DocScrutinizer05merlin1991: mine does loud "clonk-clonk-clonk-clonk-clonk-clonk-clonk-clonk" every now and then. Friggin scary. started one or two days ago
20:44.53merlin1991time to cut your losses, buy a new drive copy over and hope for the beste
20:44.57merlin1991*best*
20:45.24DocScrutinizer05that friggin drive is 1000h and 14 powercycles old
20:45.44merlin1991warranty?
20:45.48DocScrutinizer05sure
20:46.22DocScrutinizer05I'm just worried it might be my system and not the drive
20:47.00DocScrutinizer05but since nuttin is smart or syslog
20:47.10DocScrutinizer05otoh sync fails :-o
20:47.35kerioDocScrutinizer05: at least it's not the ssd!
21:00.44keriomerlin1991: btw, i feel really clever for unpack_bits :3
21:04.07merlin1991dafaq is divmod?
21:05.36keriotake a guess on what it does
21:05.36kerio:P
22:31.47*** join/#maemo-ssu XDS2010 (uid1218@gateway/web/irccloud.com/x-gpcpuleqkdcaerjv)
22:43.46*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
22:49.50*** join/#maemo-ssu unclouded (~neil@2001:4428:200:80fc:f916:8a84:1f7f:5b4c)

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