**** BEGIN LOGGING AT Fri Jan 25 02:59:59 2013 Jan 25 04:50:13 does anyone know if there is a mirror anywhere of the nokia-binaries repo? Jan 25 04:50:17 the SDK one Jan 25 05:07:47 jonwil: that would be akin to a ssu/apps mirror Jan 25 05:08:00 so... probably yes, but not public Jan 25 05:09:42 aww, the "superbattery" calibrated to 1411 Jan 25 05:09:49 vi____: you liar Jan 25 05:14:53 i mean, it's still fairly good Jan 25 05:15:31 but it's probably not worth it to switch from the original bl-5j at ~1300 Jan 25 05:17:55 freemangordon: btw you said about memory overhead... browser on N900 has it's own browserd instance, which is only sharing disk space and libxul.so loaded into memory Jan 25 05:26:39 great, bugs.maemo.org is running slow Jan 25 05:26:48 or not working Jan 25 05:34:51 is bugs.maemo.org slow for anyone else/ Jan 25 05:34:53 ? Jan 25 05:35:15 jonwil: its connecting for me but after that its a never-ending wait; waited for 4mins still no luck Jan 25 05:35:27 ok Jan 25 05:37:20 ok, so, is there anything I can usefully do to help with browser stuff? Jan 25 06:10:30 hi. i posted my question here http://forum.xda-developers.com/showthread.php?p=37154781#post37154781 -- basically i would like to hook an audio modem to the n900. is that ... possible? Jan 25 06:11:21 to do what? Jan 25 06:16:29 so that i can send a command to the n900 to open the building door via the existing phone system :) Jan 25 06:17:32 so you really are looking for way to send audio progammatically over a voice call? Jan 25 06:19:41 i want to make a voice call Jan 25 06:19:50 a very short one, actually. Jan 25 06:20:05 just pick up the phone, press the button six, over. Jan 25 06:20:18 think that is just software Jan 25 06:20:33 well, you need to solve the "pick up the phone" problem somehow Jan 25 06:20:54 playing the six, sure that's simple Jan 25 06:21:25 i mean, http://jetcityorange.com/dtmf/DTMF-6.mp3 play this, done Jan 25 06:21:28 isn't that a bunch of dbus commands? Jan 25 06:26:47 what...? Jan 25 06:27:01 how do you plan to phsyically connect to an RJ11 connector? Jan 25 06:27:34 don't you have an internet connection at home? Jan 25 06:28:41 I failed at communicating through what I wanted to do Jan 25 06:28:54 Yes, I have an Internet connection Jan 25 06:29:38 I want to use it to command a device (perhaps the n900 because that's the most open device with wifi i own) to open a door. The door is remote controlled via a traditional phone. Jan 25 06:29:52 and there's no other way to control the door? Jan 25 06:32:32 nope Jan 25 06:32:40 this is a 20 floor highrise Jan 25 06:34:09 does the door actually have its own phone line? Jan 25 06:36:35 it's hooked into the building pbx Jan 25 06:37:19 when you ring someone from outside you dial via a normal phone system Jan 25 06:37:33 theoretically i could forward the door buzzer to my cellphone -- the only reason I cant do that is that i cancelled my landline cos it was redundant and expensive Jan 25 06:37:45 oh, so you have to call from outside? Jan 25 06:37:49 isn't that also expensive? Jan 25 06:38:47 it uses the house pbx, so it's free Jan 25 06:39:20 anyways, i might give this up, get a raspberry pi, a powered usb hub, plug in a wifi stick, i have plenty, buy a usb modem for a few pennies and be done Jan 25 06:40:12 that's what i was going to suggest, yeah Jan 25 06:40:19 or just a computer that you leave turned on Jan 25 06:40:44 there's absolutely no space for that Jan 25 06:41:06 you have no computers at home? :o Jan 25 06:41:30 i have four, and so what? Jan 25 06:41:38 they are nowhere near the phone jack Jan 25 08:10:27 hi Jan 25 08:16:13 hi Jan 25 08:24:28 Hi Jan 25 09:33:57 How come I can't change repository url for an existing repository? (want to change it to the mirror) Jan 25 09:43:05 kgu: it should be made more obvious, but those catalogues are not meant to be touched by users Jan 25 09:43:43 disable it and add a new one Jan 25 09:43:44 so I will have to disable it and a new one for the mirrors? Jan 25 09:43:49 but it won't work properly in HAM Jan 25 09:43:55 for upgrades, at least Jan 25 09:44:00 thx :) Jan 25 09:44:10 unless you use an apt-mirror one Jan 25 09:44:28 i've got apt-mirror repo Jan 25 09:45:07 the solution is not to use apt-mirror, the solution is to stop using HAM Jan 25 09:47:18 really? Thought that you had to use HAM, especially for upgrades.. Jan 25 09:48:17 kgu: if you're asking if you can use apt-get to do system upgrades, you can't use apt-get to do system upgrades Jan 25 09:48:58 ok, but otherwise you recommend using apt-get for program installations? Jan 25 09:49:22 kgu: if you're asking if you can use apt-get to do program installations, you can't use apt-get to do program installations Jan 25 09:49:29 but it should be safe Jan 25 10:01:25 kerio, IIRC you can simply "apt-get install mp-fremantle-community-pr" Jan 25 10:01:47 since that's 90% of what HAM does, minus the slowness Jan 25 10:03:07 The best way to upgrade is to just use HAM and be busy with something else at the same time Jan 25 10:03:15 That way, the slowness of HAM will elude you somewhat Jan 25 10:17:35 Hurrian: ofc Jan 25 10:22:22 ~seen Pali Jan 25 10:22:25 pali <~pali@Maemo/community/contributor/Pali> was last seen on IRC in channel #maemo, 10h 30m 28s ago, saying: 'n900 has gnu userspace, so low level can be also tar -czf '. Jan 25 10:23:01 freemangordon, Pali is one to pester for bugs in bits for userspace bme replacement? Jan 25 10:23:06 yep? Jan 25 10:23:41 asking, because I was out of loop, and so goes on bla bla Jan 25 10:23:52 = I have no idea who is working on it now Jan 25 10:24:55 Estel_, Pali is the replacement BME maintainer Jan 25 10:25:13 thanks - nice to see you again Hurrian, btw :) Jan 25 10:25:19 it is hosted on his site after all Jan 25 10:25:38 Estel_, surprised to see you're back after some time out of the loop Jan 25 10:26:08 I'm always back, such mere things as politics won't scare me off ;) Jan 25 10:26:45 seriously though, had some serious things in rl to take care of... Methinks I need to apologize some people for lack of expected contact Jan 25 10:27:13 good new is that I'm testdriving pre-pre-pre-pre alpha version of N900 body replacemebnt, since few days Jan 25 10:27:59 it does have any useful things on exterior side - basically, it looks like ugly piece of alu - but, inside, it got almost all parts that need to cooperate with motherboard Jan 25 10:28:19 and motherboard isn't sparking on contact anymore =D Jan 25 10:29:16 BME replacement is a great thing for N900 Jan 25 10:29:35 now if only we could replace some other things too... :P Jan 25 10:30:10 All my recent efforts at reverse engineering have so far come up with nothing useful Jan 25 10:52:45 when to expect repository.maemo.org to be up again? Anyone knows it? Jan 25 11:03:31 user05: the /topic has the link to a TMO thread where updates are so seeing that you can see work is on-going Jan 25 11:07:27 thedead1440: 10k u Jan 25 11:21:59 kerio: So it was of course bogus. The phone wasn't "as good as new", it had wobbly display, warranty was 6 months, not 24. And the keyboard was Spanish. :D Jan 25 11:22:07 :D Jan 25 11:50:57 jonwil, and what you've tried to reverse-engineer, lately? Jan 25 11:51:57 some ICD stuff, some wifi stuff, some GPRS stuff, a whole bunch of connectivity UI bits Jan 25 11:53:09 * Estel_ nods Jan 25 11:53:17 where exactly you've meet a wall? Jan 25 11:53:34 lack of participation from others, probably? Jan 25 11:54:14 Just cant seem to get anywhere because of undocumented libraries, undocumented APIs, unknown data structures and the fact that ARM ASM is a LOT harder to reverse engineer than x86 Jan 25 11:55:08 and yes, lack of interest from other people too Jan 25 11:56:54 I remember your mails to mailing list Jan 25 11:57:23 would love to help if not for almost complete lack of coding skills, let alone RE Jan 25 11:57:50 jonwil: awesome efforts. Jan 25 11:58:00 Pali, ping Jan 25 11:58:10 Estel_, pong Jan 25 11:58:24 I've encountered strange thing when it comes to usb mode used alongside bme replacement bits Jan 25 11:58:28 jonwil: it seems almost as if that was one of the express design aims Jan 25 11:58:56 everytime i end working with mass storage tings connected to N900 and use "periferial mode with charging button"... Jan 25 11:59:06 it end up as "peripherial mode with *boost*" Jan 25 11:59:18 seriously, that is what banner says, and I confirmed it in reality Jan 25 11:59:35 it's peripherial mode, but boost still active, and devices connected are still light up Jan 25 12:00:02 no idea why it keeps booston, though, nothing suspicious in syslog, I suspect userland bit bug Jan 25 12:00:13 Estel_, look at /sys/class/power_supply_bq241*/mode Jan 25 12:00:18 if it has really boost mode Jan 25 12:00:22 as, after all, it even *announce* peripherial mode with boost, via banner Jan 25 12:00:25 yes Jan 25 12:00:28 or only MCE LED pattern was not deactivated Jan 25 12:00:34 it has, and as said, I checked it hardware-wise Jan 25 12:00:40 it's still providing real boost Jan 25 12:00:51 Estel_, which version of usbmode do you use? Jan 25 12:00:54 i.e. up to 200 mA 5V Jan 25 12:01:18 one related to kernel-power version from repos Jan 25 12:01:36 i.e. last one that work with kp51r1 Jan 25 12:02:26 I'm just getting into the loop again, so sorry, if I missed something important (searched a little, but never found reports of such behavior or fixlogs) Jan 25 12:02:34 (fixes in changelos*) Jan 25 12:02:43 Estel_ update to kp52 from TMO and usbmode to 1.0-3 Jan 25 12:04:21 Estel_, here is last usbmode version: http://atrey.karlin.mff.cuni.cz/~pali/usbmode/ Jan 25 12:04:27 but you need kp52 for it Jan 25 12:07:23 thanks a lot Jan 25 12:07:25 will do Jan 25 12:07:31 then, re-check bug existence, yep? Jan 25 12:09:27 Pali, as I was able to catch you - any chances for including module I've requested (qf9700) in next KP version? I've send it via maemo-developers mailing list, including source code (afaik it just require compiling against kernel-power headers) Jan 25 12:10:22 It would easy life of USB->ethernet dongle's users a lot, as every new davicom is using it, instead of old module (and, new one is free of most old davicom bugs) Jan 25 12:10:35 Pali: I'm really curious why is it hosted on Matfyz :D Jan 25 12:10:38 of course new and old module doesn't collide Jan 25 12:10:54 What is this boost? Jan 25 12:19:31 how do i use more power? i'm at 475mA now Jan 25 12:19:49 disable SR Jan 25 12:19:51 with screen at full brightness, busy cpu, and wifi with no powersaving Jan 25 12:19:56 freemangordon: ooh, nice one Jan 25 12:19:59 how do i do that? Jan 25 12:19:59 :P Jan 25 12:20:08 echo 0 > /sys/power... Jan 25 12:21:16 freemangordon: and then what? Jan 25 12:21:23 sr_vdd*_autocomp? Jan 25 12:21:25 yep Jan 25 12:21:29 for 1 and 2 Jan 25 12:22:09 heh, 8mA increase Jan 25 12:22:54 Estel_, I saw your mail, but I did not looked at it. Did you try to compile it against 2.6.28? Jan 25 12:23:09 Aoyagi_joytop, so what do you think? :-) Jan 25 12:23:50 kerio, use flashlight ;) Jan 25 12:23:59 and bluetooth discoverable Jan 25 12:24:23 instead of busy cpu, start recording HD video via camera, with flashlight on Jan 25 12:24:29 Pali: Huh? About what? The boost thing? Jan 25 12:24:33 and gps program like modrana or marble enabled Jan 25 12:24:38 right, the gps Jan 25 12:24:44 more than 1A power usage easily achievable Jan 25 12:24:59 Pali, as per my knowledge, it compiles without problems Jan 25 12:25:06 but it's second-hand knowledge Jan 25 12:25:20 also, android kids are using it hapilly for more than a year Jan 25 12:25:37 afaik people compiled it sucessfuly even for more ancient kernels Jan 25 12:25:44 like 2.4 Jan 25 12:26:26 without much hassle. IIRC, 2.6.8 should be just matter of compiling against proper headers. Anyway, my mail isn't long, just check it in a second of free time, please Jan 25 12:26:40 Aoyagi_joytop, boost mode (in bq2415x context) provide 200mA/5V from n900 for usb port Jan 25 12:26:50 which is needed for usb host mdoe Jan 25 12:26:51 *mode Jan 25 12:27:09 it's probably as much as non-coding person can do to ease your work on including, i.e. sending code, etc. It's in process of getting into mainstream linux kernel, too Jan 25 12:27:22 Right, thanks. Jan 25 12:27:51 Now I just need to find out what USB host is, heh. Jan 25 12:28:07 Estel_; I'd compare busyness when running fennec on stock vs ext4, start with same .mozilla/fennec dir. swap on uSD Jan 25 12:28:29 Estel_, compiling some module externally against kernel power is one step and integrate it into deb package second (at deb package compile time) Jan 25 12:28:38 Estel_, sorry but I do not have time for second Jan 25 12:28:58 if you (or soembody) else can provide patch, I can look at it and include it Jan 25 12:29:14 Pali, I see Jan 25 12:30:09 not that I know what is needed to be done for integrating it into kernel power modules at deb creating time :P Jan 25 12:30:16 Estel_; in general sqlite stuff seems to suffer alot on ext3/flash, so I would expect to see benefit even in Conversations Jan 25 12:30:23 ShadowJK, hm? Jan 25 12:30:34 busyness of I/O or cpu time? Jan 25 12:30:38 re fennec? Jan 25 12:30:39 I/O Jan 25 12:30:40 Aoyagi_joytop, usb has two mode: peripheral and host: In host mode you can connect usb device and in peripheral you act as usb device Jan 25 12:30:41 iostat Jan 25 12:30:45 I see Jan 25 12:31:37 I tried browsing with fennec, and had iostat display on another device (via ssh), and nogticed whenever fennec scrolling froze, often I/O was pegged at 100% Jan 25 12:31:39 heh, conversation was always fast for me on ext4 and swap on microSD, but maybe iostat will show comparable differences Jan 25 12:31:49 Pali: Just found a description of it, thank you. Jan 25 12:31:58 well, ext4 in general is faster too Jan 25 12:32:05 good point, will try to do Jan 25 12:32:13 disabling barriers may help, too Jan 25 12:32:19 how to compare ext4 vs ext4-stride-stripe-align, no clue Jan 25 12:32:21 try bonnie Jan 25 12:32:50 (bonnie++) Jan 25 12:32:53 btw setting stride-stripe on mkfs time is enough, no need to use mount time stripe option? Jan 25 12:33:08 and what it does? why it's stripe only in mounttime (noob mode) Jan 25 12:33:57 fun fact - with journal_async_commit, partition seems to be less prone to fuck up and trigger fsck due to unexpected inconsistency Jan 25 12:34:16 i.e. I feel that journal recovery is enough, more times. May be placebo, though Jan 25 12:35:05 Aoyagi_joytop, also, get in mind that HEN is older way of achieving hostmode (although, more "manual", so still work on some specific times, where usb-mode fails to enumerate) Jan 25 12:35:12 generally, usb-mode is more conveinent Jan 25 12:35:26 A lot, more, I'd think. Jan 25 12:35:38 I've only once had ext3 fuckup, and it got fucked up by running fsck Jan 25 12:35:39 so use it everyday, and if you got problems with any particular device, try all steps manually, via hen or scripts itself Jan 25 12:36:15 ShadowJK, but if fsck triggers due to unexpected inconsistency, something is already fckd up. fsck. just fckd more (i.e. whole partition) Jan 25 12:36:47 Nokia stock setup never runs fsck Jan 25 12:36:53 basically, if something is fishy, I just re-create partition and restore backup, due to inability to repair anything on flash Jan 25 12:36:56 or maybe they added that in 1.2 or 1.3? Jan 25 12:37:26 no idea, I'm doing it manually with -n (no changes to filesystem) option after unexpected reboots, if any Jan 25 12:37:48 especially if device reboots during heavy operations, due to, for example, dying of low-power with bme disabled :P Jan 25 12:37:54 to see if anything is fishy Jan 25 12:38:04 most of the times, recovering journal is enough Jan 25 12:38:44 if fsck report need for running it manually ("unexpected inconsistency"), I know that it will fckd my partition if I let it to Jan 25 12:39:02 well, this battery can sustain 850mA of draw Jan 25 12:39:07 so either restore backup, or be in danger of running into some file screwed. No idea if important one or not Jan 25 12:39:18 so i preffer to restore backup Jan 25 12:39:29 kerio, liIon can give many C of power Jan 25 12:39:42 so probably no problem to draw 5A from it, for a while Jan 25 12:39:48 what are you trying to achieve? Jan 25 12:39:50 Estel_: yeah but this is a chinese liIon Jan 25 12:39:52 :) Jan 25 12:40:03 Estel_; I wouldn't generalize it like that Jan 25 12:40:04 no matter, liion chemistry isn't racial Jan 25 12:40:14 ShadowJK, batteries, or partitions? Jan 25 12:40:15 Estel_: trying to calibrate this battery as fast as i can Jan 25 12:40:37 kerio, but you will get lower results :P than you would get with normal heavy usage Jan 25 12:40:50 the high energy stuff like laptop and phone batteries have max recommended draw of 2C at best :) Jan 25 12:40:55 ShadowJK, if batteries, sure, it was "mental shortcut" Jan 25 12:41:05 LiFE can give more than 30C safely Jan 25 12:41:10 Estel_: surely only the end of the calibration matters Jan 25 12:41:29 kerio, nope, as there is no such things as absolute capacity Jan 25 12:41:34 capacity is relative Jan 25 12:41:58 if you measure it with 1A draw, that you never use in real life, you will get lower capacity results Jan 25 12:42:19 than with using device normally until it calibrates itself Jan 25 12:42:24 well, it won't hurt Jan 25 12:42:39 just that you will see little less than it can really give Jan 25 12:42:41 Estel_; there's more than chemistry involved in it :) Li-Ion comes from high energy 1C stuff to high power 60C stuff depending on the cell design.. A 60C li-ion in bl-5) size would be far lower capacity than 1200mAh though :) Jan 25 12:42:45 huh, sending zeros over wifi stops nicocam Jan 25 12:42:56 ShadowJK, sure Jan 25 12:43:10 I just mean that he shouldn't expect it failing apart on 850 mA Jan 25 12:43:14 even chinese one Jan 25 12:43:17 Estel_: anyway, not just for calibration, i also want to stress-test this battery a bit Jan 25 12:44:01 kerio, btw, relative capacity is why w% 1500 mAh scud run as dual-scud result in ~3100 mAh battery :P Jan 25 12:44:30 (lower power draw from every cell due to halved between cells, = more relative capacity in each cell) Jan 25 12:45:18 Estel_: i suppose i'll run yet another calibration overnight at a constant ~200mA draw Jan 25 12:45:23 seems to be the most consistent Jan 25 12:45:31 ShadowJK, speaking of that, do we know design capabilities of nokia's bl-5j? Jan 25 12:45:36 i.e. "how many C"? Jan 25 12:45:43 the highest load i've got was 950mA, now Jan 25 12:46:00 I should test someday, say, 2A draw down to 25% followed by 100mA to empty, compared to 100mA start to finish Jan 25 12:46:09 constant draw is also resulting in less capacity measured than variable one due to normal N900 usage :P Jan 25 12:46:21 Estel_; charging 0.7C is all I remember Jan 25 12:46:30 not that it matters much, but, best calibration is one regular, not hasted or slowed down Jan 25 12:46:54 * ShadowJK has managed 1.3A draw, without using usb boost Jan 25 12:47:04 but now I have too good 3g signal to repeat that Jan 25 12:47:10 ShadowJK, yea. BTW, I'm using 1250 mA charging (for dual scud) since I announced tesdriving it more than half year ago... or more, don't remember Jan 25 12:47:14 no ill effects Jan 25 12:47:30 * ShadowJK is doing it to single batt Jan 25 12:47:43 using it on different devices, also different revisions (2101, and this 2nd less popular) Jan 25 12:47:44 :P Jan 25 12:47:48 poor battery Jan 25 12:47:54 no ill effects, I suppose, too? Jan 25 12:48:23 Well it kinda already was past its best perf :) Jan 25 12:48:39 though still better than original bl-5j out of box Jan 25 12:48:45 well, my wanna-be 2A 5V portable charger seems to suffer a little, as it started to give no more than 950 mA. I was forced to switch into regular N900 charger back again Jan 25 12:48:59 which gives 1250 mA without overheating or complaining Jan 25 12:49:28 My homebuilt portable charger doesn't do 1250 either Jan 25 12:49:30 Or exploding? Jan 25 12:49:34 on paper it should do 5A Jan 25 12:49:51 I wonder about N900 charger real limits for stable work, for sure are higher than 1250 mA Jan 25 12:49:53 ShadowJK, huh Jan 25 12:49:58 what went wrong? Jan 25 12:50:03 but the usb cable I cut up was too cheap, drops too much voltage :P Jan 25 12:50:39 lol? would quite overheat Jan 25 12:50:42 lol? would quite overheat Jan 25 12:50:44 or melt Jan 25 12:51:03 from 5A -> 1000 mA loss. No? Jan 25 12:51:42 Aoyagi_joytop, N900 charger is designed for 1250 mA, so it just lives up to expectations Jan 25 12:51:49 more like 5V -> 4.6V (so .4V * 1A = 0.4W loss?) Jan 25 12:51:49 I plan to add 2 usb ports to it Jan 25 12:52:25 ShadowJK, but 0.4W seems a lotta hell capable of melting such cable Jan 25 12:52:40 or I'm wrong? Jan 25 12:52:46 well we dont know if the other bits and pieces besides the chip is designed for 1250, Jan 25 12:53:43 Estel_; it's equivalent to 80mA at 5V, spread across a cable? Jan 25 12:53:47 no parts jumping into saturation and desoldering themselves, so it should be OK Jan 25 12:54:13 ShadowJK, I expected such voltage drop due to one part where contact is low (between internal cable wires) Jan 25 12:54:37 after all, if it isn't half-broken, what would result in such voltage drop? it's made of copper, isn't it? Jan 25 12:55:05 Uh. What parts of maemo.org are currently -not- working? Jan 25 12:55:46 I mean that I can't imagine how relatively short cable without connection problems, i.e. almost-torn out continuity inside, could result in such voltage drop Jan 25 12:55:51 made of iron? :P Jan 25 12:56:02 or water Jan 25 12:56:05 Estel_; iirc there were 3 strands of copper in it. And I don't mean the thick strands of ethernet Jan 25 12:56:05 well wiki.maemo.org is not working for me Jan 25 12:56:06 :P Jan 25 12:56:24 wiki is coming alive and dying all the time Jan 25 12:56:38 I think all parts of maemo.org are going up and down right now Jan 25 12:56:45 ShadowJK, 3 hairs of coppers, eh? Jan 25 12:56:51 ya Jan 25 12:56:54 definitely too cheap ;) Jan 25 12:57:03 jon-kha: It is working for me, but it's oh so slow :D Jan 25 12:57:24 well, http://maemo.org/community gave 503 error just a second ago Jan 25 12:57:25 Browser says 7 B/s. Jan 25 12:57:37 premium hosting, after all Jan 25 12:58:18 add to this rogue moderators using one touch ban & clean on real people with positive thanks ratio, wandering on TMO... Jan 25 12:58:27 eh, I won't get into it again, screw that Jan 25 12:58:35 not my problem, anyway Jan 25 12:58:50 :/ Jan 25 12:59:13 Is there a USB host thingy for Android too? Jan 25 12:59:27 sure. Still, android sucks ;) Jan 25 12:59:32 haha Jan 25 12:59:52 I was tempted to reply to the people whining in alucase thread with something like "well if he hadn't been banned", but it turns out tmo has spies here :/ Jan 25 13:00:00 Yeah, I enjoy bashing it too, but I still have very little arguments for that :3 Jan 25 13:00:14 ShadowJK, heh, thanks for good will anyway :) btw I replied there today Jan 25 13:00:51 don't even ask how people look at me when I take alu brick to ear as mobile phone Jan 25 13:01:13 (testdriving alucase with only internal finished, external things like layout non-existent yet) Jan 25 13:01:32 Yeah, I read that before. Must be... interesting to see :D Jan 25 13:01:42 (so it's raw alu brick with screen module, externally - only internals shaped, currently)) Jan 25 13:02:01 well, even with regular N900 with mugen cover, people took me for ticket controller in train Jan 25 13:02:09 heh Jan 25 13:02:10 when I entered it and said "good morning" Jan 25 13:02:17 having N900 in hand Jan 25 13:02:38 ( was checking something on platform, stopped it when train arrived, and entered with N900 in hand) Jan 25 13:03:10 they were really surprised, when I, instead of taking tickets, started to take my coat off, putting baggage on shelf etc Jan 25 13:03:10 Estel_; check a few tickets, then say "must go check something", take ticket with you and go sit in another car. free train rides forever Jan 25 13:03:20 ShadowJK, yea Jan 25 13:03:30 That will get you shot. Jan 25 13:03:56 BTW, mbarcode is able to read barcodes from tickets here, in poland Jan 25 13:04:36 so I can even scan it as ticket controller should :P Jan 25 13:04:49 nothing to check validity against, though Jan 25 13:05:09 need to hack into train operator database Jan 25 13:05:13 ;) Jan 25 13:07:20 Estel_: ..do you plan to add some space for a termic printer inside the alu case? ;) Jan 25 13:07:38 haha Jan 25 13:07:56 hostmode - cups server from easy debian Jan 25 13:08:08 and usb termic printer... lovely Jan 25 13:08:20 :) it would be nice to view some photo of the worl in progress! Jan 25 13:08:36 *work Jan 25 13:08:49 as soon as I get hands on some digital camera, beside one inside my N900 (thus inside case) Jan 25 13:09:08 belive it or not, I'm using N900 as my main camera for few years Jan 25 13:09:15 main and only, to be precise Jan 25 13:09:31 just because fact that when I see something interesting, I never have camera with me Jan 25 13:09:35 but always have N900 Jan 25 13:09:43 and raw photos are quite good quality Jan 25 13:10:11 it resulted in me not using my regular digital camera for long time, then giving it to someone Jan 25 13:10:13 BTW Jan 25 13:10:15 I think you are the only one who tried to build something like that case...this means a great love for this device Jan 25 13:10:24 tripod mounting point is already there, as only one external element Jan 25 13:10:49 I prefer my Canon point & shoot (and its 12x optical zoom) to the tiny lens and sensor in the N900 Jan 25 13:10:53 yea, for sure. I just hope that I'll be able to finish it before only me and pre-ordering people will want to use it :P Jan 25 13:11:09 it ended up in being much more work than expected, as always Jan 25 13:11:18 jonwil, understandable Jan 25 13:11:27 full alu? howd you deal with antennas? Jan 25 13:11:34 it's just that I never have such things with me when needing it, murphy law Jan 25 13:11:42 yeah Jan 25 13:11:51 two concepts for antennas, testdriving one of them for wifi Jan 25 13:11:52 I use my N900 camera if I need to take photos and dont have my normal camera with me Jan 25 13:12:14 1. separated alu part of backcover acting as antenna booster itself, shaped accordingly Jan 25 13:12:30 hopes for increasing signal power over vanilla N900 Jan 25 13:13:10 2. non-alu parts where antennas are, like in N950, struggling to keep vanilla signal not weakened Jan 25 13:13:24 I preffer 1st option, as I have some experience in designing antennas Jan 25 13:13:59 wifi seems to work ok, quite hard to determine if better in noisy enviromnent, but for sure no worse Jan 25 13:14:06 no GSM antennas, yet Jan 25 13:14:09 next step Jan 25 13:14:28 when I finish all antennas, I'll start designing and test manufacturing outer case shape Jan 25 13:14:34 with all reequired holes etc Jan 25 13:14:54 and of course connector for hirose u.fl n board Jan 25 13:15:22 connected to single standarized mini antenna out on case... Will love to connect it to some of my custom antennas :P Jan 25 13:15:55 Estel_: just use an even number of mirrors to take your picture Jan 25 13:15:55 I'm also tempted to use FMTX testpoints, to allow connecting external antenna to it, too Jan 25 13:16:02 kerio, haha Jan 25 13:16:09 * kerio is only slightly kidding Jan 25 13:16:51 well, kind of idea, but I'll, probably, just lend digital camera from someone Jan 25 13:17:06 BTW I though, once, about crazy attachement for N900 Jan 25 13:34:08 @freenode.net Jan 25 13:37:21 @freemangordon Jan 25 13:39:38 since maemo.org is down, is there some location I can install rootsh from? Jan 25 13:39:54 ccxCZ use some mirror Jan 25 13:40:26 ccxCZ: http://maemo.merlin1991.at/apt-mirror/extras/pool/fremantle-1.3/free/r/rootsh/ Jan 25 13:40:29 such as? Jan 25 13:40:34 kthnx Jan 25 13:43:29 ~mirrors Jan 25 13:43:29 i guess mirror is http://maemo-archive.wedrop.it/ http://maemo.merlin1991.at/apt-mirror/ http://talk.maemo.org/showthread.php?p=1315143#post1315143 Jan 25 13:43:34 yana666: ^^^ Jan 25 13:46:28 is there a way to connect to network via usb on stock N900? Jan 25 13:46:35 yes Jan 25 13:46:46 but really, just send the .deb via bluetooth or something Jan 25 13:46:52 if you have no wifi Jan 25 13:47:03 or, hell, use usb mass storage mode Jan 25 13:48:36 doesn't installing deb require root? Jan 25 13:48:51 ccxCZ, you can install deb package via file manager Jan 25 13:49:07 store it to MyDocs via usb mass storage Jan 25 13:49:32 file manager open deb package in application manager which is running as root Jan 25 13:49:43 working on it now, thanks Jan 25 13:49:55 (only apt-worker backend running as root) Jan 25 13:53:15 sorry, got phone Jan 25 13:53:27 as for crazy N900 accesory I thought about, once: Jan 25 13:53:51 small adjustable mirror, allowing to use back camera for voip call, yet, still see person you're talking too, on screen :P Jan 25 13:54:08 of course it was just crazy idea, never took any steps to build it Jan 25 13:54:43 would look funny, though, with some arm reaching out of N900's back, with small mirror on it Jan 25 13:56:54 merlin1991: does your rmo mirror still give hash error? Jan 25 13:58:13 how can it give a hash error? have you changed the keys? Jan 25 13:59:00 it gave a hash error for me too when I tried, actually Jan 25 13:59:17 though atm I don't really need the repos so cba to try again Jan 25 13:59:29 freemangordon: yep :/ Jan 25 13:59:37 merlin1991: :( Jan 25 13:59:42 kerio: the release file is foobar Jan 25 13:59:46 (it went up yesterday though for a little, and I took that possibility to download picodrive :3) Jan 25 13:59:47 do you know which repo works in HAM? Jan 25 13:59:49 all hashes are wrong Jan 25 14:00:16 freemangordon: http://extras-devel.merlin1991.at/ Jan 25 14:00:30 that one is the minimal one Jan 25 14:00:30 I don't know how apt works, but can't you just.. I don't know, disable hash checking, or re-do that file? Jan 25 14:00:45 merlin1991: only because extras is the only sanctioned repo, and nobody uses it Jan 25 14:00:58 well, there is a lady on the channel I am trying to help to set-up mirror repos, I am not sure I want her to enable extras-devel :) Jan 25 14:01:10 technically if you install something from extras, and then enable extras-devel, you won't be able to upgrade it from extras-devel Jan 25 14:01:11 yay, worked Jan 25 14:01:35 freemangordon: I guess you're right :D Jan 25 14:01:51 now back up he old system before screwing up.. just dd | gzip the block devices? Jan 25 14:02:03 freemangordon: extras devel is cool Jan 25 14:02:07 ccxCZ: nope Jan 25 14:02:12 well, lets try with http://maemo-archive.wedrop.it/repository.maemo.org/extras/ Jan 25 14:02:26 ccxCZ: you MUST NOT directly read or write a mtd Jan 25 14:02:28 ~2119 Jan 25 14:02:29 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. Jan 25 14:02:30 what is the recommended procedure then? Jan 25 14:02:44 that one gave bogus bzip files for me @ freemangordon Jan 25 14:03:04 ccxCZ: install backupmenu, reboot with open keyboard slider, follow UI Jan 25 14:03:20 but be wary, backupmenu doesn't backup your kernel Jan 25 14:03:56 and thus, restoring to a backup with another kernel mess up the system Jan 25 14:04:00 which I found out the hard way Jan 25 14:04:07 "mess up" Jan 25 14:04:19 just flash the old kernel from a n900 Jan 25 14:04:24 FIQ: what Jan 25 14:04:26 ? Jan 25 14:04:37 freemangordon: ? Jan 25 14:04:43 ccxCZ: there's (almost) nothing you can do via software that will permanently damage your n900 Jan 25 14:04:53 that one gave bogus bzip files for me @ freemangordon Jan 25 14:05:29 freemangordon: ah, when I tried out the mirrors, one gave hash errors (merlin1991's), wedrop also gave hash errors, and the third one which name I've forgot gave bogus bzip files Jan 25 14:05:50 (trying to update with that repo just gave error "bzip returned with an error code (1)" Jan 25 14:05:52 ) Jan 25 14:05:57 so all of them don;t work? Jan 25 14:06:07 Well that's my own experience Jan 25 14:06:12 but what was that reflash one? Jan 25 14:06:23 Perhaps errors has been fixed, but when I tried, it simply didn't work Jan 25 14:06:36 ok Jan 25 14:06:39 Linux Nokia-N900 2.6.28-omap1 #1 PREEMPT Fri Aug 6 11:50:00 EEST 2010 armv71 unknown Jan 25 14:06:47 that's what I got here now ↑ Jan 25 14:07:31 so I guess I should get corresponding images for it if I'd want to restore it later? and tar up all the files... Jan 25 14:08:55 ok, found a nokia-binaries mirror, still doesn't give me any nice targets to reverse engineer though... Jan 25 14:10:53 jonwil, can you look at libdevlock and libcodelockui binaries? Jan 25 14:10:58 where do I get backupmenu? Jan 25 14:11:21 jonwil, libdevlock is needed for mce for devicelock, and there is missing header file Jan 25 14:11:28 but there is i386 version Jan 25 14:11:35 ccxCZ, from extras-devel Jan 25 14:13:55 got it, thanks Jan 25 14:15:38 Will see what I can do to produce libdevlock info Jan 25 14:15:52 libcodelockui already has -dev package so no need to reverse engineer that really Jan 25 14:19:10 seems like ttp://skeiron.org/repo/repository.maemo.org/extras/ is ok Jan 25 14:20:30 what is the most convenient way to install custom chroot? can I reformat the mmc to say ext2 instead of vfat? Jan 25 14:20:58 yes Jan 25 14:21:12 iirc it wont get automounted Jan 25 14:21:18 that is true Jan 25 14:21:25 I'd use microsd Jan 25 14:21:32 can manually mount htat on boot Jan 25 14:21:51 I left the fat as 8g, and put a new 16 or so in the free space Jan 25 14:23:50 * ShadowJK has two new 16g microSD cards on his desk to test Jan 25 14:24:19 ShadowJK: the cssu ke-recv will automount everything Jan 25 14:24:53 If anyone wants a "Samsung Essential Class 6 16GB" uSD card, I'll send it for just cost of post :P Jan 25 14:24:59 (it's rubbish) Jan 25 14:26:17 ShadowJK: deal! Jan 25 14:27:07 Finland? Jan 25 14:27:14 any specific ones you'd recommend? Jan 25 14:27:34 been using kingston and adata ones, kingston died suprisingly fast Jan 25 14:27:57 ShadowJK: Why such sudden generosity? =) Jan 25 14:28:33 ccxCZ: sandisk Jan 25 14:30:57 wiki: "Couldn't authenticate against garage. (DB problem)" Jan 25 14:31:01 how nice :( Jan 25 14:31:22 Skry; ya Jan 25 14:32:04 RST38h; well I bought like half dozen card and not going to ever use this one, don't like its performance Jan 25 14:34:06 Ah.. Class 6 though - should be fast Jan 25 14:34:17 Ok, supposed to be fast =) Jan 25 14:35:22 kerio: ShadowJK sandisk and adata were never in my range after several pendrives before, samsung class 10 32GB and kingston class 6 8BG is what I have for n900 Jan 25 14:36:07 both cards are pretty fast compared to old class 2-4 nabble Jan 25 14:36:28 surprisingly for me (I am SanDisk fan) it seems that this 64GB Samsung performs really well Jan 25 14:36:44 otoh, those class 6/class 10 cards are absolute crap at random I/O Jan 25 14:37:04 The other sandisk I have, "Plus", "Class 10", seems decent Jan 25 14:37:04 I'll bench it again in 1-2 weeks, to see if performance degrades Jan 25 14:37:23 freemangordon: I stopped to be a sandisk fan after 6 broken pendrives, I had 9, 3 are still working Jan 25 14:37:35 well, 30% not that bad :D Jan 25 14:37:41 lol Jan 25 14:38:11 freemangordon: garage has issues atm so bare with us for not working logins Jan 25 14:38:16 chem|st: you should try kingston ;) Jan 25 14:38:38 freemangordon: I won't 'try' anything anymore Jan 25 14:39:12 lol Jan 25 14:39:17 for uberoptimized sequential writes it doesn't really matter, as long as it's a good brand Jan 25 14:39:21 other samsung I meant Jan 25 14:39:43 I have a verbatim pendrive working for years now and have 64gb of other pendrives/cards... and a 1GB usb3 harddrive Jan 25 14:39:54 1TB Jan 25 14:40:34 I've been torturing a sandisk usb drive for ages now, running nilfs2 on it. more or less constant 1.5MB/s write :) Jan 25 14:40:49 would kill me Jan 25 14:40:55 nilfs2? Jan 25 14:41:00 1.5MB/s Jan 25 14:41:27 kerio; was best performing fs when I tested Jan 25 14:42:00 * freemangordon is going to retest his uSD Jan 25 14:42:11 it makes only sense to use external drives (no matter what kind) as long as network is slower Jan 25 14:42:42 or you need something offline Jan 25 14:42:55 and that is becoming a rare case nowadays Jan 25 14:43:43 Heh, running squid on that usb flash actually Jan 25 14:58:12 seems fine to me http://pastebin.com/5nMKQsZs Jan 25 14:58:40 keep in mind this is over USB, with swap on the same device Jan 25 15:09:25 freemangordon: what's QD? Jan 25 15:09:36 queue depth Jan 25 15:09:46 not that I know what queue is that :D Jan 25 15:12:01 pali: ping Jan 25 15:13:23 * MrPingu wonders why is there a safelist for widgets in /etc/hildon-desktop/? Jan 25 15:13:45 to whoever wanted info on libdevlock, http://pastebin.com/emnukG4E Jan 25 15:14:21 damn, wiki is still refusing to work :( Jan 25 15:16:09 1MB of write/s is damn impressive:) Jan 25 15:17:19 ShadowJK: I wonder what will be the results if I put it in a card reader. Unfortunately I cannot find mine :D Jan 25 15:17:49 Well, my XP box with card reader gave much higher results Jan 25 15:18:41 btw, I just remembered seeing somewhere that while Class 2, 4 and 6 specify response time for cards, 10 and uhs dont Jan 25 15:19:55 ShadowJK: I know sequental speeds will be much higher, I am wondering about random i/o Jan 25 15:20:41 * ShadowJK suspects uhs cards slow down on everything when run in sdhc host Jan 25 15:21:07 jonwil, thanks! Jan 25 15:21:27 I hope that's what you need Jan 25 15:22:01 My guess is that Nokia didn't publish the -dev package for that library because of security (i.e. you could use it to bypass the device lock) Jan 25 15:22:14 but in our case now we do have the info :) Jan 25 15:22:21 you can use devlock-bin package for that Jan 25 15:22:32 yeah Jan 25 15:22:40 it contains binary with S bit!!! Jan 25 15:22:40 anyhow, its documented Jan 25 15:23:03 another closed library has been given a dev package :) Jan 25 15:23:03 jonwil, it is hard to RE that library? Jan 25 15:23:19 do you need the whole library cloned? Jan 25 15:23:35 I'd like to understand what doing... Jan 25 15:23:37 and yes it would be harder to RE than it was to produce the dev stuff Jan 25 15:23:50 because I need to implement code into mce Jan 25 15:24:18 you can call libdevlock from MCE no problems (its what Nokia did after all) Jan 25 15:24:51 yes, I know, but I must understand what that functions doing... Jan 25 15:25:21 why you need to know what its doing if you just want to call it and do whatever stock MCE did? Jan 25 15:25:58 jonwil, I have source code of diablo mce and I'm replacing diablo code with fremantle compatible Jan 25 15:26:14 so I need to know which functions should be replaced with some old diablo code... Jan 25 15:26:31 Having source code to diablo DSME would help with your work I suspect... Jan 25 15:26:41 but yeah that library is too hard for me to RE Jan 25 15:26:47 ok Jan 25 15:26:48 its mostly setting gconf and cal anyway Jan 25 15:26:58 or calling devlock-tool to set things Jan 25 15:28:44 for reference, the functions in MCE that call libdevlock are: Jan 25 15:28:46 mce_devlock_init Jan 25 15:28:54 mce_devlock_exit Jan 25 15:30:36 and one function that has no name Jan 25 15:34:53 Have a look at what devlock.c in MCE does Jan 25 15:35:07 that should be a good starting point to figure out what to replace with calls to libdevlock Jan 25 15:36:04 anything else I can help you with? Jan 25 15:39:32 jonwil, what is state of your vibrator mce plugin? Jan 25 15:39:39 working? crashing? Jan 25 15:40:12 never got anywhere useful with it Jan 25 15:40:39 jonwil, it is implemented? Jan 25 15:40:47 cant remember Jan 25 15:40:56 feel free to use whatever code I posted Jan 25 15:41:06 but beyond that, I have no interest in touching the mess that is MCE :) Jan 25 16:07:03 DocScrutinizer: infobot joined! Jan 25 16:07:53 Hi, hows mapping on the n900. Is any of the community apps better than the old nokia maps for daily usage? Jan 25 16:09:33 yes. Jan 25 16:09:36 not really Jan 25 16:09:38 I really like modrana Jan 25 16:09:44 I suspect not Jan 25 16:09:47 nokia maps has no competition Jan 25 16:09:55 and it's offline Jan 25 16:09:59 yup. Jan 25 16:10:15 it does somewhat depend - openstreermap is good in some areas Jan 25 16:10:19 I can't even remember the last time I bothered starting nokia's maps program on the n900 Jan 25 16:10:26 * Sicelo uses Nokia Maps + OM Voice Server Jan 25 16:10:41 I use mappero and modrana heavily Jan 25 16:11:47 yeah if it was like the maps on the symbian phones its just clunky Jan 25 16:11:54 thanks guys Jan 25 16:12:12 I'll check them out Jan 25 16:17:49 Pauly1210: i quite like monav Jan 25 16:17:53 incredibly light Jan 25 16:18:02 can do *everything* offline, with free datasets Jan 25 16:18:29 Sicelo: OM Voice? Jan 25 16:19:15 kerio: cool its Qt Jan 25 16:22:48 kerio, yes. to give a voice to nokia maps Jan 25 16:23:00 Sicelo: does it add autofollow? Jan 25 16:23:20 um, what's that? Jan 25 16:23:57 does it do the equivalent to pushing forward in nokia maps when you pass an intersection? Jan 25 16:24:27 re-route? no. Jan 25 16:25:17 503 ???? wtf! Jan 25 16:25:33 i have monav too, but i never downloaded the maps. Jan 25 16:25:54 who else got maemo.org 503 Jan 25 16:26:14 yes Jan 25 16:26:24 since when Jan 25 16:26:35 less than 2 days Jan 25 16:26:47 i check about daily on your update post Jan 25 16:26:54 havent checked yesterday iirc Jan 25 16:27:06 yesterday everything been fine Jan 25 16:27:26 let's hope its nothing serious Jan 25 16:27:53 talk works Jan 25 16:28:10 but i clearly have no idea where what part of *.maemo.org is located Jan 25 16:28:14 talk is disparate Jan 25 16:28:23 as i figured Jan 25 16:28:25 wiki works too Jan 25 16:28:43 sounds like overload or something Jan 25 16:28:43 does it? Jan 25 16:29:02 yes, it does Jan 25 16:29:13 maybe somebody is moving repo to a new path Jan 25 16:29:28 and took down maemo.org for that Jan 25 16:29:38 503 may mean that backend is down Jan 25 16:29:42 but why MO is 503 then? Jan 25 16:29:52 so frontend load balance/reverse proxy is running Jan 25 16:29:52 aah, I see Jan 25 16:30:02 but backend vm not so much Jan 25 16:30:07 loads of possibilities Jan 25 16:30:22 there's no load balancing anymore Jan 25 16:30:29 on new infra Jan 25 16:30:38 one VM for m.o Jan 25 16:30:44 one for wiki.m.o Jan 25 16:30:51 one for repo.m.o Jan 25 16:30:51 DocScrutinizer05: btw did you read #maemo-ssu logs from today? Jan 25 16:31:04 very partially Jan 25 16:31:21 seen the guy from Nokia dropped by Jan 25 16:31:22 the key has been found :) Jan 25 16:31:24 yep Jan 25 16:31:40 ! Jan 25 16:31:44 no shit? Jan 25 16:31:52 hope you all were kind and reasonable to him Jan 25 16:32:22 I think so. actually the guy was very polite and cooperative Jan 25 16:33:00 no shit what? Jan 25 16:33:00 sure, why not? Jan 25 16:33:13 just mentioning Jan 25 16:33:16 not everybody is like djszapi Jan 25 16:33:18 ;-) Jan 25 16:33:29 no shit key found Jan 25 16:33:34 (whoever he is :D ) Jan 25 16:33:43 Lava_Croft: read the logs Jan 25 16:33:57 ooh, you never been in #harmattan Jan 25 16:34:20 well, been there a couple of times, for a couple of minutes :D Jan 25 16:34:36 but usually I pester arcean when I join there :D Jan 25 16:34:47 then it probably been djszapi who made you quit Jan 25 16:35:36 I *think* you can find him here in this chan's logs too, long before HARM appeared Jan 25 16:35:56 the name doesnt ring a negatively sounding bell Jan 25 16:35:59 asking insane questions and bitching at us when he didn't get right answers Jan 25 16:36:15 never seen him Jan 25 16:36:15 oh that does ring a bell Jan 25 16:36:34 i've missed the party it seems :D Jan 25 16:36:52 like "how do I install xterm?" "it's already installed!" "not here, sucker!" Jan 25 16:37:18 really? Jan 25 16:37:20 omg Jan 25 16:37:23 maybe he is culturally inclined to talk like that Jan 25 16:37:53 where did pupnik go? Jan 25 16:39:21 ~seen pupnik Jan 25 16:39:27 pupnik was last seen on IRC in channel #meego, 483d 16h 48m 40s ago, saying: 'tegra chipset?'. Jan 25 16:45:58 DocScrutinizer05: the guy seemed supportive Jan 25 16:46:12 but the key he found is for some internal thing nokia has, so he didn't know if he'll be able to use it Jan 25 16:46:14 sure Jan 25 16:55:18 i today broke my n900's stand thingy? Jan 25 16:55:33 were could i get new back plate for cheap? Jan 25 16:56:32 tommis: try ebay Jan 25 16:58:29 for instance, on the italian ebay there's an original one taken from a broken n900 for 6,43€ Jan 25 17:04:41 is repos still behind the flaky firewall? Jan 25 17:07:28 right now it seems down Jan 25 17:08:03 and it will stay down until Eero/Nemein moved it to exposed-IP Jan 25 17:08:18 probably Jan 25 17:08:37 they are the 'grid-guys'? Jan 25 17:08:48 Seems Eero gave up on the Endian FW and decided to expose the repo IP to internet Jan 25 17:09:07 well, basically one of them is Jan 25 17:09:31 the repository worked yesterday, how come? Jan 25 17:09:42 it was slow, but it worked :p Jan 25 17:09:58 ok, lets hope it will come alive again Jan 25 17:14:51 FIQ: we had a short time where repo 'worked', immediately after FW reboot. yes Jan 25 17:15:13 ah Jan 25 17:15:30 then 50000 N900s decided to DDoS the server, including mine I guess? Jan 25 17:15:58 FIQ: see update12 Jan 25 17:17:18 DocScrutinizer05, please look at mail from @nokia. Council or board should answer Jan 25 17:29:31 the fw sounds like linksys stuff. tcp/udp expire times so high all conntrack tables get full Jan 25 17:30:44 hey, linksys is good Jan 25 17:30:55 perhaps dlink Jan 25 17:31:00 I cant see how the N900s can bring rmo down. They dont try to update at the same time Jan 25 17:59:09 Pali: in 2 hours Jan 25 17:59:18 ok Jan 25 17:59:19 Pali: had not even time to check mail yet Jan 25 17:59:28 meeting now Jan 25 18:00:27 DocScrutinizer05, see discussion with nokia guy: http://mg.pov.lt/maemo-ssu-irclog/latest.log.html#t2013-01-25T13:34:56 Jan 25 18:26:17 Meanwhile: Unlocking Your Phone Is Illegal Starting Tomorrow Jan 25 18:26:24 (in the US of course, where else?) Jan 25 18:27:20 RST38h: whaat? Jan 25 18:27:54 wat Jan 25 18:27:57 >us Jan 25 19:40:53 warfare: install cssu-thumb! Jan 25 19:41:52 kerio: yesterday HAM complained about some repos not working. Jan 25 19:42:04 hm Jan 25 19:42:42 well, you can enable mirrors Jan 25 19:42:56 and disable the "ignore packages from wrong domain" in the hidden settings Jan 25 19:44:16 kerio: that could do the trick, I'll try later. Jan 25 20:23:17 The difference between Maemo and Harmattan: Jan 25 20:24:58 Both make simple tasks (decompressing an archive, searching for a URL in the browser history), but with Maemo those things can be worked around Jan 25 20:25:06 Harmattan they're just impossible. Jan 25 20:25:20 they make tasks? Jan 25 20:25:21 Want to decompress a rar file? Good luck. (Dumbass) Jan 25 20:26:05 Pali, where is the "usual place" for latest kernel-power, and why it's not linked in first post in any kp thread?:P Jan 25 20:26:54 kerio, er, make them difficult Jan 25 20:26:56 kernel-power development thread proudly states - in opening post - that currently, latest version is kp50. Kernel-power "main" thread talks about kp 51. I'm using kp51r1, and I'm supposed to find kp52 "somewhere" Jan 25 20:27:41 sorry for pestering, just wanted to highlight, that from perspective of someone who haven't read every single post of kp thread - unlike the old days - it's nearly impossible to find it Jan 25 20:28:01 here is link: http://talk.maemo.org/showpost.php?p=1305042&postcount=288 Jan 25 20:28:08 opening posts of kp threads just beg to have static link to place, where it's to be found Jan 25 20:28:12 thanks a lot Jan 25 20:28:15 I wanted to push it to extras-devel... Jan 25 20:28:21 yea, I know Jan 25 20:28:24 ...but autobuilder not working Jan 25 20:28:33 I think you can forget it for next ~month :P Jan 25 20:28:36 after will be inextras-devel I will create new thread Jan 25 20:28:40 autobuilder? devel doesnt work, too Jan 25 20:28:45 and extras, at all Jan 25 20:28:53 and few other things, too :P Jan 25 20:29:18 and anyone supposing that it will be fixed in less than few weeks is overly optimistic. Jan 25 20:29:46 Ferenc today fixed garage git repos Jan 25 20:30:06 I got mail and tried to push kp52 to garage and it worked Jan 25 20:30:13 nice to hear Jan 25 20:30:29 btw, in post you've submitted, same link is repeated 4 times in row, or is it just me? Jan 25 20:31:09 well, when it comes to maemo infrastructure - unlike in real life - I'm pesimistic, so I can be only positively surprised Jan 25 20:32:18 I start in position of not expecting anything on Maemo infra to work, at all, including this irc channel - or expect it all to break anytime soon - so every line of irc here or every time wiki doesn't fail to load (like it does 50% of times) I'm positively surprised. It's good for health, me thinks. Jan 25 20:33:08 hmm Jan 25 20:33:14 :-) Jan 25 20:33:56 after GeneralAntilles' talk about harmattan, this infrastructure move has affected N9 users or not? Jan 25 20:35:32 thanks Pali, going to rock on new kp and updated usbmode, will report about results, sometime in future Jan 25 20:36:05 question to anyone accustomed to it - current state of bme replacement is usable for every-day, if properly handled? Jan 25 20:36:13 i.e. no showstoppers? Jan 25 20:36:24 not that i've experienced Jan 25 20:39:52 lame question again, where are .item things for uboot or multiboot or? Jan 25 20:40:06 it always appeared automagically after kernel-power-bootimg install Jan 25 20:40:15 not that I can't create it myself, just curious Jan 25 20:40:39 /etc/bootmenu.d/ Jan 25 20:41:03 thanks, noticed this myself at the same time, could check twice before asking Jan 25 20:41:30 Estel_: by the way, peripheral without charging will kinda drain the n900's battery Jan 25 20:41:43 80 mA isnt much Jan 25 20:41:48 80mA is a lot Jan 25 20:42:04 ~3000/80 Jan 25 20:42:04 37.5 Jan 25 20:42:21 37.5 hours is still more than average notebook battery :P Jan 25 20:42:33 also, no one is forced to use it Jan 25 20:43:07 just trigger, when you want to connect N900 as client through USB to something battery powered, without vampiric drain on said device power Jan 25 20:43:23 Estel_: just disable the charging and connect Jan 25 20:43:27 500 mA after negotiation is overkill for many netbooks/notebooks Jan 25 20:43:42 wut? charging will auto-re enable Jan 25 20:43:45 also, i wonder if it's possible to charge very little Jan 25 20:43:52 Estel_: why is that? Jan 25 20:44:06 well, N900, as client, need boost to estabilish connection Jan 25 20:44:10 i.e. 5V Jan 25 20:44:13 echo none > /sys/class/power_supply/bq24150x_charger/mode Jan 25 20:44:24 = enabling auto mode Jan 25 20:45:08 see bq24150 documentation, if I haven't messed somethink Jan 25 20:45:36 then how would this "peripheral without charging" mode be implemented? Jan 25 20:45:46 BTW, trick with charging very low is possible, using steps provided by chip (50 or 150 is lowest) Jan 25 20:45:57 oh, wouldn't that be even better? Jan 25 20:46:06 you won't drain the n900's battery Jan 25 20:46:11 but if you're sharing internet connection to notebook or something in train, you don't want N900 to draw *any* power Jan 25 20:46:16 usually a netbook's battery is much bigger Jan 25 20:46:20 hm Jan 25 20:46:28 as N900 battery will still last much longer than notebook one, by factors of few Jan 25 20:46:43 yea, it's bigger, and netbook uses much more :P Jan 25 20:46:55 use the netbook to charge the n900, use the n900 Jan 25 20:47:01 :D Jan 25 20:47:26 well, no problem for me, as I don't have netbook, and my notebook is acting like desktop, since I got N900 :P Jan 25 20:47:39 seriously though, how would you implement this? Jan 25 20:47:47 N900 + small usb keyboard + usb/bluetooth mouse is my travel kit Jan 25 20:47:53 disable the charging once the connection is established? Jan 25 20:48:00 kerio, exactly Jan 25 20:48:13 well, that's kinda easy Jan 25 20:48:15 N900 charging chip lowest charge current setting 550mA, but also input curren limits 100, 500 and 800mA available Jan 25 20:48:20 if it wouldn't work, last resort is for N900 to provide boost for itself Jan 25 20:49:14 well, when I got hit by bug of "peripherial mode with boost", my device immediately though it got connected to something Jan 25 20:49:26 if you kill bme after connecting to laptop, charging will drop to 100mA input limit in 30s or so? Jan 25 20:49:34 and presented me with screen inviting to choose mode (mass storage, pc suite) Jan 25 20:49:51 ShadowJK, yes, but after 30 minutes, charging chip or omething will kick reboot Jan 25 20:49:57 or 32 minutes Jan 25 20:50:10 ShadowJK: we're using pali's bq24k module anyway Jan 25 20:50:16 I remember vaguely, that something doesn't like charging in emergency mode for too long Jan 25 20:51:33 kerio, if "just disabling charging" wouldn't work, then, peripherial + boost should work - after all, nothing would drain this 200mA, so only part of it would get wasted Jan 25 20:51:55 nah dunno, I've had various charge script mods for faster charging, and had failsafes that triggered and made my script abort, leaving device without bme or anything.. and device was still alive in the morning :P Jan 25 20:52:36 without bme but connected, charging in emergency, with bright orange led? Jan 25 20:52:43 yes Jan 25 20:52:46 Estel_: you probably also want pali's battery applet Jan 25 20:52:53 it is good Jan 25 20:52:57 interesting, worth trying Jan 25 20:53:01 kerio, sure Jan 25 20:53:15 except that if your bq27k is properly calibrated, you'll want to modprobe -r rx51_battery Jan 25 20:53:18 it's probably in bme replacement section of his site? where is his site, again? Jan 25 20:53:21 because it's less accurate Jan 25 20:53:22 bright orange led is the "JK's charge algorithm failed and failsafes triggered" indicator :P Jan 25 20:53:22 ~pali Jan 25 20:53:23 from memory, pali is http://atrey.karlin.mff.cuni.cz/~pali/ Jan 25 20:53:53 there's no section for that, though :c Jan 25 20:54:00 kerio, rx-51 is totally inacurrate, as it use "design capacity", which is *never* right Jan 25 20:54:12 Estel_: tell him, maybe you'll be more successful than me Jan 25 20:54:16 no idea why Pali use it at all, maybe I don't know something Jan 25 20:54:38 well, early mugens had thermpresistor there, so "design capacity" changed with temperature... Jan 25 20:54:57 Pali, I'm telling you, that "design capacity" is depreciated and shouldn't be used for anything Jan 25 20:55:09 rx51_battery reports value which is not wrong as value from bq27x Jan 25 20:55:15 even nokians screwed it, when upgraded bl-5j to 1420 mAh Jan 25 20:55:39 (should read "not as wrong" i think) Jan 25 20:55:48 they use same resistor, that was in 1320 mAh bl-5j Jan 25 20:55:54 define not wrong or not as wrong Jan 25 20:56:08 calibrated bq27x00 is accurate, rx_51 never is Jan 25 20:56:14 indeed Jan 25 20:56:59 design capacity is read from value of resistor between BMI and battery -, so whatever is put there, it's design capacity. Some manufacturers even put thermoresistor there, which confuses hell out of rx_51 Jan 25 20:57:11 hm, I should check on my other device where I have new bl-5j, but IIRC they upped the design capacity resistor in it. Jan 25 20:57:19 Pali, what madness made you to use it and give it priority over bq27x00? Jan 25 20:57:41 ShadowJK, I got 100% original 1420 BL-5J from brand new nokia asha Jan 25 20:57:46 and it had same resistor Jan 25 20:57:53 maybe it differs from batch to batch Jan 25 20:58:25 I measured battery to determine if they really upped the capacity, then, I disassembled it Jan 25 20:58:26 Estel_, bq27k chip not reporting correct max values if battery is not calibrated Jan 25 20:58:43 also calibration can change max value only for some % Jan 25 20:58:45 Pali, sure - but rx_51 *never* reports correct values Jan 25 20:58:52 no matter if calibrated or not Jan 25 20:58:59 Estel_; iirc 1320mAh batt had 1200mAh design capacity :) Jan 25 20:59:03 so you need to do more cycles for better values Jan 25 20:59:04 kerio: cssu-thumb complains about missing packages (libmameosec0, upstart, etc.). I have community, community-testing, community-thumb and extras enabled. Jan 25 20:59:18 any hints? Jan 25 20:59:20 ShadowJK, do you have rx51_battery kernel module? Jan 25 20:59:39 warfare: enable redpill mode, and disable "ignore packages from wrong domains" Jan 25 20:59:39 Pali, but rx_51 take "design capacity" from some random resistor, that no one, even manufactures, care of Jan 25 20:59:54 They put whatever there Jan 25 21:00:01 Pali; no, I mean as reported by bme Jan 25 21:00:03 whatever around 100kOhm Jan 25 21:00:10 warfare: also, how did you install community-ssu-enabler correctly? a mirror for community-testing? Jan 25 21:00:23 but it reads "design capacity" from same source - resistor Jan 25 21:00:33 warfare: either have community or community-testing enabled Jan 25 21:00:34 it is only thing used to "code" design capacity Jan 25 21:00:53 both are simply useless, -testing will trump stable anyway Jan 25 21:00:53 except that no one cares about it and no manufacturer, even Nokia, uses it properly Jan 25 21:01:27 Whatever rx_51 shows, is not related to battery at all, it's just "something around 1320" Jan 25 21:01:29 warfare: also, /j #maemo-ssu Jan 25 21:01:31 kerio: Somehow I've installed the cssu-enabler by hand (cssu-testing) and did the upgrade with HAM. Jan 25 21:01:48 less or more, depending on higher or lower resistor put there Jan 25 21:01:53 Pali ^ Jan 25 21:01:56 if you have some idea how to fix this problem.... you have calibrated 12xx mAh battery, then you change it with 14xx or 1yyy battery, how should design capacity be read? Jan 25 21:02:34 Pali, no physical way to read it, just re-calibration. But, rx_51 doesn't help here Jan 25 21:02:51 as 1yyy battery manufacturer doesn't give a shit about coding design capacity into it Jan 25 21:02:55 bq27k chip will not increase max capacity to normal new by one cycle and calibration Jan 25 21:02:58 just threat it as non-existent Jan 25 21:03:09 Pali, normally, it will Jan 25 21:03:25 so what to show? old capacity? Jan 25 21:03:27 it won't only, if you change battery by very high values, like 1200 -> 2700 mAh Jan 25 21:03:31 for new better battery?? Jan 25 21:03:48 Pali, sure, until it's calibrated. And use *need calibration* flag Jan 25 21:03:54 it is exported by driver Jan 25 21:03:56 afaik Jan 25 21:04:01 and what to show if you totally discharge battery and bq chip will be reseted? Jan 25 21:04:06 chip have flag that shows "need calibration" Jan 25 21:04:28 after that max capacity wil be read from design register which is 2048 (or something) mAh Jan 25 21:04:32 vdq is 1 during proper discharge cycle Jan 25 21:04:43 so, when chip acknowledge new capacity, vdq changes to 0 Jan 25 21:04:48 Estel_ calibration flag will be deleted after vdq Jan 25 21:04:52 I've never managed to reset bq on purpose by power starvation :) Jan 25 21:05:16 Pali, it is 2048, but only if you put battery out ans bupbat is dead Jan 25 21:05:16 but bq chip will not set correct max capacity with one cycle Jan 25 21:05:24 so, alongside clock, chip will reset Jan 25 21:05:38 ShadowJK, I was able to do that Jan 25 21:05:42 for regular batteries, it will, during 2 cycles at worst Jan 25 21:06:01 heck, even from 1300 to 3100 I need two cycles only Jan 25 21:06:14 Estel_: so this battery is only 1420 mAh? :( Jan 25 21:06:20 goddammit, vi____ said it was 1600 Jan 25 21:06:40 * ShadowJK has a resetbq.sh for when changing battery Jan 25 21:06:42 maybe his relative capacity was 1600 on device, constant current test show ~1400 Jan 25 21:07:04 Pali, there is no perfect solution to this, but rx_51 is making things even worse Jan 25 21:07:25 not onlynot helping at all, but just outright lying about capacity, taking it from moon Jan 25 21:08:15 and consider confusion, when someone use battery with thermoresistor here, i.e. "design capacity" changing every few minutes or hours Jan 25 21:08:39 or bug reports, that it shows 1320 for their new, oryginal, Nokia's 1400 batteries :P Jan 25 21:08:56 or 1200, as Shadowjk said about design capacity of 1320 one Jan 25 21:08:59 it's a mess Jan 25 21:09:17 never ever use design capacity for anything, except scarry'ing children Jan 25 21:09:17 Estel_: Pali's battery applet - now including a thermometer Jan 25 21:09:37 so propose solution how to get design capacity Jan 25 21:09:45 Pali, there is no such thing Jan 25 21:09:53 which wil work in every situation Jan 25 21:09:54 why do we even want the design capacity anyway Jan 25 21:09:58 no thing in chip or battery itself reports capacity (properly). period Jan 25 21:10:06 consider it non-existent Jan 25 21:10:06 we want the current capacity Jan 25 21:10:25 current capacity is calculated from design Jan 25 21:10:32 w-aaaat! Jan 25 21:10:49 bq chip doing it Jan 25 21:11:01 so, my 3000mAh battery, which reports design of 1200, will show 600 mAh left on 50%?! Jan 25 21:11:14 bq27k *counts* the mAh that pass through, aiui Jan 25 21:11:25 no no no, current capacity is and always was full capacity - used capacity Jan 25 21:11:42 yea, bq counts capacity used, variable one Jan 25 21:12:04 percentage is calculated from current and design Jan 25 21:12:04 ShadowJK can confirm ;) Jan 25 21:12:12 absolutely no Jan 25 21:12:20 kerio; if it was repeatable (the adc and resistor thermal drift seems to say otherwise), and accurate, it'd be nice gauge of battery health to compare current capacity vs design... On N9, the bq chip has "Impedance Track" thingy which does a more useful thing of comparing battery impedance. SpeedEvil's ohm.sh research path is similar, in determining the useful usable capacity of a battery and getting useful "battery low" thresholds so you dont get surpris Jan 25 21:12:21 and that's another thing that's dead wrong Jan 25 21:12:26 e shutdowns or sudden unexpected battery low warnings :) Jan 25 21:12:29 or my 3000 mAh battery would get 280% Jan 25 21:12:32 as my "110%" charge can report Jan 25 21:12:36 Estel_: yep :D Jan 25 21:13:24 Pali, using bq27x00 or later i2c get raw data from chip, I never, ever, saw using design capacity to calculate anything Jan 25 21:13:27 over years Jan 25 21:13:44 Design Capacity = battery capacity when brand new. Capacity = current battery capacity. Charge = current amount of charge stored in the battery (where maximum = capacity, maximum when brand new = design capacity) Jan 25 21:14:02 percentage is derived from full capacity/current capacity Jan 25 21:14:17 ShadowJK, but lets stick to practice, not theory Jan 25 21:14:23 Estel_: just rmmod rx51_battery :) Jan 25 21:14:29 In general, when Capacity divided by Design Capacity is less than 0.8, it's time to replace batt Jan 25 21:14:34 how bq27200.sh calculates % of battery? Jan 25 21:14:59 you wrote it, and you never used design capacity there, as reported by resistor Jan 25 21:15:22 Estel_; as reported by bq. When calibrated, it's (current charge / current capacity) * 100 Jan 25 21:15:40 kerio, rc51_battery get autoloaded after appled installation? need to blacklist it? Jan 25 21:15:50 Pali, see? bq doesnt use design capacity for it Jan 25 21:15:51 Estel_: it's autoloaded by the bme replacement Jan 25 21:15:57 it's not "auto"loaded Jan 25 21:16:02 it's modprobed by /etc/event.d/bme Jan 25 21:16:12 but the battery applet is quite flexible Jan 25 21:16:17 "Design Capacity" is ILMD in bq, but the preprogrammed value is silly :) Jan 25 21:16:21 you can do whatever you want and it'll switch after a handful of seconds Jan 25 21:16:22 so just need to edit this event.d script, ok Jan 25 21:17:09 I respect and admire Pali's work - it's just that using so-called design capacity for anything is wrong, because, as ShadowJK said, it's just silly value not related to reality Jan 25 21:17:20 you need rx51_battery which reporting battery temperature to dsme and pulseaudio Jan 25 21:17:46 what? I feel terrorized :P why pulseaudio want my battery temperature?! Jan 25 21:18:08 also, couldn't bq27x00 report it, like in good old times? Jan 25 21:18:14 I do not know Jan 25 21:18:39 temperature from bq chip is not battery temperature (this wrote nokia bme devs) Jan 25 21:18:47 ok, so couldn't rx51_battery just fulfil those needs, without touching design capacity with a long stick, and messing with battery applet? Jan 25 21:18:52 and I implemeted battery temperature reading to rx51_battery Jan 25 21:18:58 Estel_; if the bq chip had been used as intended, and as OpenMoko did it, integrated into the battery, it would've been properly programmed with ILMD which could be used as a proper source of "design cpacity" :) Jan 25 21:19:10 hell! there is no other temp chip in device Jan 25 21:19:10 Estel_: it's just the applet that prioritizes rx51_battery data over bq27x00_battery data Jan 25 21:19:27 Pali, only one source of temp indication is inside bq Jan 25 21:19:28 ShadowJK: no it wouldn't've Jan 25 21:19:33 they would've put a random value in, as usual Jan 25 21:19:40 especially the crap batteries Jan 25 21:19:45 so whatever rx51_battery reads, it's the same as bq27x00 reads Jan 25 21:19:49 There's a temperature sensor connected to madc, according to the schematics Jan 25 21:19:50 Estel_, not true Jan 25 21:20:01 w-h-at? Jan 25 21:20:11 rx51_battery and bme using temperature sensor from madc Jan 25 21:20:15 so we got *two* of them? Jan 25 21:20:30 ok. Sorry. My mistake. wasn't aware of that, and lived in lie about it Jan 25 21:20:32 anywa Jan 25 21:20:44 ok, so couldn't rx51_battery just fulfil those needs, without touching design capacity with a long stick, and messing with battery applet? Jan 25 21:20:48 still applies Jan 25 21:20:59 rx51_battery doesn't "touch" anything Jan 25 21:21:02 it just reports data Jan 25 21:21:08 it's the battery applet that's in denial Jan 25 21:21:09 kerio, you know what I mean Jan 25 21:21:12 all: I'm going to hacking kernel. If you have better solution how to determinate "design capacity" ping me back Jan 25 21:21:20 solution should work in any state Jan 25 21:21:25 there is no design capacity Jan 25 21:21:30 THE BATTERY APPLET SHOULDN'T CARE ABOUT THE DESIGN CAPACITY FOR FUCK'S SAKE Jan 25 21:21:32 why the hell applet prioritize anything? Jan 25 21:21:51 just let users set what it should care about Jan 25 21:22:00 Estel_: it goes rx51 module -> bq27k module -> bme -> bq27k over i2c, aiui Jan 25 21:22:04 if someone want to use rx51_battery data for battery applet, let it be Jan 25 21:22:11 hardcoded? Jan 25 21:22:20 probably Jan 25 21:22:25 patches welcome :) Jan 25 21:22:47 Pali, better solution, as you asked - either doesn't care for design capacity in battery applet, or at least let user change priorities Jan 25 21:23:03 I agree, UI shouldn't care about "Design Capacity". On N9, the UI does care, but only as far as to display "Battery Health: OK" or something like that. Jan 25 21:23:05 so one could set bq27x00 as higher priority over rx51_battery for applet Jan 25 21:23:11 Estel_ I need something as "design" capacity for calculating percentages Jan 25 21:23:28 you shouldn't use "design", design becomes useless in two months Jan 25 21:23:46 Pali... Jan 25 21:23:47 Estel_; as reported by bq. When calibrated, it's (current charge / current capacity) * 100 Jan 25 21:24:01 and then is not calibrated? Jan 25 21:24:03 yeah, i'd use the bq27k fuel gauge Jan 25 21:24:05 here are your percents Jan 25 21:24:15 note that CI flag is not enought for calibration Jan 25 21:24:23 shit. If it's not calibrated, "design capacity" doesn't help! Jan 25 21:24:29 Pali; you don't really, percentage should be calculated against "last measured capacity". Even lapotops do that :) Jan 25 21:24:38 why healing cold with cancer? Jan 25 21:24:51 yes... Jan 25 21:25:36 what about max(bq_max, rx_desing) ? Jan 25 21:25:36 the issue is the usual dumb user who doesn't know what a battery is Jan 25 21:25:43 as design capacity? Jan 25 21:25:58 but those will use bme data, anyway Jan 25 21:26:39 Pali: you'd better use bq if calibrated, otherwise design reported by rx51 Jan 25 21:27:10 freemangordon, design reported by rx51 is even worse than not calibrated bq Jan 25 21:27:36 and "battery capacity" as LMD != ILMD ? BSI : LMD Jan 25 21:27:39 or, calculate it in any way you want, just allow user to overwrite priority settings in battery applet, even if by simple text file Jan 25 21:28:03 Estel_: no, it is not, for genuine batteries Jan 25 21:28:05 if bq27k isn't calibrated, don't show the charge max and use the percentage from bq27k Jan 25 21:28:14 (use LMD if LMD is not same as ILMD, if LMD same as ILMD use BSI reported capa) Jan 25 21:28:16 to allow users set bq27x00 as higher priority over rx51 *always*, if desired. Problem solved Jan 25 21:28:30 freemangordon, nope, as said, genuine batteries have it screwed too Jan 25 21:28:33 ShadowJK: what's ILMD? Jan 25 21:28:37 Estel_: if bq not calibrated, values reported are bogus Jan 25 21:28:38 if bq27k is not calibrated kernel driver is not reporting any capacity Jan 25 21:28:45 only voltage and current Jan 25 21:28:57 1320 ones got 1200 in design capacity, 1400 ones use same, but some of them, reportedly, say 1320 Jan 25 21:28:59 this ^^^ too Jan 25 21:29:06 Pali: it's still reporting the percentage, right? Jan 25 21:29:14 no Jan 25 21:29:18 wat Jan 25 21:29:23 -ENODATA Jan 25 21:29:28 hm Jan 25 21:29:28 Estel_: all nokia batteries I have here report its design capacity through rx51 correctly Jan 25 21:29:30 hm, strange, using i2cget raw readings, I have capacity no matter what Jan 25 21:29:36 even if not calibrated Jan 25 21:29:42 ve've verified that on a couple of other devices Jan 25 21:29:50 ShadowJK, how do you deal with it in bq27200.sh? Jan 25 21:29:51 *we Jan 25 21:30:15 Estel_: but it is bogus Jan 25 21:30:26 well, zillions of devices using bq27200.sh over years can confirm, that capacity should be reported even on uncalibrated (but wrong capacity) Jan 25 21:30:53 nothing more bogus than using some hardcoded resistor put inside battery to determine it's capacity and percentage Jan 25 21:31:07 Estel_; i don't. bq27200.sh is specifically reporting raw bq27200 stuff. The only "modified truth" I do is that the chip reports a flag status for charging/discharging, and I apply that to the reported current Jan 25 21:31:08 you could as good screw it and hardcode 1200 as this value into applet Jan 25 21:31:18 Estel_: wrong Jan 25 21:31:27 mi 1360 reports as 1360 Jan 25 21:31:30 *my Jan 25 21:31:37 my 1430 reports as 1430 Jan 25 21:31:44 genuine nokia Jan 25 21:31:52 so wtf is with kernel driver, that it doesn't get same things as i2c can get from bq chip? Jan 25 21:32:13 Estel_: you can still read the "registers" file, it's a text file Jan 25 21:32:14 freemangordon, nice. My 100% genuine 1420 bl-5j from Nokia asha, brand new, from carrier, reports 1200 Jan 25 21:32:15 so what? Jan 25 21:32:19 it's guessworking Jan 25 21:32:30 and it has the raw data Jan 25 21:32:42 mugens use thermoresistor, and design capacity can change every minute during device runtime Jan 25 21:32:45 Estel_: there is no 1420 mAh in ashas ;) Jan 25 21:32:50 it is 1430 Jan 25 21:32:59 so, check once again if it is genuine Jan 25 21:33:00 ok Jan 25 21:33:02 1430 Jan 25 21:33:09 trolls trolling trolls trolling Pali Jan 25 21:33:10 everybody with kp52 please paste your outputs of: $ cat /sys/class/power_supply/rx51-battery/uevent Jan 25 21:33:21 doest it change anything re design capacity being silly value, that shouldn't be used for anything in UI? Jan 25 21:33:35 Pali: it's a bunch of lines Jan 25 21:33:41 Estel_: what I am saying is to ise it as a last resort Jan 25 21:33:47 *use Jan 25 21:33:48 Estel_, freemangordon, kerio ^^^^ Jan 25 21:33:56 Pali: no kp52 here :( Jan 25 21:34:04 ok Jan 25 21:34:17 freemangordon, could agree (although don't like forcing it as last resort, would like to keep bq readings or no readings at all, until calibrated) Jan 25 21:34:33 http://pastebin.mozilla.org/2086151 , and the battery is *not* 1267mAh, it's around 1400 Jan 25 21:34:46 as design capacity is just bullshit, not related to reality at all. Or related, if you got lucky, but not physically Jan 25 21:34:58 kerio: I guess it is that chinese one? Jan 25 21:35:00 yep Jan 25 21:35:19 it's a pretty nice battery, and it costs 10USD Jan 25 21:35:24 (shipped) Jan 25 21:35:35 vi____ was luckier than me i suppose Jan 25 21:35:40 not here :D (shipped) Jan 25 21:35:43 (calibrated 1600mAh) Jan 25 21:35:44 hi Jan 25 21:35:48 vi____: i hate you Jan 25 21:35:51 Milhouse_01: hi Jan 25 21:35:54 Pali, second, I'll reboot device to get kp52 modules loaded etc Jan 25 21:36:01 Estel_; amusingly even before bq27200.sh I didn't use statusbar batterymeter, I had a monstrous script that read data from "hal-device bme" every minute and applied heurestics to make it make more sense and be more useful :) Jan 25 21:36:16 sorry, i just recognized that the maemo server is down Jan 25 21:36:32 * ShadowJK unfortunately lost that with first dead n900 :( Jan 25 21:36:41 ShadowJK: I guess once calibrated bq reports correct values. Jan 25 21:36:48 is there any chance the get a backup of pr1.3 firmware for n900 Jan 25 21:36:48 freemangordon; yes Jan 25 21:36:49 Pali: it would be neat to have a "flags" dir for easy access to flags and a "raw" dir for easy access to the content of the registers Jan 25 21:36:55 :-( Jan 25 21:37:04 Milhouse_01: tablets-dev.nokia.com being down is recent Jan 25 21:37:19 there's plenty of backups, i'm not sure if any of them are public, considering that it's not legal to redistribute the images Jan 25 21:37:51 so, what I am trying to say, is to use the lower reading from rx51, until bq gets calibrated, not those bogus > 200mAh reported by bq when not calibrated Jan 25 21:37:54 kerio, I sent bq27k patch with file "registers" to upstream but was rejected Jan 25 21:38:02 *2000mAh Jan 25 21:38:12 the registers file is in here, i wanted *more* :3 Jan 25 21:38:29 freemangordon: if bq27k isn't calibrated, don't show the full capacity Jan 25 21:38:35 put a question mark Jan 25 21:38:41 kerio: this is the driver Jan 25 21:38:44 oh Jan 25 21:38:45 hmm... i'll never buy anything from Nokia again ... waiting for Jolla Jan 25 21:38:49 not the bq itself afaik Jan 25 21:39:03 Milhouse_01: it's not like you can buy more n900s from nokia Jan 25 21:39:20 freemangordon; specifically, if reported LMD (Last measured discharge) isn't a value exactly equal to that of LMD=ILMD; and/or loop: LMD=LMD-LMD/6; (iirc) Jan 25 21:40:27 ShadowJK: you lost me :). I am not that much involved in bq stuff(like you, Pali and doc) Jan 25 21:41:11 but what i have seen to be reported by an uncalibrated bq is something like 2057 mAh Jan 25 21:41:15 Milhouse_01: we're in the middle of a bigass transition from nokia-owned stuff to community-owned stuff Jan 25 21:41:20 confusion is to be expected Jan 25 21:41:39 I got 20xx max capatity too Jan 25 21:41:52 Pali: well perhaps you should calibrate your bq27k :P Jan 25 21:41:53 which is insane to be shown to an enduser Jan 25 21:42:04 and because BME turning device off before EDV1, it wss never correct Jan 25 21:42:14 :nod: Jan 25 21:42:37 freemangordon: so just don't show it Jan 25 21:42:40 so we should not use uncalibrated max capacity from bq27k Jan 25 21:42:54 and then we should not use % from bq27k Jan 25 21:43:07 (because % is calculated from max capacity) Jan 25 21:43:16 the percentage from bq27k is taken from LMD aiui Jan 25 21:43:42 that's why I think it is better to either show rx51 readings (which will be somehow relevant for new genuine batteries) or as kerio says, show "capacity unknown" Jan 25 21:43:43 hmm ok. thanks i will see Jan 25 21:43:44 percentage in bq27k is current/max*100 Jan 25 21:44:09 until calibrated that is Jan 25 21:44:31 ShadowJK: what's the percentage calculated by bq27k when it's not calibrated but has done a couple of cycles of charge-discharge? Jan 25 21:44:48 bye! CU Jan 25 21:44:53 Milhouse_01: hold on Jan 25 21:45:03 kerio, % is calculated by ^^^^ always Jan 25 21:45:10 merlin1991: do you have the fiasco images for pr1.3 somewhere? Jan 25 21:45:41 freemangordon; so, "last measured discharge" (LMD) is the capacity bq thinks battery has. ILMD (I=initial) is a preprogrammed default value of 2000-something mAh. On each valid full to empty charge, LMD gets adjusted based on how much juice the battery had before reachign empty. There's, however, a safeguard preventing "large" capacity adjustments (because chip was designed to be integrated into battery, and would expect small gradual degradation of capac Jan 25 21:45:47 ity, not big steps).. IIRC that limit is 1/6th of LMD.. so, if LMD=ILMD, or if LMD is a value which can be derived by starting with LMD=ILMD and sbtracting 1/6th of LMD from LMD, it would indicate the proper capacityy hasnt been learned Jan 25 21:46:44 Pali; bq % is not calculated from max capacity. it's calculated from last measured capacity Jan 25 21:47:07 ah, yes I mean that (in kernel there is max and design) Jan 25 21:47:19 max = bq_last and design = bq_max Jan 25 21:47:28 ShadowJK: but it requires a vdq-edv1 cycle, right? Jan 25 21:47:50 Estel_: what's the value reported by rx51 on your mugen? Jan 25 21:47:57 ShadowJK: thanks Jan 25 21:48:14 ok, back, I'm on kp52 now Jan 25 21:48:31 kerio, i don't use mugen at the moment - dual scud Jan 25 21:48:37 it reports 1200, obviously Jan 25 21:48:45 hm Jan 25 21:48:50 I have there another problem: now hald-addon-bme turn off device when EDVF is set. But I got problem with "enter pin code" when battery was between EDV1 and EDVF Jan 25 21:48:51 mugens got thermoresistors there, so design capacity changes with temperature Jan 25 21:48:55 and GSM modem not worked Jan 25 21:48:59 so bq27k's value of 2000 is more accurate than rx51's value of 1200 Jan 25 21:49:03 after I charged battery Jan 25 21:49:07 :D Jan 25 21:49:12 s/before/ Jan 25 21:49:25 Pali, what was this thing to cat Jan 25 21:49:25 Pali: not even after charging a bit? Jan 25 21:49:26 ? Jan 25 21:49:32 Estel_: hmm, why 1200? Jan 25 21:49:39 cat /sys/class/power_supply/rx51-battery/uevent Jan 25 21:49:44 Pali; too low battery Jan 25 21:49:46 I guess you got those in parallel Jan 25 21:49:53 freemangordon: it has the value of a single scud Jan 25 21:49:54 so I will change code to turn off device when EDV1 will be set Jan 25 21:49:58 freemangordon, yea, but resistor is only one Jan 25 21:50:00 what do you think? ^^^ Jan 25 21:50:03 aah, ok Jan 25 21:50:04 I don't use two connectors Jan 25 21:50:07 just two cells Jan 25 21:50:10 ok, got it Jan 25 21:50:11 Pali: in the applet? in hald-addon-bme? Jan 25 21:50:14 i'm not sure Jan 25 21:50:20 hald-addon-bme Jan 25 21:50:35 single scud is 1500 in reality, btw Jan 25 21:50:36 Pali: it would screw up by calibration script Jan 25 21:50:43 Pali; EDV1 (3248 mV) is already pretty marginal for modem. EDVF at 2800 or something is just too low. the modem is getting undervolted and crashing, then getting rebooted. UI presents enter pin code. Jan 25 21:50:49 1400 by design, and 1200 by design reported via resistor :P Jan 25 21:51:13 crashing modem due to undervolting may be not healthy for it Jan 25 21:51:13 Pali: perhaps wait a tiny bit after edv1 is set? Jan 25 21:51:17 just wild guess Jan 25 21:51:20 Estel_: cat /sys/class/power_supply/rx51-battery/uevent Jan 25 21:51:24 kk Jan 25 21:51:25 Estel_: well, curse mugen for not putting the correct resistor then :P Jan 25 21:51:28 yeah, we shouldn't get to the brownout point Jan 25 21:51:45 freemangordon: no, mugen has a thermistor there Jan 25 21:51:48 or scud Jan 25 21:51:49 even more fun Jan 25 21:51:59 Pali, no reason why device couldn't shutdown at edv1 Jan 25 21:52:10 bme killed it at higher voltage, most of the times Jan 25 21:52:18 Estel_: to calibrate bq27k Jan 25 21:52:25 I wonder why the hell they put a thermistor there Jan 25 21:52:26 or, even better, lets shutdown device at sysfs value set by user :) Jan 25 21:52:28 Pali: can you make it wait like 30 seconds? Jan 25 21:52:35 Estel_: hald-addon-bme is userland Jan 25 21:52:47 With japod batt and recent nokia batt, there's seconds of useful life available after 3248mV. With mugen and crap ancient bl-5j, device can last hour or two after 3248 (ignoring modem unreliability) Jan 25 21:52:51 Pali: can;t we put the device offline? Jan 25 21:52:52 freemangordon, cause they had a batch of those lying around? :P Jan 25 21:53:04 Pali: my (and most) calibration scripts work by charging until vdq, then disabling the charging, then polling every 5 or 10 seconds until edv1, and then restarting the charging Jan 25 21:53:14 all of this with the charger attached Jan 25 21:53:15 freemangordon; historically Nokia used thermistor too. Jan 25 21:53:26 freemangordon; back in nimh days :) Jan 25 21:53:50 ShadowJK: I see. but in n900 it has a different purpose Jan 25 21:53:53 do you have a reasonable way to make it wait like a minute before shutting down? Jan 25 21:54:14 Pali Jan 25 21:54:17 POWER_SUPPLY_NAME=rx51-battery Jan 25 21:54:31 POWER_SUPPLY_CHARGE_FULL_DESIGN=1339436 Jan 25 21:54:40 other lines interesting too? Jan 25 21:55:10 Estel_: 1200? Jan 25 21:55:15 hey, hey, wait a second. When I last checked there was sysfs entry for bq45... charger Jan 25 21:55:21 freemangordon, seems it deteriorated Jan 25 21:55:28 resistor changed resistance over years of usage Jan 25 21:55:34 = this strange value Jan 25 21:55:41 yeah, sure Jan 25 21:55:47 ? Jan 25 21:56:01 rx51 driver is out for 2-3 months or something Jan 25 21:56:06 I can check it again after two weeks and you will see it changed slightly Jan 25 21:56:12 no, no Jan 25 21:56:17 it was readable for ages Jan 25 21:56:30 it uses a different formula compared to nokia's binary (whatever the name was) Jan 25 21:56:34 via haldon-bme or something, don't remember Jan 25 21:56:35 ah Jan 25 21:56:46 so, I though about that nokia's value Jan 25 21:56:58 don't :P Jan 25 21:56:58 as for rx51 it's first time I check it now Jan 25 21:57:09 anyway, it's not related to reality, at all Jan 25 21:57:14 it is Jan 25 21:57:14 nor for dual or single scud Jan 25 21:57:24 how come? Jan 25 21:57:31 Pali: what about something even lower, like 3000mV? or would that be too low for the modem, still? Jan 25 21:57:33 well, those "duals" are some kind of exotic Jan 25 21:57:34 if anyone asked about fiasco images, I have one... Jan 25 21:57:38 single scud have 1500 as new Jan 25 21:57:46 FIQ: the guy threw a tantrum and left Jan 25 21:57:51 ah Jan 25 21:58:00 RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin Jan 25 21:58:04 is what I have Jan 25 21:58:05 freemangordon, even without exotic things, scuds are 1500 Jan 25 21:58:07 though not public Jan 25 21:58:10 Estel_: nokia genuine batteries report almost correct values Jan 25 21:58:33 and that value will stay only for 2-3 recharge cycles Jan 25 21:58:34 sure, we can expect non-whitstanding support of genuine batteries, for next years :| Jan 25 21:58:48 until bq gets calibrated Jan 25 21:58:54 I haven't said that your idea is bad Jan 25 21:59:09 it's that I see no reason why not allow user to change priority settings if desired Jan 25 21:59:16 so, let it be as you said by default Jan 25 21:59:26 for sure it is better than reporting > 2000mAh :) Jan 25 21:59:35 kerio, I need logs why it report 110% Jan 25 21:59:41 and let ones like me, or kerio, or dr_frost_dk, or hal.f maemo, change it to never use rx51 values (battery applet) Jan 25 21:59:43 on a cheapu 800mAh chinese Jan 25 21:59:48 without it I cannot fix problem Jan 25 21:59:51 *cheapo Jan 25 22:00:13 Pali: the problem is that the design reported for my battery is 1200mAh Jan 25 22:00:17 well, as ShadowJK said, even laptops use last measured capacityp now design one Jan 25 22:00:20 freemangordon; Nokia battery management is plagued by legacy. I suspect N9 and lumia are only sane devices. N900 is a hybrid :) Jan 25 22:00:20 when it's ~1400 in reality Jan 25 22:00:28 s/now/not/ Jan 25 22:00:29 Estel_ meant: well, as ShadowJK said, even laptops use last measured capacityp not design one Jan 25 22:00:36 when not calibrated Jan 25 22:00:40 kerio, negative and hight value as 100 should not be reported Jan 25 22:00:42 never Jan 25 22:01:16 ShadowJK: sure BME in n900 is crap. But we have the chance to fix that Jan 25 22:01:22 well, my battery is 3000 mAh and reported as 1300, does it count? :P Jan 25 22:01:35 freemangordon; well it's not just sw, it's hw too Jan 25 22:02:02 ok, so don't fix it by enforcing other crap on users, even for few cycles. Use default for dummies, and allow others to overwrite priorities, even by hidden config file or sysfsentrey or whatever Jan 25 22:02:27 hello sixwheeledbeast :) Jan 25 22:02:35 I'm still very curious how my situation is handled by bme Jan 25 22:02:44 as I have two different batteries and charge both externally Jan 25 22:03:03 guys, imagine, you enter a shop and bye a battery. you put it in the device. what capacity you'd expect to be reported? Jan 25 22:03:08 (both are genuine nokia batteries) Jan 25 22:03:21 freemangordon, so i said, let it be as you proposed for dummies Jan 25 22:03:21 Estel_: Hi you will have to excuse me (poor inet connection due to snow) Jan 25 22:03:32 then, allow others to overwrite priority settings for applet Jan 25 22:03:38 instead of hardcoding it Jan 25 22:03:42 freemangordon: who said that it should report a capacity? :) Jan 25 22:03:46 Estel_: ask pali for that :P Jan 25 22:04:00 we need % Jan 25 22:04:14 and percentage is caluclated as current/design Jan 25 22:04:15 kerio: because it is better to know if you've been sold an 800 mAh battery with changed sticker Jan 25 22:04:16 Pali: % comes from bq27k, and is as accurate as you can get, considering that the design capacity is FUBAR Jan 25 22:04:21 My experience is that my charge very rarely show "full", though that can be my external charger's problem Jan 25 22:04:28 though I don't think so Jan 25 22:04:28 I just want to be able to set it to use bq always, and ignore rx51. SET IT, not demanding it being like that by default Jan 25 22:04:29 freemangordon: you can't know that until you do a cycle or two Jan 25 22:04:35 FIQ: update to the very latest kp52 Jan 25 22:04:39 (january 2013) Jan 25 22:04:49 kerio: you can if only the sticker is changed Jan 25 22:04:51 Estel_: +1 Jan 25 22:04:54 kerio: hmmmmmm why? Jan 25 22:05:10 freemangordon: this battery reports 1200, but it's 1400 in reality Jan 25 22:05:24 FIQ: the charge termination sense is set at 100 instead of 150, maybe it's that Jan 25 22:05:28 if we're getting rid of damn bme, lets not do enforcing hardcoded things again Jan 25 22:05:41 kerio: so? did you think it is genuine nokia 1430 mAh? Jan 25 22:05:44 safe default for dummies that doesn't want to see 2048 after chip reset... Jan 25 22:05:59 and configurability, even if by text file or whatever, for others Jan 25 22:06:02 kerio: I guess no Jan 25 22:06:05 kerio: charge termination.. as in the time for when the charging is stopped? Jan 25 22:06:14 i.e. when it's considered "full" Jan 25 22:06:14 FIQ: yeah Jan 25 22:06:15 freemangordon, we're using non-genuine code Jan 25 22:06:20 uhh but how is that relevant Jan 25 22:06:21 instead of genuine bme :P Jan 25 22:06:27 I use an external charger Jan 25 22:06:30 so who said we need to use genuine hw battery? Jan 25 22:06:33 FIQ: i have no idea, it might be a hald-addon-bme discrepancy between stock and replacement Jan 25 22:06:34 My experience is that my charge very rarely show "full", though that can be my external charger's problem Jan 25 22:06:47 "external charger" Jan 25 22:06:56 Estel_: I am not against configuratio ;) Jan 25 22:07:04 now hald-addon-bme doing this: when battery is not calibrated it calculate bars (0-8) from battery voltage from hardcoded values Jan 25 22:07:04 anyway, I guess I can update to kp52 anyway Jan 25 22:07:06 good to hear ;) Jan 25 22:07:09 There's just one problem... Jan 25 22:07:11 FIQ: mind you, "full" is a lie, except for like the very minute the charge ends Jan 25 22:07:16 extras-devel is done Jan 25 22:07:18 once the charge ends, the battery starts to discharge Jan 25 22:07:20 and I think this can be ok Jan 25 22:07:24 *down Jan 25 22:07:31 FIQ: hold on, is your issue with the replacement bme? Jan 25 22:07:32 your idea for default behavior - rx51 when not calibrated, then bq27x00 when calibrated - is sane Jan 25 22:07:36 kerio: yeah Jan 25 22:07:40 k Jan 25 22:07:42 Pali: no other option aiui Jan 25 22:07:42 kerio: Uh I think I use the stock one Jan 25 22:07:44 just let us overwrite it with whatever priorities we feel fancy ;) Jan 25 22:07:54 "yeah" was @ once the charge ends, the battery starts to discharge Jan 25 22:08:01 FIQ: then "full" is even less of a reality for you Jan 25 22:08:02 Pali, it looks good Jan 25 22:08:06 Estel_: toldya, ask Pali for that :) Jan 25 22:08:07 I see Jan 25 22:08:09 it takes power to boot the n900 :) Jan 25 22:08:17 right Jan 25 22:08:18 yes, so "current" mAh is calulated from "bars" Jan 25 22:08:24 in non caibrated state Jan 25 22:08:25 and bme doesn't really know wtf to do with a newly-inserted battery Jan 25 22:08:39 kerio: neither is bq :) Jan 25 22:08:43 Oh well, just wondering what it tries to report Jan 25 22:08:43 aiui Jan 25 22:08:49 Pali, good idea, but why make yourself trouble by coding that, instead of just exporting priorities to be configurable by user? Jan 25 22:09:06 as my batteries, while theoretically being the same, have different life lengths and probably different charges in practice Jan 25 22:09:25 Pali, even by single hidden file, we won't tell anyone :P Jan 25 22:09:33 Estel_: wh should have some sane values reporteb to not-that-smart users :) Jan 25 22:09:39 *we Jan 25 22:09:54 freemangordon, so we have "sane" rx51 now reported to less smart users Jan 25 22:10:05 and I happily swap them every charge, they essentially never stay in the N900 for more than one charge as I never charge on the N900 Jan 25 22:10:16 Pali was talking about bars and charge Jan 25 22:10:23 smart ones can do config change. Or code it, if you want, no problem with it - just don't sacrifice configurability Jan 25 22:10:31 in hald-addon-bme is this code: if (capacity < 0) capacity = 0; else if (capacity > 100) capacity = 100; Jan 25 22:10:39 so 110 % is impossible ^^^ Jan 25 22:10:39 bars are nice, as long as we can disable them :P Jan 25 22:11:14 Estel_: well, i propose that for some future version Jan 25 22:11:15 having an accurate % showing would probably be impossible for me, but it would be nice anyway :p Jan 25 22:11:28 whatever you will do will be good, as long as one can set up - even by config file - to use bq27x00 and screw rest Jan 25 22:11:31 lets have everything in place (as logic) i guess it can be tweaked later on Jan 25 22:11:38 freemangordon, why not Jan 25 22:11:46 kerio ^^^^^ Jan 25 22:11:53 i agree Jan 25 22:12:05 :) Jan 25 22:12:12 although i still think that the default behaviour when facing a calibrated bq27200 should be to blindly report what it reports Jan 25 22:12:13 now tell me you all missed me :P Jan 25 22:12:28 kerio, enough :P Jan 25 22:12:53 even if I agree :P Jan 25 22:12:55 because a calibrated bq27200 IS THE LAW Jan 25 22:13:04 like judge dredd Jan 25 22:14:22 kerio: I guess Pali is doing that not only for you and Estel_ :P. And if I got it right, CSSU is the long-term goal. Thus we MUST think for guys and gals who have NFC what bq or rx51 is Jan 25 22:14:38 until you calibrated it with low usage, and then, do constant 1A power draw - battery will die, while reporting 600 mAh still left : Jan 25 22:15:02 Estel_: i usually calibrate with ~200mA of constant draw Jan 25 22:15:03 kerio: BTW did you manage to go over 470 mA? Jan 25 22:15:20 freemangordon: camera, torch, gps, wifi, cpu Jan 25 22:15:25 i got to 950mA Jan 25 22:15:25 :D Jan 25 22:15:30 nice :D Jan 25 22:15:35 for a bit Jan 25 22:15:51 FIQ; bme has voltage curve thresholds. Primarily it tracks by counting current in/out, within specific voltage profile of a specific profiled battery. If battery is fresher or older than the profile (fixed profile, not adjustable), the reported charge level either freezes or makes a big jump. In border cases you get funny behaviour like hundred percent forever until empty :) Jan 25 22:16:06 kerio: ..with torch application? Jan 25 22:16:13 freemangordon, sure. That's why I said configurability as an option, not enforcing anyone Jan 25 22:16:24 ShadowJK: I see Jan 25 22:16:32 xes, torch is quite power-savyy Jan 25 22:16:57 xes: with cssu's nicocam Jan 25 22:17:01 the light draws much power? Jan 25 22:17:01 push t Jan 25 22:17:02 one need recording video in hd (camera + cpu + dsp usage), gps, bluetooth, wifi without power saving, screen on at max brightness Jan 25 22:17:04 etc Jan 25 22:17:06 + torch Jan 25 22:17:12 to get above 1A Jan 25 22:17:26 light is around 100mA IIRC Jan 25 22:17:39 ooh, camera focus is about 100mA too, iirc Jan 25 22:17:43 and download a file over 3g Jan 25 22:17:46 which makes N900 a 30h flashlight with dual-scud Jan 25 22:17:54 with the vibrator on Jan 25 22:17:55 heh, i didn't really want to stress the system *too* much Jan 25 22:18:05 vibrator and camera focus engine all firing up at the same time Jan 25 22:18:06 SpeedEvil, or send zeroes or urandom through 3G :P Jan 25 22:18:11 kerio: why not, don;t you have a second device? :P Jan 25 22:18:23 freemangordon: i should really do something with that one Jan 25 22:18:28 lets write app "battery killer" Jan 25 22:18:34 that enables everything at once Jan 25 22:18:39 and keeps it that way Jan 25 22:18:48 there is way to measure the usb host mode current? Jan 25 22:18:55 sure Jan 25 22:18:58 xes: 200mA Jan 25 22:18:59 flat Jan 25 22:19:03 ...kinda Jan 25 22:19:03 check what bq27x00 reports Jan 25 22:19:04 Estel_: I think it is way easier to use a hammer to kill the battery :D Jan 25 22:19:18 freemangordon, as a discharge tool Jan 25 22:19:24 + activate it via ssh Jan 25 22:19:28 to scarry people Jan 25 22:19:28 xes: no, you can't measure VBUS-BOOST Jan 25 22:19:45 DocScrutinizer05, increased usage is shown as difference in current-now Jan 25 22:19:48 you can detect overcurrent cutout condition though, which will happen at 200mA Jan 25 22:19:54 mA draw of devixe changes Jan 25 22:20:13 with known values without device attached, one can measure how much device attached uses Jan 25 22:20:28 sure, but that will usually dissolve in noise of normal powerconsumption of device Jan 25 22:20:30 i'm playing with an rtl-sdr receiver dongle but sometimes hangs ..i was supposing it was a problem with the usb current.. Jan 25 22:20:38 s/devixe/device Jan 25 22:21:10 xes: use a powerd hub Jan 25 22:21:13 xes: put a powered usb hub between the receiver and the n900 Jan 25 22:21:18 or y-cable Jan 25 22:21:19 :-P Jan 25 22:21:22 or a y-cable, yes Jan 25 22:21:28 goddammit guys stop typing so fast Jan 25 22:21:33 my y-cable got name, even Jan 25 22:21:38 "Hammer of Thor" Jan 25 22:21:47 need to see it to understand Jan 25 22:22:03 * kerio sometimes uses two y-cables to draw 1A from a computer Jan 25 22:22:19 my Y-cable got a anme as well: Joerg's Y-cable (invented in 2008 iirc, for Openmoko) Jan 25 22:22:20 ...and you end up drawing 200 mA Jan 25 22:22:21 i'll try..but the fun would be a complete portable sdr receiver ;) Jan 25 22:22:27 due to lack of negotiation Jan 25 22:22:56 whatever sdr is Jan 25 22:22:56 Estel_: nah, my laptop and/or os x aren't picky Jan 25 22:23:05 xes: battery pack? Jan 25 22:23:14 doesn't matter, usb specification won't let it Jan 25 22:23:14 there's very little you can do, if 200mA aren't enough Jan 25 22:23:24 Estel_: apple doesn't care about your puny specifications Jan 25 22:23:26 battery pack is cheap Jan 25 22:23:34 or something Jan 25 22:23:36 SDR? http://superkuh.com/rtlsdr.html Jan 25 22:23:37 and 5V stabilizer is free from maxim Jan 25 22:24:57 xes: neat! Jan 25 22:25:17 xes, looks neat, but what does it do? Jan 25 22:25:22 what samples over what? Jan 25 22:25:33 radio amateur? Jan 25 22:25:38 Estel_, kerio, freemangordon: create wiki package and possible solutions what to show in battery widget and how to calculate it Jan 25 22:25:51 also what should hald-addon-bme report Jan 25 22:25:55 wiki works @ 7b/s for me Jan 25 22:26:03 and what should be "0" as unknown value Jan 25 22:26:04 so expect it in dawn of 2015 Jan 25 22:26:12 Pali: would you be ok with not displaying a capacity in some situations? Jan 25 22:26:32 Pali: would you mind to put what's curren in cssu-devel? Jan 25 22:26:37 *current Jan 25 22:26:44 kerio, percentage must be always reported Jan 25 22:26:55 i meant capacity as in max capacity Jan 25 22:26:55 unknown design capacity is "0" Jan 25 22:26:57 the number after / Jan 25 22:27:05 * DocScrutinizer05 announcing service downtime of... DocScrutinizer05 Jan 25 22:27:05 yes, it can be 0 Jan 25 22:27:08 Estel: yes.... imagine you can receive any kind of signal....and decode with a software block of code.. Jan 25 22:27:11 * kerio waves Jan 25 22:27:14 take care doc Jan 25 22:27:18 and sleep! Jan 25 22:27:23 Pali, for user experience sake, could you set Design Capacity to 1300? Jan 25 22:27:26 live! Jan 25 22:27:28 xes, what, cryptography? Jan 25 22:27:30 (if unset) Jan 25 22:27:30 sleep is overrated Jan 25 22:27:37 Hurrian: why? Jan 25 22:27:42 sleep is overrated until you're tired ;) Jan 25 22:27:46 that is what BME does Jan 25 22:27:51 freemangordon, ah Jan 25 22:27:56 and it drives me nuts Jan 25 22:27:58 :D Jan 25 22:27:59 xes, cryptography over analog (or digital?) radio signal? Jan 25 22:28:08 for now I wil not touch desing/max capacity code in status applet and hald-addon-bme Jan 25 22:28:13 Estel: the limit is fantasy and... cpu power Jan 25 22:28:15 Hurrian: well, 1260, but it is the same Jan 25 22:28:25 kerio: I had lots of it since yesterday, none since monday before that Jan 25 22:28:28 create wiki page with solutions and we can discuss about variants Jan 25 22:28:38 xes, whoa, interesting, so it's kind of long-range wifi, just low on speed? Jan 25 22:28:49 kerio: but my mind need a defragmentation Jan 25 22:29:02 so: o/ Jan 25 22:29:08 cpu power of computer, or of dongle chip? Jan 25 22:29:14 Pali: push the current version in cssu-devel please, so we can work on changes/improvements based on some real-life scenarios Jan 25 22:29:20 I was simply thinking, if replacement BME plus open battery module gets pushed into mainline CSSU, there'll be an entire storm of people bitching about their battery always being at 0% Jan 25 22:29:32 freemangordon, last version is in cssu-devel Jan 25 22:29:43 of status applet Jan 25 22:29:44 meh, for the friggin bot: Jan 25 22:29:45 Hurrian: nah, we want to avoid that Jan 25 22:29:46 :) Jan 25 22:29:49 kerio: but my mind need a defragmentation, so o/ Jan 25 22:30:04 ~seen DocScrutinizer05 Jan 25 22:30:08 it should be version 1.0-2 Jan 25 22:30:08 Pali: aah, the one I deinstalled because of unusable bars with BME? :) Jan 25 22:30:10 docscrutinizer05 is currently on #maemo #n9 #harmattan #meego #openmoko #maemo-ssu #infobot #openmoko-cdevel. Has said a total of 49 messages. Is idling for 20s, last said: 'kerio: but my mind need a defragmentation, so o/'. Jan 25 22:30:42 Estel: with that dongles you can receive from about 60MHz to 2000MHz... and decode any kind of modulation or signal Jan 25 22:30:50 bye DocScrutinizer05! Jan 25 22:31:23 xes, whoa Jan 25 22:31:36 need to read more about it, looks like my kind of heaven for modder Jan 25 22:31:40 * freemangordon waves Jan 25 22:31:45 xes: how can you send stuff, though? Jan 25 22:31:51 ~60 mhz should be quite long-range capable Jan 25 22:32:01 kerio, those dongles send it Jan 25 22:32:07 instead of receiving Jan 25 22:32:07 oh Jan 25 22:32:10 ...oh Jan 25 22:32:12 when properly treated Jan 25 22:32:14 OH! Jan 25 22:32:31 with simple mod (very easy) and kernel modules and userland bits, approriate Jan 25 22:32:42 using this on the go with N900 Jan 25 22:32:49 = more than mesh network Jan 25 22:32:54 Estel_: maybe you can Jan 25 22:33:02 with your bigass battery Jan 25 22:33:07 no kernel modules... only libs reading directly from usb Jan 25 22:33:12 just make yourself liIon belt Jan 25 22:33:19 xes, lol Jan 25 22:33:23 even better Jan 25 22:33:36 Estel_: played minecraft ftb lately? :D Jan 25 22:33:43 until i'm receiving fm radio...and fmtx :) Jan 25 22:33:47 kerio, buy batteries best in price/capacity ration, and prepare bracelet/belt Jan 25 22:33:55 20 000mAh in your belt :P Jan 25 22:34:23 kerio, I ot only vague idea of what minecraft is Jan 25 22:34:41 a game where you go around and build things Jan 25 22:34:49 there's a popular modpack that adds a bunch of tecnical things Jan 25 22:34:52 xes, receiving and transmitting fm via those dongles is fun, but sending digital radio signal is more fun Jan 25 22:35:09 including a bigass battery pack that you can wear instead of your chestplate, to automatically charge the electrical tools you use Jan 25 22:35:13 kerio, make it work on N900, the open source version :P Jan 25 22:35:20 in multiplayer Jan 25 22:35:24 * SpeedEvil has a 528000mAh 'USB battery' Jan 25 22:35:28 i know some of the minetest dudes Jan 25 22:35:30 we have too few online multiplayer games for N900 Jan 25 22:35:33 (minecraft clone) Jan 25 22:35:34 it is not very portable. Jan 25 22:35:47 SpeedEvil, @ what voltage? Jan 25 22:35:53 5v Jan 25 22:36:03 Estel_: anyway, scuds are still 20€/piece, or something, right? Jan 25 22:36:10 528A? and it weight ten kilos? Jan 25 22:36:13 it's really 2*12v*110ah, with a SMPS Jan 25 22:36:21 Estel_: no, not 10kg Jan 25 22:36:23 kerio, yes, but buying new, I recommend polarcell Jan 25 22:36:28 right Jan 25 22:36:31 some claims new ones are 1700 mAh Jan 25 22:36:41 but there's a 10€ battery on aliexpress that's still decent :D Jan 25 22:36:51 vi____ got a 1600mAh one Jan 25 22:37:02 kerio, price/quality battery for belt should cost around 3 euro Jan 25 22:37:07 if bl-5j Jan 25 22:37:13 but for belt you can use other types Jan 25 22:37:18 with better density Jan 25 22:37:25 SpeedEvil, seriously, how much it weight? Jan 25 22:37:39 and 528A is after taking into account conversion losses? Jan 25 22:37:41 Estel_: i'm still waiting for the case redesign for the two 18650s, btw Jan 25 22:38:07 Estel_: knock off 10*ish Jan 25 22:38:10 kerio, wait hapilly, it's proving so irritating, that I'm thinking about dropping it in favor of 3 flat batteries Jan 25 22:38:12 10% Jan 25 22:38:28 Estel_: maybe 40kg Jan 25 22:38:35 SpeedEvil, I see. How much it weight, approxi...? Jan 25 22:38:40 lol Jan 25 22:38:56 I though "no, no 10kg" was about that it's less heavy :P Jan 25 22:39:00 it's got a raspberry pi plugged into it Jan 25 22:39:14 and a 750w ups Jan 25 22:39:22 your pi is going to get quite overweight fedding into it Jan 25 22:39:39 kerio, btw Jan 25 22:39:49 do you have any random 18650of whatever state Jan 25 22:39:54 living or not Jan 25 22:40:02 to send me for some tests? Jan 25 22:40:11 nope Jan 25 22:40:22 i'm not a hardware guy at all Jan 25 22:40:24 damn, will need to scavenge some Jan 25 22:40:33 from old battery or whatever Jan 25 22:40:43 thickness it's not problem Jan 25 22:40:48 they're just little too long Jan 25 22:41:12 hard to put them there, considering secondary board with camera, even in V configuration Jan 25 22:41:29 Estel_: what about shorter batteries? Jan 25 22:41:29 well, will give it some more love Jan 25 22:41:52 shorted would do it, but 14... ones doesn't have benefits of 18 Jan 25 22:42:02 more expensive, less popular etc Jan 25 22:42:13 so they stop being better than flat ones, at all Jan 25 22:42:34 choosing between two 14... and 3 flatties, I take 3 flatties Jan 25 22:42:46 althoug 18650 x 2 own even 3 flatties Jan 25 22:42:57 Estel_: what can you do with the space of the stock cover? Jan 25 22:43:10 say, something that fits inside an otterbox Jan 25 22:43:23 stock covera? nothing, if it comes to battery Jan 25 22:43:30 :( Jan 25 22:43:34 jst better kickstand Jan 25 22:43:36 is it *that* tightly packed? Jan 25 22:43:39 etc Jan 25 22:44:04 well, look at your n900 with stock cover, where you want to put another battery Jan 25 22:44:07 Estel_: http://www.g0hww.net/2012/06/rtl-sdr-port-of-gr-air-modes-feeding.html Jan 25 22:44:22 if you mean body replacement, it will have all goddies in space of stock cover... Jan 25 22:44:27 i've considered buying higher capacity batteries, but now that I have an external charger with not so optimal layout, there's no point Jan 25 22:44:27 except battery Jan 25 22:44:41 xes, thanks Jan 25 22:45:07 ;) feel the fantasy growing Jan 25 22:46:23 hole shit, 137 miles Jan 25 22:46:41 holy* Jan 25 22:47:08 I just hope that enough talented coders work on userland coding/decoding bits for it Jan 25 22:47:54 I wonder, btw, how high thoroughtput (bytes per second) for wireless communication would be achievable through it Jan 25 22:48:15 even if it would work for 10 miles reliably, it would be nice revolution for mesh networks Jan 25 22:48:34 it is only a receiver.. Jan 25 22:48:46 no transmission Jan 25 22:48:49 and "we" would be ready to recreate free internet, when "they" take control over it ;) Jan 25 22:48:51 I know Jan 25 22:48:53 but Jan 25 22:49:11 transmission is also possible, or not? that is how I understood it from first link Jan 25 22:49:25 "sending 8bit samples at frequencies..." etc Jan 25 22:49:40 not with a 6 euro device :) Jan 25 22:49:48 so powerfull transmitter on usb-power, no way Jan 25 22:50:14 still, receiving capabilities are quite amazing Jan 25 22:51:03 in a few days i'll post all the packages compiled fot the n900 Jan 25 22:51:11 *for Jan 25 22:51:16 whoa, nice Jan 25 22:51:41 just ping me with link if possible (or PM on TMO, if it will still work and I won't get banned in my sleep) Jan 25 22:52:11 next step - receiving signal from ISS ;) Jan 25 22:53:24 someone has already received the iss with this... Jan 25 22:53:54 Ugh, i've got massive backlog here. I'll reply in order, and apologies for redundant replies... Jan 25 22:54:33 FIQ: Boot-time bme current charge level (reporting.current) is pure guess. It's +-20% in best case. Jan 25 22:56:05 Pali, not calibrated, battery bars from voltage, sounds like one half of bme's current algo (which is half current based and half voltage based :)) Jan 25 22:56:19 (good approach overall tho for uncalibrated sensors) Jan 25 22:58:49 FIQ, in theory, accurate metering for your batteries (and constant swapping) would be possible, but it would be alot of work, and prone to error :) Jan 25 22:59:01 (tl:dr; not worth the effort) Jan 25 23:02:45 ok Jan 25 23:04:34 On diablo I do this: Measure instantaneous current every 1s, integrate that. If accumulated value < 0, set value to 0. If voltage < 3400, set value to 0. If value > (user determined maximum capacity), set value to maximum user determined capacity. Jan 25 23:04:48 It tends to drift upwards :( Jan 25 23:05:02 Which is why I have max capa thing Jan 25 23:05:20 5 seconds Jan 25 23:05:27 Diablo Jan 25 23:05:31 the ADC polls every 5.12s IIRC Jan 25 23:05:33 oh Jan 25 23:05:33 does not run on N900 Jan 25 23:05:34 nvm Jan 25 23:05:38 sortty Jan 25 23:05:48 xes, just add strong, directional transmitter, and build radar :) Jan 25 23:06:10 thing with planes is half of it, already Jan 25 23:06:17 based on receiving Jan 25 23:06:40 On N800 max capa is 800 (originally 1200), N810 1500 (should be 1300 or so, bought new batt last year) Jan 25 23:07:21 I don't have have "full charge detection" in my script on Diablo... something that bq runs in hw Jan 25 23:08:28 Ran my diablo script (with 5s period instead of 1s) on fremantle too (with mods), and "full charge" could vary by +-100mAh depending on system load and stuff Jan 25 23:23:59 ~Pali Jan 25 23:24:00 pali is, like, http://atrey.karlin.mff.cuni.cz/~pali/ Jan 26 00:36:16 Can i use Maemo 5 SDK on x64 linux? Jan 26 00:37:04 the maemo wiki is down but the nokia developer page says a 32 bit ubnutu would work> Jan 26 00:37:09 ? Jan 26 00:38:38 I used the VM image on linux Jan 26 00:40:51 ShadowJK: ya i dont think scratchbox would work, i forgot about the vm thanks Jan 26 00:42:09 All the infra is in a state of flux right now, so I dunno what's up and what's down or whether you'll be able to download the vm or not :/ Jan 26 00:44:45 ShadowJK: how about just getting Qt Creator ? Jan 26 00:46:05 heh Jan 26 00:46:12 If it works for you, why not Jan 26 00:55:32 get qtcreator from nokia Jan 26 00:55:45 Nokia Qt SDK its called I believe Jan 26 00:56:16 http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html Jan 26 01:01:49 bef0rd: thanks downloading now **** ENDING LOGGING AT Sat Jan 26 02:59:59 2013