*** ALoGeNo has joined #maemo | 00:07 | |
*** ALoGeNo has joined #maemo | 00:07 | |
*** Darkchaos2 has quit IRC | 00:18 | |
*** ALoGeNo has quit IRC | 00:20 | |
*** ALoGeNo has joined #maemo | 00:21 | |
*** OkropNick has quit IRC | 00:24 | |
*** mardi has joined #maemo | 00:39 | |
*** hardaker has quit IRC | 00:43 | |
*** piggz has quit IRC | 00:44 | |
*** FIQ has quit IRC | 00:44 | |
*** FIQ has joined #maemo | 00:46 | |
*** florian has quit IRC | 00:50 | |
*** kov_ has joined #maemo | 00:52 | |
*** kov_ has quit IRC | 00:53 | |
*** shamus has quit IRC | 00:56 | |
*** shamus has joined #maemo | 00:58 | |
*** hardaker has joined #maemo | 00:58 | |
*** jluisn has quit IRC | 00:59 | |
*** kraft_ is now known as kraft | 01:17 | |
*** Muelli has quit IRC | 01:21 | |
*** jrocha has quit IRC | 01:21 | |
*** trx has quit IRC | 01:32 | |
*** trx has joined #maemo | 01:37 | |
*** |thunder has joined #maemo | 01:41 | |
*** |thunder has left #maemo | 01:41 | |
*** |thunder has joined #maemo | 01:42 | |
ShadowJK | N900 bluetooth range is somewhat impressive | 01:44 |
---|---|---|
ShadowJK | 45 meters before my headphones started cutting out | 01:44 |
SpeedEvil | wow | 01:56 |
SpeedEvil | which phones? | 01:56 |
ZogG_laptop | lumia? | 01:59 |
* ZogG_laptop makes trollface | 01:59 | |
*** stardiviner has joined #maemo | 02:01 | |
*** Skry has quit IRC | 02:06 | |
*** hardaker has quit IRC | 02:14 | |
*** ludens has quit IRC | 02:14 | |
*** heroux has quit IRC | 02:14 | |
*** malin has quit IRC | 02:14 | |
*** entitled has quit IRC | 02:14 | |
*** Wizzup has quit IRC | 02:14 | |
*** idoru has quit IRC | 02:14 | |
*** entitled has joined #maemo | 02:14 | |
*** ludens has joined #maemo | 02:15 | |
*** idoru has joined #maemo | 02:15 | |
*** hardaker has joined #maemo | 02:15 | |
*** heroux has joined #maemo | 02:15 | |
*** malin has joined #maemo | 02:15 | |
*** Wizzup has joined #maemo | 02:15 | |
*** lbt_ has joined #maemo | 02:15 | |
*** lbt_ has quit IRC | 02:15 | |
*** lbt_ has joined #maemo | 02:15 | |
*** DocPyrotizer is now known as DocScrutinizer51 | 02:18 | |
ShadowJK | SpeedEvil; some peltor bluetooth ones | 02:19 |
SpeedEvil | I've been wondering about getting some, but I have conflicting needs. | 02:20 |
ShadowJK | ws2 oe something | 02:20 |
* ShadowJK wears them at work | 02:20 | |
SpeedEvil | maybe I should just stick with regular in ear and a convertor box | 02:20 |
ShadowJK | I went to fetch the less sucky dmm and only noticed when I went into the machine shop that I had forgotten phone | 02:20 |
ShadowJK | then I checked range :) | 02:21 |
SpeedEvil | I'm finding in ear phones mostly OK for nuisance noise attenuation | 02:22 |
SpeedEvil | and then slap some cheap ear defenders on top for really decent | 02:23 |
ShadowJK | I've been temoted to try Shure's in-ear, their (now historical) published specs indicated noise isolation almost as good as real hearing protection | 02:23 |
*** lbt_ has quit IRC | 02:23 | |
ShadowJK | tempted* | 02:23 |
SpeedEvil | I've been using the n900 phones | 02:23 |
ShadowJK | I find I need really tiny in-ear ones to fit underneath, and the types with rubber or silicone earcanal seal are uncomfortable like that, the foam varieties are better, they prevent differential air pressure from building up | 02:24 |
ShadowJK | heh, I've never even tried those, but the driver part, and the strain relief looked too big, iirc | 02:25 |
SpeedEvil | yeah, you need properly fitted silicone. | 02:25 |
SpeedEvil | I was pondering casting my own. but the stock ones work OK | 02:26 |
*** BCMM has quit IRC | 02:26 | |
ShadowJK | No I mean when the silicone properly fits, it gets uncomfortable with additional cups on top | 02:28 |
SpeedEvil | ah | 02:28 |
ShadowJK | fits/seals | 02:28 |
*** _xnt14 has quit IRC | 02:40 | |
*** MohammadAG has quit IRC | 02:40 | |
*** erstazi has quit IRC | 02:43 | |
*** MohammadAG has joined #maemo | 02:45 | |
*** _xnt14 has joined #maemo | 02:45 | |
*** APTX has quit IRC | 02:47 | |
*** APTX has joined #maemo | 02:47 | |
*** robbiethe1st has joined #maemo | 02:48 | |
*** Rantwolf has quit IRC | 02:49 | |
*** nox- has quit IRC | 02:54 | |
*** erstazi has joined #maemo | 02:54 | |
*** erstazi has quit IRC | 02:54 | |
*** erstazi has joined #maemo | 02:54 | |
*** ALoGeNo has quit IRC | 03:01 | |
*** Venusaur is now known as SuIsEiSeKi | 03:01 | |
DocScrutinizer05 | there are some senheiser(?) in-ear with custom-made ear-fittings | 03:03 |
DocScrutinizer05 | for like 300EUR | 03:03 |
DocScrutinizer05 | takes 2 weeks to deliver from the mould they take from your ear | 03:03 |
DocScrutinizer05 | on a sidenote, my friggin LG TV needs more volume each other month, I wonder if it's speakes wearing out, or my ears wearing out | 03:05 |
DocScrutinizer05 | speakers* | 03:05 |
*** ZogG_laptop has quit IRC | 03:05 | |
DocScrutinizer05 | that's probably age when you can't see closer than 50cm and ears go deaf | 03:06 |
*** SuIsEiSeKi is now known as Suiseiseki | 03:06 | |
DocScrutinizer05 | it's never been that true: I'm getting too old for that shit | 03:06 |
*** dhbiker has quit IRC | 03:07 | |
*** dhbiker has joined #maemo | 03:08 | |
*** APTX_ has joined #maemo | 03:10 | |
*** APTX has quit IRC | 03:10 | |
*** FredrIQ has joined #maemo | 03:12 | |
*** FIQ has quit IRC | 03:12 | |
*** FredrIQ is now known as FIQ | 03:12 | |
*** dos1 has quit IRC | 03:18 | |
*** DocScrutinizer05 has quit IRC | 03:23 | |
*** ALoGeNo has joined #maemo | 03:29 | |
*** jd has joined #maemo | 03:36 | |
*** jd has joined #maemo | 03:36 | |
*** FIQ has quit IRC | 03:38 | |
*** jd has quit IRC | 03:39 | |
*** Jade has quit IRC | 03:40 | |
*** Vibe has quit IRC | 03:42 | |
*** Vibe has joined #maemo | 03:53 | |
*** ZogG_laptop has joined #maemo | 04:02 | |
*** robink has quit IRC | 04:04 | |
*** ZogG_laptop has quit IRC | 04:06 | |
*** DocScrutinizer05 has joined #maemo | 04:12 | |
*** rd_ has joined #maemo | 04:16 | |
*** _rd has quit IRC | 04:16 | |
*** rd_ is now known as Guest17651 | 04:16 | |
*** robink_ has joined #maemo | 04:20 | |
*** Kilroo1 has quit IRC | 04:20 | |
*** Kilroo has joined #maemo | 04:21 | |
*** robink_ has quit IRC | 04:24 | |
ShadowJK | I have some sennheisers that have really tiny drivers and strain reliefs, fits good under peltor cups. But, for some reason, when the seal is perfect. it gets really uncomfortable, and it's like there's no attenuation of noise in the low range, say 150Hz and down | 04:36 |
robbiethe1st | ShadowJK, you've got a N900 right? | 04:38 |
robbiethe1st | Grab this: http://my-maemo.com/software/applications.php?fldAuto=1475&faq=34 | 04:39 |
ShadowJK | yes | 04:39 |
*** M4rtinK has quit IRC | 04:39 | |
*** Skry has joined #maemo | 04:39 | |
robbiethe1st | Works nicely, gives you a proper EQ for the stock media player(and possibly others) | 04:39 |
ShadowJK | ... | 04:40 |
ShadowJK | That's unrelated. | 04:41 |
ShadowJK | I'm talking about external noise | 04:41 |
ShadowJK | like say in an airplane or a car | 04:41 |
ShadowJK | Boosting bass with eq to bring it above noise is just going to ruin your hearing too, which is counter to the entire point :P | 04:41 |
robbiethe1st | I thought your problem was too much bass; figured you could turn it down | 04:42 |
*** Guest17651 has quit IRC | 04:43 | |
*** uen| has joined #maemo | 05:01 | |
*** uen has quit IRC | 05:05 | |
*** uen| is now known as uen | 05:05 | |
*** radic has quit IRC | 05:06 | |
*** robink_ has joined #maemo | 05:12 | |
*** robink_ has quit IRC | 05:17 | |
*** radic has joined #maemo | 05:21 | |
*** rc_ has joined #maemo | 05:39 | |
*** GuySoft has quit IRC | 05:39 | |
*** rcg has quit IRC | 05:43 | |
*** LaoLang_cool has joined #maemo | 05:46 | |
*** SmilyOrg has joined #maemo | 05:47 | |
*** Guest95461 has quit IRC | 05:50 | |
*** DocScrutinizer05 has quit IRC | 06:33 | |
*** DocScrutinizer05 has joined #maemo | 06:33 | |
*** LaoLang_cool has quit IRC | 06:35 | |
*** jhb1 has joined #maemo | 06:40 | |
*** jhb has quit IRC | 06:43 | |
*** robink_ has joined #maemo | 07:16 | |
*** hardaker has quit IRC | 07:24 | |
*** robink_ has quit IRC | 07:44 | |
*** aloril has quit IRC | 07:47 | |
*** Muelli has joined #maemo | 07:57 | |
*** robink_ has joined #maemo | 08:00 | |
*** aloril has joined #maemo | 08:02 | |
*** Guest17651 has joined #maemo | 08:10 | |
*** OkropNick has joined #maemo | 08:14 | |
*** robbiethe1st has quit IRC | 08:36 | |
*** Muelli has quit IRC | 08:42 | |
*** khertan has joined #maemo | 08:43 | |
*** robink_ is now known as robink | 08:44 | |
*** robink has joined #maemo | 08:44 | |
*** freemangordon has joined #maemo | 08:52 | |
*** eijk has joined #maemo | 09:03 | |
*** teotwaki has quit IRC | 09:05 | |
*** croppa has joined #maemo | 09:08 | |
*** Rantwolf has joined #maemo | 09:15 | |
*** MacDrunk has joined #maemo | 09:25 | |
*** MacDrunk has left #maemo | 09:31 | |
*** rc_ has quit IRC | 09:36 | |
*** e-yes has quit IRC | 09:36 | |
*** jrocha has joined #maemo | 09:38 | |
*** beford has quit IRC | 09:46 | |
*** GuySoft has joined #maemo | 09:57 | |
*** andre__ has joined #maemo | 09:57 | |
*** andre__ has quit IRC | 09:57 | |
*** andre__ has joined #maemo | 09:57 | |
*** edheldil has joined #maemo | 09:58 | |
*** disco_stu_droid has joined #maemo | 09:58 | |
*** disco_stu has quit IRC | 09:58 | |
*** rcg-work has joined #maemo | 09:59 | |
*** disco_stu_droid is now known as disco_stu | 09:59 | |
*** murrayc has joined #maemo | 10:10 | |
*** calvaris has joined #maemo | 10:14 | |
*** geaaru has joined #maemo | 10:15 | |
*** Arkenoi has joined #maemo | 10:18 | |
*** eMHa has quit IRC | 10:18 | |
*** florian_kc has joined #maemo | 10:21 | |
*** florian_kc has quit IRC | 10:21 | |
*** florian_kc has joined #maemo | 10:21 | |
*** florian_kc is now known as florian | 10:22 | |
*** ShadowX has quit IRC | 10:22 | |
*** stardiviner has quit IRC | 10:24 | |
*** utanapischti has quit IRC | 10:29 | |
*** utanapischti has joined #maemo | 10:29 | |
*** valerius has quit IRC | 10:29 | |
*** jhb1 has quit IRC | 10:30 | |
*** mardi has quit IRC | 10:33 | |
*** rm_work has quit IRC | 10:40 | |
*** mvp_ has joined #maemo | 10:47 | |
*** valerius has joined #maemo | 10:48 | |
freemangordon | ~seen zeq | 10:49 |
infobot | zeq <~s_j_newbu@2a01:348:1e3:1:e6ec:10ff:fe9a:d418> was last seen on IRC in channel #maemo-ssu, 6d 14h 16m 45s ago, saying: 'I guess that could work'. | 10:49 |
*** e-yes has joined #maemo | 10:50 | |
*** dhbiker has quit IRC | 10:50 | |
*** doc|home has quit IRC | 10:53 | |
*** eMHa has joined #maemo | 10:55 | |
*** disco_stu has quit IRC | 10:55 | |
*** disco_stu_droid has joined #maemo | 10:55 | |
*** disco_stu_droid is now known as disco_stu | 10:56 | |
*** calvaris has quit IRC | 10:59 | |
*** mardi has joined #maemo | 11:03 | |
*** calvaris has joined #maemo | 11:05 | |
*** calvaris has left #maemo | 11:05 | |
*** tanty has joined #maemo | 11:09 | |
vi_ | ~seen your butt | 11:14 |
infobot | vi_: i haven't seen 'your butt' | 11:14 |
freemangordon | vi_: hmm, strange | 11:15 |
vi_ | ~butt | 11:15 |
infobot | butt is, like, not to be confused with but | 11:15 |
vi_ | ~music | 11:15 |
infobot | i heard music is essential for hacking -- especially calming music for debugging so you don't throw the damn machine out the nearest window Available from magnatune, a company that isn't evil. | 11:15 |
vi_ | ~seen hugh gass | 11:17 |
infobot | vi_: i haven't seen 'hugh gass' | 11:17 |
vi_ | freemangordon: I know, I am exposing my butt all the time. | 11:17 |
*** rcg-work has quit IRC | 11:18 | |
freemangordon | vi_: yeah, that's why it seems strange infobot has never seen it | 11:19 |
vi_ | freemangordon: I am changing over to embedded systems role at my job today. | 11:20 |
vi_ | freemangordon: After 2 years I am starting C again. | 11:20 |
freemangordon | wow, sounds great | 11:20 |
vi_ | The project I am taking over is... | 11:20 |
vi_ | made of nightmares | 11:20 |
freemangordon | well, saying it is written in C should be enough :D | 11:21 |
vi_ | There have been 6 people working on this for the past 8 years. | 11:21 |
vi_ | The last 2 only lasted 1 year each. | 11:21 |
freemangordon | yeah, I know what you mean | 11:21 |
vi_ | They did not know C and learned 'on the job'. | 11:21 |
vi_ | This firmware is an abomination. | 11:21 |
freemangordon | I can bet the code is like spaghetti | 11:21 |
vi_ | freemangordon: At least spaghetti is not tied end to end. | 11:22 |
*** teotwaki has joined #maemo | 11:22 | |
freemangordon | hehe | 11:22 |
Wizzup | rewrite it in golang ;) | 11:22 |
vi_ | They only started including 'version' numbers inside the code in the last year. | 11:22 |
freemangordon | Wizzup: not always possible, imagine you have a deadline ;) | 11:22 |
Wizzup | hehe | 11:23 |
vi_ | The guy added it to THE END of 'print.c' | 11:23 |
freemangordon | LOL | 11:23 |
vi_ | freemangordon: I did not lol. :| | 11:23 |
jaska | why not lol, existence is but a bad joke. | 11:23 |
freemangordon | vi_: is the situation with developers that hard where you are? | 11:24 |
vi_ | freemangordon: No, my company is just so fucking stupid and cheap. | 11:24 |
freemangordon | aah | 11:24 |
vi_ | For example the goon that just left was getting paid 25% more than me. | 11:25 |
vi_ | They are expecting me to take over his job on my current salary. | 11:25 |
freemangordon | :( | 11:25 |
vi_ | I have not had a pay rise in 3 years. | 11:25 |
vi_ | In fact I have taken a pay cut if you consider inflation. | 11:26 |
freemangordon | vi_: well, it is economic crisys after all | 11:26 |
vi_ | For skilled people it is not so much. | 11:26 |
*** valeriusL has joined #maemo | 11:27 | |
vi_ | I shall use this opportunnity to get back into embedded systems and coding (I have not really done any for 3 years) and then find a new job in a couple of months. Fuck 'em. | 11:28 |
*** arno0ob has joined #maemo | 11:29 | |
Wizzup | meh, you should able to get a decent pay somewhere if you don't mind loosening your ideals (say, android or ios coding) | 11:30 |
vi_ | Wizzup: I am more about embedded systems as oppose to appz development. | 11:30 |
Wizzup | I understood that | 11:31 |
*** Gh0sty has quit IRC | 11:31 | |
*** valerius has quit IRC | 11:31 | |
*** Gh0sty has joined #maemo | 11:33 | |
teotwaki | vi_: how's your networking skills? | 11:34 |
*** BCMM has joined #maemo | 11:35 | |
vi_ | teotwaki: With people or embedded systems? | 11:35 |
teotwaki | vi_: also, where are you based and do you mind travelling? | 11:35 |
teotwaki | computer-wise | 11:35 |
vi_ | teotwaki: Edinburgh | 11:35 |
vi_ | teotwaki: (scotland) | 11:35 |
vi_ | (uk) | 11:36 |
teotwaki | Yes, I know where the brugh is | 11:36 |
vi_ | Why, do you know somone who is hiring? | 11:36 |
teotwaki | vi_: and, do you mind travelling? | 11:36 |
vi_ | depends what exactly you mean by travelling. | 11:36 |
vi_ | I.e a long commute or relocating country? | 11:37 |
teotwaki | going to the other side of the planet for customer meetings. | 11:37 |
vi_ | teotwaki: that sounds awesome. | 11:37 |
teotwaki | not relocation, just regular travels to meet up with the team. | 11:37 |
teotwaki | how's your multithreading skills? | 11:37 |
*** pcfe` has joined #maemo | 11:38 | |
*** pcfe` has quit IRC | 11:38 | |
*** pcfe` has joined #maemo | 11:38 | |
vi_ | non-existant. I have not done any real coding for ~3 years. Back then it was firmware for 8051 microcontrollers. | 11:38 |
vi_ | Now it is firmware for freescale 56F300 | 11:39 |
teotwaki | Well, if embedded is what you like (set top boxes, tvs, mobiles), you may want to check out ZMQ | 11:40 |
teotwaki | The company that powers ZMQ is looking for solid recruits | 11:40 |
teotwaki | Young, available (as in, not tied down by girlfriend/wife), ready to work stupid hours. | 11:40 |
teotwaki | But the pay is good, and you get to become a public figure ;) | 11:41 |
*** pcfe has quit IRC | 11:41 | |
vi_ | teotwaki: interesting... | 11:41 |
Luke-Jr | so they want slaves.. | 11:41 |
vi_ | teotwaki: Thank you for the tip. | 11:41 |
teotwaki | Luke-Jr: that's one way of looking at it, but seeing they'd probably double or triple my salary, I'm OK with that. | 11:42 |
teotwaki | And I am *very* well paid for my geographical area. | 11:42 |
Luke-Jr | I'm relatively underpaid, because I weigh pay with other important factors <.< | 11:43 |
Luke-Jr | like working from home, not signing NDAs, etc | 11:43 |
vi_ | In this project they have run out of flash memory to hold the code. | 11:44 |
vi_ | The flash memory is 64k. | 11:45 |
Luke-Jr | ☺ | 11:45 |
vi_ | This is a simple gas measuring device. | 11:45 |
*** GNUton-BNC has quit IRC | 11:45 | |
teotwaki | Yeah, I work from home two or three days a week, I don't have any NDAs, I get 7 weeks of (paid) vacation, I'm a shareholder, and I'm currently negotiating to start my own company within the holding. | 11:45 |
vi_ | with 4 buttons and a tiny monochrome LCD display. | 11:45 |
*** GNUton-BNC has joined #maemo | 11:45 | |
teotwaki | vi_: let me guess, they compile with -O6? | 11:45 |
vi_ | teotwaki: I like where you are at, how old are you? | 11:45 |
teotwaki | I'm 26. | 11:46 |
vi_ | teotwaki: I do not even know yet. | 11:46 |
vi_ | teotwaki: FUCK. | 11:46 |
vi_ | teotwaki: 26????? | 11:46 |
teotwaki | Or 25? | 11:46 |
vi_ | teotwaki: FML. | 11:46 |
teotwaki | No, 26. | 11:46 |
teotwaki | vi_: why, how old are you? | 11:47 |
*** Zahra has joined #maemo | 11:47 | |
vi_ | and if it is not to much, who do you work for? | 11:47 |
vi_ | teotwaki: I am 27. I have a graduate salary and a rusty car. | 11:47 |
teotwaki | A small company in France, Interact-IV. The website is shite---we don't sell things directly, so we don't need to be known; we have other companies (massive network operators in Europe) who get the clients, and give 'em to us. | 11:48 |
vi_ | And You GET TO LIVE IN FRANCE??? | 11:49 |
vi_ | The food! | 11:49 |
vi_ | The hot chicks! | 11:49 |
teotwaki | 90% of our business is "white label", or whatever the terminology is in English. | 11:49 |
vi_ | The language! | 11:49 |
teotwaki | Well, I'm hoping to leave pretty soon, frankly. | 11:49 |
vi_ | teotwaki: Germany, right? | 11:49 |
teotwaki | I spent my adolescence here, came back after two years in London, and some time in Australia, the weather's awesome, and the produce is amazing, but the people are just stupid. | 11:50 |
teotwaki | No, probably London again for a year or two, then Sweden or Canada. | 11:50 |
vi_ | So this 64k firmware has a whole USB subsystem compiled into it. | 11:50 |
vi_ | ...there is no USB interface in the PCB. | 11:51 |
vi_ | SO | 11:51 |
vi_ | MUCH | 11:51 |
vi_ | FAIL. | 11:51 |
vi_ | Sweden & Canada are appealing, | 11:51 |
vi_ | London is apalling. | 11:51 |
vi_ | fuck my spelling this morning. | 11:51 |
*** valerius has joined #maemo | 11:52 | |
teotwaki | vi_: isn't there a JTAG-to-USB interface? | 11:52 |
*** mvp_ has quit IRC | 11:52 | |
teotwaki | London is actually seriously cool, I love that place | 11:52 |
teotwaki | Take the train for 10 minutes, and you cycle your heart out, take the train in the other direction for 20 minutes, and you're at work. | 11:52 |
vi_ | Yes, but why would you need USB in the firmware for it? | 11:53 |
teotwaki | I don't know, but maybe a physical USB thingie isn't required to use USB? | 11:53 |
vi_ | Also, no one has had the debugger hooked up in about 2 years. | 11:53 |
teotwaki | You can fly to literally any place in the world from London, except for maybe London itself, you can even take the train to Belgium/Paris, so holidays and visiting friends/family is no big deal. | 11:54 |
jacekowski | london is horrible | 11:54 |
vi_ | teotwaki: I meant the project, the device has no USB on it. It does not use the USB hardware of the 56F300, yet the code for it is included in the firmware. | 11:54 |
vi_ | jacekowski: I can confirm this. | 11:54 |
jacekowski | teotwaki: you can't fly to paris from london | 11:54 |
teotwaki | vi_: ah, ok. | 11:54 |
jacekowski | teotwaki: you have to take the train | 11:55 |
teotwaki | jacekowski: I don't think that's correct | 11:55 |
jacekowski | teotwaki: eurostar takes 2h to get to paris | 11:55 |
vi_ | London: filthy, rotten to the core and full of c*nts. | 11:55 |
jacekowski | teotwaki: with check-in times of like 10minutes | 11:55 |
jacekowski | teotwaki: plane takes about the same and check in times are much longer | 11:55 |
jacekowski | teotwaki: so airlines couldn't compete with eurostar on that route | 11:56 |
teotwaki | Eurostar is actually more of a checkin of 30-40 minutes, but ok :) | 11:56 |
teotwaki | jacekowski: Air France 1180 | 11:56 |
jacekowski | teotwaki: i've traveled on eurostar few times and never had any problems | 11:56 |
jacekowski | teotwaki: i got there like 20 minutes before train was due to leave and i managed to get something to eat in that time | 11:57 |
*** BCMM has quit IRC | 11:57 | |
*** stardiviner has joined #maemo | 11:57 | |
teotwaki | Yes, check in *can* be easy, but I could tell you the same story flying out from Tunisia, or even LHR :) | 11:58 |
*** disco_stu has quit IRC | 11:58 | |
*** disco_stu has joined #maemo | 11:58 | |
teotwaki | And for the record, the plural of anecdotes isn't data. | 11:58 |
jacekowski | it always takes a lot longer to check in on the airport | 11:59 |
jacekowski | + you have weight limits | 11:59 |
jacekowski | and with eurostar you end up in middle of paris | 11:59 |
jacekowski | CDG airport is quite far from it | 11:59 |
teotwaki | Yes yes, you're right, disregard any statement I might provide with new constraints and rules, just so you can keep disregarding my facts :) | 12:00 |
teotwaki | I said "You can fly to literally any place in the world from London, except for maybe London itself, you can even take the train to Belgium/Paris" | 12:01 |
jacekowski | well yeah | 12:01 |
teotwaki | and somehow this fucktard is arguing with me that "Eurostar is the only way to to Paris" | 12:01 |
teotwaki | I mean what the fuck, who gives a flying shit. | 12:01 |
teotwaki | You're arguing exactly the same thing as I am. | 12:01 |
jacekowski | hmmm | 12:01 |
jacekowski | well, i'm just saying london is horrible | 12:01 |
teotwaki | How is arguing for its excellent transport a way to make that point? | 12:02 |
jacekowski | well, it's not | 12:02 |
jon_y | sales droid | 12:03 |
jon_y | some of them are anyway | 12:03 |
jacekowski | i've worked in london and wouldn't say that transport is so good | 12:03 |
jacekowski | every time i had to take a van into london it was like 2h to get to city from M25 | 12:04 |
teotwaki | And try doing the same in Paris, or Moscow, or Kiev, or SF, or NY. | 12:06 |
jacekowski | that's why i don't like big cities | 12:06 |
teotwaki | But then compare---as a tourist---using the tube in London, Paris, Kiev. | 12:06 |
jacekowski | abominations like that shouldn't exist | 12:06 |
teotwaki | Kiev is stupid, nobody speaks English, and you can't read where to get out. The tube is roughly at 250m under ground level, so you spend 10 minutes going down, doooown, dooooooooown. | 12:07 |
teotwaki | But it's very funny to see some poor dude in a cabin at the bottom of the escalators, looking up, all day, all the time, to press the single big red button in front of him if someone trips. | 12:07 |
teotwaki | Paris is even more stupid, because most people *could* help you if they wanted to. They just can't be bothered. The indications don't make sense, because they only happen once every 600m, nevermind the fact you just went up and down two escalators, a u-turn, and had to use three tickets because the old ones didn't work anymore. | 12:09 |
teotwaki | Compare that with London, where every tube train indicates where it's going, and there's maps/boards indicating everywhere where it's come from. There's staff all over the fucking place, in case your ticket doesn't work (you know, that good ol'e right that says that no mechanical authority can hold you prisoner unless there's a human to supervise it---it works!), or in case you need directions. | 12:11 |
*** drussell has quit IRC | 12:13 | |
*** drussell has joined #maemo | 12:13 | |
*** ZogG_laptop has joined #maemo | 12:18 | |
*** ZogG_laptop has quit IRC | 12:18 | |
*** ZogG_laptop has joined #maemo | 12:18 | |
*** erstazi has quit IRC | 12:31 | |
*** Guest17651 has quit IRC | 12:36 | |
vi_ | can somone suggest a good online c dictionary? | 12:37 |
teotwaki | c dictionary? | 12:37 |
DocScrutinizer05 | <teotwaki> Young, available.... | 12:38 |
DocScrutinizer05 | :-S | 12:38 |
vi_ | an online reference | 12:40 |
*** disco_stu has quit IRC | 12:41 | |
teotwaki | vi_: of what? | 12:41 |
vi_ | C | 12:42 |
teotwaki | You mean the C Std Lib? | 12:42 |
vi_ | Yes. | 12:42 |
teotwaki | Man pages? | 12:42 |
vi_ | LOL | 12:42 |
vi_ | no one reads manpages. | 12:42 |
teotwaki | man stdio | 12:42 |
ZogG_laptop | there was some site with functions and the examples | 12:42 |
vi_ | teotwaki: I have to use a windows 7 workstation | 12:43 |
ZogG_laptop | vi_: actually people do read man pages | 12:43 |
tadzik | wait, what | 12:43 |
ZogG_laptop | vi_: there are mans online :P | 12:43 |
tadzik | "I need a reference" "LOL, no one reads manpages" | 12:43 |
tadzik | what has the world come to | 12:43 |
vi_ | ZogG_laptop: I do not want to know about your online man search. | 12:43 |
teotwaki | vi_: http://www.cplusplus.com/reference/clibrary/ | 12:43 |
teotwaki | http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ | 12:44 |
ZogG_laptop | vi_: if you don;t want to know — don't ask!!! | 12:44 |
teotwaki | http://www.gnu.org/software/libc/manual/html_node/index.html | 12:44 |
teotwaki | http://www.csse.uwa.edu.au/programming/ansic-library.html | 12:44 |
teotwaki | http://www.kernel.org/doc/man-pages/online/pages/man3/stdio.3.html | 12:44 |
* DocScrutinizer05 idly poonders which jobs an employer may ask for "young" employees without getting sued for discrimination | 12:44 | |
ZogG_laptop | simple like that, if you ask at public chat, be greatful for any help/reply. otherwise ask privately from who you want to hear | 12:45 |
DocScrutinizer05 | -o | 12:45 |
ZogG_laptop | DocScrutinizer05: sent your CV to jolla? | 12:45 |
vi_ | ZogG_laptop: jesus christ ZogG_laptop, it was a joke. | 12:45 |
DocScrutinizer05 | meh | 12:45 |
ZogG_laptop | vi_: oh, =* | 12:45 |
teotwaki | DocScrutinizer05: because young people usually don't have as much baggage as more "ancient" devs | 12:45 |
vi_ | teotwaki: cheers. | 12:45 |
ZogG_laptop | vi_: still didn't wake up | 12:45 |
teotwaki | DocScrutinizer05: they don't mind working 16 hours per day, as long as the pay is good | 12:45 |
vi_ | baggage==experiance==more money. | 12:46 |
DocScrutinizer05 | aaah | 12:46 |
teotwaki | and they don't mind jumping into a 10 hour work day after a 15 hour flight | 12:46 |
vi_ | Basically you have too much exp to join the graduates guild. | 12:46 |
teotwaki | vi_: no, baggage == holding you down. | 12:46 |
teotwaki | Relationships: Long-term anchor to keep your feet on the ground, but also daily pain in the ass. | 12:47 |
*** mvp_ has joined #maemo | 12:47 | |
vi_ | teotwaki: I know. | 12:47 |
ZogG_laptop | vi_: http://www.tutorialspoint.com/ansi_c/c_function_references.htm - i think that can be usefull | 12:47 |
vi_ | ZogG_laptop: cheers, | 12:48 |
ZogG_laptop | i'm writting project now in ansi C for school and i wrote a load of shit code :P | 12:49 |
ZogG_laptop | found this site while searching for string functions | 12:50 |
*** Dibblah has joined #maemo | 12:52 | |
ZogG_laptop | hey Dibblah | 12:53 |
vi_ | mother of god. | 12:58 |
vi_ | In this code they do not check the I2C (smbus) flag for 'ready', they just tell the processor to wait a millisecond or so. | 12:59 |
vi_ | The hammer on regardless. | 12:59 |
vi_ | ^then | 12:59 |
*** norayr has joined #maemo | 12:59 | |
*** cityLights has joined #maemo | 12:59 | |
jaska | hammertime | 13:00 |
*** marmoute has joined #maemo | 13:01 | |
*** marmoute has left #maemo | 13:02 | |
vi_ | It is as shitty as using a slow sampling to de-bounce a button. | 13:02 |
DocScrutinizer05 | haha | 13:06 |
DocScrutinizer05 | coders and hardware | 13:06 |
teotwaki | One of our direct customers has been harassing me for a couple of months. | 13:19 |
teotwaki | The issue they have is related to configuration, I've told them on day one. We don't provide support for configuration issues. But the guy insists it's a bug, so I connect to their VPN, and check what's what. | 13:19 |
teotwaki | I notice that one of the processes has a weird configuration line. We enable to "name" different networks, so that they can route specific types of media streams over different networks. | 13:20 |
ZogG_laptop | teotwaki: where is punch line? | 13:20 |
teotwaki | The guy added the configuration <network address="10.4.5.0" mask="255.255.255.0" server_address="10.220.34.17"> | 13:21 |
teotwaki | I told him "It doesn't look like that network address is the correct one. Could you double check that?" | 13:21 |
teotwaki | He replied "No, 10.220.34.17 is the correct address for that server" | 13:21 |
teotwaki | I replied, "I'm sorry, I meant the address field, it points to 10.4.5.0, which isn't a network your server has access to, maybe you copied the file from production, and only updated the server_address field?" | 13:22 |
teotwaki | He replied, "No, I insist that that address is correct." | 13:22 |
teotwaki | There's no such network on the server, for clear conscience, I connected to their production servers, and sure enough, their network is 10.4.5.0... | 13:23 |
teotwaki | So I sent an email with nice red and green colours, just to display what fields I'm talking about, because that numbnuts is incapable of reading my email without visual clues. | 13:24 |
teotwaki | Anyway, going home, too much construction noise at the office. | 13:24 |
*** teotwaki has quit IRC | 13:24 | |
*** mvp_ has quit IRC | 13:33 | |
*** mvp_ has joined #maemo | 13:36 | |
*** mvp_ has quit IRC | 13:36 | |
*** valerius has quit IRC | 13:36 | |
*** calvaris has joined #maemo | 13:37 | |
*** lizardo has joined #maemo | 13:38 | |
*** utanapischti has quit IRC | 13:40 | |
*** valerius has joined #maemo | 13:43 | |
*** Plektra has joined #maemo | 13:46 | |
*** Plektra has left #maemo | 13:47 | |
*** M4rtinK has joined #maemo | 13:48 | |
*** Dynamit has quit IRC | 13:57 | |
*** mvp_ has joined #maemo | 13:58 | |
fasta | After upgrading to the latest stable community edition, my usb ethernet connection doesn't work anymore. Why not? | 14:05 |
*** maybeWTF has joined #maemo | 14:08 | |
*** maybeHere has quit IRC | 14:08 | |
vi_ | fasta: Because, gnomes. | 14:10 |
fasta | vi_: I had to do a manual ifup usb0 | 14:11 |
fasta | vi_: but that wasn't the case before. | 14:11 |
fasta | So, someone changed something. | 14:11 |
fasta | Or gremlins | 14:11 |
fasta | I am going for the former. | 14:11 |
kerio | fasta: autoifupping usb0 isn't something that used to be in cssu | 14:12 |
fasta | kerio: no, but it's something I put in /etc/network/interfaces | 14:12 |
kerio | so put it there again | 14:12 |
fasta | kerio: it's still there, but it just doesn't work now. | 14:13 |
kerio | \_o_/ | 14:13 |
kerio | ask Pali | 14:13 |
fasta | kerio: do you happen to know how I can enable boot messages to show when it is starting? | 14:15 |
kerio | maybe install syslog | 14:15 |
kerio | or rsyslog | 14:15 |
fasta | kerio: because I basically cannot really see sometimes whether it's booting, shutting down again, etc. | 14:16 |
fasta | kerio: no, I mean during boot. | 14:16 |
fasta | kerio: that I can see visual boot messages. | 14:16 |
fasta | kerio: this is a problem when the usb cable is connected, because the usb cable is also used for firmware upgrades. | 14:16 |
fasta | So, sometimes there are delays, etc., so it's not clear as to what it is doing. | 14:16 |
kerio | btw, make sure g_nokia is loaded | 14:17 |
kerio | and not g_file_storage | 14:17 |
DocScrutinizer05 | >><fasta> kerio: this is a problem when the usb cable is connected, because the usb cable is also used for firmware upgrades.<<< err wut? | 14:28 |
kerio | idk | 14:28 |
*** jluisn has joined #maemo | 14:28 | |
DocScrutinizer05 | sounds like PK boot issue to me | 14:29 |
*** erstazi has joined #maemo | 14:29 | |
fasta | DocScrutinizer05: PK? | 14:30 |
DocScrutinizer05 | powerkernel | 14:30 |
kerio | he means KP | 14:30 |
kerio | for kernel-power | 14:30 |
fasta | DocScrutinizer05: I am running stock kernel. | 14:30 |
DocScrutinizer05 | I'm not speaking reverse polish notiation | 14:30 |
DocScrutinizer05 | fasta: so what's your boot problems then? | 14:31 |
DocScrutinizer05 | there are no boot problems known, and for sure CSSU doesn't mess with that | 14:31 |
fasta | DocScrutinizer05: mostly that I don't know whether after pressing the start button whether it is really booting or not. | 14:32 |
fasta | DocScrutinizer05: it would be nice if it would give some indication that yes, it's really booting. | 14:32 |
DocScrutinizer05 | CSSU didn't change a thing on that | 14:32 |
fasta | DocScrutinizer05: sure, but that doesn't make it less of a problem. | 14:32 |
DocScrutinizer05 | it's always been like "press button, watch indicator LED, waaaaait" | 14:33 |
fasta | DocScrutinizer05: yes, but sometimes the indicatator LED is not fully white. | 14:33 |
fasta | DocScrutinizer05: but I do see the Nokia logo. | 14:33 |
*** shanttu has joined #maemo | 14:33 | |
fasta | In that case, it's in some state where AFAIK, you can also do a firmware upgrade. | 14:33 |
DocScrutinizer05 | sorry I don't get it what's your problem | 14:33 |
*** Dynamit has joined #maemo | 14:34 | |
DocScrutinizer05 | too fuzzy description, no use in me trying to make a story out of it | 14:34 |
DocScrutinizer05 | and assumptions that don't help | 14:35 |
fasta | DocScrutinizer05: never mind then. Perhaps I should make a video out of it, if I care more about the problem. | 14:36 |
DocScrutinizer05 | maybe your confusion arises from the fact that device actually boots to a state called act_dead as soon as you apply power to USB | 14:36 |
kerio | btw, act_dead is stupid | 14:36 |
DocScrutinizer05 | this can take like 15 seconds, during which the device might not respond to you trying to "boot" it | 14:37 |
DocScrutinizer05 | and no, firmware update is absolutely unrelated to this | 14:38 |
DocScrutinizer05 | the firmware update state is a transient state in very early boot (boot triggered by plugging in USB, as well as "manual" boot via power button, though on the latter you won't notice it usually) | 14:39 |
DocScrutinizer05 | it's the NOLO bootloader that shows NOKIA screen without backlight that handles firmware update. You can keep it in that state when you press and hold "u" key while plugging in USB | 14:40 |
DocScrutinizer05 | (unless your battery is too depleted, which will cause NOLO to abort firmware update state and go straight to booting into linux) | 14:41 |
kerio | can we even talk about "firmware" in the n900's case? | 14:41 |
DocScrutinizer05 | but all that is irrelevent you you should never mind. It got nothing to do with what you probably think is meant by "booting" | 14:42 |
DocScrutinizer05 | kerio: good point, I always thought we can't really | 14:42 |
DocScrutinizer05 | but firmware is a rather fuzzy term, poorly defined | 14:42 |
DocScrutinizer05 | it had a precise meaning for microcontrolers etc that never can change their own "firmware" during runtime | 14:43 |
*** geaaru_ has joined #maemo | 14:44 | |
jaska | even cpu microcode can be updated runtime now :) | 14:44 |
DocScrutinizer05 | jaska: though I'd tend to call THAT firmware still | 14:45 |
jaska | yeah | 14:45 |
DocScrutinizer05 | firmware of the CPU core, changed by larger SoC | 14:46 |
DocScrutinizer05 | generally firmware isn't self-modifying | 14:46 |
DocScrutinizer05 | and usually installed at fab production time, or later during special firmware update process, but generally doesn't alter/change in the times of normal usage in between those special events | 14:48 |
DocScrutinizer05 | but I guess that doesn't help to relieve fasta's confusion and grief | 14:49 |
DocScrutinizer05 | fasta: a general suggestion: after plugging device to USB, *wait* for 30s before "booting" it | 14:50 |
fasta | DocScrutinizer05: ok (although, I am also not the most patient of people) ;) | 14:50 |
fasta | The act_dead comments above seem to apply. | 14:51 |
DocScrutinizer05 | I recall I suffered quite similar confusion in my early N900 times ;-D | 14:51 |
*** etrunko has joined #maemo | 14:51 | |
*** setanta has joined #maemo | 14:51 | |
DocScrutinizer05 | if you're in a hurry, *first* boot and only *then* plug in USB | 14:52 |
DocScrutinizer05 | takes considerably shorter and less patience | 14:52 |
fasta | Is there a way to increase the 32GB storage on the device? | 14:55 |
DocScrutinizer05 | (rationale: when booted by power button [I.E. without USB plugged in] the device will enter normal active mode [run level], not act_dead) | 14:55 |
DocScrutinizer05 | fasta: yes, plug in a 32GB microSD card ;-) | 14:55 |
fasta | DocScrutinizer05: so there's an open slot still somewhere? | 14:56 |
DocScrutinizer05 | err, under battery cover | 14:56 |
fasta | Yes, sure. | 14:56 |
DocScrutinizer05 | if you're asking about "internal stoage upgrade": no such thing supported on N900 | 14:57 |
*** stardiviner has quit IRC | 14:58 | |
fasta | DocScrutinizer05: I already have 32GB currently. | 14:58 |
DocScrutinizer05 | not like on 8GB N9 which allows to swap the 8GB flash chip for a 64GB chip | 14:58 |
fasta | DocScrutinizer05: as such, is there an extra space to get to 64GB? | 14:58 |
DocScrutinizer05 | fasta: N900 has 32GB internal "fixed"(soldered) storage (plus the 'core' 256MB NAND storage), and it has a uSD slot that can take uSD-cards up to 32(64?)GB | 15:00 |
DocScrutinizer05 | no other options beyond that | 15:00 |
DocScrutinizer05 | 32GB internal + 32GB uSD = 64GB total storage capacity | 15:01 |
fasta | It appears that even 64GB does work (talk.maemo) | 15:01 |
fasta | That is, a 64GB uSD. | 15:02 |
DocScrutinizer05 | hmm, I think I haven't seen 64GB uSD cards yet | 15:02 |
fasta | http://talk.maemo.org/showthread.php?t=72864&page=4 | 15:02 |
DocScrutinizer05 | ooh, so they are finally available? | 15:03 |
DocScrutinizer05 | nice | 15:03 |
*** norayr has quit IRC | 15:04 | |
DocScrutinizer05 | isn't it puzzling some of you as well sometimes, to look at that tiny uSD and figure it can hold like 100 CD worth of data | 15:10 |
DocScrutinizer05 | 1TB in a volume the size of a sugar cube :-D | 15:11 |
*** croppa has quit IRC | 15:12 | |
DocScrutinizer05 | for storage moore's law itself seems to follow moore's law | 15:12 |
DocScrutinizer05 | "storage capacity increases every two years by a factor that doubles every two years" | 15:14 |
DocScrutinizer05 | moore^2 | 15:15 |
*** murrayc has quit IRC | 15:15 | |
*** Wizzup has quit IRC | 15:19 | |
*** norayr has joined #maemo | 15:26 | |
*** Pali has joined #maemo | 15:27 | |
*** etrunko has quit IRC | 15:27 | |
kerio | PALI IS BACK | 15:29 |
kerio | WOOT | 15:29 |
kerio | DocScrutinizer05: "ultra" uSDs suck for random read/writes | 15:30 |
DocScrutinizer05 | Pali: hi! :-D | 15:30 |
Pali | I'm here and know implicit function theorem :) | 15:30 |
Pali | hi | 15:30 |
kerio | Pali: there's a number of problems with your bq24k module | 15:30 |
kerio | it leaves gaia in a weird state | 15:31 |
kerio | luckily we found a way to reset it without removing the bupbat | 15:31 |
Pali | kerio, first look at: https://gitorious.org/rx51-bme-replacement/bq2415x_charger | 15:31 |
Pali | see if it is fixed or not | 15:31 |
kerio | ooh, Disable charger in none mode | 15:31 |
kerio | could be that | 15:31 |
Pali | I fixed some problems (it reported bad values in sysfs) | 15:32 |
*** Wizzup has joined #maemo | 15:32 | |
Pali | and hald-addon-bme is working now! | 15:32 |
kerio | neat | 15:33 |
Pali | see https://gitorious.org/rx51-bme-replacement/hald-addon-bme | 15:33 |
kerio | i don't know if i'm a bad enough dude to test it | 15:33 |
kerio | Pali: are you? | 15:33 |
Pali | and now I rewritten dsme-thermalobject-surface to use bq27200 temperature: https://gitorious.org/rx51-bme-replacement/dsme-thermalobject-surface | 15:33 |
Pali | dsme-thermalobject-surface it not tested yet | 15:34 |
kerio | Pali: eventually i got to a weird state where twl thought the charger was connected | 15:34 |
Pali | hald-addon-bme with patched bq2415x_charger working without problem on my n900 | 15:34 |
Pali | it correctly detect when charger is connected and when disconnected | 15:35 |
Pali | and I have something about adcin0 temperature conversion | 15:36 |
Pali | nothing from nokia devs, but from some public bme hearder files | 15:36 |
*** stardiviner has joined #maemo | 15:37 | |
Pali | search for file bmeisa.h and here is: "unit conversion data for logarithmical channel" and "struct { gain, b, t_ref }" and "unit: 1 Kelvin" | 15:38 |
Pali | I think that this is used for temperature formula, and function will be some logarithm approximation... | 15:39 |
Pali | DocScrutinizer05, see ^^^^ | 15:39 |
DocScrutinizer05 | :nod: | 15:40 |
Pali | I created small code which ask libbmeipc for data about temperature and bme returns me: 64 00 34 0D 2A 01 | 15:41 |
Pali | and 64 00 34 0D 2A 01 I found in CAL | 15:41 |
Pali | calvaria show me: -- BME-PMM area -- group 1, element 8: [0000]: 05 03 03 00 64 00 34 0D 2A 01 00 00 00 00 00 00 |....d.4.*.......| | 15:42 |
Pali | I also written small program which ask bme (via bmeipc) for adcin0 value and temperature value (returns in kelvin) | 15:43 |
*** Muelli has joined #maemo | 15:43 | |
Pali | and adcin0 value I checking with raw value from /dev/twl-adc... and both are same... | 15:44 |
DocScrutinizer05 | sounds like some great success :-) | 15:44 |
Pali | so we can collect more raw values and converted temperatures, we have some hint that convert function can be logarithm and some data from cal (which can be some adjust constant) | 15:45 |
DocScrutinizer05 | :nod: | 15:45 |
Pali | I think we can count that conversation formula | 15:45 |
Pali | or at least create some mapping table | 15:45 |
DocScrutinizer05 | mapping table with some 8 support points and linear interpolation should be just good enough | 15:46 |
DocScrutinizer05 | maybe 16 | 15:46 |
DocScrutinizer05 | after all this sensor is pretty inaccurate by hw design | 15:47 |
*** teotwaki has joined #maemo | 15:47 | |
*** disco_stu has joined #maemo | 15:48 | |
DocScrutinizer05 | and given the purpose of that temperature value for system (or any other possible usecase) we are probably fine with an accuracy of +-3°C, maybe even worse | 15:48 |
DocScrutinizer05 | ooh, Pali, have you looked into L3_4 manual and searched for calibration of battery temperature? It *might* have info about that, if there's actually any such thing like fab side calibration of that sensor | 15:52 |
Pali | there is nothing about battery calibration (in L34) | 15:57 |
*** mvp_ has quit IRC | 15:58 | |
*** jhb has joined #maemo | 16:04 | |
DocScrutinizer05 | Yep, I just checked whole manual for both "temperature" and "NTC" ->nuttin | 16:04 |
teotwaki | what about "temp"? | 16:04 |
*** mvp_ has joined #maemo | 16:05 | |
DocScrutinizer05 | not the usual language in L3_4 manual: "the battery temp sensor will check the temp at a point..." | 16:05 |
DocScrutinizer05 | WTF?!!?!! "no copying of text from this L3_4 manual due to DRM" | 16:08 |
*** stardiviner has quit IRC | 16:08 | |
DocScrutinizer05 | ~lart ocular | 16:08 |
* infobot changes ocular's permissions to 0777 and tells the world | 16:08 | |
DocScrutinizer05 | somehow infobot must have a AI to always pick the matching ~lart | 16:09 |
teotwaki | ~lart DocScrutinizer05 | 16:09 |
* infobot blames DocScrutinizer05 for all the evil in the world | 16:09 | |
teotwaki | indeed it does | 16:09 |
teotwaki | s/it/she/ | 16:09 |
infobot | teotwaki meant: indeed she does | 16:09 |
DocScrutinizer05 | anyway only "calibration" mentioned in L3_4 is for ALS | 16:10 |
DocScrutinizer05 | nothing (relevant) for "temp" either | 16:12 |
tadzik | DocScrutinizer05: duh, you mean okular (the KDE thing) does that? | 16:12 |
DocScrutinizer05 | yep | 16:12 |
tadzik | retarted | 16:12 |
DocScrutinizer05 | indeed | 16:12 |
tadzik | or even retarded | 16:12 |
*** args[0] has quit IRC | 16:12 | |
DocScrutinizer05 | returded | 16:12 |
tadzik | it's like "you can't send this image via bluetooth" on some old nokias | 16:12 |
*** jrocha has quit IRC | 16:13 | |
DocScrutinizer05 | Pali: you might want to ask stskeeps about his knowledge and work regarding bmeipc | 16:14 |
Pali | do you really think that he wrote us some info about bme? | 16:15 |
DocScrutinizer05 | he investigated quite a bit of that stuff for mer | 16:15 |
DocScrutinizer05 | leme see if I can dig up a bookmark in my mess | 16:15 |
Pali | DocScrutinizer05, I have done collecting data program | 16:16 |
*** jluisn has quit IRC | 16:16 | |
kerio | tadzik: my 6120c had that for .mp3s | 16:16 |
kerio | for some stupid-ass reason | 16:16 |
tadzik | yeah | 16:16 |
kerio | it was just a stupid check on the file extension, too | 16:16 |
tadzik | really? | 16:17 |
tadzik | hah | 16:17 |
Pali | source: http://atrey.karlin.mff.cuni.cz/~pali/temp_collect.c arm binary: http://atrey.karlin.mff.cuni.cz/~pali/temp_collect | 16:18 |
Pali | I also looked at meego n900_libbme source and it contains maemo libbmeipc source code | 16:19 |
DocScrutinizer05 | http://wiki.maemo.org/Mer/Documentation/BME_Protocol | 16:19 |
Pali | at least library has same exported functions and my programs working with both (closed in maemo and open in meego) without problem on maemo | 16:19 |
Pali | DocScrutinizer05, that info is old | 16:20 |
Pali | and not for maemo5 (n900) | 16:20 |
DocScrutinizer05 | so is bme | 16:20 |
kerio | Pali: so does your hald-addon-bme work properly? how much have you tested it' | 16:20 |
kerio | ? | 16:20 |
Pali | kerio, one day - but needs new bq2415x charger driver (from git) and you must disable BME and load bq driver before HAL is starting | 16:21 |
kerio | oh | 16:22 |
kerio | well, i assume the driver is going to be in KP52 | 16:22 |
kerio | and that the replacement package will add the appropriate | 16:22 |
kerio | er | 16:22 |
kerio | *will add the appropriate upstart scripts | 16:22 |
Pali | I will rewrite hal addon to not exit if bq drivers are not loaded | 16:23 |
Pali | so you will be able to load bq modules yourself via xterm | 16:23 |
kerio | Pali: can't you just replace the actual hald-addon-bme binary? | 16:23 |
Pali | no, because my does not working without bq drivers | 16:24 |
kerio | so load those | 16:24 |
kerio | :) | 16:24 |
kerio | also, can't you just make it pretend nothing is happening without the bq drivers? | 16:24 |
Pali | DocScrutinizer05, see: https://meego.gitorious.org/meego-device-adaptation/n900_libbme https://meego.gitorious.org/~matthalm/meego-device-adaptation/matthalms-n900_libbme | 16:24 |
kerio | what starts bme in maemo5? | 16:24 |
Pali | second one is patched for maemo bme | 16:24 |
Pali | kerio, upstart /etc/event.d/ | 16:25 |
Pali | but there are scripts which depends on "start on started bme" | 16:25 |
kerio | so change the bme script | 16:25 |
Pali | so you cannot remove bme package | 16:25 |
kerio | to load the modules | 16:25 |
kerio | sure you can | 16:25 |
Pali | kerio, I will fix it one day | 16:25 |
Pali | it is not simple as you can write! | 16:25 |
kerio | started bme is an upstart thing, it doesn't check for the actual running binary | 16:25 |
Pali | need to test in qemu | 16:26 |
Pali | I already created non working system in qemu because I dpkg -P bme... | 16:26 |
DocScrutinizer05 | Pali: thanks | 16:27 |
kerio | Pali: hell, easiest way: ln -s /bin/true /usr/sbin/bme_RX-51 | 16:27 |
Pali | kerio, not | 16:27 |
Pali | /bin/true is not daemon | 16:28 |
kerio | oh good point | 16:28 |
Pali | it will exit immediately | 16:28 |
Pali | and you got MALF | 16:28 |
* DocScrutinizer05 idly ponders to have a look into other weird packages like opneSuse sysinit5 package that nukes systemd. Might give some ideas how to do such massive changes inb system config | 16:28 | |
Pali | kerio, again, it is not simple! | 16:28 |
kerio | DocScrutinizer05: in unix, how do you make a process wait indefinetely? | 16:28 |
Pali | raise signal pause maybe | 16:29 |
Pali | or sleep very big number | 16:29 |
kerio | Pali: does dsme complain if you stop bme? | 16:29 |
*** Dibblah has quit IRC | 16:29 | |
*** hardaker has joined #maemo | 16:30 | |
*** Dibblah has joined #maemo | 16:30 | |
Pali | kerio, do not know | 16:30 |
kerio | Pali: i mean, if you initctl stop bme | 16:30 |
kerio | dsme stops checking for it | 16:31 |
Pali | not dsme but upstart | 16:31 |
Pali | upstart is handling bme respawning... | 16:31 |
Pali | kerio, but I will create working solution | 16:32 |
*** valerius has quit IRC | 16:32 | |
Pali | I have already needed steps in head... | 16:32 |
Pali | but now I need temp data | 16:32 |
Pali | see, http://mg.pov.lt/maemo-irclog/latest.log.html#t2012-09-10T16:18:28 | 16:32 |
DocScrutinizer05 | kerio: suspend | 16:33 |
DocScrutinizer05 | kerio: >> help suspend suspend: suspend [-f] Suspend shell execution. Suspend the execution of this shell until it receives a SIGCONT signal. | 16:34 |
*** chenca has joined #maemo | 16:34 | |
*** disco_stu_droid has joined #maemo | 16:35 | |
kerio | DocScrutinizer05: i suppose it would work if you put "suspend" in place of "exec /usr/sbin/bme_RX-51" in /etc/event.d/bme | 16:35 |
*** disco_stu has quit IRC | 16:35 | |
*** pcfe` is now known as pcfe | 16:36 | |
*** disco_stu_droid is now known as disco_stu | 16:36 | |
Pali | DocScrutinizer05, this is only in bash | 16:36 |
DocScrutinizer05 | I don't know upstart too much | 16:36 |
Pali | suspend is bash command not executable | 16:36 |
kerio | Pali: we just make something similar | 16:36 |
kerio | unsigned int sleep(unsigned int); int main() { while (1) sleep(3600); } | 16:37 |
DocScrutinizer05 | kill -SIGSTOP $$ | 16:37 |
Pali | I will create upstart script which will be upstart task (so send "bme started") and there will be no respawn because it will be task | 16:37 |
Pali | and this script replace bme | 16:37 |
kerio | Pali: /usr/event.d/bme does other stuff too, though | 16:38 |
Pali | kerio, no | 16:38 |
Pali | it is inly bme stuff | 16:38 |
kerio | Pali: there's some led-related stuff | 16:38 |
Pali | kerio, again, do not spam channel | 16:38 |
Pali | kerio, it is bme related | 16:39 |
DocScrutinizer05 | I can't see anybody spamming channel | 16:39 |
kerio | whatever, sorry for trying to be helpful | 16:39 |
kerio | ...the grammar there doesn't sound correct | 16:39 |
Pali | for help, send me temperature data | 16:40 |
DocScrutinizer05 | kids, play nice! we're all just hackers trying to improve our beloved baby | 16:41 |
DocScrutinizer05 | Pali: for helping you with temperature data, please provide proper instructions how to do that | 16:45 |
Pali | 1. download c source and compile it or download arm compiled binary | 16:46 |
*** jrocha has joined #maemo | 16:46 | |
Pali | 2. run it on n900 (as normal user) | 16:46 |
Pali | 3. upload somewhere terminal output | 16:46 |
Pali | CTRL+C terminate program | 16:46 |
Pali | it collecting data infinity | 16:46 |
*** rm_work has joined #maemo | 16:46 | |
*** rm_work has joined #maemo | 16:47 | |
Pali | output is I think self explaining | 16:47 |
DocScrutinizer05 | sounds good, just it's missing any real URLs for download | 16:47 |
Pali | http://mg.pov.lt/maemo-irclog/latest.log.html#t2012-09-10T16:18:28 | 16:47 |
DocScrutinizer05 | or simply [2012-09-10 15:18:28] <Pali> source: http://atrey.karlin.mff.cuni.cz/~pali/temp_collect.c arm binary: http://atrey.karlin.mff.cuni.cz/~pali/temp_collect | 16:48 |
kerio | Pali: http://fpaste.org/0feZ/ | 16:48 |
Pali | ok :-) | 16:48 |
Pali | kerio, Internal Server Error | 16:48 |
kerio | fpaste does that sometimes | 16:48 |
kerio | try again | 16:48 |
Pali | not working... | 16:49 |
DocScrutinizer05 | WFM | 16:49 |
DocScrutinizer05 | kelvin raw | 16:49 |
DocScrutinizer05 | 304 54 | 16:49 |
kerio | highlights: 304 54, 305 53 | 16:49 |
kerio | what the fuck | 16:49 |
*** valerius has joined #maemo | 16:50 | |
DocScrutinizer05 | even worse | 16:51 |
Pali | DocScrutinizer05, raw value 54 = 304°K | 16:52 |
DocScrutinizer05 | 304 55 | 16:52 |
DocScrutinizer05 | 304 54 | 16:52 |
DocScrutinizer05 | 305 55 | 16:52 |
DocScrutinizer05 | 303 55 | 16:52 |
jaska | o.O | 16:52 |
Pali | there can be problem that bme not reporting current temperature but some average... | 16:52 |
*** NishanthMenon has joined #maemo | 16:55 | |
kerio | DocScrutinizer05: why do we have the same temperature? | 16:57 |
kerio | get out of my house bro | 16:58 |
DocScrutinizer05 | kerio: I quoted your pastebin | 16:58 |
kerio | oic | 16:59 |
*** Jade has joined #maemo | 17:03 | |
*** Jade has quit IRC | 17:03 | |
*** Jade has joined #maemo | 17:03 | |
*** timmay has joined #maemo | 17:03 | |
*** Zahra has quit IRC | 17:05 | |
timmay | is this the channel for nokia n9 help? | 17:06 |
kerio | timmay: #harmattan | 17:06 |
tadzik | please read the topic | 17:06 |
timmay | thanks | 17:07 |
*** timmay has left #maemo | 17:07 | |
*** penguinbait has joined #maemo | 17:07 | |
*** penguinbait has joined #maemo | 17:07 | |
*** florian has quit IRC | 17:15 | |
*** dhbiker has joined #maemo | 17:23 | |
*** etrunko has joined #maemo | 17:24 | |
Pali | very bad, here are my data (about 1 hour) | sort -u : http://pastebin.com/cwDsTVit | 17:32 |
Pali | kerio, DocScrutinizer05, see ^^^ | 17:33 |
kerio | wat | 17:34 |
kerio | Pali: btw, what are the sources for the numbers? | 17:35 |
Pali | kerio, bme | 17:35 |
kerio | both? | 17:35 |
Pali | yes | 17:40 |
Pali | kerio, I tested and raw (adcin0) value is reported same as directly from kernel | 17:41 |
kerio | so... how does bme calculate the other value? | 17:41 |
*** Ionakka has joined #maemo | 17:42 | |
*** utanapischti has joined #maemo | 17:42 | |
*** valeriusL has quit IRC | 17:47 | |
*** valerius has quit IRC | 17:48 | |
*** drussell has quit IRC | 17:49 | |
*** norayr has quit IRC | 17:49 | |
*** drussell has joined #maemo | 17:50 | |
*** arno0ob has quit IRC | 17:52 | |
Pali | kerio, nobody know what doing bme... | 17:52 |
*** valerius has joined #maemo | 17:55 | |
DocScrutinizer05 | Pali: unless you place the N900 in frige eventually, the tables from this tool won't give enough data to conclude anything from them | 17:55 |
DocScrutinizer05 | I mean, the Kelvin value just differs by 4° between min and max | 17:56 |
Pali | I see from my logs... | 17:57 |
Pali | but when I ask bme for reading CAL data for adc *temp* channel, I got raw data: 00 64 00 34 0D 2A 01 00 | 17:57 |
Pali | if it is data for logarithm function, then it is: gain=25600=0x6400; b=13312=0x3400; t_ref=10765=0x2A0D | 17:58 |
*** Neutron10 has joined #maemo | 17:59 | |
*** arno0ob has joined #maemo | 17:59 | |
DocScrutinizer05 | Pali: judging from L3_4 there's no such thing like factory calibration data for bat-temp. I rather guess that's some self-adjusting parameters of a PID filter | 18:01 |
*** disco_stu has quit IRC | 18:01 | |
DocScrutinizer05 | or something completely different, like last known good impedance of battery, or even voltage vs capacity data | 18:02 |
kerio | get someone good with ARM assembler to figure out what's going on | 18:02 |
Pali | DocScrutinizer05, I asked bme devs for formula and they wrote me that formula depends on data from CAL, and they cannot share it with me... | 18:02 |
DocScrutinizer05 | we already did, but they gave up ;-P | 18:02 |
DocScrutinizer05 | Pali: whatever, do we really care? | 18:03 |
*** disco_stu has joined #maemo | 18:03 | |
kerio | don't we have other temp monitors in the n900? | 18:03 |
*** mvp_ has quit IRC | 18:04 | |
kerio | temp monitors that don't need magic data in CAL | 18:04 |
DocScrutinizer05 | if those "bme devels" are so numb they can't even share a general description of what that formula does in plain english | 18:04 |
DocScrutinizer05 | kerio: no | 18:04 |
kerio | why do we need a temp monitor anyway? | 18:04 |
DocScrutinizer05 | because | 18:04 |
DocScrutinizer05 | Pali: I suggest you never mind what those "bme devels" told you | 18:06 |
kerio | DocScrutinizer05: because what? | 18:06 |
kerio | if it's just a matter of "omg shut down everything" then we don't need accuracy | 18:07 |
DocScrutinizer05 | could mean everything from "I was too bored to look up what that's all about", to "the whole source got lost and we can't find it anymore" to "this is a verbatim copy of some (C) code used in cmt" | 18:07 |
DocScrutinizer05 | kerio: see my post above | 18:07 |
DocScrutinizer05 | [2012-09-10 14:47:23] <DocScrutinizer05> after all this sensor is pretty inaccurate by hw design | 18:08 |
DocScrutinizer05 | [2012-09-10 14:48:50] <DocScrutinizer05> and given the purpose of that temperature value for system (or any other possible usecase) we are probably fine with an accuracy of +-3°C, maybe even worse | 18:08 |
*** Ash786 has joined #maemo | 18:08 | |
DocScrutinizer05 | kerio: Pali: >>charging allowed between -25°C..+50°C<< (L3_4) | 18:10 |
Pali | yes, I saw it | 18:10 |
DocScrutinizer05 | just giving a rationale why we "need" that friggin sensor at all | 18:11 |
kerio | what happens if we charge below -25°C? | 18:12 |
*** toxaris has joined #maemo | 18:12 | |
DocScrutinizer05 | it simply won't charge (with bme) or break the cell (when forcing charging) | 18:12 |
kerio | break the cell? D: | 18:12 |
kerio | man, i sure hope i'll never try to charge while i am IN A FUCKING ICEBERG | 18:13 |
DocScrutinizer05 | well, cell manufs aren't vebose on what will happen if you disobey their abs max ratings | 18:13 |
kerio | DocScrutinizer05: over 50°C is riskier, because that's actually kinda believable | 18:13 |
DocScrutinizer05 | sure | 18:14 |
DocScrutinizer05 | NB that's ambient temp | 18:14 |
kerio | oh, then it's not believable either | 18:14 |
kerio | the insides of my laptop reach 100 | 18:14 |
kerio | er | 18:14 |
kerio | the insides of my laptop reach 100+ °C, when playing minecraft | 18:15 |
DocScrutinizer05 | not your battery ;-P | 18:15 |
kerio | i certainly hope so | 18:15 |
DocScrutinizer05 | your battery is toast on 100°C | 18:15 |
kerio | my battery is toast already | 18:15 |
kerio | 1696 cycles | 18:15 |
kerio | so far | 18:15 |
*** disco_stu has quit IRC | 18:15 | |
kerio | and it still survives two or three hours | 18:15 |
*** FIQ has joined #maemo | 18:15 | |
DocScrutinizer05 | not bad | 18:16 |
kerio | fuck yeah apple | 18:16 |
kerio | :D | 18:16 |
*** Woody14619 has joined #maemo | 18:16 | |
*** Woody14619 has quit IRC | 18:16 | |
*** Woody14619 has joined #maemo | 18:16 | |
*** disco_stu has joined #maemo | 18:17 | |
DocScrutinizer05 | anyway, place your friggin N900 into fridge (NOT freezer!) next time you do such a test with that listing-proggie | 18:17 |
DocScrutinizer05 | a temperature change range of less than 10°C during test will not produce anything useful | 18:18 |
DocScrutinizer05 | (well, you even *might* try freezer, shouldn't harm device) | 18:18 |
jon_y | water condensation! | 18:19 |
DocScrutinizer05 | start logging, place into freezer for 15min, get it out again and continue logging for another 15min | 18:19 |
kerio | jon_y: in a plastic bag? | 18:20 |
DocScrutinizer05 | better not | 18:20 |
Pali | DocScrutinizer05, I think I have formula | 18:20 |
DocScrutinizer05 | you migt want to wrap it into a cloth, with screen facing down, after freezer | 18:20 |
Pali | log(13312, 10765)*(ADCIN0+256)+7 | 18:21 |
kerio | yay, magic numbers | 18:21 |
DocScrutinizer05 | o.O | 18:21 |
DocScrutinizer05 | whatever that means | 18:21 |
Pali | log(base, t_ref)*(ADCIN0+gain)+7 | 18:22 |
Pali | base, t_ref and gain is from CAL | 18:22 |
kerio | you see, log is the inverse function of the exponential function | 18:22 |
DocScrutinizer05 | sounds like utter BS | 18:22 |
DocScrutinizer05 | since log(13312, 10765) is a constant | 18:22 |
Pali | DSME doing real_temp = bme_temp-7 | 18:22 |
*** setanta has quit IRC | 18:23 | |
*** Darkchaos has joined #maemo | 18:23 | |
Pali | base, t_ref and gain I got via libbmeipc request | 18:23 |
*** lbt is now known as lbt_away | 18:24 | |
DocScrutinizer05 | sorry, I can't map this formula to my EE knowledge about NTC and ADC in any possible way | 18:24 |
kerio | DocScrutinizer05: clearly, you're not as good as the BME devs | 18:25 |
kerio | :P | 18:25 |
DocScrutinizer05 | and log(base, t_ref) still is a constant value based on two constant values | 18:25 |
DocScrutinizer05 | makes no sense | 18:25 |
kerio | DocScrutinizer05: those are values in CAL | 18:25 |
DocScrutinizer05 | kerio: yes, thanks. Seen that | 18:26 |
*** setanta has joined #maemo | 18:26 | |
kerio | maybe they didn't want to store the result for convenience? | 18:26 |
kerio | maybe storing two ints is easier than a float | 18:26 |
DocScrutinizer05 | maybe you entered trolling mode again? | 18:26 |
kerio | maybe ;) | 18:27 |
kerio | but seriously, if that crap fits the data... | 18:27 |
DocScrutinizer05 | GET DATA! | 18:27 |
kerio | I'M NOT PUTTING MY PHONE IN THE FRIDGE | 18:27 |
DocScrutinizer05 | unless nothing to fit to | 18:27 |
kerio | i would have to explain too many things to my parents | 18:27 |
DocScrutinizer05 | s/unless/otherwise/ | 18:27 |
infobot | DocScrutinizer05 meant: otherwise nothing to fit to | 18:27 |
DocScrutinizer05 | FFS | 18:28 |
kerio | Pali: put your phone in the fridge! | 18:28 |
Pali | :D | 18:28 |
Pali | better is to charge phone | 18:28 |
DocScrutinizer05 | sorry, http://atrey.karlin.mff.cuni.cz/~pali/temp_collect | 18:28 |
Pali | when charging temperature is increasing... | 18:28 |
*** FredrIQ has joined #maemo | 18:29 | |
DocScrutinizer05 | Pali: what's that ^^^? binary? dpkg? | 18:30 |
Pali | DocScrutinizer05, armel elf | 18:30 |
DocScrutinizer05 | k | 18:30 |
DocScrutinizer05 | sissies! ;-P | 18:30 |
Pali | $ mad gcc temp_collect.c libbmeipc.so.0 -o temp_collect | 18:31 |
*** FIQ has quit IRC | 18:32 | |
*** FredrIQ is now known as FIQ | 18:32 | |
kerio | wtf is mad | 18:32 |
*** freemangordon has quit IRC | 18:33 | |
kerio | Pali: btw, you've lost an opportunity to install a rootkit in my phone | 18:33 |
*** freemangordon has joined #maemo | 18:33 | |
Pali | mad is part of MADDE | 18:33 |
kerio | freemangordon! | 18:33 |
kerio | Pali is here! | 18:33 |
vi_ | kerio: mad is what you are, bro. | 18:34 |
*** konelix has joined #maemo | 18:34 | |
DocScrutinizer05 | Pali: wtf doesn't piping output of temp_collect work? | 18:34 |
*** valerius has quit IRC | 18:34 | |
kerio | it does? | 18:35 |
kerio | or maybe http://i.qkme.me/3qujl6.jpg | 18:36 |
DocScrutinizer05 | I'm sure *my* N900 will enjoy a short chill-out | 18:36 |
kerio | DocScrutinizer05: does wifi work from inside the fridge? | 18:37 |
DocScrutinizer05 | yes, obviously | 18:37 |
DocScrutinizer05 | flawless | 18:37 |
freemangordon | Pali: hi. sorry I didn;t answer your mail, but I was on holiday | 18:37 |
Pali | hi! | 18:37 |
Pali | ok | 18:37 |
DocScrutinizer05 | down from 305 52 to 301 58 | 18:38 |
Pali | hald-addon-bme is now working with bq2415x and bq27200 modules | 18:38 |
freemangordon | Pali: anyway, I was thinking to add BCI driver to monitor backup battery voltage and battery temperature | 18:38 |
freemangordon | Pali: great, how do you get battery temp? | 18:38 |
Pali | read log | 18:38 |
freemangordon | Pali: ok | 18:39 |
freemangordon | :) | 18:39 |
DocScrutinizer05 | 299 63 | 18:39 |
Pali | wtf? | 18:39 |
kerio | oh lawds | 18:39 |
DocScrutinizer05 | nah, wtf == your-formula | 18:39 |
Pali | ok, so it does not working... | 18:39 |
DocScrutinizer05 | 297 70 | 18:40 |
DocScrutinizer05 | 295 75 | 18:40 |
freemangordon | Pali: why not use libmeipc for dsme-thermalobject-surface? | 18:41 |
freemangordon | or I am missing something | 18:42 |
DocScrutinizer05 | 293 81 | 18:42 |
Pali | freemangordon, because open libbmeipc is not ready yet | 18:42 |
freemangordon | Pali: but it only needs temp reading, everything else is in place | 18:42 |
DocScrutinizer05 | 292 84 | 18:42 |
DocScrutinizer05 | 291 87 | 18:42 |
Pali | freemangordon, we can always use old unpatched dsme-... it is opensource | 18:43 |
DocScrutinizer05 | 290 93 | 18:43 |
freemangordon | Pali: I know, the point was that it is not the only one to use libmeipc IIRC | 18:43 |
Pali | DocScrutinizer05, thanks for data | 18:44 |
freemangordon | DocScrutinizer05: what has happened with our "conclusion" about thermistor type? | 18:44 |
DocScrutinizer05 | 288 101 | 18:44 |
freemangordon | Pali: there is a formula in kernel to calculate battery temp in bci_???? driver | 18:45 |
freemangordon | it only needs a table specific for the thermistor used | 18:45 |
Pali | freemangordon, show link | 18:45 |
DocScrutinizer05 | 287 106 | 18:45 |
freemangordon | and by looking in datasheets it seems that thermistor MIGHT be THP05 | 18:46 |
freemangordon | Pali: jus a minute | 18:46 |
DocScrutinizer05 | 285 113 | 18:46 |
*** e-yes has quit IRC | 18:46 | |
DocScrutinizer05 | 284 119 | 18:47 |
*** Arkenoi has quit IRC | 18:47 | |
kerio | DocScrutinizer05: we get it | 18:47 |
kerio | it's not the formula that you said it wasn't | 18:48 |
DocScrutinizer05 | sure, you get it as long as I post it, since friggin pali's temp_reader doesn't work when piping output to a file or less or whatever | 18:48 |
DocScrutinizer05 | I'm delivering proper data for a LUT or binimail formula | 18:49 |
*** tanty has quit IRC | 18:49 | |
freemangordon | Pali: http://mxr.maemo.org/fremantle/source/kernel/drivers/power/twl4030_bci_battery.c#521 | 18:49 |
freemangordon | Pali: we should be able to get LUT by using BME temp readout and calcualted resistance | 18:51 |
freemangordon | But I was planning a driver who is a subset of twl4030_bci_battery and exports temp and backup battery voltage througe /sys/power/... | 18:52 |
freemangordon | s/ througe/through/ | 18:52 |
infobot | freemangordon meant: But I was planning a driver who is a subset of twl4030_bci_battery and exports temp and backup battery voltagethrough /sys/power/... | 18:52 |
Pali | sounds good | 18:53 |
freemangordon | that way libbmeipc will get battery temp from kernel | 18:54 |
*** valerius has joined #maemo | 18:54 | |
freemangordon | instead or returning hardcoded 35 deg as of now :D | 18:54 |
*** Jucato has quit IRC | 18:54 | |
Pali | I already have formula for converting ADCIN12 (raw battery voltage) to mV | 18:54 |
Pali | disassembled from bsi-read maemo armel binary | 18:55 |
freemangordon | Pali: the whole formula is in the kernel, look ath the link I posted | 18:55 |
freemangordon | voltage is not sufficient | 18:55 |
freemangordon | you need current too :) | 18:55 |
DocScrutinizer05 | 281 133; 280 138; 279 144; 278 151; 277 160; 276 169; 275 175; 274 182; 273 187; | 18:55 |
freemangordon | Pali: is that supposed to be Kelvin/Celsius? | 18:56 |
freemangordon | the values doc is posting | 18:56 |
Pali | kelvin raw | 18:56 |
freemangordon | ok | 18:56 |
kerio | DocScrutinizer05: wait, your fridge gets to 0°C? | 18:57 |
kerio | :o | 18:57 |
DocScrutinizer05 | 272 194;freezer | 18:57 |
kerio | oic | 18:57 |
*** NIN101 has joined #maemo | 18:58 | |
*** ced117 has joined #maemo | 18:58 | |
*** ced117 has quit IRC | 18:58 | |
*** ced117 has joined #maemo | 18:58 | |
Pali | we can patch twl-adc kernel driver to report our raw value and then ask bme for converted :D | 18:59 |
jacekowski | kerio: mine goes to under 0C | 18:59 |
kerio | jacekowski: but your milk will be frozen! | 18:59 |
kerio | D: | 18:59 |
jacekowski | kerio: i can leave stuff in it on bottom shelf and it will freeze | 18:59 |
*** ced117 has quit IRC | 18:59 | |
*** arno0ob has quit IRC | 19:01 | |
*** toxaris has quit IRC | 19:01 | |
*** Arkenoi has joined #maemo | 19:03 | |
freemangordon | Pali: why, we have a fully functional BCI driver, we just need to strip (or #if BCI_BATTERY_FULL) what is unneeded | 19:03 |
freemangordon | Pali: I've already have a working backup battery voltage reading driver | 19:03 |
*** toxaris has joined #maemo | 19:03 | |
Pali | ok | 19:03 |
freemangordon | s/I've/I/ | 19:04 |
infobot | freemangordon meant: Pali: I already have a working backup battery voltage reading driver | 19:04 |
freemangordon | Pali: But I want new -thumb out before doing it | 19:04 |
*** toxaris has quit IRC | 19:04 | |
freemangordon | which reminds me... | 19:05 |
DocScrutinizer05 | 271 208; 270 218; 269 227; 268 236; 267 248; 266 259; | 19:05 |
DocScrutinizer05 | ^C | 19:05 |
kerio | DocScrutinizer05: put it in the oven now! | 19:06 |
Pali | now other question: have all N900 same thermal chip? | 19:07 |
Pali | are these values correct for all N900 or only for DocScrutinizer05 one? | 19:07 |
freemangordon | Pali: elborate please, as battery temp is read using adcin2 | 19:07 |
DocScrutinizer05 | http://pastebin.ca/2202901 | 19:07 |
Pali | freemangordon, no, battery temperature is adcin0 | 19:08 |
freemangordon | yeah, right, my bad | 19:08 |
*** hazchemix has joined #maemo | 19:08 | |
freemangordon | Pali: can you rework your tem_read (or whatever the name is) to output the values for the resistance according to the formula in the kernel? | 19:09 |
freemangordon | in parallel with BME temp reading? | 19:10 |
freemangordon | Pali: so we will be able to find what R/T LUT is | 19:10 |
DocScrutinizer05 | can you inport http://pastebin.ca/2202901 as CSV to a spreadsheet and calculate it there? | 19:10 |
freemangordon | DocScrutinizer51: we dont have BME temp there AIUI | 19:11 |
freemangordon | DocScrutinizer05: ^^^ | 19:11 |
*** Ash786 has quit IRC | 19:11 | |
DocScrutinizer05 | AIUI it's bmetemp/ADCIN0_raw tuples | 19:12 |
freemangordon | DocScrutinizer05: ADCIN0 is not enough, we need resistance | 19:13 |
DocScrutinizer05 | uhuh | 19:13 |
freemangordon | i.e. we need current too | 19:13 |
DocScrutinizer05 | no, we don't since that's not anything we can readout | 19:13 |
DocScrutinizer05 | it's a constant | 19:13 |
DocScrutinizer05 | or rather, even a function of resistance of NTC | 19:14 |
freemangordon | http://mxr.maemo.org/fremantle/source/kernel/drivers/power/twl4030_bci_battery.c#534 | 19:14 |
freemangordon | DocScrutinizer05: ^^^ | 19:14 |
DocScrutinizer05 | :-S | 19:14 |
DocScrutinizer05 | you expect a EE to read C sourcecode to gather what non-EE figured how a resistive divider works? | 19:15 |
freemangordon | "/* Getting and calculating the supply current in micro ampers */" | 19:15 |
freemangordon | that ^^^ | 19:15 |
*** beford has joined #maemo | 19:16 | |
DocScrutinizer05 | Uout==ADC-result==Uin(const) * NTC / (R1(const) + NTC) | 19:16 |
freemangordon | not the code, but what it does. Reads the current :) | 19:16 |
*** FIQ has quit IRC | 19:16 | |
kerio | DocScrutinizer05: get off your high and beautifully engineered horse | 19:16 |
DocScrutinizer05 | NTC => Negative_Temperature_Coefficient --> the lower the temperature, the higher the NTC resistance in Ohms, in above formula | 19:18 |
freemangordon | DocScrutinizer05: no matter if the current is constant, we still need to find it. Though we can use voltage only (when the current is constant) it looks ugly. And you're not guaranteed it is really constant | 19:18 |
DocScrutinizer05 | argo: lower temperature -> higher ADCIN0 reading | 19:18 |
freemangordon | we don;t know what happens on suspend/resume, etc | 19:19 |
DocScrutinizer05 | current is NOT constant | 19:19 |
freemangordon | that is why we need to read it | 19:19 |
DocScrutinizer05 | Ivar = U(const) / (R1(const) + NTC(var)) | 19:20 |
DocScrutinizer05 | you CAN NOT read current | 19:20 |
freemangordon | though IIRC ADCIN0 is current generator (or whatever the english term is) | 19:20 |
*** disco_stu_droid has joined #maemo | 19:20 | |
DocScrutinizer05 | it's a function of NTC and it has no other input to read it than ADCIN0 | 19:20 |
DocScrutinizer05 | afaik it's not | 19:20 |
freemangordon | DocScrutinizer05: lemme check in datasheet | 19:21 |
*** disco_stu has quit IRC | 19:21 | |
DocScrutinizer05 | whatever it is, it's pretty simple to calculate proper values for R1, Uin and NTC curve, from above pasted table I just created | 19:21 |
*** disco_stu_droid is now known as disco_stu | 19:22 | |
DocScrutinizer05 | if it's actually claiming to be constant-current-source, you're fine with assuming Uin=200V and R1=200kR | 19:22 |
freemangordon | DocScrutinizer05: if I read the doc correctly adcin1 is "current source" | 19:22 |
DocScrutinizer05 | or whatever you like to use for that | 19:22 |
*** FIQ has joined #maemo | 19:23 | |
DocScrutinizer05 | in the end it all just doesn't matter | 19:23 |
freemangordon | yeah, but it is better to read what the curent si (or expected to be), than hardcoding the table as U/T | 19:24 |
DocScrutinizer05 | I strongly suggest to use a LUT for true ADCIN reading vs temperature in Kelvin, and interpolate between the maybe 32 support points | 19:24 |
freemangordon | DocScrutinizer05: disagree, it is better to build a R/T LUT, no matter the number of points | 19:25 |
freemangordon | as "current source" can have several settings for current | 19:25 |
DocScrutinizer05 | pffff | 19:25 |
DocScrutinizer05 | if you really had understood the formula, you'd also see it's pretty simple to convert that LUT for whatever you like | 19:27 |
freemangordon | sure, what I am saying is we should use R/T from the start | 19:27 |
DocScrutinizer05 | and there's no sound rationale to use a LUT and then process that via a formula that only uses constants | 19:27 |
DocScrutinizer05 | everybody would go "WTF? why didn't they do this calculation pre-compiletime??" | 19:28 |
freemangordon | because the current is not known by the time of compilation | 19:28 |
DocScrutinizer05 | IT IS! | 19:28 |
freemangordon | gimme a minute to find adcin1 current source register in docs | 19:29 |
DocScrutinizer05 | there's only one sane setting for current, with this NTC and this temperature range | 19:29 |
DocScrutinizer05 | I don't give a shit about it | 19:29 |
DocScrutinizer05 | I'm pretty sure Nokia already used optimal setting | 19:29 |
DocScrutinizer05 | and we don't need to use any other than that | 19:29 |
freemangordon | well, if you don't give a shit about docs, I don;t see a point continuing that conversation with you :). And I am pretty sure TI know how their chips work way better than Nokia | 19:30 |
DocScrutinizer05 | *sigh* | 19:30 |
freemangordon | not to say I don;t see a pint to make yet another BME | 19:31 |
freemangordon | *point | 19:31 |
DocScrutinizer05 | I'm pretty sure I know about resistive devicers better than you | 19:31 |
freemangordon | irellevant | 19:31 |
DocScrutinizer05 | as is your bitching about current | 19:31 |
kerio | DocScrutinizer05: ad auctoritatem? | 19:31 |
freemangordon | no, it is not. what I am saying is that it can be done in your way (voltage reading only), but it will be ugly | 19:32 |
*** ced117 has joined #maemo | 19:32 | |
*** ced117 has quit IRC | 19:32 | |
*** ced117 has joined #maemo | 19:32 | |
DocScrutinizer05 | pffff | 19:32 |
kerio | DocScrutinizer05: you appear to be leaking air from somewhere | 19:32 |
DocScrutinizer05 | obfuscated c contest or what? | 19:32 |
DocScrutinizer05 | it will be ugly to use sophisticated formula for calculating current that **has only one usable setting for this circuit** | 19:34 |
freemangordon | DocScrutinizer05: we are talking about kernel driver here :S | 19:35 |
DocScrutinizer05 | any other setting will result in ADC range at the limits for the temperature range we're interested in | 19:35 |
DocScrutinizer05 | so what? | 19:35 |
*** gomiam has joined #maemo | 19:36 | |
DocScrutinizer05 | the rationale of particular circuit/NTC-type needs ONE particular R1 or current setting to operate ADC in proper range is universal | 19:36 |
freemangordon | I won't save 5 instructions if I can do it in the "right" way. Hardcoding wor a particualr setup is deffinitely not that "right" way | 19:36 |
DocScrutinizer05 | no reason to add cruft to allow runtime parameters for that, not even in kernel drivers | 19:37 |
freemangordon | did you look at the code? | 19:37 |
DocScrutinizer05 | no, runtime calculating boarb-parameter specific stuff is not the right way | 19:38 |
DocScrutinizer05 | board* | 19:38 |
freemangordon | then it should go in board specific files, not in the main driver | 19:38 |
freemangordon | as it is bci_battery, not rx51_bci_battery | 19:39 |
DocScrutinizer05 | there's exactly one setting for current, in every hardware. No way to switch that for whatever reasons during runtime. So pretty please don't use this setting as a input var for runtime calculations | 19:39 |
freemangordon | still don't get why. larger code or what? | 19:40 |
DocScrutinizer05 | since it *will never cahnge* at runtime | 19:40 |
*** hazchemix has quit IRC | 19:40 | |
DocScrutinizer05 | such things get calculated at compile time | 19:40 |
freemangordon | DocScrutinizer05: see, the way I write code is something like: write it in a way so you can reuse it in the future. Feel free to write that driver according to your understandings | 19:41 |
DocScrutinizer05 | if your friggin code isn't reusable when you can't do calculations on target that belong into #define, then I dunno what your code looks like | 19:42 |
freemangordon | anyway, I am losing too much time arguing | 19:43 |
DocScrutinizer05 | yeah, better write crappy code than do crappy arguing | 19:44 |
freemangordon | exactly | 19:44 |
DocScrutinizer05 | that's what I thought | 19:44 |
DocScrutinizer05 | :-S | 19:44 |
*** jrocha has quit IRC | 19:45 | |
*** cityLights has quit IRC | 19:47 | |
DocScrutinizer05 | of course you can calculate Uout==ADC-result==Uin(const) * NTC / (R1(const) + NTC) at runtime, alas I think nobody will understand the reason why this has to eat up any CPU cycles, since NTC->temp comes from a LUT anyway, and it's the only vatiable in that formula, since R1 is CONSTANT! | 19:48 |
DocScrutinizer05 | aka board-parameter-specific | 19:48 |
kerio | DocScrutinizer05: you can do that calculation *once* though | 19:48 |
Pali | seems that bci-battery code is not in upstream kernel... | 19:49 |
Pali | driver is only in maemo kernel | 19:49 |
* DocScrutinizer05 wonder why ;-P | 19:49 | |
freemangordon | Pali: yes, there are several patches sent to lkml, like bci_charger, etc. Seems none have made it | 19:50 |
Pali | bci_charger is upstreamed | 19:50 |
Pali | but there is no therm_tbl table | 19:51 |
freemangordon | Pali: it is board specific | 19:51 |
freemangordon | driver gets it through platform data | 19:51 |
Pali | in maemo kernel there is code for therm_tbl, but not in upstream kerne | 19:51 |
freemangordon | hmm, is there temp readout at all? | 19:52 |
Pali | bci_charger do not get any these data | 19:52 |
*** piggz has joined #maemo | 19:52 | |
Pali | there is no temperature code | 19:53 |
freemangordon | hmm, clever :) | 19:53 |
freemangordon | Pali: madc-hwmon? | 19:53 |
freemangordon | (or whatever the driver name was) | 19:54 |
Pali | it reading only raw value, but from adcin1 channel | 19:54 |
Pali | not usable on n900 too | 19:54 |
freemangordon | yes, that is the correct channel | 19:54 |
Pali | no, n900 has adcin0 | 19:55 |
freemangordon | could that be the reason your temp_input fails? | 19:55 |
freemangordon | Pali: no, it is adcin1 | 19:55 |
freemangordon | lemme check once again | 19:55 |
Pali | see Nokia_N900_RX-51_Schematics.pdf | 19:55 |
Pali | ADCIN0 - temp | 19:55 |
Pali | BME also using ADCIN0 | 19:56 |
freemangordon | from TRM: | 19:56 |
freemangordon | ADCIN0 External Battery type (BTYPE) | 19:56 |
freemangordon | ADCIN1 External BCI: Battery temperature (BTEMP) | 19:56 |
DocScrutinizer05 | Pali: one is BSI (often used as in-battery temperature sensor, NOT on N900 though), the other is true battery temp sensor | 19:56 |
Pali | I asked BME for raw value of temperature and it returns me same value as twl4030 adcin0 kernel driver | 19:57 |
freemangordon | Pali: NFC, that is what is written in TPS65950 TRM | 19:58 |
Pali | ADCIN4 is BSI (from Nokia_N900_RX-51_Schematics.pdf) | 19:58 |
*** Darkchaos has quit IRC | 19:58 | |
*** geaaru_ has quit IRC | 19:59 | |
*** geaaru has quit IRC | 19:59 | |
*** Zahra has joined #maemo | 20:00 | |
DocScrutinizer05 | Pali: according to my scheamtics ADCIN0 is "Bettry Temeprature Sensor" BTEMP R1110 on ball H4 | 20:02 |
DocScrutinizer05 | ADCIN4 is BSI | 20:03 |
Pali | I already wrote this | 20:03 |
DocScrutinizer05 | ADCIN1 isn't used | 20:03 |
DocScrutinizer05 | yes, you wrote that | 20:04 |
freemangordon | well, something does not make sense here, in all TI docs it is ADCIN1 that is used for battery temp sensor, while ADCIN0 is either Battery Type or GP | 20:04 |
Pali | hm, ADCIN1 returns value 34 or 35 | 20:04 |
Pali | on my n900 | 20:04 |
Pali | note that TI docs are for GP devices, not HS | 20:05 |
Pali | maybe some stupid changes for Nokia or by Nokia... | 20:05 |
freemangordon | Pali: it is for TWL4030, it does not matter GP/HS AIUI | 20:05 |
DocScrutinizer05 | Pali: the "stupid change" is called schematics, or design | 20:06 |
DocScrutinizer05 | Nokia is free to use the chip in whatever way they feel may fit their needs | 20:06 |
freemangordon | DocScrutinizer05: makes no sense, all of the monitoring is done on ADCIN1 | 20:06 |
Pali | other question, do we know how to get design battery capacity from BSI raw value? | 20:07 |
DocScrutinizer05 | no | 20:07 |
freemangordon | DocScrutinizer05: why? iirc it is some resistor there | 20:07 |
freemangordon | (if connected) | 20:08 |
Pali | we have armel binary bsi-read and it show me: raw BSI: 463, BSI: 990 | 20:08 |
Pali | I already looked at that binary for BSI and is using some tables for conversation | 20:08 |
DocScrutinizer05 | so this binary at least pretends to 'know' | 20:08 |
*** calvaris has quit IRC | 20:08 | |
Pali | but what BSI: 990 means? | 20:08 |
kerio | hehe, a table for conversation | 20:09 |
freemangordon | ohms? | 20:09 |
DocScrutinizer05 | and obviously it's quite off with its "knowledge", since battery isn't 990mAh | 20:09 |
DocScrutinizer05 | neither Ohm nor kOhms | 20:09 |
DocScrutinizer05 | maybe Nokia internal battery product number ;-P | 20:10 |
freemangordon | hehe | 20:10 |
Pali | https://wiki.maemo.org/N900_Software_BME | 20:10 |
Pali | are values for BSI here correct? | 20:11 |
freemangordon | anyway, AFAIK there is internal resistor in every battery which is related to its capacity | 20:11 |
DocScrutinizer05 | since there are no Nokia alternatives for BL-5J, it's moot to speculate how to derive bat capacity from BSI. There's no real life instance to proof any hypothesis against | 20:11 |
freemangordon | DocScrutinizer05: mine bl5j is 1430 mAh | 20:12 |
Pali | freemangordon, run bsi-read | 20:12 |
Pali | as root | 20:12 |
freemangordon | is it preinstalled? | 20:12 |
Pali | yes | 20:12 |
DocScrutinizer05 | to get what? | 20:12 |
freemangordon | Nokia-N900:~# bsi-read | 20:13 |
freemangordon | raw BSI ADC reading: 493 | 20:13 |
DocScrutinizer05 | the product tolerance of BSI resistor? | 20:13 |
freemangordon | BSI: 1114 | 20:13 |
freemangordon | raw battery level: 630 | 20:13 |
freemangordon | battery level: 3695 | 20:13 |
*** flo_lap has joined #maemo | 20:13 | |
freemangordon | Pali: bingo | 20:13 |
DocScrutinizer05 | bingo what? | 20:13 |
freemangordon | DocScrutinizer05: BSI resistor should be in linear dependance with capacity | 20:14 |
DocScrutinizer05 | says who? | 20:14 |
jacekowski | well, you can kinda expect that they use same BSI values for all batteries | 20:15 |
DocScrutinizer05 | no you can't | 20:15 |
Pali | RAW and BSI which are printed by bsi-read are not linear | 20:15 |
DocScrutinizer05 | so what? | 20:15 |
Pali | I looked into asm code and there is lot of math code for converting | 20:15 |
DocScrutinizer05 | does this leave us any wiser? regarding what ? | 20:15 |
freemangordon | battery capacity | 20:16 |
*** flo_lap is now known as florian | 20:16 | |
DocScrutinizer05 | yeah, and it converts to nokia internal virtual birthday of Elop | 20:16 |
freemangordon | ~(1360/990)*1114 | 20:16 |
infobot | 1530.343434343434 | 20:16 |
DocScrutinizer05 | obviously it's totally wrong even for BL-5J | 20:16 |
freemangordon | hmm | 20:17 |
DocScrutinizer05 | indeed | 20:17 |
DocScrutinizer05 | are you calculating Pi or what? | 20:17 |
freemangordon | ~(1360/463)*493 | 20:17 |
infobot | 1448.120950323974 | 20:17 |
DocScrutinizer05 | wf? | 20:18 |
freemangordon | Pali: you use 1360 Mah battery, ain't? | 20:18 |
Pali | standard bl5j | 20:18 |
DocScrutinizer05 | well, like we all do | 20:18 |
freemangordon | DocScrutinizer05: no, as I already told you mine is 1430 mAh | 20:18 |
DocScrutinizer05 | uhuh, and certified by Nokia I assume | 20:18 |
freemangordon | I took it from asha | 20:19 |
freemangordon | original Nokia | 20:19 |
Pali | lshal | grep design | 20:19 |
freemangordon | DocScrutinizer05: google a bit, all new bl5j batteries are 1430 | 20:19 |
Pali | battery.reporting.design = 1258 | 20:19 |
kerio | neat | 20:19 |
freemangordon | battery.reporting.design = 1415 (0x587) (int) | 20:20 |
kerio | freemangordon: are those better than a scud blue dream? | 20:20 |
freemangordon | Pali: WTF? why 1258? | 20:20 |
DocScrutinizer05 | ooh, so we actually have a certified Nokia real life instance to test against, fine! then we *might* RE their formula | 20:20 |
Pali | no idea | 20:20 |
freemangordon | DocScrutinizer05: yes | 20:20 |
freemangordon | DocScrutinizer05: can you run the same bsi-read? | 20:21 |
freemangordon | it is preinstalled | 20:21 |
DocScrutinizer05 | raw BSI ADC reading: 466 | 20:21 |
DocScrutinizer05 | BSI: 1002 | 20:21 |
freemangordon | (1360/1002)*1114 | 20:21 |
freemangordon | ~(1360/1002)*1114 | 20:21 |
infobot | 1512.015968063872 | 20:21 |
freemangordon | hmm | 20:21 |
freemangordon | DocScrutinizer51: lshal | grep design ? | 20:22 |
DocScrutinizer05 | battery.reporting.design = 1276 (0x4fc) (int) | 20:22 |
DocScrutinizer05 | o/ | 20:22 |
freemangordon | ~(1276/1002)*1114 | 20:22 |
infobot | 1418.626746506986 | 20:22 |
freemangordon | here it is | 20:23 |
freemangordon | <freemangordon> battery.reporting.design = 1415 (0x587) (int) | 20:23 |
freemangordon | though their formule seems a little bit incorrect | 20:23 |
Pali | when I call bsi-read more times, it show me different BSI | 20:24 |
freemangordon | ~(1276.0/466.0)*493 | 20:24 |
infobot | 1349.931330472103 | 20:24 |
Pali | freemangordon, better try to disassemble that bsi-read under ida | 20:25 |
freemangordon | Pali: not here, they remain the same | 20:25 |
freemangordon | Pali: hehe | 20:25 |
* freemangordon is going to cook some dinner, bbl | 20:25 | |
*** jrocha has joined #maemo | 20:25 | |
Pali | I used objdump and I only disassembled that battery level | 20:26 |
*** gomiam has quit IRC | 20:26 | |
Pali | battery level = (((((2099203 - (1LL<<31)) * level * 6000) >> 32) - ((level * 6000 << 1) >> 32) + (level * 6000)) >> 9) | 20:26 |
*** eMHa has quit IRC | 20:27 | |
Pali | no idea what this is, but it is in that armel binary... | 20:27 |
kerio | question: should i buy a polarcell or not? | 20:27 |
DocScrutinizer05 | Pali: bsi-read battery level looks like mV | 20:28 |
Pali | yes, it could be | 20:29 |
Pali | but what that formula means??? | 20:29 |
*** Zahra has quit IRC | 20:30 | |
DocScrutinizer05 | *5.86 | 20:30 |
DocScrutinizer05 | ~630 * 5.86 | 20:31 |
infobot | 3691.8 | 20:31 |
Pali | some good approximation of that formula could be: battery level = level * 3003 / 512 | 20:31 |
Pali | but it is not same | 20:31 |
Pali | and about BSI, seems that design_capacity/BSI is 1.26 | 20:32 |
Pali | 1415/1114=1.2701 1258/994=1.2655 1276/1002=1.2734 | 20:33 |
Pali | or 1.27 | 20:33 |
*** Zahra has joined #maemo | 20:34 | |
DocScrutinizer05 | IroN900:/home/user/MyDocs/tmp# level=630 echo $(( (((((2099203 - (1<<31)) * level * 6000) >> 32) - ((level * 6000 << 1) >> 32) + (level * 6000)) >> 9) )) | 20:34 |
DocScrutinizer05 | 3695 | 20:34 |
FIQ | http://maemo.org/news/ how come this is empty? | 20:34 |
DocScrutinizer05 | ~630 * 5.86 | 20:35 |
infobot | 3691.8 | 20:35 |
Pali | 630*3003/512 | 20:35 |
*** jrocha has quit IRC | 20:35 | |
GeneralAntilles | FIQ, somebody broke the aggregator. | 20:35 |
Pali | ~630*3003/512 | 20:35 |
infobot | 3695.09765625 | 20:35 |
Pali | ~(((((2099203 - (1<<31)) * 630 * 6000) >> 32) - ((630 * 6000 << 1) >> 32) + (630 * 6000)) >> 9) | 20:37 |
GeneralAntilles | FIQ, https://bugs.maemo.org/enter_bug.cgi?product=maemo.org%20Website | 20:37 |
GeneralAntilles | Man, I forgot all of my Bugzilla URL kung-fu. | 20:38 |
FIQ | need account for that apparently | 20:38 |
DocScrutinizer05 | PALI!!! you killed her! | 20:38 |
FIQ | ~ping | 20:39 |
infobot | ~pong | 20:39 |
FIQ | lies | 20:39 |
Pali | ~ping | 20:39 |
infobot | ~pong | 20:39 |
DocScrutinizer05 | prolly she's still calculating ;-P | 20:39 |
Pali | dead or alive? | 20:39 |
Pali | she should go back to school :-) | 20:40 |
GeneralAntilles | Actually, this is the one I want. https://bugs.maemo.org/enter_bug.cgi?alias=bug_severity=major&bug_status=NEW&component=News&product=maemo.org%20Website&bug_severity=major&op_sys=All&rep_platform=All | 20:41 |
DocScrutinizer05 | ...and cheers | 20:42 |
GeneralAntilles | FIQ, https://bugs.maemo.org/show_bug.cgi?id=12663 | 20:43 |
povbot | Bug 12663: http://maemo.org/news/ is missing the news content | 20:43 |
GeneralAntilles | (if somebody wants to confirm it, that'd be great) | 20:44 |
*** ced117 has quit IRC | 20:47 | |
*** chenca has quit IRC | 20:51 | |
*** disco_stu has quit IRC | 20:54 | |
*** eMHa has joined #maemo | 21:00 | |
*** disco_stu has joined #maemo | 21:05 | |
*** atlas has joined #maemo | 21:14 | |
*** drussell has quit IRC | 21:18 | |
DocScrutinizer05 | Pali: just in case you need some more support points for your LUT: http://pastebin.ca/2202939 | 21:31 |
Pali | ok, thanks | 21:32 |
*** thetet has joined #maemo | 21:32 | |
Pali | I started writing simple power supply driver which export temperature and voltage via sysfs | 21:32 |
Pali | very simple | 21:32 |
spoofy | Hi. Can someone compile postgres for maemo? Anyone solved the problem of postgresql and metasploit? | 21:34 |
spoofy | I tried to compile postgres (9.2beta) in scratchbox but I can't make .deb package | 21:38 |
*** andre__ has quit IRC | 21:41 | |
*** konelix_ has joined #maemo | 21:42 | |
*** mvp_ has joined #maemo | 21:42 | |
*** konelix_ has quit IRC | 21:43 | |
*** konelix__ has joined #maemo | 21:43 | |
*** konelix has quit IRC | 21:44 | |
*** lxp has joined #maemo | 21:49 | |
*** Zahra has quit IRC | 21:52 | |
*** lxp1 has quit IRC | 21:52 | |
*** konelix__ has quit IRC | 21:55 | |
*** konelix__ has joined #maemo | 21:55 | |
freemangordon | Pali: why not reuse bci_battery? | 22:07 |
Pali | I do not know why | 22:07 |
Pali | what you can reuse? | 22:07 |
freemangordon | temp reading and backup battery voltage | 22:08 |
freemangordon | Pali: btw there is nor hexrays for ARM (in IDA i have here) | 22:09 |
freemangordon | s/nor/no/ | 22:09 |
infobot | freemangordon meant: Pali: btw there is no hexrays for ARM (in IDA i have here) | 22:09 |
*** konelix__ is now known as konelix | 22:09 | |
Pali | for battery voltage we already have formula | 22:09 |
freemangordon | so not much of a difference between IDA and objdump | 22:09 |
freemangordon | Pali: backup battery ;) | 22:09 |
Pali | ok | 22:10 |
freemangordon | Pali: and it is integrated as a platform driver with twl4030 | 22:10 |
freemangordon | and registers itself as power_supply | 22:10 |
*** jonne has quit IRC | 22:11 | |
*** Craig_Mabbitt has joined #maemo | 22:11 | |
freemangordon | just #ifdef the main battery/charger code , add temp table in rx51_peripherals.c and you're good to go | 22:12 |
*** Craig_Mabbitt has quit IRC | 22:13 | |
*** OkropNick has quit IRC | 22:14 | |
timeless | fwiw, the answer to my question about Paul Lee Phil or whatever is apparently polyfill and not polyfil | 22:15 |
*** eijk_ has joined #maemo | 22:15 | |
freemangordon | Pali: http://pastebin.com/1y99T166 | 22:15 |
freemangordon | this is mine stripped down version | 22:16 |
timeless | and the prize for getting it wrong is awarded to android | 22:16 |
freemangordon | Pali: it reads backup battery voltage | 22:16 |
Pali | ok | 22:16 |
freemangordon | Pali: you will need also http://pastebin.com/Sr2A9DuY in board-rx51-peripherals.c | 22:18 |
*** jonne has joined #maemo | 22:18 | |
freemangordon | Pali: and you'll need to add .bci= &rx51_bci_data, | 22:18 |
freemangordon | in rx51_twldata | 22:19 |
*** eijk has quit IRC | 22:19 | |
freemangordon | Pali: though that was quick'n'dirty way to check if backup battery is charged at all | 22:19 |
freemangordon | so you may find a batter way to integrate it | 22:19 |
Pali | ok | 22:20 |
*** janemba has joined #maemo | 22:21 | |
*** fredrinLap has joined #maemo | 22:24 | |
*** DrGrov has joined #maemo | 22:43 | |
*** DrGrov has left #maemo | 22:43 | |
ZogG_laptop | sup guys | 22:46 |
*** Free-MG has joined #maemo | 22:46 | |
*** shanttu has quit IRC | 22:47 | |
*** NIN101 has quit IRC | 22:48 | |
*** penguinbait has quit IRC | 22:50 | |
*** reenignEesreveR has joined #maemo | 23:00 | |
*** piggz has quit IRC | 23:02 | |
*** perlite_ has joined #maemo | 23:03 | |
*** perlite has quit IRC | 23:05 | |
*** perlite_ is now known as perlite | 23:05 | |
kerio | what is the nokia-binaries repo supposed to be? | 23:07 |
*** Gizmokid2005 has quit IRC | 23:07 | |
*** beford has quit IRC | 23:09 | |
*** beford has joined #maemo | 23:10 | |
*** Gizmokid2005 has joined #maemo | 23:13 | |
*** piggz has joined #maemo | 23:14 | |
*** ALoGeNo has quit IRC | 23:16 | |
*** robink has quit IRC | 23:27 | |
*** robink_ has joined #maemo | 23:28 | |
*** ALoGeNo has joined #maemo | 23:28 | |
*** robink_ is now known as robink | 23:31 | |
*** robink has joined #maemo | 23:31 | |
Sicelo | btw, that MyDocs should be named after the Bluetooth name in File Manager seems a weird decision | 23:35 |
*** chenca has joined #maemo | 23:37 | |
*** konelix has quit IRC | 23:39 | |
*** konelix_ has joined #maemo | 23:39 | |
*** konelix_ is now known as konelix | 23:42 | |
kerio | well, that's the only "name of the phone" | 23:43 |
*** nox- has joined #maemo | 23:50 | |
freemangordon | Pali: the formula to convert BSI raw value to BSI value is (1200*bsi_raw)/(1024-bsi_raw) | 23:51 |
Pali | ~(1200*463)/(1024-463) | 23:52 |
infobot | 990.374331550802 | 23:52 |
Pali | nice :-) | 23:52 |
Pali | 990 is correct | 23:53 |
Pali | ~990*1.27 | 23:53 |
infobot | 1257.3 | 23:53 |
Pali | sounds good | 23:54 |
freemangordon | sounds correct :D | 23:54 |
Pali | so raw bsi to design capacity is: 1.27*(1200*bsi_raw)/(1024-bsi_raw) | 23:54 |
freemangordon | though I think 1.27 is a bit incorrect | 23:54 |
Pali | ~1.27*(1200*463)/(1024-463) | 23:54 |
infobot | 1257.775401069519 | 23:54 |
freemangordon | a bit too low | 23:55 |
Pali | 1415/1114=1.2701 1258/994=1.2655 1276/1002=1.2734 | 23:55 |
freemangordon | Pali: are you sure your battery is genuine nokia 1360 mAh? | 23:55 |
Pali | I did not changed battery | 23:55 |
freemangordon | hmm | 23:56 |
freemangordon | ~1430/1114 | 23:56 |
infobot | 1.283662477558 | 23:56 |
Pali | ~1415/1114 | 23:56 |
infobot | 1.270197486535 | 23:56 |
Pali | seems that bme using 1.27xxx | 23:57 |
*** lizardo has quit IRC | 23:57 | |
freemangordon | Pali: yes | 23:58 |
freemangordon | ~1118*1.27 | 23:58 |
infobot | 1419.86 | 23:58 |
freemangordon | ~1118*1.275 | 23:58 |
infobot | 1425.45 | 23:58 |
freemangordon | ~1118*1.278 | 23:58 |
infobot | 1428.804 | 23:58 |
freemangordon | ~1118*1.28 | 23:58 |
infobot | 1431.04 | 23:58 |
freemangordon | Pali: should be 1.28 | 23:58 |
freemangordon | ~1114*1.28 | 23:59 |
infobot | 1425.92 | 23:59 |
freemangordon | my battery is 1430 mAh | 23:59 |
Pali | ~994*1.28 | 23:59 |
infobot | 1272.32 | 23:59 |
freemangordon | and I get either 1114 or 1118 | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!