IRC log of #maemo-ssu for Sunday, 2013-03-31

DocScrutinizer05return ( (composedword>>LSB) && (0xFF<<numofbits) )00:01
DocScrutinizer05err00:01
DocScrutinizer05return ( (composedword>>LSB) && ~(0xFF<<numofbits) )00:01
DocScrutinizer05return ( (composedword>>LSB) && ~(0xFFFF<<numofbits) )00:02
DocScrutinizer05wait, didn't I see sth like that in some kernel code ;-D00:06
*** wmarone_ has quit IRC00:16
*** wmarone has joined #maemo-ssu00:32
*** xes has joined #maemo-ssu00:52
keriofreemangordon: what's the problem with libpulse0?01:13
*** xes has quit IRC01:15
freemangordonkerio: no problem, just that HAM in its eternal wisdom upgrades just half of the packages01:28
*** BCMM has quit IRC02:16
*** kolp has quit IRC02:17
*** M4rtinK has quit IRC02:45
*** arcean has quit IRC04:02
*** nox- has quit IRC04:30
*** LauRoman has joined #maemo-ssu05:01
*** amiconn has quit IRC05:17
*** amiconn_ has joined #maemo-ssu05:17
*** amiconn_ is now known as amiconn05:17
*** LauRoman has quit IRC05:46
*** DocScrutinizer05 has quit IRC07:03
*** DocScrutinizer05 has joined #maemo-ssu07:03
*** XDS2010 has quit IRC07:39
*** M13 has joined #maemo-ssu07:41
*** futpib has joined #maemo-ssu09:17
*** Vlad_on_the_road has joined #maemo-ssu09:59
*** M4rtinK has joined #maemo-ssu12:54
*** kolp has joined #maemo-ssu12:58
*** XDS2010 has joined #maemo-ssu13:11
*** XDS2010 has quit IRC13:19
*** unclouded has quit IRC14:06
*** XDS2010 has joined #maemo-ssu14:14
*** XDS2010 has quit IRC14:26
*** arcean has joined #maemo-ssu14:50
*** XDS2010 has joined #maemo-ssu15:13
*** BCMM has joined #maemo-ssu15:36
*** BCMM has quit IRC15:55
*** LauRoman has joined #maemo-ssu16:53
*** arcean_ has joined #maemo-ssu17:40
*** arcean has quit IRC17:42
*** NIN101 has joined #maemo-ssu18: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
keriobecause python is the shit19: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 meh19: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 master19: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 flashing19:10
keriowho's doing the manual interventions on the device?19:11
Estel_no one19:11
Estel_that's the point19:11
kerioso what happens if you do a dsmetool -p?19:11
Estel_da what19:11
keriopower off19:11
Estel_:P used reboot instead19:11
Estel_with cpu reset bit19:12
Estel_and default entry for u-boot19:12
Estel_flash from device via 2xssh19:12
Estel_not as in package, just 2 ssh windows for softupd and flasher, --local19:13
Estel_then, after booting, device automagically starts pre-defined network, and do reverse ssh using pub key19:13
Estel_hey, I got nice idea for bumping N950's price19:14
Estel_lets abuse faulty QA and prepare some very useful, but backdoored package for N95019:14
Estel_then lets flash remotely a kernel that overvoltage MPU19:14
Estel_;)19:15
Estel_actually I remember one guy who fried his N900 by flashing something totally inapproriate, including fried electronic smell after boot19: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 here19:17
* Estel_ watched as DocScrutinizer05 instatntly went into kernel coding19:17
DocScrutinizer05please eliminate me from your reality!!!19:20
DocScrutinizer05since it's a hermetic reality, I don't care. But I care you highlighting or otherwise referncing me19:20
Estel_no problem, if you have sense of humour amputated, I can pretend you doesn't exist ;) happy easter19:28
DocScrutinizer05I'll challenge you by your word, and call you out on it19: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 funny19: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 list19:44
*** xes has joined #maemo-ssu20:11
*** freemangordon has quit IRC20:37
*** Sicelo has quit IRC20:39
*** Sicelo has joined #maemo-ssu20:39
*** xes has quit IRC20:48
kerioi seriously have to stop wasting time on this21:49
kerioDocScrutinizer05: this is the current output of bq27k.py: http://pastebin.mozilla.org/226283321:49
DocScrutinizer05kerio: nice :-) how about highlighting lines 18, 28,29?21:52
keriowhy NAC in particular?21:52
DocScrutinizer05yup21:53
DocScrutinizer05maybe also 34|35 (if the value is NOT 65535)21:53
keriohm, i don't know21:56
kerioyou probably want a different mode of display altogether, if you just want to know how charged the battery is21:56
DocScrutinizer05Digital 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 still21:58
kerioah, but RS is 20 uR, not 20 mR21:59
DocScrutinizer05~(0.0147 / 1000) / ( 20 / 1000)21:59
infobot0.00073521:59
DocScrutinizer05no22:00
keriooh, right22:00
DocScrutinizer05~0.000735 * 100022:00
infobot0.73522:00
DocScrutinizer05mA22:00
keriowait, why do i have to multiply by 1000 if it's already in mV?22:00
kerionvm, i can't units22:01
DocScrutinizer050.0147mV / 20mOhm = 0.000735A22:01
DocScrutinizer05line 1 has a strange unit here - either you used a Ohm symbol that my browser doesn't support, or you have a typo there22:05
kerioi assumed that the ascii version of Ohm was O22:05
kerioit's apparently R?22:05
keriohttp://pastebin.mozilla.org/2262853 i liek indentations22:06
DocScrutinizer05if anything, then "R" though that's also not really common practice22:08
*** freemangordon has joined #maemo-ssu22:08
keriowhat, then?22:09
kerioOhm?22:09
keriothat should be something times henries times metres22:10
keriooh no, a henry is H22:10
kerioalright, "Use /ohm/ when the ohm symbol is unavailable"22:11
RaimuDraw an ASCII resistor! With colour stripes!22:11
DocScrutinizer05you could use 1/S22:12
DocScrutinizer05Sievert ;-D22:12
keriounit of conducibility?22:13
DocScrutinizer05oops, Siemens22:13
DocScrutinizer05S=1/Ohm=A/V22:14
DocScrutinizer05so 1/S is as pretty for Ohm as is V/A22:15
RaimuI thought Sievert was for radiation. :D22:15
DocScrutinizer05Mho ;-P22:15
DocScrutinizer05Raimu: it is22:16
DocScrutinizer05Sv!=S22:16
DocScrutinizer05Mho=1/ohM=S22:16
DocScrutinizer05nah, "R" is perfect22:19
DocScrutinizer05R=U/I22:20
DocScrutinizer05P=U^2*R22:20
DocScrutinizer05err22:20
DocScrutinizer05P=U^2/R22:20
kerioR can't be the unit of R22:21
keriocome on22:21
DocScrutinizer05so "R" is as good a sign for Ohm as "I" is for Ampere22:21
*** sunny_s has joined #maemo-ssu22:21
DocScrutinizer05or "U" for Volt, "P" for Watt22:22
DocScrutinizer05so use "R" unless you prefer "Ohm"22:23
kerioan article by Poynton about writing SI units and symbols says to use "ohm" when the symbol isn't available22:24
DocScrutinizer05well, in lowercase it looks weird, but OK22:26
kerionow, how do i access the secret calculation result register?22:26
kerioand how do i call it, most importantly22:27
kerioDocScrutinizer05: how does I2C work, for dumps like that? do you actually have to fire 128 reads to get the whole shebang?22:28
DocScrutinizer05you can use i2cdump22:29
keriois it a special, optimized command?22:29
keriohow do the kernel modules do it?22:29
DocScrutinizer05which uses a special mode in I2C if available, iirc22:29
keriojust spam the bus periodically?22:29
kerioi see22:29
DocScrutinizer05I2C allows to do sequential access to several consecutive registers22:30
DocScrutinizer05some chips don't support that mode22:30
DocScrutinizer05usually you send address of register, then read back value of register. That's a standard cycle22:31
DocScrutinizer05bulk mode allows to do several reads after initial addr write22:31
DocScrutinizer05chip will auto-increment register addr22:31
* DocScrutinizer05 still wonders which secret calculation register kerio meant22:33
kerio0x5f-5e22:33
DocScrutinizer05err, you can read that like any other standard register22:33
kerioi know, but it's kinda awkward to do that with the way i made the lib22:33
kerioi bet C is for calibration actually22:36
kerio...the fuck just happened22:37
DocScrutinizer05WTF???22:42
kerioanyway, eprog22:42
kerioalso, april's fools22:42
DocScrutinizer05prolly22:43
kerioaka useless internet day22:43
DocScrutinizer05who the fuck is RichiH?22:43
keriofreenode staff22:43
DocScrutinizer05indeed22:43
DocScrutinizer05sucker ;-P22:43
DocScrutinizer05CBA to visit any of his links22:44
*** futpib has quit IRC22:49
*** futpib has joined #maemo-ssu22: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 map23:19
Estel_I wanted to report a bug, that I'm really 2 craters away that map shows23:20
Estel_well, no one to address april's fool to, thought. Damn their withdrawal of maemo version23:20
merlin1991my harddrive makes the weirdest sound ever23:37
merlin1991sounds like dribbiing water? o_O23:37
merlin1991*dribbling*23:37
keriomerlin1991: april's fools!23:37
merlin1991kerio: nah, scary!23:37
merlin1991but it's just the one where my games are on, so not that bad if it is indeed broken23:38
keriohttp://pastebin.ca/2346486 165 lines of code and 80 of output formatting :s23:40
merlin1991and the weird sounds continues23:41
merlin1991this feels baaad23:41
merlin1991kerio: why so much docstring?23:41
keriocopy your nethack saves!23:41
keriobecause i follow PEP25723:41
* merlin1991 hates those python elitists23:43
DocScrutinizer05merlin1991: mine does loud "clonk-clonk-clonk-clonk-clonk-clonk-clonk-clonk" every now and then. Friggin scary. started one or two days ago23:44
merlin1991time to cut your losses, buy a new drive copy over and hope for the beste23:44
merlin1991*best*23:44
DocScrutinizer05that friggin drive is 1000h and 14 powercycles old23:45
merlin1991warranty?23:45
DocScrutinizer05sure23:45
DocScrutinizer05I'm just worried it might be my system and not the drive23:46
DocScrutinizer05but since nuttin is smart or syslog23:47
DocScrutinizer05otoh sync fails :-o23:47
*** LauRoman has quit IRC23:47
kerioDocScrutinizer05: 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!