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.30 | Estel_ | freemangordon, how come? |
16:07.03 | Estel_ | kerio, geek's porn reading this datasheet discussion. Just out of curiosity, why using python for such calculations, instead of... idk, sh? |
16:07.23 | kerio | because python is the shit |
16:07.35 | Estel_ | 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.54 | Estel_ | which isn't real dump, as it calculates already some things, but meh |
16:09.38 | Estel_ | hm, I've just migrated device that is some kilometers away from me, to u-boot without attached kernel... |
16:09.47 | Estel_ | feels like drone master |
16:09.52 | Estel_ | I know, silly ;) |
16:10.40 | Estel_ | It's just nice to see that freaking everything, including reverse ssh, works as it should, including reboots and flashing |
16:11.19 | kerio | who's doing the manual interventions on the device? |
16:11.23 | Estel_ | no one |
16:11.27 | Estel_ | that's the point |
16:11.38 | kerio | so what happens if you do a dsmetool -p? |
16:11.46 | Estel_ | da what |
16:11.51 | kerio | power off |
16:11.57 | Estel_ | :P used reboot instead |
16:12.05 | Estel_ | with cpu reset bit |
16:12.21 | Estel_ | and default entry for u-boot |
16:12.45 | Estel_ | flash from device via 2xssh |
16:13.12 | Estel_ | not as in package, just 2 ssh windows for softupd and flasher, --local |
16:13.41 | Estel_ | then, after booting, device automagically starts pre-defined network, and do reverse ssh using pub key |
16:14.07 | Estel_ | hey, I got nice idea for bumping N950's price |
16:14.29 | Estel_ | lets abuse faulty QA and prepare some very useful, but backdoored package for N950 |
16:14.59 | Estel_ | then lets flash remotely a kernel that overvoltage MPU |
16:15.11 | Estel_ | ;) |
16:16.02 | Estel_ | actually I remember one guy who fried his N900 by flashing something totally inapproriate, including fried electronic smell after boot |
16:16.58 | Estel_ | 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.36 | Estel_ | hopes everyone understands irony here |
16:17.55 | Estel_ | watched as DocScrutinizer05 instatntly went into kernel coding |
16:20.04 | DocScrutinizer05 | please eliminate me from your reality!!! |
16:20.50 | DocScrutinizer05 | since it's a hermetic reality, I don't care. But I care you highlighting or otherwise referncing me |
16:28.18 | Estel_ | no problem, if you have sense of humour amputated, I can pretend you doesn't exist ;) happy easter |
16:32.54 | DocScrutinizer05 | I'll challenge you by your word, and call you out on it |
16:35.35 | DocScrutinizer05 | admits 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.19 | DocScrutinizer05 | ...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.50 | kerio | i seriously have to stop wasting time on this |
18:49.56 | kerio | DocScrutinizer05: this is the current output of bq27k.py: http://pastebin.mozilla.org/2262833 |
18:52.29 | DocScrutinizer05 | kerio: nice :-) how about highlighting lines 18, 28,29? |
18:52.50 | kerio | why NAC in particular? |
18:53.27 | DocScrutinizer05 | yup |
18:53.51 | DocScrutinizer05 | maybe also 34|35 (if the value is NOT 65535) |
18:56.23 | kerio | hm, i don't know |
18:56.37 | kerio | you probably want a different mode of display altogether, if you just want to know how charged the battery is |
18:58.57 | DocScrutinizer05 | Digital 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.46 | kerio | ah, but RS is 20 uR, not 20 mR |
18:59.50 | DocScrutinizer05 | ~(0.0147 / 1000) / ( 20 / 1000) |
18:59.50 | infobot | 0.000735 |
19:00.00 | DocScrutinizer05 | no |
19:00.12 | kerio | oh, right |
19:00.35 | DocScrutinizer05 | ~0.000735 * 1000 |
19:00.35 | infobot | 0.735 |
19:00.38 | DocScrutinizer05 | mA |
19:00.57 | kerio | wait, why do i have to multiply by 1000 if it's already in mV? |
19:01.11 | kerio | nvm, i can't units |
19:01.48 | DocScrutinizer05 | 0.0147mV / 20mOhm = 0.000735A |
19:05.06 | DocScrutinizer05 | line 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.55 | kerio | i assumed that the ascii version of Ohm was O |
19:05.59 | kerio | it's apparently R? |
19:06.50 | kerio | http://pastebin.mozilla.org/2262853 i liek indentations |
19:08.00 | DocScrutinizer05 | if 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.46 | kerio | what, then? |
19:09.47 | kerio | Ohm? |
19:10.02 | kerio | that should be something times henries times metres |
19:10.18 | kerio | oh no, a henry is H |
19:11.12 | kerio | alright, "Use /ohm/ when the ohm symbol is unavailable" |
19:11.40 | Raimu | Draw an ASCII resistor! With colour stripes! |
19:12.35 | DocScrutinizer05 | you could use 1/S |
19:12.40 | DocScrutinizer05 | Sievert ;-D |
19:13.12 | kerio | unit of conducibility? |
19:13.20 | DocScrutinizer05 | oops, Siemens |
19:14.44 | DocScrutinizer05 | S=1/Ohm=A/V |
19:15.11 | DocScrutinizer05 | so 1/S is as pretty for Ohm as is V/A |
19:15.40 | Raimu | I thought Sievert was for radiation. :D |
19:15.53 | DocScrutinizer05 | Mho ;-P |
19:16.03 | DocScrutinizer05 | Raimu: it is |
19:16.15 | DocScrutinizer05 | Sv!=S |
19:16.38 | DocScrutinizer05 | Mho=1/ohM=S |
19:19.58 | DocScrutinizer05 | nah, "R" is perfect |
19:20.06 | DocScrutinizer05 | R=U/I |
19:20.27 | DocScrutinizer05 | P=U^2*R |
19:20.36 | DocScrutinizer05 | err |
19:20.39 | DocScrutinizer05 | P=U^2/R |
19:21.13 | kerio | R can't be the unit of R |
19:21.16 | kerio | come on |
19:21.24 | DocScrutinizer05 | so "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.03 | DocScrutinizer05 | or "U" for Volt, "P" for Watt |
19:23.25 | DocScrutinizer05 | so use "R" unless you prefer "Ohm" |
19:24.08 | kerio | an article by Poynton about writing SI units and symbols says to use "ohm" when the symbol isn't available |
19:26.09 | DocScrutinizer05 | well, in lowercase it looks weird, but OK |
19:26.40 | kerio | now, how do i access the secret calculation result register? |
19:27.39 | kerio | and how do i call it, most importantly |
19:28.28 | kerio | DocScrutinizer05: how does I2C work, for dumps like that? do you actually have to fire 128 reads to get the whole shebang? |
19:29.10 | DocScrutinizer05 | you can use i2cdump |
19:29.19 | kerio | is it a special, optimized command? |
19:29.24 | kerio | how do the kernel modules do it? |
19:29.27 | DocScrutinizer05 | which uses a special mode in I2C if available, iirc |
19:29.32 | kerio | just spam the bus periodically? |
19:29.33 | kerio | i see |
19:30.03 | DocScrutinizer05 | I2C allows to do sequential access to several consecutive registers |
19:30.18 | DocScrutinizer05 | some chips don't support that mode |
19:31.02 | DocScrutinizer05 | usually you send address of register, then read back value of register. That's a standard cycle |
19:31.20 | DocScrutinizer05 | bulk mode allows to do several reads after initial addr write |
19:31.35 | DocScrutinizer05 | chip will auto-increment register addr |
19:33.08 | DocScrutinizer05 | still wonders which secret calculation register kerio meant |
19:33.22 | kerio | 0x5f-5e |
19:33.39 | DocScrutinizer05 | err, you can read that like any other standard register |
19:33.59 | kerio | i know, but it's kinda awkward to do that with the way i made the lib |
19:36.22 | kerio | i bet C is for calibration actually |
19:37.49 | kerio | ...the fuck just happened |
19:42.17 | DocScrutinizer05 | WTF??? |
19:42.38 | kerio | anyway, eprog |
19:42.44 | kerio | also, april's fools |
19:43.00 | DocScrutinizer05 | prolly |
19:43.02 | kerio | aka useless internet day |
19:43.29 | DocScrutinizer05 | who the fuck is RichiH? |
19:43.39 | kerio | freenode staff |
19:43.44 | DocScrutinizer05 | indeed |
19:43.51 | DocScrutinizer05 | sucker ;-P |
19:44.35 | DocScrutinizer05 | CBA to visit any of his links |
19:49.56 | *** join/#maemo-ssu futpib (~futpib@89.106.197.112) |
20:19.39 | Estel_ | I planned to post april fool for marble, but they ceased maemo support :( |
20:19.57 | Estel_ | they had nice "feature" of showing your gps position when on moon map |
20:20.11 | Estel_ | I wanted to report a bug, that I'm really 2 craters away that map shows |
20:20.48 | Estel_ | well, no one to address april's fool to, thought. Damn their withdrawal of maemo version |
20:37.07 | merlin1991 | my harddrive makes the weirdest sound ever |
20:37.14 | merlin1991 | sounds like dribbiing water? o_O |
20:37.19 | merlin1991 | *dribbling* |
20:37.27 | kerio | merlin1991: april's fools! |
20:37.39 | merlin1991 | kerio: nah, scary! |
20:38.24 | merlin1991 | but it's just the one where my games are on, so not that bad if it is indeed broken |
20:40.31 | kerio | http://pastebin.ca/2346486 165 lines of code and 80 of output formatting :s |
20:41.08 | merlin1991 | and the weird sounds continues |
20:41.14 | merlin1991 | this feels baaad |
20:41.35 | merlin1991 | kerio: why so much docstring? |
20:41.37 | kerio | copy your nethack saves! |
20:41.58 | kerio | because i follow PEP257 |
20:43.56 | merlin1991 | hates those python elitists |
20:44.22 | DocScrutinizer05 | merlin1991: 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.53 | merlin1991 | time to cut your losses, buy a new drive copy over and hope for the beste |
20:44.57 | merlin1991 | *best* |
20:45.24 | DocScrutinizer05 | that friggin drive is 1000h and 14 powercycles old |
20:45.44 | merlin1991 | warranty? |
20:45.48 | DocScrutinizer05 | sure |
20:46.22 | DocScrutinizer05 | I'm just worried it might be my system and not the drive |
20:47.00 | DocScrutinizer05 | but since nuttin is smart or syslog |
20:47.10 | DocScrutinizer05 | otoh sync fails :-o |
20:47.35 | kerio | DocScrutinizer05: at least it's not the ssd! |
21:00.44 | kerio | merlin1991: btw, i feel really clever for unpack_bits :3 |
21:04.07 | merlin1991 | dafaq is divmod? |
21:05.36 | kerio | take a guess on what it does |
21:05.36 | kerio | :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) |