DocScrutinizer05 | return ( (composedword>>LSB) && (0xFF<<numofbits) ) | 00:01 |
---|---|---|
DocScrutinizer05 | err | 00:01 |
DocScrutinizer05 | return ( (composedword>>LSB) && ~(0xFF<<numofbits) ) | 00:01 |
DocScrutinizer05 | return ( (composedword>>LSB) && ~(0xFFFF<<numofbits) ) | 00:02 |
DocScrutinizer05 | wait, didn't I see sth like that in some kernel code ;-D | 00:06 |
*** wmarone_ has quit IRC | 00:16 | |
*** wmarone has joined #maemo-ssu | 00:32 | |
*** xes has joined #maemo-ssu | 00:52 | |
kerio | freemangordon: what's the problem with libpulse0? | 01:13 |
*** xes has quit IRC | 01:15 | |
freemangordon | kerio: no problem, just that HAM in its eternal wisdom upgrades just half of the packages | 01:28 |
*** BCMM has quit IRC | 02:16 | |
*** kolp has quit IRC | 02:17 | |
*** M4rtinK has quit IRC | 02:45 | |
*** arcean has quit IRC | 04:02 | |
*** nox- has quit IRC | 04:30 | |
*** LauRoman has joined #maemo-ssu | 05:01 | |
*** amiconn has quit IRC | 05:17 | |
*** amiconn_ has joined #maemo-ssu | 05:17 | |
*** amiconn_ is now known as amiconn | 05:17 | |
*** LauRoman has quit IRC | 05:46 | |
*** DocScrutinizer05 has quit IRC | 07:03 | |
*** DocScrutinizer05 has joined #maemo-ssu | 07:03 | |
*** XDS2010 has quit IRC | 07:39 | |
*** M13 has joined #maemo-ssu | 07:41 | |
*** futpib has joined #maemo-ssu | 09:17 | |
*** Vlad_on_the_road has joined #maemo-ssu | 09:59 | |
*** M4rtinK has joined #maemo-ssu | 12:54 | |
*** kolp has joined #maemo-ssu | 12:58 | |
*** XDS2010 has joined #maemo-ssu | 13:11 | |
*** XDS2010 has quit IRC | 13:19 | |
*** unclouded has quit IRC | 14:06 | |
*** XDS2010 has joined #maemo-ssu | 14:14 | |
*** XDS2010 has quit IRC | 14:26 | |
*** arcean has joined #maemo-ssu | 14:50 | |
*** XDS2010 has joined #maemo-ssu | 15:13 | |
*** BCMM has joined #maemo-ssu | 15:36 | |
*** BCMM has quit IRC | 15:55 | |
*** LauRoman has joined #maemo-ssu | 16:53 | |
*** arcean_ has joined #maemo-ssu | 17:40 | |
*** arcean has quit IRC | 17:42 | |
*** NIN101 has joined #maemo-ssu | 18:58 | |
Estel_ | freemangordon, how come? | 19:06 |
Estel_ | kerio, geek's porn reading this datasheet discussion. Just out of curiosity, why using python for such calculations, instead of... idk, sh? | 19:07 |
kerio | because python is the shit | 19:07 |
Estel_ | or, writing a patch to bq27x00_battery to export everything to sysnodes as it should, instead of leaving half as register-only dump? | 19:07 |
Estel_ | which isn't real dump, as it calculates already some things, but meh | 19:07 |
Estel_ | hm, I've just migrated device that is some kilometers away from me, to u-boot without attached kernel... | 19:09 |
* Estel_ feels like drone master | 19:09 | |
Estel_ | I know, silly ;) | 19:09 |
Estel_ | It's just nice to see that freaking everything, including reverse ssh, works as it should, including reboots and flashing | 19:10 |
kerio | who's doing the manual interventions on the device? | 19:11 |
Estel_ | no one | 19:11 |
Estel_ | that's the point | 19:11 |
kerio | so what happens if you do a dsmetool -p? | 19:11 |
Estel_ | da what | 19:11 |
kerio | power off | 19:11 |
Estel_ | :P used reboot instead | 19:11 |
Estel_ | with cpu reset bit | 19:12 |
Estel_ | and default entry for u-boot | 19:12 |
Estel_ | flash from device via 2xssh | 19:12 |
Estel_ | not as in package, just 2 ssh windows for softupd and flasher, --local | 19:13 |
Estel_ | then, after booting, device automagically starts pre-defined network, and do reverse ssh using pub key | 19:13 |
Estel_ | hey, I got nice idea for bumping N950's price | 19:14 |
Estel_ | lets abuse faulty QA and prepare some very useful, but backdoored package for N950 | 19:14 |
Estel_ | then lets flash remotely a kernel that overvoltage MPU | 19:14 |
Estel_ | ;) | 19:15 |
Estel_ | actually I remember one guy who fried his N900 by flashing something totally inapproriate, including fried electronic smell after boot | 19:16 |
Estel_ | flashing self-destruct kernel to 99% of N950's, and selling last working ones to collectors in 20 years would be infinite fun! | 19:16 |
* Estel_ hopes everyone understands irony here | 19:17 | |
* Estel_ watched as DocScrutinizer05 instatntly went into kernel coding | 19:17 | |
DocScrutinizer05 | please eliminate me from your reality!!! | 19:20 |
DocScrutinizer05 | since it's a hermetic reality, I don't care. But I care you highlighting or otherwise referncing me | 19:20 |
Estel_ | no problem, if you have sense of humour amputated, I can pretend you doesn't exist ;) happy easter | 19:28 |
DocScrutinizer05 | I'll challenge you by your word, and call you out on it | 19:32 |
* 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 | 19:35 | |
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 | 19:44 |
*** xes has joined #maemo-ssu | 20:11 | |
*** freemangordon has quit IRC | 20:37 | |
*** Sicelo has quit IRC | 20:39 | |
*** Sicelo has joined #maemo-ssu | 20:39 | |
*** xes has quit IRC | 20:48 | |
kerio | i seriously have to stop wasting time on this | 21:49 |
kerio | DocScrutinizer05: this is the current output of bq27k.py: http://pastebin.mozilla.org/2262833 | 21:49 |
DocScrutinizer05 | kerio: nice :-) how about highlighting lines 18, 28,29? | 21:52 |
kerio | why NAC in particular? | 21:52 |
DocScrutinizer05 | yup | 21:53 |
DocScrutinizer05 | maybe also 34|35 (if the value is NOT 65535) | 21:53 |
kerio | hm, i don't know | 21:56 |
kerio | you probably want a different mode of display altogether, if you just want to know how charged the battery is | 21:56 |
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 | 21:58 |
kerio | ah, but RS is 20 uR, not 20 mR | 21:59 |
DocScrutinizer05 | ~(0.0147 / 1000) / ( 20 / 1000) | 21:59 |
infobot | 0.000735 | 21:59 |
DocScrutinizer05 | no | 22:00 |
kerio | oh, right | 22:00 |
DocScrutinizer05 | ~0.000735 * 1000 | 22:00 |
infobot | 0.735 | 22:00 |
DocScrutinizer05 | mA | 22:00 |
kerio | wait, why do i have to multiply by 1000 if it's already in mV? | 22:00 |
kerio | nvm, i can't units | 22:01 |
DocScrutinizer05 | 0.0147mV / 20mOhm = 0.000735A | 22:01 |
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 | 22:05 |
kerio | i assumed that the ascii version of Ohm was O | 22:05 |
kerio | it's apparently R? | 22:05 |
kerio | http://pastebin.mozilla.org/2262853 i liek indentations | 22:06 |
DocScrutinizer05 | if anything, then "R" though that's also not really common practice | 22:08 |
*** freemangordon has joined #maemo-ssu | 22:08 | |
kerio | what, then? | 22:09 |
kerio | Ohm? | 22:09 |
kerio | that should be something times henries times metres | 22:10 |
kerio | oh no, a henry is H | 22:10 |
kerio | alright, "Use /ohm/ when the ohm symbol is unavailable" | 22:11 |
Raimu | Draw an ASCII resistor! With colour stripes! | 22:11 |
DocScrutinizer05 | you could use 1/S | 22:12 |
DocScrutinizer05 | Sievert ;-D | 22:12 |
kerio | unit of conducibility? | 22:13 |
DocScrutinizer05 | oops, Siemens | 22:13 |
DocScrutinizer05 | S=1/Ohm=A/V | 22:14 |
DocScrutinizer05 | so 1/S is as pretty for Ohm as is V/A | 22:15 |
Raimu | I thought Sievert was for radiation. :D | 22:15 |
DocScrutinizer05 | Mho ;-P | 22:15 |
DocScrutinizer05 | Raimu: it is | 22:16 |
DocScrutinizer05 | Sv!=S | 22:16 |
DocScrutinizer05 | Mho=1/ohM=S | 22:16 |
DocScrutinizer05 | nah, "R" is perfect | 22:19 |
DocScrutinizer05 | R=U/I | 22:20 |
DocScrutinizer05 | P=U^2*R | 22:20 |
DocScrutinizer05 | err | 22:20 |
DocScrutinizer05 | P=U^2/R | 22:20 |
kerio | R can't be the unit of R | 22:21 |
kerio | come on | 22:21 |
DocScrutinizer05 | so "R" is as good a sign for Ohm as "I" is for Ampere | 22:21 |
*** sunny_s has joined #maemo-ssu | 22:21 | |
DocScrutinizer05 | or "U" for Volt, "P" for Watt | 22:22 |
DocScrutinizer05 | so use "R" unless you prefer "Ohm" | 22:23 |
kerio | an article by Poynton about writing SI units and symbols says to use "ohm" when the symbol isn't available | 22:24 |
DocScrutinizer05 | well, in lowercase it looks weird, but OK | 22:26 |
kerio | now, how do i access the secret calculation result register? | 22:26 |
kerio | and how do i call it, most importantly | 22:27 |
kerio | DocScrutinizer05: how does I2C work, for dumps like that? do you actually have to fire 128 reads to get the whole shebang? | 22:28 |
DocScrutinizer05 | you can use i2cdump | 22:29 |
kerio | is it a special, optimized command? | 22:29 |
kerio | how do the kernel modules do it? | 22:29 |
DocScrutinizer05 | which uses a special mode in I2C if available, iirc | 22:29 |
kerio | just spam the bus periodically? | 22:29 |
kerio | i see | 22:29 |
DocScrutinizer05 | I2C allows to do sequential access to several consecutive registers | 22:30 |
DocScrutinizer05 | some chips don't support that mode | 22:30 |
DocScrutinizer05 | usually you send address of register, then read back value of register. That's a standard cycle | 22:31 |
DocScrutinizer05 | bulk mode allows to do several reads after initial addr write | 22:31 |
DocScrutinizer05 | chip will auto-increment register addr | 22:31 |
* DocScrutinizer05 still wonders which secret calculation register kerio meant | 22:33 | |
kerio | 0x5f-5e | 22:33 |
DocScrutinizer05 | err, you can read that like any other standard register | 22:33 |
kerio | i know, but it's kinda awkward to do that with the way i made the lib | 22:33 |
kerio | i bet C is for calibration actually | 22:36 |
kerio | ...the fuck just happened | 22:37 |
DocScrutinizer05 | WTF??? | 22:42 |
kerio | anyway, eprog | 22:42 |
kerio | also, april's fools | 22:42 |
DocScrutinizer05 | prolly | 22:43 |
kerio | aka useless internet day | 22:43 |
DocScrutinizer05 | who the fuck is RichiH? | 22:43 |
kerio | freenode staff | 22:43 |
DocScrutinizer05 | indeed | 22:43 |
DocScrutinizer05 | sucker ;-P | 22:43 |
DocScrutinizer05 | CBA to visit any of his links | 22:44 |
*** futpib has quit IRC | 22:49 | |
*** futpib has joined #maemo-ssu | 22:49 | |
Estel_ | I planned to post april fool for marble, but they ceased maemo support :( | 23:19 |
Estel_ | they had nice "feature" of showing your gps position when on moon map | 23:19 |
Estel_ | I wanted to report a bug, that I'm really 2 craters away that map shows | 23:20 |
Estel_ | well, no one to address april's fool to, thought. Damn their withdrawal of maemo version | 23:20 |
merlin1991 | my harddrive makes the weirdest sound ever | 23:37 |
merlin1991 | sounds like dribbiing water? o_O | 23:37 |
merlin1991 | *dribbling* | 23:37 |
kerio | merlin1991: april's fools! | 23:37 |
merlin1991 | kerio: nah, scary! | 23:37 |
merlin1991 | but it's just the one where my games are on, so not that bad if it is indeed broken | 23:38 |
kerio | http://pastebin.ca/2346486 165 lines of code and 80 of output formatting :s | 23:40 |
merlin1991 | and the weird sounds continues | 23:41 |
merlin1991 | this feels baaad | 23:41 |
merlin1991 | kerio: why so much docstring? | 23:41 |
kerio | copy your nethack saves! | 23:41 |
kerio | because i follow PEP257 | 23:41 |
* merlin1991 hates those python elitists | 23:43 | |
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 | 23:44 |
merlin1991 | time to cut your losses, buy a new drive copy over and hope for the beste | 23:44 |
merlin1991 | *best* | 23:44 |
DocScrutinizer05 | that friggin drive is 1000h and 14 powercycles old | 23:45 |
merlin1991 | warranty? | 23:45 |
DocScrutinizer05 | sure | 23:45 |
DocScrutinizer05 | I'm just worried it might be my system and not the drive | 23:46 |
DocScrutinizer05 | but since nuttin is smart or syslog | 23:47 |
DocScrutinizer05 | otoh sync fails :-o | 23:47 |
*** LauRoman has quit IRC | 23:47 | |
kerio | DocScrutinizer05: at least it's not the ssd! | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!