**** BEGIN LOGGING AT Fri Feb 15 02:59:58 2013 Feb 15 05:53:45 Hurrian, how do you revert back to stock camera Feb 15 05:53:52 app Feb 15 07:04:10 Hurrian, check you log you give the answer before Feb 15 07:31:03 ~karma chameleon Feb 15 07:31:03 chameleon has karma of 1 Feb 15 07:31:17 pff, no boy george reference **** ENDING LOGGING AT Fri Feb 15 08:38:45 2013 **** BEGIN LOGGING AT Fri Feb 15 08:40:19 2013 Feb 15 08:50:53 kerio, merlin1991, DocScrutinizer05: just realized that back when talking about eudev I ought to tell you the current channel for it is #gentoo-udev Feb 15 08:51:27 so you can go there and ask the devs directly Feb 15 08:55:21 * ccxCZ ponders about changing the led in open state to display paging/card io/wlan io Feb 15 10:54:45 11:54:14 up 983 days, 21:08, 1 user, load average: 1.04, 1.07, 1.07 Feb 15 10:55:13 :) Feb 15 10:56:25 and seeing that Feb 15 10:56:31 the sysop next to me just went "reboot". Feb 15 10:56:53 teotwaki: that's a lot of unpatched bugs Feb 15 10:57:12 jacekowski: yeah, it's also completely off the grid, so no real issues there. Feb 15 10:57:28 and I think they use the non-reboot kernel replacement. Feb 15 10:57:35 that's somewhere around 2.6.20 kernel probably Feb 15 10:57:46 you can't replace kernel without reboots Feb 15 10:57:52 ksplices can only patch very limited things Feb 15 10:58:23 2.6.18 :) Feb 15 10:58:46 jacekowski: to be honest, if someone gets into the network, they don't need kernel exploits to root the machines... Feb 15 11:17:23 teotwaki: and that's also bad Feb 15 11:17:33 jacekowski: technically you can replace the kernel without rebooting Feb 15 11:17:40 /dev/kmem is writable by root Feb 15 11:17:52 you have to be very good, though :P Feb 15 11:19:32 kexec might not technically count as a "real" reboot either. (Not that it probably existed 983 days ago.) Feb 15 11:19:47 fizzie: ksplice doesn't use kexec, i think Feb 15 11:19:56 they just backport patches as modules, or some weird shit like that Feb 15 11:20:03 and only security patches Feb 15 11:20:55 Sure, but it didn't seem to be entirely clear what "the non-reboot kernel replacement" was. Feb 15 11:22:22 and yeah, kexec is definetely cheating Feb 15 11:23:30 suspend to disk is cheating harder Feb 15 11:24:58 kerio: never said it was good :) Feb 15 11:25:13 SpeedEvil: wait, suspend to disk and then boot with a different kernel? Feb 15 11:25:22 ...would that even work? Feb 15 11:26:04 kerio: but frankly, there's very little chance anyone could get through. There's an ssh that only listens on an admin-only hard wire, which needs to be connected manually, all other traffic is pure application traffic. Feb 15 11:26:34 teotwaki: have you checked all the CVEs that apply to the current kernel? Feb 15 11:26:49 kerio: if there's no way to reach it, does it matter? Feb 15 11:27:17 maybe there's a remote execution/priviledge escalation bug that's exploitable via ICMP packets Feb 15 11:27:23 or ARP requests Feb 15 11:27:42 Erhm, how should I put this. Feb 15 11:27:58 kerio: there's nothing else on that network. Feb 15 11:28:05 then what use is it? :o Feb 15 11:28:11 oh, no Feb 15 11:28:24 same kernel Feb 15 11:28:47 SpeedEvil: what happens if you use a different kernel? Feb 15 11:28:54 shit breaks horrendously? Feb 15 11:29:11 panic Feb 15 11:29:21 actually, isn't the kernel loaded in ram anyway? Feb 15 11:29:24 kerio: we run a couple hundred servers, please don't assume you know everything there is to know. Feb 15 11:30:05 wouldn't the original kernel get restored? Feb 15 11:30:14 kerio: our use cases may differ vastly from what "classical" production does. Feb 15 11:31:53 hm, according to hitup.org there's a dude who has 11 years of uptime on a mac Feb 15 11:32:41 as far as i know it's impossible Feb 15 11:33:19 jacekowski: perhaps he's running os x beta? Feb 15 11:33:33 even 10.0 would work, it's been released in 2001 Feb 15 11:33:35 iirc, there is something about how the uptime is stored Feb 15 11:33:39 Impossible? Feb 15 11:33:49 and clock will reset after 420 days or something Feb 15 11:34:08 Max Uptime:17 Years 6 Days 21 Hours 47 Minutes Feb 15 11:34:14 but it's a cluster, i don't know if it counts Feb 15 11:34:17 http://www.uptimes-project.org/hosts/view/150 Feb 15 11:34:46 uuuuu Feb 15 11:34:52 95.32 idle Feb 15 11:34:55 Total Uptime:86 Years 63 Days 9 Hours 47 Minutes Feb 15 11:34:59 sounds fake for a cluster Feb 15 11:35:01 wait, what? Feb 15 11:35:39 uptime * noofprocessors Feb 15 11:35:56 which is a pretty stupid metric Feb 15 11:36:14 http://www.uptimes-project.org/hosts/view/27 ok, this website is bullshit Feb 15 11:36:51 not if he has 4x 8 core xeon Feb 15 11:36:56 with HT Feb 15 11:37:03 that would be 64 visible cores Feb 15 11:37:16 hm, 4 years Feb 15 11:37:57 but yeah, whole uptime thing is easy to fake Feb 15 11:40:20 jacekowski: more importantly, where's the nuclear reactor to power the xeons? Feb 15 11:40:48 dont forget the cooling towers! :p Feb 15 11:41:04 Cool Towers? I use the moon as my heatsink, bitches. Feb 15 11:41:11 :P Feb 15 11:41:25 space is actually quite a crappy heatsink Feb 15 11:41:40 You say space, I say the moon. Feb 15 11:41:43 It's filled with cheese. Feb 15 11:41:46 Awesome heatsink. Feb 15 11:41:50 but then the cheese would melt! Feb 15 11:42:02 Duh Feb 15 11:42:04 Of course not. Feb 15 11:42:09 If cheese melted Feb 15 11:42:15 The sun would've taken care of that years ago. Feb 15 11:42:22 right, how stupid of me Feb 15 11:42:31 And we'd just have a ball of fondue floating around planet Earth. Feb 15 11:42:37 Hence, cheese doesn't melt. Feb 15 11:43:27 what if we *do* have a ball of fondue Feb 15 11:43:35 If we did Feb 15 11:43:40 and the moon landings were staged because you can't walk on fondue Feb 15 11:43:44 Then the mirrors on its surface wouldn't reflect properly. Feb 15 11:44:02 you put the mirrors *over* the fondue Feb 15 11:44:08 it helps to glue them in place Feb 15 11:44:11 yeah, but it'd drift away Feb 15 11:44:15 it's fondue dude Feb 15 11:44:21 the mirrors would sink Feb 15 11:44:39 transparent cheese Feb 15 11:45:29 anywayu Feb 15 11:45:40 983 days was nice to see :) Feb 15 11:45:47 "was"? D: Feb 15 11:45:47 Probably our record Feb 15 11:45:48 you monster Feb 15 11:46:01 and seeing that Feb 15 11:46:01 the sysop next to me just went "reboot". Feb 15 11:46:12 oh, he actually did it ._. Feb 15 11:46:24 we migrated the services from it last night Feb 15 11:46:45 so the machine will now be reinstalled/repurposed for backup duty. Feb 15 11:48:05 you seen iphh.net server moving video? Feb 15 11:48:12 * kerio did Feb 15 12:51:38 DocScrutinizer05: link please Feb 15 12:51:58 ask kerio, I lost it Feb 15 12:52:13 ask the chanlog Feb 15 12:52:14 just busy with mashiara, sorry Feb 15 12:52:44 there you go: http://www.youtube.com/watch?v=vQ5MA685ApE Feb 15 12:53:05 teotwaki: haha, i didn't realize it, the server had a 7-years uptime Feb 15 13:21:55 Pali: :-D good mail Feb 15 13:22:15 pastebin pls Feb 15 13:22:20 Pali: Niels is working on autobuilder to fix it, since err... a week Feb 15 13:22:34 DocScrutinizer05, sorry but from my point of view this seems like maemo is turned off Feb 15 13:23:00 maemo developers cannot do anything Feb 15 13:23:14 maemo testers also Feb 15 13:23:43 Pali: we (council, tech staff) are not happy with this either. Just there isn't that much we can (competence, access) or are allowed to (HiFo approval, access) do Feb 15 13:24:26 I (as cummunity developer) did not received any message Feb 15 13:24:28 Pali: I constantly pushed behind the scenes. A week ago Eero told us that X-Fade is now working on it to fix it Feb 15 13:25:26 DocScrutinizer05, at least somebody from board/council/... should write message to maemo developer mailinglist whats happening Feb 15 13:26:08 to give credit where credit is due, it probably been last week's meeting between Nokia, Nemein and board that finally made things move Feb 15 13:26:16 because silence for community developers means it is going killed Feb 15 13:26:54 Pali: please join tonight's maemo council meeting and bring it up Feb 15 13:27:26 DocScrutinizer05, time & channel Feb 15 13:27:51 Pali: #maemo-meeting every friday, 18:00 UTC Feb 15 13:27:52 my plate is more than filled with critical migration management, so maybe one of the other council guys can pick it up and send a mail to ML Feb 15 13:28:07 kerio, ok Feb 15 13:29:45 technical sidenote: it seems that root culprit is account/auth management located on garage Feb 15 13:30:31 http://roundup.fourecks.de/maemo/issue3 Feb 15 13:32:05 it is really good to know that things are moving in the right direction ! :) Feb 15 13:32:13 thanks to all involved BTW ! :) Feb 15 13:33:10 I'm using a temporary repository in the meantime, but considering that most N900 users probably don't read TMO or are not as advanced as to add a new repository Feb 15 13:33:28 most probably think I didn't update modRana since November :) Feb 15 13:33:46 so I'm relly looking forward to a working autobuilder :) Feb 15 13:44:02 Pali: is it possible to add "keys" or whatever they're called to a hal device entry? Feb 15 13:44:44 kerio, I'm sure that it is possible to update values (some only as root) Feb 15 13:44:44 better question: is it possible to add keys to a hal device entry dynamically? Feb 15 13:44:55 or do they have to be specified somewhere? Feb 15 13:45:03 so I think it should be possible to add also Feb 15 13:45:51 kerio, call: libhal_device_set_property_string Feb 15 13:45:59 (or libhal_device_set_property_int) Feb 15 13:46:10 or other libhal_device_set_property_* function Feb 15 13:46:34 i was thinking that hald-addon-bme should be the one providing time-to-empty and time-to-empty-if-idle Feb 15 13:46:46 and percentage Feb 15 13:46:51 so the battery applet becomes much, much simpler Feb 15 13:47:25 especially because hald-addon-bme can decide to provide those values straight from bq27k, when appropriate Feb 15 13:55:37 yes, that's the way to go Feb 15 14:08:41 it's quite disappointing that HiFo (Robert) _can_ answer mail from Nemein within 2h, while mail from council - however carefully and politely worded and of whatever high urgency and relevance - gets ignored same time Feb 15 14:12:40 I have a *very* hard time trying to apply the good old principle of "never attribute to malice..." here Feb 15 14:31:58 kerio, DocScrutinizer05: n900 timer resolution seems to really be 50ms, verified using gettimeofday. so I assume kernel HZ is 200 Feb 15 14:32:27 daaamn Feb 15 14:32:31 that sucks :s Feb 15 14:32:49 but I found another way to get a high res tick. I'm using an audio recording cannel with 4000 hz sampling rate and count samples ;) Feb 15 14:34:01 ^^ but that only works flawlessly as I need the time interval between events (spikes) within the audiostream as well Feb 15 14:34:19 ohohoh, better wipe PA out of your picture then. direct alsa card may work, PA most certainly won't Feb 15 14:34:30 ? Feb 15 14:34:49 NB that PA offers a fake ALSA card to apps Feb 15 14:35:36 topro: instead of an audio recording, use alsa's snd_timer_read() Feb 15 14:35:47 aiui it should do the same thing for you Feb 15 14:36:12 yeah, but on a *real* alsa device, not on PA's alsa compatibility layer fake Feb 15 14:36:39 ah, now I see. thats an interesting option. but as you say it works fine for me just counting samples. cpu load is ~3% Feb 15 14:37:14 as my code has to iterate through theses audio samples anyway to detect spikes there is nearly no overhead Feb 15 14:37:31 but jitter Feb 15 14:37:48 if this is a normal audio stream that's managed by PA Feb 15 14:37:58 jitter because I get those samples in packets you mean? Feb 15 14:38:03 it is NOT realtime Feb 15 14:38:50 well actually I don't even know what backend I use, I'm usinf QAudioInput Feb 15 14:39:06 it's however exactly the right thing to analyze audio, since you basically got implicit timestamps on each sample, for non-realtime deferred processing Feb 15 14:39:41 thats exactly what I am doing, realtime doesn't matter in the sub-second scale Feb 15 14:39:52 ^^ Feb 15 14:39:59 for my current task that is Feb 15 14:39:59 then your approach is basically the only correct one Feb 15 14:41:05 and PA doesn't matter either in this case Feb 15 14:41:11 if i would need realtime, snd_timer_read() would be my friend using plain alsa? Feb 15 14:41:21 yes Feb 15 14:41:35 could you please explain PA to me? Feb 15 14:42:23 app -> PA-fake-ALSA -> PA-soundserver -> real (ALSA) hw audiocard Feb 15 14:42:47 well actually what does "PA" stand for? Feb 15 14:42:57 PukeAudio Feb 15 14:43:04 ah, sorry Feb 15 14:43:10 err Polypaudio, nah PulseAudio Feb 15 14:43:24 ~pa Feb 15 14:43:25 it has been said that pa is PAY ATTENTION!!!!! Feb 15 14:43:29 ugh Feb 15 14:43:39 gg Feb 15 14:44:05 another poettering abomination Feb 15 14:44:10 so there is a real alsa hw on n900 I could use to get timer ticks? Feb 15 14:44:35 yes, PA sits on top of a real ALSA kernel implementation Feb 15 14:44:57 the kernel soundcard hw drivers are ALSA Feb 15 14:45:13 so what would I have to take care of to get ther right backend? Feb 15 14:45:28 good question Feb 15 14:46:14 I guess as long as PA is running, access to real ALSA *stack* is hidden from apps. What is available are the alsa soundcard stubs in /dev/sound Feb 15 14:46:38 though might be locked by PA having them opened Feb 15 14:46:56 os this just to get timer? Feb 15 14:47:02 a timer Feb 15 14:47:13 or for use with sound Feb 15 14:47:44 to get a high res timer Feb 15 14:47:53 I dunno. For high resolution timers there are other better alternatives than soundcard Feb 15 14:48:03 on n900? Feb 15 14:48:17 i thought soundcards were really good at timing Feb 15 14:48:48 you could e.g. exploit one of the PWM counters Feb 15 14:48:57 you don't use them as clocks if you've got clocks Feb 15 14:49:18 I thought there was a high res timer anyway Feb 15 14:49:25 is it not eszpe? Feb 15 14:49:28 exposed Feb 15 14:49:52 it should also be available, yes. AFAIK Feb 15 14:50:20 FIQ is another possible approach, depending on what you want to do Feb 15 14:51:45 ok, i see there are some possibilities. for the moment I need the time between two spikes in audio stream, so I think I will go with counting samples. If one day I would need another real high-res timer I'll evaluate some of your proposals ;) Feb 15 15:50:33 topro; i would assume tickless kernel Feb 15 15:50:52 topro: for timing between two audio spikes, counting samples is ablutely the way to go Feb 15 15:50:55 The only thing you'd maybe want a timer for, is to determine whether actual samplerate is the requested 44100 or 44099 Feb 15 15:50:58 do that over longer period and system timer granularity doesn't matter as much Feb 15 15:51:54 ShadowJK: thanks Feb 15 16:09:27 FIQ is another possible approach, depending on what you want to do Feb 15 16:09:28 what? Feb 15 16:09:33 oh wait Feb 15 16:09:36 it was not pointed to me Feb 15 16:09:37 nvm Feb 15 16:10:34 your fault ;-P Feb 15 16:10:55 meh :P Feb 15 16:11:10 I've used this nick for way too long to be interested in changing it Feb 15 16:11:19 np Feb 15 16:11:26 sorry for highlight Feb 15 16:13:12 yay, it's really funny how one can spend the whole day, week by week, with just managing migration issues. I just suggested hidden primary for our DNS issues, let's see if that will fly Feb 15 16:14:01 Nemein/Eero is not averse and will support us Feb 15 16:14:24 even donate a location and IP for the NS Feb 15 16:25:11 http://www.h-online.com/open/news/item/Vivaldi-tablet-in-harmony-with-new-vendor-1804422.html Feb 15 16:27:12 yay, if our migration business continues developing the way it does, I start to wonder if we ever need to do the final big cut Feb 15 16:28:03 but it seems Nokia will insist in that big cut, to get rid of responsibility for maemo.org Feb 15 16:30:58 topro: may I ask what nifty stuff you're building? Feb 15 16:31:36 acoustic ping? Feb 15 17:22:34 http://www.bbc.co.uk/news/world-europe-21468116 boom Feb 15 17:23:03 wow (not directly on topic) - meteor Feb 15 17:24:34 oooh. altimeter chips in phones could as a distributed network do energy analysis of such blasts Feb 15 17:25:31 SpeedEvil: (meteor) yeah, 28000km distance, allegedly. But when, exactly? Feb 15 17:25:48 today Feb 15 17:25:56 12hish ago Feb 15 17:26:08 900 injured Feb 15 17:26:09 oooh Feb 15 17:26:27 nah, not the tiny meteorites in .ru Feb 15 17:26:37 the "big" one Feb 15 17:26:47 tonight Feb 15 17:27:11 (65m big iirc) Feb 15 17:27:44 allegedly passing by in only 28000km distance Feb 15 17:28:06 not very tiny, probably a few m in diameter Feb 15 17:28:17 it theoretically might hit satellites Feb 15 17:29:03 or earth if they did an oopsie in their calculations Feb 15 17:29:11 easy to compute. Feb 15 17:29:45 yeah, but 28000km is *really* tight Feb 15 17:31:07 and I honestly can't believe the .ru incident is by pure chance Feb 15 17:31:14 not as tight as 0 Feb 15 17:31:53 anyway, you do know when it's supposed to be most close to us, aka "pass by"? Feb 15 17:33:03 tonight, 8 pm ish for you Feb 15 17:33:11 binoculars Feb 15 17:33:21 and good sky needed Feb 15 17:33:21 SpeedEvil: *if* they knew it will hit somewhere, but can't exactly calculate *where*, don't you think they'd tell exactly this: it will pass by very close Feb 15 17:33:57 I meant zero for the one that hit today Feb 15 17:34:52 also, it was observed closely yesterday. orbit is very well known Feb 15 17:35:48 they mustn't tell "it will impact somewhere in $arbitrary-huge-area-with-millions-of-people", since that would for _sure_ cause a high number of fatalities even when the meteor would miss earth Feb 15 17:37:34 they won't lie about the timing though, probably Feb 15 17:37:40 there is no they Feb 15 17:37:49 yeah, sure Feb 15 17:38:02 amateur s also picked it up Feb 15 17:39:10 I'm pretty sure they did. But can they do *exact* measurements of orbit parameters and then do the calculations to a precision better than 28000km error? Feb 15 17:39:48 I'd guess velocity measurement is a quite demanding process Feb 15 17:41:19 you measure it against the fixed star background Feb 15 17:41:40 that's tangential velocity relative to us Feb 15 17:41:58 indeed Feb 15 17:42:09 axial velocity directly towards us is hard to measure this way Feb 15 17:42:39 correlating with older images lets you derive an orbit very closely Feb 15 17:42:50 there's basically only radar and size-changes Feb 15 17:43:27 yeah, if complete orbit parameters are known, you can use pure math Feb 15 17:44:24 unless those parameters changed by events that happened while the object not been in our vicinity Feb 15 17:50:27 collecting a bit of dark dust so albedo changes is enough to change orbit parameters enough for an error of >28000km, give the speed of earth on its orbit around sun Feb 15 17:50:32 given* Feb 15 17:53:11 the radial velocity can be closely estimated in most cases from the tangential velocity evolution and orbital mechanics Feb 15 18:01:18 DocScrutinizer05: could you pastebin the output of `dpkg --get-selections`? i'm still trying to figure out wtf is wrong with my Conversations, and maybe it's caused by something that i deleted Feb 15 18:01:43 no, since now is meeting time Feb 15 18:01:55 but it'll take a second! :( Feb 15 19:07:49 SpeedEvil; someone on radio said the orbital params of the russia meteors don't match the one being tracked Feb 15 19:37:51 I'm absolutely sure, that today's meteor shower is not corellated with any asteroid, but it's omen of DocScrutinizer05 leaving administrator position, fools. Feb 15 19:38:01 OTOH, quick question Feb 15 19:38:45 what si the most lightweight solution to manipulate content from live webpage on n900 itself, aka equivalent of firefox'ish "live http headers"? Feb 15 19:39:06 reason is trivial - me wanna to grab some swf file from some site that obscure it Feb 15 19:39:27 could use desktop for that, but I'm pretty sure N900 should be able to :) Feb 15 19:41:20 and, question 2 - what is, actually, the most lightweight from available solutions, to create a http sever on N900 - for localhost use only, in fact to "cheat" swf files, that have hardcoded requiments to run from certain domain Feb 15 19:41:33 (so i "create" that domain and run it from localhost Feb 15 19:44:37 Estel_: i'd say busybox-power's httpd :) Feb 15 19:44:54 i'm not sure of how lightweight it is, though, compared to lighttpd or nginx Feb 15 20:19:59 i've used busybox httpd on a 256MB x86 (266 MHz Geode GX1)... seems to work ok, doesn't overwhelm the system. it works with cgis too... but unsure of security :o no ssi though... Feb 15 20:21:20 the n900 is faster than the gx1 at least... Feb 15 20:22:42 eccerr0r: it would be strictly local-only, if i understood Estel_ correctly Feb 15 20:22:53 also, afaik busybox httpd is used by dd-wrt Feb 15 20:24:03 n900=5x geode gx1@266 Feb 15 20:25:43 as long as it's configured correctly... httpd needs to be run as root to bind to port 80, which it will happily do... Feb 15 20:41:12 eccerr0r, kerio, thanks a lot Feb 15 20:41:23 lol, never thought about busybox's httpd Feb 15 20:41:25 btw Feb 15 20:41:41 any ideas about first part of question, i.e. dissecting http headers? Feb 15 20:42:11 to get GET calls to actual content that I want download, that is, otherwise, obscured? Feb 15 20:42:48 tcpdump port 80 -s 0 -o outfile Feb 15 20:42:55 open with wireshark Feb 15 20:43:11 * ShadowJK forgets if -s 0 is infinite capture length, and if -o is the right option Feb 15 20:47:41 Estel_: not sure about your use case, but `python -m SimpleHTTPServer' is a pretty simple httpd Feb 15 21:00:03 gregoa: blah Feb 15 21:01:03 kerio: I'd prefer "plackup -MPlack::App::Directory -e'Plack::App::Directory->to_app'" but I don't think libplack-perl is in maemo :) Feb 15 21:07:42 gregoa: twistd web --path . Feb 15 21:08:30 kerio: nice, thanks Feb 15 21:09:00 twistd is the multi-purpose Twisted daemonizer/launcher Feb 15 21:11:49 hey guys, you know i usually have "hide join/part/nick", just temporarily enabled it for council meeting. Why nobody of you pinging chanops about annoyance like <-- thomasvs has left this server (Excess Flood). Feb 15 21:12:11 meh Feb 15 21:13:10 /mode +b $a:thomasvs$##fix_your_connection Feb 15 21:13:28 your wish is my command Feb 15 21:13:31 if we want to get all fancy Feb 15 21:13:46 although... Feb 15 21:13:54 if that's what you want me to do Feb 15 21:14:02 it seems to have stopped Feb 15 21:14:25 DocScrutinizer05: you're a good op, your intervention fixed it :3 Feb 15 21:14:47 dammit! Feb 15 21:15:11 DocScrutinizer05: he doesn't seem to join when already identified Feb 15 21:18:08 hm? Feb 15 21:18:14 that thomasvs dude Feb 15 21:18:25 he answered three times to a ctcp version Feb 15 21:18:27 I've seen him changing host, yeah Feb 15 21:18:33 DocScrutinizer05, as for myself, I also have join/part hidden :P Feb 15 21:23:08 hmm, now? Feb 15 21:24:20 DocScrutinizer05: /mode #maemo +b $x:thomasvs*$##fix_your_connection Feb 15 21:24:23 i'm fairly certain of that Feb 15 21:24:41 (redirect to ##fix_your_connection which is /the/ channel for this) Feb 15 21:26:13 I use join/part hiding in pidgin, set to hide if user was idle for >10 min Feb 15 21:33:02 Thank you Feb 15 21:33:17 I doubt this been a wellformed ban Feb 15 21:33:42 looks kinda strange to me Feb 15 21:34:41 I'm just too lazy to check that weird syntax Feb 15 21:34:56 and semantics of x etc Feb 15 21:36:07 freenode extensions Feb 15 21:36:31 I heard of them but don't know them by heart Feb 15 21:37:24 DocScrutinizer05: it worked Feb 15 21:37:30 and too lazy to find the right webpage Feb 15 21:37:36 no, wait Feb 15 21:37:45 ...he was already there, lol Feb 15 21:38:02 ban doesn't kick Feb 15 21:38:09 yeah, i figured Feb 15 21:38:26 but noooow Feb 15 21:38:51 awesome Feb 15 21:38:59 he joined ##fix_your_connection :D Feb 15 21:39:13 but he was already redirected there by another channel, i think Feb 15 21:41:00 lol, myrtti is chanop there, why does this sound familliar to me? Feb 15 21:41:11 idk, why? Feb 15 21:41:14 also deop Feb 15 21:41:22 meh Feb 15 21:42:45 * DocScrutinizer05 shakes fist against smokedetector, rubs his ears and takes a breath from cig Feb 15 21:43:41 also buy an ecig Feb 15 21:43:50 meh have that Feb 15 21:43:59 ...do they trip smoke detectors up? Feb 15 21:44:04 *off Feb 15 21:44:18 sure they do, when you use them close to it Feb 15 21:44:29 but it's just vapour! Feb 15 21:44:31 but that "smoke" vanishes way faster Feb 15 21:45:00 so no building up of critical concentrations during council meetings Feb 15 21:45:28 :D Feb 15 21:45:28 next time I'll open the window before meeting stats Feb 15 21:45:31 starts Feb 15 21:45:46 why do you have a smoke detector anyway Feb 15 21:46:17 because I am declared dead by firebrigades, police, and paramedics Feb 15 21:46:30 I survived a fire in my flat Feb 15 21:46:43 don't want to try my luck again Feb 15 21:47:03 damn Feb 15 21:47:07 electric fire? Feb 15 21:47:25 probably dirt cheap desk vacuum cleaner Feb 15 21:47:36 overcharging NiMH Feb 15 21:47:50 hmm... chemical fire then? Feb 15 21:48:06 errr Feb 15 21:48:10 ionization smoke detectors will trigger on any particles/vapour etc. There the most sensitive type of detector. Feb 15 21:48:16 outch .. told ya, dont use the 787 cells Feb 15 21:48:29 anyway, i don't smoke and i don't clean my room Feb 15 21:48:33 so i hope i'm safe Feb 15 21:48:35 lol Feb 15 21:48:39 the AAA cells got hot, started plastic of vacuum to burn, and that ignited my shelf with books Feb 15 21:48:53 D: Feb 15 21:48:57 which books did you lose? Feb 15 21:49:02 all Feb 15 21:49:04 can you sue the producer for compensation? Feb 15 21:49:15 for sure not Feb 15 21:49:53 the true reason wasn't to find anymore in that ashes Feb 15 21:50:06 * cehteh buyed some ammo boxes for charging LiPo's Feb 15 21:50:13 but I know what been there that could've started a fire Feb 15 21:50:29 cehteh: isn't that... overdoing it? Feb 15 21:50:48 kerio: big ones for a hexacopter Feb 15 21:50:59 hm, then maybe it's more justified Feb 15 21:51:04 hehe, probably the 100 rounds 9mm ammo saved my life, when they went off in the fire and awakened me Feb 15 21:51:23 DocScrutinizer05: this made me realize, i don't know where (and if) the fire extinguisher is Feb 15 21:51:38 I *know* where mine is Feb 15 21:51:41 :-D Feb 15 21:51:58 DocScrutinizer05: can i borrow yours if there's a fire here? Feb 15 21:52:02 back when I extinguished the fire with water from bathroom Feb 15 21:52:25 firebrigades didn't believe me Feb 15 21:52:47 they all said "hey dude you oughta be dead" Feb 15 21:53:03 hehe, how do you answer something like that? Feb 15 21:53:07 "sorry to disappoint" Feb 15 21:54:29 nah, I answered "oh yeah, now I'd appreciate you taking me to hospital, i just noticed my face falling off" Feb 15 21:55:11 (before I sent away the paramedics) Feb 15 21:55:57 took a while (and a mirror) till I noticed my whole face got burned Feb 15 21:56:20 ugh, how much? Feb 15 21:56:42 kerio: btw: http://www.youtube.com/watch?feature=endscreen&NR=1&v=tatq8KcaGY0 Feb 15 21:56:59 so much that it took 4 week to heal, with lots of medi from hospital Feb 15 21:57:04 daaaaaaaaaaaaaaaaaaang Feb 15 21:57:37 cehteh: also dang Feb 15 21:59:24 ...don't ever try the 18650 batteries.. Feb 15 22:00:03 http://www.youtube.com/watch?v=5TLEVo1cEjQ .. crazy americans :P Feb 15 22:00:50 this one guy nuked away half his balcony with an exploding 18650 Feb 15 22:01:08 well i decided that ammo boxes and charging on the balcony (at least when the weather becomes better) makse some sense Feb 15 22:01:16 heh Feb 15 22:01:57 in other news, my laptop's battery is 50 cycles away from 2000 Feb 15 22:02:10 well and this ammo boxes are very tight sealing .. i need to removed the seals or leave it open when charging at least Feb 15 22:02:39 hi Feb 15 22:03:08 where i can find voice files for omvoice server ? Feb 15 22:03:15 i've had a fun with fire extinguisher i had one boxed in my car Feb 15 22:03:34 and when it came to using it took me a good while to take it out of the box Feb 15 22:04:39 huh 18650 are small compared to the cells i have here .. 4S (14.4V) x 5000mAh ... over 500g each Feb 15 22:05:33 cehteh: round or square? Feb 15 22:06:10 square Feb 15 22:06:17 lipo .. stack of 4 cells Feb 15 22:06:18 usually only the cylindrical cels are really nasty grenades Feb 15 22:06:23 yes Feb 15 22:06:46 but the flat ones blow and make a lot mess and if it ignites it a big flame Feb 15 22:06:51 Estel_: btw, how are the plans for the n900 with the two 18650s going? Feb 15 22:06:51 square ones can expand and deform Feb 15 22:07:23 and leak easily when doing so Feb 15 22:07:27 the round ones are liion in most cases Feb 15 22:07:33 yes Feb 15 22:07:38 DocScrutinizer05: but as they expand, they become more cylindrical Feb 15 22:07:43 and then they can explode! Feb 15 22:07:44 rc batteries are quite raw, no protection and stuff Feb 15 22:08:07 cehteh: why? you'd think that considering the space, you could have protective circuits Feb 15 22:08:08 yep, still they won't build up pressure like cyl ones Feb 15 22:08:29 kerio: price, weight, power Feb 15 22:08:43 you can draw serveral hundreds Amperes from those Feb 15 22:08:50 rc batteries are built for crazy discharge rates Feb 15 22:09:12 oh, so the circuit would have to be really big Feb 15 22:09:31 in my case i use the low speced ones 25C only ... 5A*25 ... 125A already .. but there are cells with 65C available Feb 15 22:09:52 and 8000mAh Feb 15 22:10:34 usually you have a more complex charger and in the RC model you have some monitoring and do rather flat cycling Feb 15 22:11:22 simple answer: you want only one mosfet between cell and motor, not two ore even more Feb 15 22:11:29 balancing charger .. this batteries have a 2nd connector with each single cell level coming out for monitoring and equalizing the charge levels Feb 15 22:11:34 and that mosfet is a monster Feb 15 22:11:57 usually few of them in parallel Feb 15 22:12:09 :nod: Feb 15 22:12:21 havent counted but there are prolly a dozen fets on the speed controlers Feb 15 22:12:34 nice of mosfet that you can parallel them thus simply Feb 15 22:13:07 the have pretty convenient characteristics for that Feb 15 22:13:20 http://0x.ca/sim/esc/Mystery_40A/img_4549.jpg Feb 15 22:13:57 hehe Feb 15 22:14:46 dang, that's a 3-phase controller Feb 15 22:15:23 sure, brushless motors, electronically commutated Feb 15 22:16:09 those are cool beasts Feb 15 22:16:20 go like hell Feb 15 22:16:23 standard meanwhile Feb 15 22:16:59 with hackable firmware :) Feb 15 22:20:32 ooh, apparently my laptop uses a bq20z951 Feb 15 22:20:58 I disassembled a dead laptop battery, and it had a bq-something :-) Feb 15 22:21:01 that sounds familiar :D Feb 15 22:30:28 nots sure why my n900 takes so long to charge, can't imagine a dual 18650 2.8AH cell... or two in parallel... Feb 15 22:32:00 2 hours on fresh battery, 4 hours on worn battery Feb 15 22:32:23 probably 4 hours on fresh single 2.8Ah Feb 15 22:33:17 my charging is just way off ... it takes hours over hours on 'almost full' .. and when i disconnect it when fully charged and plug it in few minutes later i'll charge for hours again Feb 15 22:33:32 * cehteh just blames nokia and lets it be as it is Feb 15 22:33:41 battery still works fine Feb 15 22:43:30 is there a way to get qtmobility support in qt sdk for target maemo 5 (n900)? Feb 15 22:44:36 so it is true it takes longer to charge an old battery? thought a cc charger would hit finish voltage sooner on a worn cell? Feb 15 22:45:06 cehteh: blame your screen on while charging Feb 15 22:46:25 eccerr0r: we got CCCV charger though Feb 15 22:46:58 eccerr0r: with a charge-end current threshold of like 100mA or sth Feb 15 22:47:23 of which an enabled screen backlight already eats up to 200 Feb 15 22:47:44 yes i've noticed that too, any foreground use slows down charge.... to the extent some computer usb ports won't charge/still discharge when the n900 is being used Feb 15 22:47:49 so... never trips threshold for end-of-charge detection when screen is lit Feb 15 22:49:01 yeah, that's because of battery is parallel to system power-in Feb 15 22:49:53 or rather, this special effect is to limited power via USB, which will get split between system and charging, no matter what circuit config Feb 15 22:50:15 is *due* to... Feb 15 22:50:34 what I don't get is why I can't seem to get it to draw the full 500mA on microusb Feb 15 22:51:12 charge-end detection (or the lack of such) however is becuase charger suplies power for battery and system in parallel Feb 15 22:51:33 hmm, it usually should do that Feb 15 22:51:54 what makes you think it draws less than 500, and how much less? Feb 15 22:52:24 if I bump the voltage I can get it to draw more current... but a constant voltage smps should decrease current when voltage goes up Feb 15 22:52:38 yes Feb 15 22:53:00 i've got it hooked up to a bench psu with voltage/current meters Feb 15 22:53:12 I however wonder how you bump the voltage of a PC USB port Feb 15 22:53:25 behavior is NOT what I expect. .. Feb 15 22:54:18 the bq24150 is not a virtual ideal component Feb 15 22:54:18 yeah for a pc port it'd be hard but not for a test jig :) Feb 15 22:54:38 a test jig may fail on USB enum Feb 15 22:55:07 which is mandatory to draw more than 100mA from USB without D+- short fastcharger signalling Feb 15 22:55:23 (same jig that I killed the charging circuit on my 5230...) Feb 15 22:55:41 I shorted the d pins together. Feb 15 22:56:01 then it should take way more than 500mA Feb 15 22:56:20 it's not... Feb 15 22:56:22 if CCCV plus system usage allows for that Feb 15 22:57:10 you should use bq27200.sh or... Feb 15 22:57:17 ~bq27k-detail Feb 15 22:57:17 rumour has it, bq27k-detail is http://maemo.cloud-7.de/maemo5/usr/local/sbin/bq27k-detail2 Feb 15 22:57:50 it gives an idea if cell is still in CC or already in CV segment Feb 15 22:58:17 by merely looking at current-now and voltage-now Feb 15 22:58:54 the transit from CC to CV is not ideal though, there's a zone of mixed characteristics where both apply Feb 15 22:59:38 again, since bq24150 is a cheap real silicon component, not something ideal virtual Feb 15 23:00:02 it's just "good enough2 for charging LiIon Feb 15 23:00:11 s/2/"/ Feb 15 23:00:12 DocScrutinizer05 meant: it's just "good enough" for charging LiIon Feb 15 23:00:47 DocSCrutinizer05: what do you consider wrong with that chip? Feb 15 23:02:12 nothing wrong with it, it's just not something mathematical Feb 15 23:02:19 but real hardware Feb 15 23:02:27 mathematical? Feb 15 23:02:33 ideal Feb 15 23:03:02 hmmm ok... still not sure in what aspects Feb 15 23:03:07 like a diode with 0.0000V Vforward, infinite Vreverse Feb 15 23:03:16 oh Feb 15 23:03:21 got a specific example on that chip? Feb 15 23:03:49 it has no sharp switching from CC to CV, both blend into each other Feb 15 23:04:03 ah... okay. that i understand Feb 15 23:04:31 on CV it doesn't have 0 Ohms source impedance Feb 15 23:04:54 on CC it has dependencies on cell voltage as well Feb 15 23:05:20 so neither voltage (in CV) nor current (in CC) are really constant Feb 15 23:05:41 and particularly not in the zone between CC and CV Feb 15 23:07:04 the watchdog timer specified as 32s might actually be as short as 15s Feb 15 23:07:08 iirc Feb 15 23:07:50 it's all just good enough to do the job it's built for Feb 15 23:08:18 and that job means "5V USB" Feb 15 23:08:30 not "3-9V USB" Feb 15 23:09:33 so no surprise eccerr0r found it drawing more current when he increases Vusb Feb 15 23:09:47 chip isn't built to handle that Feb 15 23:09:56 i just wish it could draw the full 500mA @ 5V, maybe it'd do 500mA at 9V Feb 15 23:10:27 it can draw way more than 500mA at 5V Feb 15 23:10:40 evidently Feb 15 23:10:51 i've never seen it do so Feb 15 23:11:02 I did Feb 15 23:11:51 what did you use to measure/what source? Feb 15 23:12:36 simple math and bq27200.sh to read out charge current of battery Feb 15 23:14:19 plus some knowledge of system power consumption, also derived from previous bq27200.sh runs Feb 15 23:14:38 need orthogonal measurement... I cant trust bq24150. Feb 15 23:16:29 when I see battery getting charged at 800mA (3.3V) and I know screen backlight uses e.g. 200mA at 4.1V, then the match is simple to calculate how much the USB is currently delivering minimum (even on a neglected converter efficiency that's not 1 either) Feb 15 23:18:44 * kerio has seen 900mA, measured by bq27k Feb 15 23:18:51 also something weird:I don't see a current swing when locking the device... which corresponds to why having the screen on slows charging... Feb 15 23:18:55 fastcharger, battery almost empty Feb 15 23:18:57 but charging current for battery is limited to 850mA iirc Feb 15 23:19:31 DocScrutinizer05: not 1A? Feb 15 23:20:12 bme sets it to 850 iirc Feb 15 23:20:24 all of this experimentation is just to build a fast charger... the d+- short wasn't enough Feb 15 23:20:52 well, see my last 2 lines Feb 15 23:22:01 usually you can't charge batter with more than 0.7C Feb 15 23:22:13 what does the nokia wallcharger do? constant 5V? Feb 15 23:22:32 I'd be happy to see 850mA Feb 15 23:22:37 and that's not even taking into account the system power which gets subtracted from that Feb 15 23:22:49 It's nowhere close... Feb 15 23:23:03 kerio: sure Feb 15 23:23:15 the battery charges at around 500 from around the midpoint onwards Feb 15 23:23:22 so deal with it Feb 15 23:23:41 you only get the truly fast charge at the beginning, when it's almost empty Feb 15 23:23:59 it will charge with 800 or more only while <3.6V Feb 15 23:24:16 yes, exactly Feb 15 23:24:23 ok... that may be the fact needed. Feb 15 23:24:40 and no matter what you do, LiIon takes its time to charge to 100% Feb 15 23:25:10 i'll discharge a battery down to 3.4 and see if it behaves different... Feb 15 23:25:14 the faster (higher current) you charge it initially, the longer it will take for the CV segment Feb 15 23:25:39 also, don't push more than 5V through the usb Feb 15 23:25:49 it's not really meant to do that :s Feb 15 23:25:54 which largely kills any benefit of "fast charging" Feb 15 23:29:22 use nokia fastcharger and switch off all powerhogs in system, to get fastest possible 'normal' charging which will need ~3h to from empty to battery almost full. Use ShadowJK's charge21.sh (with edited CC parameter) to charge battery with 1C instead 0.7C, though that's not recommended since it wears out battery quite fast Feb 15 23:30:11 nothing you could do to USB-charger will change that Feb 15 23:30:35 hmm... honestly you guys are confusing me more, there are definitely some facts that mesh with what I know but others seem to clash... then again I'm coming from a completely-hardware aspect... Feb 15 23:31:11 DocScrutinizer05: when idle, no screen on, LED blinking Feb 15 23:31:15 ideal charger delivers constant 5.25V @1.5+A and has D+- short Feb 15 23:31:16 but that is also true, fast charging wears batteries faster. Feb 15 23:32:43 the BL5J is 4.9WH. At 5V1A it should take about 1 hour at constant power to charge, if it were possible. Feb 15 23:33:42 you'd wreck it Feb 15 23:34:30 it is technically "possible" of course but that is true, you cant charge the last bit at constant power... Feb 15 23:36:35 I guess I need to see that the thing will eat 800mA while charging a flat battery, if this is true, then this will all make sense. Feb 15 23:38:41 and wonderful, t-mobile disappeared, not getting GSM coverage right now... Feb 15 23:54:55 meh, $25 for publishing to Google Play Feb 15 23:55:12 of what? Feb 15 23:55:32 apps :P Feb 15 23:57:15 meh Feb 16 00:23:41 kerio: I think I need to sell my N900 Feb 16 00:23:44 I just won another phone Feb 16 00:35:12 :-\ Feb 16 00:35:18 what? Feb 16 00:52:32 SpeedEvil: I got a N900 to replace my Nexus One Feb 16 00:52:35 and then I won a phone Feb 16 00:52:39 and now I've won another one **** ENDING LOGGING AT Sat Feb 16 01:22:36 2013 **** BEGIN LOGGING AT Sat Feb 16 03:02:18 2013 Feb 16 05:30:47 is vlc in the repos Feb 16 08:34:39 i want steam on fremantle! Feb 16 10:34:59 You know your culture from your trash Feb 16 10:35:04 You know your plastic from your cash Feb 16 12:16:36 wow, my router's firmware is hardcoded to only accept Israeli upgrades Feb 16 12:16:44 and the original firmware is nowhere to be found Feb 16 12:18:01 MohammadAG: not even through tftp? Feb 16 12:18:32 where i can find voice files for omvoiceserver? Feb 16 12:18:38 kerio, not sure actually Feb 16 12:18:54 kerio, I found some forum thread with someone having the same problem Feb 16 12:19:12 they changed the header so the web UI accepted it Feb 16 12:19:16 and the router died :) Feb 16 12:19:49 oh nice, busybox on the router doesn't have grep Feb 16 13:07:14 i'm *really* stumped :( Feb 16 13:07:26 should i just reflash? Feb 16 13:07:38 i have so many customizations :( Feb 16 13:22:30 hello! i just installed webos on my n900 but i cant understand how to download ipk files, from where and how to put the on my phone.... any suggestions? thanks in advance Feb 16 13:22:55 them* Feb 16 13:23:58 I uh... don't think WebOS question is very appropriate in #maemo. But maybe someone will know... Feb 16 13:25:04 i hope so ... Feb 16 14:15:28 WebOS on the N900? Feb 16 14:16:01 He/she is gone. Feb 16 14:16:17 deepy: why bother selling it Feb 16 14:18:35 Aoyagi I just saw that nobody was surprised and I thought wtf? is that so normal? Feb 16 14:18:44 I was. Feb 16 14:19:08 But I try to not voice my opinions about things I know very little about. Feb 16 14:19:56 I just wanted to know more about that. Technically it's possible to install webos on the N900 Feb 16 14:20:22 In fact the Pre had pretty similar hardware. Feb 16 14:20:49 merlin1991: µ Feb 16 14:20:56 hm? Feb 16 14:21:01 ~moo Feb 16 14:21:01 * infobot mooooooooo! I am cow, hear me moo, I weigh twice as much as you. I am cow, eating grass, methane gas comes out my ass Feb 16 14:28:33 ~µ Feb 16 14:28:38 ~literal µ Feb 16 14:28:47 infobot: you suck Feb 16 14:28:47 and very well I might add Feb 16 15:22:13 hey guys I need execute something every set number of seconds, including fractions (like 2.56s). any way to do so without sleep command? I need quite accurate timming, preferably up to 1ms, if possible Feb 16 15:24:21 "execute" how? Feb 16 15:25:09 also, afaik topro investigated this, and ended up figuring out that the kernel timers have a resolution of 50ms Feb 16 15:25:30 you'll have to use a soundcard timer Feb 16 15:30:12 really interesting, we just had that topic ;) Feb 16 15:30:40 WizardNumberNext: i couldn't get kernel based timers to run at higher res then 50ms Feb 16 15:31:24 but my task was to detect peaks in an audio stream recoreded from mic. so I went with counting samples Feb 16 15:31:36 even 50ms would do, 1s resolution of sleep is unacceptable Feb 16 15:31:56 I would execute it in script Feb 16 15:31:56 ever heard of usleep() ? Feb 16 15:32:09 do not really want to program Feb 16 15:32:22 most likely, loading the binary and launching it will take more than 1ms Feb 16 15:33:22 then I'm off, don't even know if there is a way to access timers in script. you would need a binary that does the job. is there something in gnu? don't now Feb 16 15:33:26 kerio, I expect everything takes time, so loading and executing (especially loading) Feb 16 15:34:16 then only way would be to put work into kernel, as I want to access i2c Feb 16 15:34:30 bq27x00 Feb 16 15:34:46 to be more precise - I want nice battery logger Feb 16 15:35:07 ...WHAT Feb 16 15:35:15 like I had on N95 - Nokia energy profiler - something not exactly similar Feb 16 15:35:18 you mean a battery burner.. Feb 16 15:35:32 i don't even know if bq27k updates once per second Feb 16 15:35:42 let alone once every millisecond Feb 16 15:35:57 Nokia Energy Profiler wasn't really battery burner - yes it was stilling some energy, but it wasn't bad Feb 16 15:36:16 kerio, no, not every ms - every 2.56s Feb 16 15:36:32 more often is completely pointless Feb 16 15:37:04 I'd like to understand that 2.56s constraint Feb 16 15:37:08 I want to log every sample of average current, which happens to be updated every 2.56s Feb 16 15:37:54 come on, why not sample every 2 or every 3 seconds. the error will level out over time, don't you think so? Feb 16 15:37:54 I have been reading datasheet some time ago and decided that this would best approach to get some real usage Feb 16 15:37:58 do 5 seconds Feb 16 15:38:19 so you'll have 120ms to do your processing :) Feb 16 15:38:23 then, I am loosing every second sample - useless Feb 16 15:39:04 all processing needed is to save it to file (might be even in ram/tmpFS Feb 16 15:47:11 WizardNumberNext; it's updated every 5.12s, approximately Feb 16 15:47:43 there's some value considering current updated every 2.56s Feb 16 15:48:19 I would expect bq's oscillator isn't terribly accurate anyway Feb 16 15:49:56 running bq27200.sh in a 5s loop does redcue idle battery lifr by a factor of 5 or so :) Feb 16 15:50:23 WizardNumberNext: first of all try a "time yourscript.sh"... Feb 16 15:52:53 ah yes, -2.2% ... 1.5% stated accuracy.. so that ends up as 5.01 - 5.20s update interval, if accessing the chip doesn't postpone it updating :) Feb 16 15:58:57 ShadowJK: well, it could be your script's fault :P Feb 16 15:59:29 I suspect a "while true; do sleep 5; done" has similar impact on battery life :) Feb 16 16:00:08 well, bq27200.sh does a lot of calculations in shellscript Feb 16 16:00:17 and a lot of requests with i2cget Feb 16 16:01:17 ya Feb 16 16:01:23 but wakeups do more for power use really Feb 16 16:01:32 rigth - I have seen all of it. I have my own script which is reading sysfs file and it have quite a latency Feb 16 16:11:13 kerio: use bq27k-detail, it only has one i2cdump command instead of lots of i2cget Feb 16 16:11:40 thus it should be considerably more lightweight regarding that Feb 16 16:12:25 DocScrutinizer05: hm, i wonder if it could be made to use bq27x00_battery Feb 16 16:13:14 it should almost work OOTB, since that's basically what it does on Openmoko Feb 16 16:13:59 DocScrutinizer05: hm, what's the path to that script, in your site? Feb 16 16:14:11 so if the developer of bq27x00_battery followed my advice, there shall be a similar sysnode to dump raw bq27200 register content Feb 16 16:14:18 oh, maemo5/usr/local/sbin Feb 16 16:14:21 ~bq27k-detail Feb 16 16:14:21 DocScrutinizer05: there is! Feb 16 16:14:21 bq27k-detail is probably http://maemo.cloud-7.de/maemo5/usr/local/sbin/bq27k-detail2 Feb 16 16:17:18 DocScrutinizer05: http://0paste.com/264 this is the content of the registers file Feb 16 16:18:27 AYAYAYAYAYAY Feb 16 16:18:47 waaaay too much "wisdom" in that one Feb 16 16:19:32 why are some 16bit values while others are 8bit? Feb 16 16:20:06 ah balls, rmmodding bq27k caused hald-addon-bme to shut down my phone Feb 16 16:20:09 that's not raw, that's obfuscated interpreted semantic of the chip Feb 16 16:20:32 Pali: why are some values 16bit and other values 8bit? Feb 16 16:20:49 where? Feb 16 16:21:00 bq27200-0/registers Feb 16 16:21:21 because some are 16bit and some are 8 Feb 16 16:21:28 see bq datasheet Feb 16 16:22:21 kerio, hald-addon-bme shut down device? Feb 16 16:22:22 no, I2C has no 16bit registers Feb 16 16:22:30 Pali: i assume so Feb 16 16:22:32 at least not on this chip Feb 16 16:22:47 raw dump is not meant to interprete semantics of chip Feb 16 16:22:55 kerio, kernel oops or dsme reboot? Feb 16 16:23:10 Pali: shutdown Feb 16 16:23:16 i turned it back on with the power key Feb 16 16:23:32 shutdown? not reboot? Feb 16 16:23:34 is there a way to get qtmobility support for qt sdk maemo toolchain? Feb 16 16:23:46 and no oopsies Feb 16 16:23:53 Pali: yeah Feb 16 16:24:17 seems like "battery too low" and EDV1 flag Feb 16 16:24:24 and if not there is bug... Feb 16 16:24:37 or temperature? Feb 16 16:24:41 Pali: well, hal returns 0 if there's no matching device right? Feb 16 16:24:46 Pali: idk, i always rmmod rx51_battery Feb 16 16:25:32 for which "returns 0"? Feb 16 16:26:02 the function to get a value from hal Feb 16 16:26:32 yes Feb 16 16:26:48 DocScrutinizer05: fwiw it's not supposed to be a raw i2c dump Feb 16 16:26:59 it's supposed to be the file containing the registers of the chip Feb 16 16:27:21 I honestly suggest a format similar to result of `i2cdump -y 2 0x55 b|tail -n +2|cut -d ' ' -f 2-17` Feb 16 16:27:57 kerio: the registers of that chip are all 8bit Feb 16 16:28:29 but some values are 2bytes Feb 16 16:28:31 as you can tell from address on left side Feb 16 16:28:42 Pali: that is irrelevant for a dump Feb 16 16:29:00 it's wisdom about chip semantics that is misplaced in a dump Feb 16 16:29:36 that sysfs file in kernel driver was for shell scripting instead calling i2cget Feb 16 16:29:43 Pali: fwiw, if you're merging 2-byte registers, then you should also split bitfields Feb 16 16:30:11 it's the software using the dump content that's supposed to make assumptions about such properties as pairing of some of the registers Feb 16 16:30:39 DocScrutinizer05: not if you're converting something that used i2cget to get a 2-bytes value Feb 16 16:30:41 btw, proper kernel interface for that is regmap Feb 16 16:30:47 kerio: exactly Feb 16 16:30:56 and I'm not going to change it in bq27x00 battery driver Feb 16 16:30:59 (for bitfields) Feb 16 16:31:24 Pali: what's that? like a conventional way to present registers? Feb 16 16:31:37 kerio: "eh??" for the remark about i2cget Feb 16 16:31:40 something like that Feb 16 16:31:54 DocScrutinizer05: i2cget has a way to get a word instead of a byte Feb 16 16:31:57 interface for accessing some kind of registers Feb 16 16:32:03 kerio: so what? Feb 16 16:32:12 kerio: only if YOU tell it so Feb 16 16:32:43 so it's YOU who has the knowledge, NOT i2cget or even the chip itself Feb 16 16:32:49 registers file in bq27x00_battery kernel driver is for bq27x00 chip Feb 16 16:32:51 i think the point was that you'd "always" use that to get the appropriate value Feb 16 16:33:00 so output from that file is correct Feb 16 16:33:10 no, it's garbled Feb 16 16:33:40 it introduces sematnics where there shouldn't be any Feb 16 16:34:04 a dump is a dump is a dump Feb 16 16:34:14 it's not called "dump", it's called "registers" Feb 16 16:34:17 a dump has no idea about register pairing Feb 16 16:35:38 a dump sysnode is supposed to have a uniform format that allows access to registers WITHOUT knowing about their properties Feb 16 16:36:49 IOW it should be identical for all chips, no matter what register pairing or other properties those registers have Feb 16 16:38:52 If I were interested in highly sophisticated interpretation of the registers' *meanings*, I'd not use the dump sysnode but the named sysnodes which are supposed to do *all* interpreting for me Feb 16 16:39:10 dump is meant to do *no* interpreting for me Feb 16 16:39:35 see kerio's remark about bitfields Feb 16 16:40:20 just adding a random subset of semantic interpretation to dump sysnode renders it garbled and basically useless Feb 16 16:41:50 how the fsck am I supposed to know quite basic things like e.g. if the paired register is big-endian or little-endian and if that garbled dump already swapped registers for me or not? Feb 16 16:42:24 please fix that, it's a bug Feb 16 16:47:22 kerio: it doesn't matter if it's called dump or registers. Registers also are all 8bit in this chip. Actually I2C has no means to access 16bit registers, they are handled as a pair of 8bit registers and it needs prior knowledge to tell those apart form plain 8bit registers. I2C or chip doesn't provide any flag signalling the paired property of some of the registers, you need datasheet to learn about it Feb 16 16:47:46 DocScrutinizer05: otoh, bq27x00_battery does indeed "have" the datasheet Feb 16 16:47:48 and info from datasheet has no room in either dump or register sysnodes Feb 16 16:49:28 it's like if `wc -c` would count UTF16 as one byte Feb 16 16:50:15 you mean wc -m Feb 16 16:50:17 :) Feb 16 16:50:33 no, I mean -c Feb 16 16:50:49 wc -m does indeed count the characters, according to your locale Feb 16 16:51:01 -m is what you get on sysnodes like capacity and current and temperature Feb 16 16:52:05 let me put it as simple as possible: that sysnode is called "registers", that chip has no 16bit registers Feb 16 16:52:20 ETX Feb 16 16:56:15 you're aware that "registers" sysnode is meant to be r/w? you're also aware that there might be (and actually are) situations where you don't want to write 16bit to a paired set of registers in unknown sequence and timing? Feb 16 16:56:40 DocScrutinizer05: RST Feb 16 16:56:49 you can't TX after ETX dude Feb 16 16:59:17 shall I SYNC and retransmit? Feb 16 17:03:09 hmm... is the n900 port of pidgin source archived on maemo.org, or is it integrated into the main distribution? Feb 16 17:03:41 need to see if I can get it to stop pinging the servers every 30 seconds...that will kill the battery :P Feb 16 17:04:02 ~pkgs Feb 16 17:04:07 ~pkg Feb 16 17:04:07 methinks pkg is http://maemo.org/packages/ Feb 16 17:04:51 ~#maemo pkgs is see #maemo pkg Feb 16 17:04:51 okay, DocScrutinizer05 Feb 16 17:04:55 ~pkgs Feb 16 17:04:55 i heard #maemo pkg is http://maemo.org/packages/ Feb 16 17:05:46 not sure how debian works, is the code actually rebuilt automatically once in a while? Feb 16 17:06:01 on the repository that is (if it's OSS)? Feb 16 17:06:17 errr, it is when you upload to drop aka autobuilder Feb 16 17:06:56 I don't think it's usually ever rebuilt later on without any trigger Feb 16 17:07:14 since, what would change? Feb 16 17:07:31 Ok... wonderring if it's easier to get the maintainer to stop it from pinging, I see it dropping an ssl packet every 30 seconds Feb 16 17:07:38 that seems excessive... Feb 16 17:07:53 eccerr0r: make your own package Feb 16 17:08:04 locally Feb 16 17:08:06 hence finding the code :D Feb 16 17:08:07 or try to look for a way to increase the keepalive frequency Feb 16 17:08:18 period Feb 16 17:08:24 lower frequency Feb 16 17:08:25 er, yes Feb 16 17:08:41 i'm sorry, mr engineer :( Feb 16 17:08:43 I just don't know if the maemo patches made it into the main distribution Feb 16 17:08:46 * DocScrutinizer05 suggests gconftool and hexedit Feb 16 17:09:06 eccerr0r: just use the same source that's in maemo extras Feb 16 17:09:13 eccerr0r: most probably they didn't Feb 16 17:09:19 like, apt-source pidgin or whatever Feb 16 17:09:26 Ok, yeah that's what I was hoping... Feb 16 17:09:34 no, apt-get source Feb 16 17:09:38 after you've enabled a source repo Feb 16 17:09:48 again this is still very new to me... in Gentoo I get the source only so it's easy to find the code :) Feb 16 17:09:53 or just download tarball, dsc and patches Feb 16 17:10:29 eccerr0r: http://repository.maemo.org/extras-devel/pool/fremantle/free/source/p/pidgin/pidgin_2.10.6+nix-1.tar.gz Feb 16 17:10:50 +nix??? Feb 16 17:11:05 wtf is that? Feb 16 17:11:12 ah cool... Feb 16 17:11:36 or simply follow the links on ~pkgs Feb 16 17:11:40 need to get vbox set up next. Feb 16 17:11:48 unpack that tarball in your scratchbox, do your modifications, dch -i and increase the version by adding a +eccerr0r1 suffix, dpkg-buildpackage -rfakeroot Feb 16 17:11:53 and it'll give you a tarball Feb 16 17:11:55 er Feb 16 17:11:56 a .deb Feb 16 17:12:02 DocScrutinizer05: nix is apparently the maintainer Feb 16 17:12:10 duh Feb 16 17:12:30 it's still wtf Feb 16 17:12:37 sorry for asking again, but I wonder why no one reacted to this as i think that would bot only be interesting to me: is there a way to get qtmobility support for qt sdk maemo toolchain? Feb 16 17:12:57 topro_: idk, i have qtmobility installed i think Feb 16 17:13:11 * DocScrutinizer05 looks at (duck and cover!) http://maemo.org/packages/search/?org_maemo_packages_search%5B1%5D%5Bproperty%5D=name&org_maemo_packages_search%5B1%5D%5Bconstraint%5D=LIKE&org_maemo_packages_search%5B1%5D%5Bvalue%5D=pidgin&org_maemo_packages_search%5B2%5D%5Bproperty%5D=title&org_maemo_packages_search%5B2%5D%5Bconstraint%5D=LIKE&org_maemo_packages_search%5B2%5D%5Bvalue%5D=same and BURPs Feb 16 17:13:32 ? Feb 16 17:13:54 kerio: is there a howto, ressource, doc? Feb 16 17:14:24 topro_: hm, they should be in the sdk already Feb 16 17:14:36 cssu ships some bugfixes i think Feb 16 17:14:48 * kerio laughs at version 1:1.0.2-maemo4+0m5+0cssu1+thumb2 Feb 16 17:14:57 what the fucking fuck, really Feb 16 17:15:09 kerio: my maemo on n900 has it, but its missing from qt sdk maemo target toolchain Feb 16 17:15:36 topro_: i can't grasp how scratchbox works, sorry Feb 16 17:15:36 :s Feb 16 17:15:39 ask freemangordon maybe Feb 16 17:15:40 what's "qt sdk maemo target toolchain"? Feb 16 17:16:20 we usually have scratchbox (and some say madde too) Feb 16 17:16:26 DocScrutinizer05: using qt sdk updater I installed maemo target. Feb 16 17:16:42 not supposed to work afaik Feb 16 17:17:20 its missing qtmobility, obviously. so i installed madde as stated somewher on tmo, which has no qtmobility either Feb 16 17:17:43 madde isn't really well supported Feb 16 17:18:11 it should be possible to install qtm in it though, I think Feb 16 17:18:24 not that I really had a clue about madde Feb 16 17:18:25 i found some references stating that the only way to build qtmobility applications for maemo atm is to use scratchbox, which doesn'T integrate into qt-creator Feb 16 17:18:44 sounds about right Feb 16 17:22:47 got disconnected Feb 16 17:22:48 uh, I installed xev, but I don't get any keyboard events at all Feb 16 17:23:19 [18:18:25] i found some references stating that the only way to build qtmobility applications for maemo atm is to use scratchbox, which doesn'T integrate into qt-creator Feb 16 17:24:31 so I'm looking for a way to bild qtmobility-aware apps using qt-sdk Feb 16 17:24:39 s/bild/build/ Feb 16 17:24:39 topro_ meant: so I'm looking for a way to build qtmobility-aware apps using qt-sdk Feb 16 17:26:03 it works when compiling for targets simulator and harmattan, but not for maemo Feb 16 17:26:16 as maemo toolchain is missing qtmobility support Feb 16 18:16:46 apt-get update fails due to expired keys. where can I find up-to-date ones Feb 16 18:29:20 tzafrir_n900: expired keys should be a warning. Feb 16 18:53:18 topro: sounds about right Feb 16 18:53:37 topro: [2013-02-16 18:18:44] sounds about right Feb 16 18:55:09 ~listkeys expired Feb 16 18:55:10 Factoid search of 'expired' by key returned no results. Feb 16 18:56:28 ~#maemo expired-key is apt-get update soits out Warnings about Nokia GPG key expired, it's not an Error that should break anything. Ignore it Feb 16 18:56:28 DocScrutinizer05: okay Feb 16 18:56:56 ~#maemo ek is see expired-key Feb 16 18:56:56 DocScrutinizer05: okay Feb 16 18:57:02 ~ek Feb 16 18:57:03 apt-get update soits out Warnings about Nokia GPG key expired, it's not an Error that should break anything. Ignore it Feb 16 18:57:29 infobot: no, #maemo expired-key is apt-get update spits out Warnings about Nokia GPG key expired, it's not an Error that should break anything. Ignore it Feb 16 18:57:30 DocScrutinizer05: okay Feb 16 18:57:33 ~ek Feb 16 18:57:34 apt-get update spits out Warnings about Nokia GPG key expired, it's not an Error that should break anything. Ignore it Feb 16 18:58:22 ~listkeys gpg Feb 16 18:58:23 Factoid search of 'gpg' by key (6): gpg sign multiple files ;; .gnugpg/options ;; gpg ;; agpgart ;; gpg upload ;; pgpgpg. Feb 16 18:58:37 ~gpg Feb 16 18:58:38 rumour has it, gpg is the GNU Privacy Guard, a free public-key encryption program available from nonUS.debian.org . or http://www.gnupg.org, but apt-get install gnupg Feb 16 18:59:40 [notice] lists.maemo.org rebooted Feb 16 19:00:33 something seriously fishy with all that stuff on our xen-grid Feb 16 19:12:20 DocScrutinizer05, now https://lists.maemo.org/ not working Feb 16 19:12:32 Not Found The requested URL / was not found on this server. Feb 16 19:13:39 Pali: sorry, CND. http://lists.maemo.org/pipermail/maemo-developers/2009-September/020830.html WFM Feb 16 19:14:19 hm, that working Feb 16 19:14:34 but this not, try $ wget lists.maemo.org Feb 16 19:14:35 https://lists.maemo.org/pipermail/maemo-developers/2009-September/020830.html works too Feb 16 19:14:59 after nodding off the borked-cert warning Feb 16 19:16:24 sorry, I'm not interested in wget of this page Feb 16 19:16:58 if you found a bug, please analyze and report to bmo Feb 16 19:17:15 Hi, folks. Dies someone have a hint on how to circumvent https://bugs.maemo.org/show_bug.cgi?id=11384 ? Feb 16 19:17:18 04Bug 11384: Diablo extras & extras devel badly signed with Fremantle repository key Feb 16 19:17:36 can I tell apt-get to just ignore the signature? Feb 16 19:17:52 ~ek Feb 16 19:17:52 apt-get update spits out Warnings about Nokia GPG key expired, it's not an Error that should break anything. Ignore it Feb 16 19:18:44 This is not it. It's about a bad signature on the Maemo Extras repo. Feb 16 19:19:08 The bug report describes my experience: Apt refuses to work with the extras repo because of bad sig. Feb 16 19:19:27 please file a ticket Feb 16 19:19:29 * sobukus notes that this is an N800 with diablo Feb 16 19:19:31 ooh you did Feb 16 19:19:45 ping merlin1991 Feb 16 19:19:48 DocScrutinizer05: no, the ticked is already there since years:-/ Feb 16 19:19:58 o.O Feb 16 19:20:05 pong DocScrutinizer05 Feb 16 19:20:09 ^^^ Feb 16 19:20:28 yeah that bug is OOOLD Feb 16 19:20:34 I guess this issue should be easy to fix ... just change some script to create the correct sig? Feb 16 19:20:35 you know anything about that? Feb 16 19:21:39 merlin1991: impact, severity, fix? Feb 16 19:21:46 merlin1991: workaround? Feb 16 19:21:53 impact apt goes foobar Feb 16 19:21:55 that bug was funny :D:D Feb 16 19:22:00 workaround tell apt to ignore keys Feb 16 19:22:08 fix fix the friggin repo script Feb 16 19:22:08 fremantle cssu repo was signed by diablo key Feb 16 19:22:16 ? Feb 16 19:22:22 and diablo repo is signed with fremantle key :D Feb 16 19:22:41 I guess the real problem is not the signing key but having the wrong signature file. Feb 16 19:23:26 merlin1991: I tried apt-get --allow-unauthenticated update ... to no avail Feb 16 19:23:48 is there another way? Feb 16 19:33:36 sobukus: APT::Get::AllowUnauthenticated "yes"; Feb 16 19:33:39 in /etc/apt/apt.conf Feb 16 19:34:41 merlin1991: just delete Release.gpg? Feb 16 19:38:10 kerio: that AllowUnauthenticated will only work after Release.gpg is deleted, right? because, as long as there is a sig, it is not unauthenticated and apt still complains (it looks like that to me) Feb 16 19:41:41 sounds correct. I suggest renaming instead of deleting though Feb 16 19:41:48 yes, yes Feb 16 19:41:53 Release.gpg.bak Feb 16 19:44:26 hello trusted.gpg ou trustdb.gpg Feb 16 19:44:40 in /etc/apt/ ? Feb 16 19:47:07 sobukus: if the bug comments are correct, you don't even need to explicitly ignore the authentication Feb 16 19:47:22 because diablo repos aren't supposed to be signed anyway Feb 16 19:48:45 Well, this one is; but I admit I am confused. apt-get update is not very clear on the success of the operation Feb 16 19:49:15 but since I was able to install usbcontrol, I presume I have the extras repo working? Feb 16 19:49:44 What I really was after was either diffutils or an updated busybox; is that available in the maemo repos for diablo? Feb 16 19:57:33 * sobukus notes he didn't have extras-devel, only devel Feb 16 19:57:39 now I see busybox-power! Feb 16 20:28:29 ~pkg Feb 16 20:28:29 hmm... pkg is http://maemo.org/packages/ Feb 16 20:29:01 sardini: sorry? Feb 16 20:32:00 I have same issue with maemo. on apt-ge update with skeiron.org repository gpg error and bzip2 error code 1 Feb 16 20:37:14 ~ek Feb 16 20:37:15 apt-get update spits out Warnings about Nokia GPG key expired, it's not an Error that should break anything. Ignore it Feb 16 20:37:49 yes I see you repeat 4x this, :) sorry Feb 16 20:38:04 bzip2 error iirc is related to busybox-power, do you have this installed? Feb 16 20:38:30 how to know if busybox is installed? Feb 16 20:38:52 if you installed busybox-power, you done it on purpose Feb 16 20:39:55 busybox-power is already the newest version Feb 16 20:42:14 dpkg -s busybox-power Feb 16 20:42:51 if that shows you installed busybox-power, then I suppose your bzip2 problem is caused by that Feb 16 20:43:30 sardini: which skeiron repository? Feb 16 20:43:42 I must remove busybox ? Feb 16 20:44:03 no, it's about busybox-power, not about busybox Feb 16 20:44:26 and I doubt removing busybox-power will help Feb 16 20:44:43 busybox-power uninstalls very cleanly Feb 16 20:44:58 not my call, I won't touch it ever Feb 16 20:45:02 kerio, from first post here http://talk.maemo.org/showthread.php?s=dc0666b43c4824cb010f17e370f12d13&t=88707 Feb 16 20:45:22 sardini: yeah, but which one? extras? extras-devel? Feb 16 20:46:02 kerio, all Feb 16 20:46:21 sardini: you also installed CSSU? Feb 16 20:46:41 docScrutinizer yes a long time ago Feb 16 20:46:53 DocScrutinizer05, yes a long time ago Feb 16 20:46:55 DocScrutinizer05: decompressiong Packages.bz2 worksforme Feb 16 20:46:58 *decompressing Feb 16 20:47:00 I think CSSU 'conflicts' with busybox-power Feb 16 20:47:10 ah yes Feb 16 20:47:19 sardini: open a terminal, apt-get install --reinstall busybox-power Feb 16 20:47:25 if it was an old version of bb-p Feb 16 20:47:43 how can I install package the not works ? Feb 16 20:47:45 so maybe reinstalling busybox-power can fix stuff for you. But again, I'm not the best expert you can find, since I never touched bb-p Feb 16 20:47:53 sardini: hmm Feb 16 20:48:09 hah, kerio been faster than me Feb 16 20:48:38 sardini: open a terminal Feb 16 20:48:52 it's probably better if you do it on your computer, via ssh Feb 16 20:49:03 do you have root access? Feb 16 20:49:22 when he got bb-p? I'd hope so Feb 16 20:49:48 yes sudo gainroot Feb 16 20:49:58 use "root" Feb 16 20:49:59 ok, as root: Feb 16 20:50:09 not "sudo gainroot" Feb 16 20:50:19 wget http://repository.maemo.org/extras-devel/pool/fremantle/free/b/busybox-power/busybox-power_1.20.2power5_armel.deb && dpkg -i busybox-power_1.20.2power5_armel.deb Feb 16 20:51:11 no, actually Feb 16 20:51:13 hmm, well then you should do /cd /home/user/MyDocs before Feb 16 20:51:15 much much easier Feb 16 20:51:26 rm /bin/bzip2 Feb 16 20:51:31 and i mean much easier Feb 16 20:51:33 :D Feb 16 20:51:39 aha Feb 16 20:51:42 o.O Feb 16 20:51:51 hmm Feb 16 20:51:52 sardini: rm /bin/bzip2, then apt-get update as root, then apt-get install --reinstall busybox-power Feb 16 20:51:54 might work Feb 16 20:52:23 ok I will tell you Feb 16 20:52:25 DocScrutinizer05: my apt prefers gzip, it's lighter and not much bigger than bzip2 Feb 16 20:52:34 kerio: NEVER suggest to rm anything. EVER Feb 16 20:52:38 :( Feb 16 20:52:46 use mv! Feb 16 20:52:51 oh please Feb 16 20:53:20 "ln -s /bin/busybox /bin/bzip2" vs "mv /bin/bzip2.bak /bin/bzip2" Feb 16 20:53:39 it's just one character longer Feb 16 20:54:05 all system use bzip2 Feb 16 20:55:16 sardini: and yet the stock fremantle works without it just fine Feb 16 20:59:00 I have moved bzip2, apt-get update, sub-process gzip returned error code 1 Feb 16 20:59:06 kerio: and when *his* bin/bzip is *not* a symlink? Feb 16 20:59:33 sardini: wtf Feb 16 20:59:42 it's either skeiron that's busted, or... Feb 16 20:59:50 no Feb 16 21:00:20 DocScrutinizer05: gzip is from the stock busybox Feb 16 21:00:55 DocScrutinizer05: if it wasn't a symlink to a busybox without bzip2, it would've worked Feb 16 21:00:55 and probably as messed up by cssu install as bzip Feb 16 21:01:03 DocScrutinizer05: nope Feb 16 21:01:17 unless the cssu busybox doesn't ship gzip Feb 16 21:01:46 honestly, don't invent new leete stuff on helping users Feb 16 21:02:00 stay on tested path Feb 16 21:02:09 sardini: what's the output of "busybox bzip2"? Feb 16 21:02:36 I wait N900 is becom very slow Feb 16 21:03:22 error with apt-get in a term, but the packagemanager say me now updates Feb 16 21:03:54 oh even operamobile update :) Feb 16 21:04:38 ok in fact I have just 'remove' bzip2 Feb 16 21:05:16 sardini: what does "busybox bzip2" say? Feb 16 21:05:19 even as the normal user Feb 16 21:05:57 community SSU PAckage 21.2011.38-1Tmaemo7.2 is the last Feb 16 21:06:50 sardini: is it? Feb 16 21:07:00 kerio sorry n900 update cssu I can't type anymore Feb 16 21:07:19 i don't really get what's happening Feb 16 21:07:38 but I see in the update Enhanced BusyBox shell Feb 16 21:08:59 question is why now is ok in the PackageManager and no in the apt-get Feb 16 21:09:48 term reboot? I pray Feb 16 21:09:55 *? Feb 16 21:21:45 kerio, busybox byp2 Feb 16 21:21:50 applet not found Feb 16 21:21:54 alright Feb 16 21:22:05 you said that there's an update for Enhanced Busybox? Feb 16 21:22:08 do that update too Feb 16 21:23:10 vers 1.20.2power5 Feb 16 21:23:43 65Mo updates... Feb 16 21:24:51 kerio, DocScrutinizer05 thanks a lot :) Feb 16 21:27:23 ah busybox-power update say to me that: /bin/busybox has been modified since installing poxer (invalid md5 checksum). Can be result busybox update from cssu Feb 16 21:27:51 I say ok, yes do it my wonderfull n900 Feb 16 21:45:14 WizardNumberNext, cheesus, 50ms interval for gathering battery data? for fucks sake! Feb 16 21:45:31 wanna have 10x less battery life? Feb 16 21:45:36 haha Feb 16 21:46:01 50ms may be interesting to do impedence spectrometry. Feb 16 21:46:10 but basically insane Feb 16 21:46:12 WizardNumberNext, the funniest thing is that you *don't* need battery profiler in N900 Feb 16 21:46:15 SpeedEvil, yea Feb 16 21:46:27 well, he wanted 1 ms before Feb 16 21:46:41 until got info about kernel timers being 50ms accurate Feb 16 21:46:48 Estel_ did you read all what I wrote? I need anything below 2.56s, but be as accurate as possible, as I do not want to miss any sample Feb 16 21:47:01 hehe, of course I've seen it Feb 16 21:47:07 now the funniest part: Feb 16 21:47:18 WizardNumberNext: the BQ* chip samples current every 5 seconds Feb 16 21:47:20 why do you want to mimic what hardware bq27x00 is already doing? Feb 16 21:47:36 Estel_ and I knew about kernel timers as soon as it was written here - IU tend to read whole backlog Feb 16 21:47:37 sampling faster will not result in more readings Feb 16 21:47:44 profiler from n95 is dumb-phone equivalent (less useful) of what we have in hardware Feb 16 21:48:01 + what speedevil said Feb 16 21:48:06 and the chip has a hardware integrator Feb 16 21:48:15 it's 5.12 second interval updated, 10% accurate Feb 16 21:48:42 now, as ShadowJK said, polling it's data even every 5 seconds is decreasing idle time 5x Feb 16 21:48:51 Estel_ there is no damn way to mimic what bq27x00 is already doing without another bq27x00 alike device. All I want is to store those samples, but not missing single one and not storing doubles Feb 16 21:49:05 4mA idle usage is becoming 20+mA Feb 16 21:49:19 WizardNumberNext, hat do you want to achieve, really Feb 16 21:49:24 sample every 5 seconds and skip duplicates? Feb 16 21:49:25 idk Feb 16 21:49:50 bq27x00 stores mAh used like intelligent LiIon discharger, using variable current Feb 16 21:50:03 i just don't get what you want to achieve Feb 16 21:50:15 by some script storing samples. For what reason? Feb 16 21:50:23 Estel_: simple answer: LOG Feb 16 21:50:28 for? Feb 16 21:50:34 battery log Feb 16 21:50:43 and what to do with it? Feb 16 21:50:49 read it Feb 16 21:50:55 log containing current stored every 5 second? Feb 16 21:51:03 for what fckn sake? Feb 16 21:51:04 yes Feb 16 21:51:06 WizardNumberNext: there is no battery log. Feb 16 21:51:19 you need to read the chip every 5 seconds Feb 16 21:51:22 I want to see what would be affecting and how my current drain Feb 16 21:51:29 use powertop Feb 16 21:51:39 ;) Feb 16 21:52:00 http://wiki.maemo.org/N900_Hardware_Charge_Meter Feb 16 21:52:04 you will get detailed log what is causing what and how often Feb 16 21:52:13 http://wiki.maemo.org/N900_Hardware_Power_Consumption Feb 16 21:52:14 ~powertop Feb 16 21:52:14 i guess powertop is available from http://talk.maemo.org/showthread.php?p=491333, or http://www.2shared.com/file/11135428/bbe19274/powertop_111-1_armel.html Feb 16 21:52:15 SpeedEvil: that is what I want to do - read bq27x00 every 2.56, as there is some current value, which is updated every 2.56s Feb 16 21:52:34 infobot, no, powertop is available from repos Feb 16 21:52:34 okay, Estel_ Feb 16 21:52:45 http://wiki.maemo.org/N900_software_power_management Feb 16 21:52:56 WizardNumberNext: it's every 5.12s Feb 16 21:53:01 I simply want full log Feb 16 21:53:09 which is average only then Feb 16 21:53:17 I want "instant" as well Feb 16 21:53:18 such log is utterly useless for *any*purpose Feb 16 21:53:26 read the above pages Feb 16 21:53:30 no instant in this device, period Feb 16 21:53:36 + what SpeedEvil said Feb 16 21:53:39 Estel_ wrong it is usefull Feb 16 21:53:41 (of which I'm the main author) Feb 16 21:54:07 WizardNumberNext, again, for your purpose, use powertop Feb 16 21:54:10 I want to know exact capacity of battery - you cannot know excact capacity of battery, if you measure capacity of battery in mAh Feb 16 21:54:14 it's only useful if you correlate it with running processes, and track all enabled peripherals. Feb 16 21:54:23 there is no such thing as exact capacity of battery Feb 16 21:54:29 capacity is always relative Feb 16 21:54:30 WizardNumberNext: the charge meter is designed for that Feb 16 21:55:03 capacity is relative to temperature, discharge current, etc. Feb 16 21:55:18 I agree it would be relative capacity, as exact would be full-empty and empty Li-ion is dead Li-ion Feb 16 21:55:49 nope Feb 16 21:55:50 but I would get knowledge of mWh instead of useless mAh Feb 16 21:56:08 WizardNumberNext: the charge meter measures and integrates accurately the entire consumption of the device over the whole charge cycle Feb 16 21:56:10 even from hyphotetical full-empty, it's still relative Feb 16 21:56:31 Estel_: then do it: discharge Li-ion below 2.7V and charge it back - get fire extiguisher first Feb 16 21:56:35 to do accurate milliwatt-hour measurements, you need about ten voltage measurements over the cycle Feb 16 21:56:43 that is all. Feb 16 21:56:49 and even then it's wrong Feb 16 21:57:24 as the battery can provide fewer miliwatts hours if used to provide a higher power Feb 16 21:57:34 read above pages Feb 16 21:57:36 yea, in practice, what SpeedEvil said is what you need and what I tried to tell you from beginning - bq27x00 does just that, measure capacity via variable current logging, it's as accurate aas you will get Feb 16 21:57:59 and if we're talking about battery's theory, thefre is no "exact" capacity ever, even theoretical Feb 16 21:58:08 it's always relative Feb 16 21:58:19 SpeedEvil: I am aware of internal resistance ad all other parametres, which you even have no idea have some impact on battery as well Feb 16 21:58:24 to temperature, to discharge, to pressure, etc Feb 16 21:58:28 to do better, you need to do impedence spectroscopy. and have a accurate battery model. I started on this, but got bored. Feb 16 21:59:07 WizardNumberNext: I suspect I know way, way more about lithium ion charge cycles than you. Feb 16 21:59:15 battery is like every other piece of wire - have all possible electric parametres including resistance, impendance, being coil and so and on and on .... Feb 16 21:59:18 WizardNumberNext, what you want to achieve is some hoax about accurate battery measuring, using wong assumptions and wrong methods 0_o Feb 16 21:59:31 >battery is like every other piece of wire Feb 16 21:59:38 battery is not even remotely related to wire, btw Feb 16 21:59:42 it's a bunch of fucking chemicals Feb 16 21:59:55 * Estel_ nods Feb 16 22:00:07 what's the issue with storing duplicate readings anyways? Feb 16 22:00:12 kerio, btw, the guy who installed webos just meant webos games manager Feb 16 22:00:18 there is no good method to be precise - every method is imperfect as electronics (inluding battery) are imperfact Feb 16 22:00:23 oh, preenv? or whatever it's called Feb 16 22:00:32 kerio, yea Feb 16 22:02:13 http://en.wikipedia.org/wiki/Dielectric_spectroscopy Feb 16 22:02:46 works for batteries too, and with extra stuff lets you really accurately predict cell behaviour. Feb 16 22:02:53 SpeedEvil: I didn't look yet, but sounds like you see the thing anyway Feb 16 22:03:02 but in practice, it,s largely irrelevant Feb 16 22:04:50 SpeedEvil: enquiry: do you have any idea if, all additional voltages in n900 are created by some smps or something a lot sipler Feb 16 22:05:02 s/sipler/simpler/ Feb 16 22:05:02 WizardNumberNext meant: SpeedEvil: enquiry: do you have any idea if, all additional voltages in n900 are created by some smps or something a lot simpler Feb 16 22:10:20 there are about a dozen SMPSs Feb 16 22:10:31 and quite a few more linear supplies Feb 16 22:27:35 more accurate digital power measurement? use more analog: integrator circuit :D Feb 16 22:30:24 I was wonderring about how accurate my newly installed "smart" electric meter, I think it also does sampling to measure usage... I wonder what they'd do if I drew a large amount of current a millisecond after each sample for a few milliseconds... :o Feb 16 22:30:34 "free electricity!" Feb 16 22:31:30 if they used an integrator this would be much harder to do... it may well use it too, but hard to tell for sure without taking it apart. Feb 16 22:34:02 eccerr0r: in the general use case smart electric meters have a granularity of 15 minutes Feb 16 22:34:27 Though it isn't uncommon to have them down to 1 minute Feb 16 22:34:29 ...that can't be right Feb 16 22:34:43 kerio: why? Feb 16 22:34:46 nah, that's the upload rate, not sample rate Feb 16 22:34:56 you can't sample every 15 minutes Feb 16 22:35:03 it would be too imprecise Feb 16 22:35:06 the sample rate must be must higher, you'd get aliasing like mad Feb 16 22:35:40 hm no idea about the sample rate, I was thinking about the storage end Feb 16 22:36:06 my meter had a led, it blinks 100 or 1000 times per kWh, i forget exact number Feb 16 22:36:17 has* Feb 16 22:36:47 err..grok error...clarify please? Feb 16 22:37:51 My smart meter. It has display where you can cycle through accumulated day and night kWh, current rate, etc. it also has a led that blinks Feb 16 22:38:13 the rate of blinking depends on rate of consumption Feb 16 22:38:49 It also has S0 output, but electric company has blocked it Feb 16 22:39:32 So I have a little gadget staring at the led, hooked up to my computer, logging electricity use Feb 16 22:40:49 kWh=energy consumed so how does this cause the LED to blink? Feb 16 22:42:13 pulse code? blinks faster when more KW is being used? Feb 16 22:42:56 maybe blinks per time period would make more sense Feb 16 22:45:52 almost flattened my n900 battery, ready to measure power draw on microusb... hopefully it will draw more than 500mA else the mystery continues... Feb 16 22:47:27 almost made it 24 hours realtime without charging... bah. Feb 16 23:03:26 eccerr0r: typically, they blink 1000 times per kWh Feb 16 23:03:38 so, twice a second is 7.2 kW Feb 16 23:04:37 and typically, it says on the meter how often it blinks Feb 16 23:04:44 eccerr0r: for more information, hit maxim.com Feb 16 23:04:46 err Feb 16 23:04:50 macim-ic.com Feb 16 23:05:02 and go and look at their energy metering chips Feb 16 23:13:27 (([2013-02-16 23:00:07] what's the issue with storing duplicate readings anyways?)) exactly nothing at all. Oversample by factor 2.5 and ok Feb 16 23:14:33 but after al it's really meaningless since bq27200 does proper integration on its own, via hw Feb 16 23:15:19 so delta-NAC is better than any integral of oversampled electrical-current readouts Feb 16 23:15:46 is's called gas gauge for a reason Feb 16 23:25:13 "1000 times per hour per kilowatt being used" that would seem more like an accurate description... blinking something like KWh where it's monotonically increasing (except if you have PV or your own reactor) didn't make sense Feb 16 23:27:04 per kWh, not per kw. Feb 16 23:27:27 unit analysis doesn't work if it's KWh. Feb 16 23:27:48 if it blinked 1000 times per kilowatt, it would blink 1000 times when you plug in a 1kw load, and not again Feb 16 23:27:55 if it's KWh your LED would blink faster and faster as you reach the end of the month, and then you'd have to reset it Feb 16 23:28:05 err, no Feb 16 23:28:52 '1000 times per kWh' does not mean '1000 times per kWh since the start of the month' Feb 16 23:29:44 1000 times per kWh = one blink per Wh, or once every 3600J Feb 16 23:34:06 ok that makes more sense, yes you would get more blinks as you use more power, just not all at the same time. Feb 16 23:38:18 I think it'd make more sense described as 1 blink per watt hour. "1000 blinks" seems like a unit in itself hence making it confusing. Feb 16 23:42:36 I dunno, it sounds pretty useful to me though I don't have one, just to take a brief glance and you know if it's about normal or way less or way more Feb 16 23:43:41 actually here I can get some fancy graphs of my usage straight from the electric company website since they installed remotely readable meters a while back, I think it updates every hour or so at least Feb 16 23:44:28 well it's basically counting RPMs of the traditional meters, one rotation every Wh (or is it that way?) Feb 16 23:51:17 imagine fair usage policy on electricity Feb 16 23:51:34 so you can only use 10kWh a month and then you are cut off Feb 16 23:51:46 but you still have to pay full price Feb 16 23:51:56 sounds fair Feb 16 23:51:59 btw "1000 times per hour per kilowatt being used" is the same as "1000 blinks per kwh" :) Feb 16 23:52:02 eccerr0r: kWh is the normal billing unit Feb 16 23:52:10 or your current would be reduced to 1A max Feb 16 23:52:17 jacekowski: that happens in some places Feb 16 23:52:19 maybe there would be more incentive to actually make good use of electricity Feb 16 23:52:28 Greece? Feb 16 23:52:31 or, just other stuff :p Feb 16 23:53:34 that "fair usage policy on electricity" is the crap we have to deal with on our wireless bills :P Feb 16 23:54:36 seems my consumption was about 260kWh last month, and after I moved I've lost data of previous years in the fancy graph, heh Feb 16 23:55:33 mine was 400 or so. Feb 16 23:55:39 due to winter hearing Feb 16 23:55:42 heating Feb 16 23:57:30 this is sad: I used about 555 KWh last month, and I'm below the average of similar households in my city... Feb 16 23:57:49 electric heating? Feb 16 23:58:14 and I have gas heating. Feb 16 23:58:21 that's a lot Feb 16 23:58:29 jacekowski: yes Feb 16 23:58:49 yes it is a lot. Feb 16 23:58:50 eccerr0r: what are you wasting your electricity on Feb 16 23:59:13 plus they filtered out all electric heating homes Feb 16 23:59:20 my sister's fridge had some malfunction that made her bill like 6-8x Feb 16 23:59:44 The only things I do know about is that I run two computers 24/7 Feb 16 23:59:58 computers don't pull a lot Feb 17 00:00:12 I do cook (electric) and electric dryer. Feb 17 00:00:17 depends on the sort Feb 17 00:00:22 but furnace and HWH is gas. Feb 17 00:00:44 I run one computer 24/7 and a couple of others maybe most of the day Feb 17 00:01:18 my server is a raspberry π Feb 17 00:01:19 it's a laptop with a busted screen though so it doesn't draw that much Feb 17 00:01:37 ah, I've one of those too but unfortunately not enough mem for around 100 users heh Feb 17 00:01:42 hmm... actually one of my computers uses around 90KWh/month Feb 17 00:01:51 or, maybe could do with it but not that well Feb 17 00:01:53 I would recommend you get a plug in power meter Feb 17 00:02:08 then go round all your appliances, plugging it in for a day Feb 17 00:02:28 I can't measure my dryer and stove. but I have decent estimates of my computers already... Feb 17 00:02:55 (and don't have a power meter... just a guesstimate with a multimeter) Feb 17 00:03:55 oh... and dishwasher... but usually do not use the heater in that so it's not nearly as bad. Feb 17 00:04:20 just that the duty cycle of the dryer is fairly low. Feb 17 00:04:37 same with microwave and stove... I really don't know. Feb 17 00:12:53 if they sold electricity in 10KWh chunks, use or lose, I'd have to go buy a big battery bank to store energy for the summer... Feb 17 00:18:09 Argh Feb 17 00:18:25 WHY do google have 2 different API's for tasks and calendars? Feb 17 00:18:56 and by that, I mean REALLY different API's Feb 17 00:19:29 MrOpposite, for calendar(s) google has standard caldav (webdav) API Feb 17 00:19:55 Pali, yeah, and there are plenty of applications for maemo to sync with google calendar Feb 17 00:20:07 but for unknown reasons tasks are not available in google caldav :-( Feb 17 00:20:20 I'm currently trying to modify erminig to include tasks Feb 17 00:20:32 MrOpposite, use syncevolution Feb 17 00:20:35 AIUI there's no standard for syncing tasks apart from exchange Feb 17 00:20:47 or maybe SyncML Feb 17 00:20:53 syncevolution has support for caldav Feb 17 00:20:58 Hmm Feb 17 00:21:05 and Google didn't even have a tasks api till recently Feb 17 00:21:06 syncml is going turned off on google servers Feb 17 00:21:28 both syncml and activesync on google never supported tasks Feb 17 00:21:34 Pali, well, syncevolution still doesn't handle google tasks Feb 17 00:21:49 yes, because of google... Feb 17 00:22:03 but maybe it's easier to develop a plugin that allows for tasks for syncevolution? Feb 17 00:22:35 uff, I do not know, but maybe will be easier to develop application which will create caldav server Feb 17 00:22:57 webdav is extension to http protocol Feb 17 00:23:04 yeah, I know Feb 17 00:23:33 but I don't feel like developing applications that require 3rd party equipment Feb 17 00:23:36 If you just want task sync and not specifically google tasks you can try mooha server Feb 17 00:24:12 I want my n900 to connect to google directly. Feb 17 00:24:14 hm, is not there already application which simulating caldav server for google tasks? Feb 17 00:24:35 I want as few points of failures as possible Feb 17 00:24:51 if google fails, my calendar is inaccessable eitherway Feb 17 00:25:03 If my n900 fails, I won't have any use for the calendar on it anyway Feb 17 00:25:37 But if the 3rd party caldav server that connects to google fails, it will just be bad Feb 17 00:27:16 mooha server is a little php syncml server, doesn't connect to google, but you can sync tasks between devices. Prolly not what you want, but I haven't find anything better to sync tasks on N900. Feb 17 00:33:37 MrOpposite, google tasks caldav "server" can be started on n900 Feb 17 00:33:57 hmm? Feb 17 00:37:32 what about this? https://github.com/matthewbauer/caldav-to-gtasks Feb 17 00:39:38 Yeah, but if I still need another application for tasks, I could just as well use the same application for both tasks and the google calendar Feb 17 01:35:25 Ohhh...kaayyyy... this is baffling, with the n900 totally empty, it refuses to charge with my d+- shorted test jig, but the AC10C charges fine... Feb 17 01:38:16 the AC10C is running at 5.68mA at 120V ...that's way too low Feb 17 01:39:39 well, let it sit for a bit, maybe it will pick up the pace in a bit... Feb 17 01:40:09 need to figure out why it would not charge with the test jig... Feb 17 01:43:02 I need to see the 120VAC jump to around 30-40 mA minimum I would hope... Feb 17 01:46:08 odd Feb 17 01:47:57 meh Feb 17 01:49:51 a) 40*120??? b) I honestly doubt your meter is properly measuring the extremely non-ohmish input current such a SMPS is drawing from mains Feb 17 01:50:21 ~5.68 * 120 Feb 17 01:50:22 681.6 Feb 17 01:51:59 yes PF could be an issue but it wasn't that far off when measuring another SMPS with a resistive load Feb 17 01:52:00 * 0.85 (efficiency of charger) * 1.5 (inaccuracy of your meter for the imaginary component of mains current) Feb 17 01:52:31 either way, if you convert that to 5V, that's way less than 800mA Feb 17 01:52:56 * 0.85 (efficiency of charger) * 2.4711 (inaccuracy of your meter for the imaginary component of mains current) Feb 17 01:53:12 WOOHOO! Feb 17 01:54:09 I just got my tasks from google Feb 17 01:54:22 now... let's put them into my n900 shall we? Feb 17 01:54:48 even at 2.4711 (which has to have been pulled out of a rear end) it's still way off 800mA secondary, indicating I'm not charging quickly at all... Feb 17 01:55:02 sounds like "YAY, I tasted the whip from my mistress" Feb 17 01:55:40 *sigh* Feb 17 01:56:03 ~5.68 * 120 * 0.85 * 2.4711 Feb 17 01:56:03 1431.656496 Feb 17 01:56:28 that's now milliwatts Feb 17 01:56:32 convert that to amperes Feb 17 01:56:37 BS Feb 17 01:56:40 "Seems like I'm not charging, quickly at all... quickly at all... quickly at all..." "Stupid underpowered flanders" Feb 17 01:56:53 err, sorry, you might be right Feb 17 01:57:02 "might"??? Feb 17 01:58:16 anyway, get proper tools to investigate this. We adviced you which tools those are Feb 17 01:59:27 if your USB is broken, we can't help from remote Feb 17 01:59:49 if it charges at all, can the USB be broken? Feb 17 02:00:04 I can witness my device is charging fine from AC10, with more than 500mA Feb 17 02:00:15 yes Feb 17 02:00:47 what's it say on the killawatt? Feb 17 02:01:22 myhulbarb froddles Feb 17 02:07:14 nice that the ac10c is down to 0.31mA when it's disconnected from the n900... that's pretty good... not even 1mA Feb 17 02:08:48 modern power adaptors can be a few dozen milliwatts idle Feb 17 02:11:48 yeah i've seen worse, this is the best one I've seen so far that I've measured Feb 17 02:13:49 this battery charger SMPS brick is 1.4W... awful. Feb 17 02:14:04 * SpeedEvil is pondeimg making a qi charger Feb 17 02:14:14 they are ridonkulous prices. Feb 17 02:22:34 WOAH Feb 17 02:23:12 qi charger? Feb 17 02:23:14 the battery died! didn't charge at all... plugged in another battery and back into the ac10c... now I got a peak of 15mA on 120V... Feb 17 02:23:20 hmm Feb 17 02:23:41 hmm Feb 17 02:23:43 The usb port looks intact as far as I can tell though, it may be the only explanation Feb 17 02:24:13 get bq27k-detail resp bq27200.sh Feb 17 02:24:21 get charge21.sh Feb 17 02:24:39 this is all handwaving Feb 17 02:25:49 now I can even see the power dropping and rising on the 120V AC meter when I turn the display on and off... Feb 17 02:26:23 this is utterly nonsense... Feb 17 02:26:34 DocScrutinizer05: it's a near field charger, in the 100-200khz range. and a dumb cw doesn't work. Feb 17 02:26:56 guess i'll have to charge this dead bl5j up a bit so it can power the n900 enough to allow charging Feb 17 02:27:26 in near dead mode, it will only charge at 10ma or so Feb 17 02:28:40 the battery is at 3.3V, which is not too bad, should be safe to charge at full rate (but my external charge jig I was using for my broken 5230, won't go that high) Feb 17 02:30:48 honestly, you're assuming too much that's not based by facts. E.G N900 charges fine even with flat battery Feb 17 02:31:42 it doesn't need power from battery to charge Feb 17 02:31:58 well, facts based on what's known, but not based on the problems I'm seeing... Feb 17 02:32:20 I had it plugged in and the unit still powered down...something is definitely wrong or flaky. Feb 17 02:32:30 xy? Feb 17 02:33:14 or do you now conclude from that observation that you need power from battery to charge battery? Feb 17 02:33:42 it's not impossible for weird charging to be caused by a partially dead USB Feb 17 02:33:50 in fact, common Feb 17 02:33:52 what I said Feb 17 02:33:59 or cable, of course Feb 17 02:34:19 parasitary/phantom series R Feb 17 02:34:43 causing an over-all high-Z of charger Feb 17 02:34:53 all visible with charge21.sh Feb 17 02:36:26 IOW: USB semi-broken Feb 17 02:37:17 either cable or plug or receptacle contacts or receptacle pins Feb 17 02:37:44 not sure where I saw it, might be misinformation on the web implying that it required cpu intervention to program the bq24150 Feb 17 02:37:48 same goes analog for D+/D- Feb 17 02:38:06 that's correct Feb 17 02:38:13 and the cpu is only poweredfrom the battery... Feb 17 02:38:18 but bq24150 doesn't need programming to charge Feb 17 02:38:30 well i hope that would be the case. Feb 17 02:38:34 ~flatbatrecover Feb 17 02:38:34 Remove battery for 1 minute. Insert battery. Plug powered Nokia wallcharger to device. Watch steady amber. Let sit and charge. Do NOT try to boot. After 30 min, you got either a) a booted up N900, b) flashing amber which means you can boot, c) steady amber going off - in this case start over again with ~flatbatrecover Feb 17 02:39:22 emergency charging mode, independent of CPU Feb 17 02:44:24 actually it's one of the reasons why N900 has no OTG - the TP65950/twl4030 early silicon revisions didn't support flatbatrecover, so they had to change the charging or at very least the USB PHY Feb 17 02:45:32 which resulted in the drivers for OTG not working with the new hw Feb 17 02:45:36 flatbatrecover... hmm Feb 17 02:46:21 which in turn resulted in USB-cert not granting the "OTG" stamp Feb 17 02:46:56 which meant they hat to swap from micro-AB to micro-B receptacle Feb 17 02:47:04 had* Feb 17 02:47:33 which finally resulted in no more chance to ever get an OTG stamp, so they binned the drivers Feb 17 02:50:22 (they also didn't even bothar anymore for OTG on circuit development, so the hw has some other roadblockers that make true OTG/hostmode impossible now) Feb 17 02:52:07 particularly they didn't connect the ID pin to the new phy Feb 17 02:52:47 and the new PHY (1707) has no sw emu for ID pin Feb 17 02:53:49 and the MUSB-core in OMAP has no sw emu for true hostmode either, it needs a signal from PHY for that Feb 17 02:54:06 hence nasty hacks Feb 17 02:55:00 but the new PHY has proper detection of D+/- short in hw, and a pin to drive the bq24150 into fastcharge mode and switch on steady amber on indicator LED Feb 17 02:56:22 so with D+/- short the PHY and bq24150 can charge battery without any support from CPU Feb 17 02:57:31 (to 3.6V only [or somesuch] and only for 32 minutes, but that's usually enough to charge battery to a level where device can boot and continue charging under CPU control) Feb 17 02:59:06 unless the battery is very old Feb 17 02:59:10 yep Feb 17 02:59:18 when ESR can disrupt things **** ENDING LOGGING AT Sun Feb 17 02:59:57 2013