**** BEGIN LOGGING AT Wed Aug 29 02:59:58 2012 Aug 29 06:06:18 DocScrutinizer05: no joy with BCI driver, too many missing pieces. I might want to write/backport a driver for backup battery only, but I'd rather wait you to play a bit with i2ctools first :) Aug 29 07:02:25 How do you do audio recording on maemo from cli? Aug 29 07:23:21 hello world Aug 29 07:24:19 works Aug 29 07:32:14 LaoLang_cool: basically with arecord or the PA similar prog (forgot the name) - the big hurting problem though are PA policies, since those conflict with stuff like amixer, to set up recording source path. Maybe Pali can help. Also javispedro might know details how this crap works Aug 29 07:34:02 LaoLang_cool: reading source of "recall" might also reveal some details how that app does special path setup Aug 29 07:34:31 DocScrutinizer05, thank you for advice, I know how to use ffmpeg to take n900's screen recording, maybe it can do similar work too, I will be learning for that Aug 29 08:05:35 nandtester here-good morning...whatever cal-tool option I enter,I get a CAL ERROR: invalid header magic at addr...at least for all the get options-didn't check the set option,cause don't know what I could set here Aug 29 08:15:06 told you CAL is structured... not yours though anymore Aug 29 08:15:57 haha Aug 29 08:16:00 http://talk.maemo.org/showthread.php?t=20465 Aug 29 08:17:02 sambo7: didn't you say you had another n900? Aug 29 08:17:36 use that Aug 29 08:19:48 hm, how does CAL handle bad blocks? Aug 29 08:20:30 i don't think it does Aug 29 08:20:39 but cal is CoW Aug 29 08:21:17 ~wtf CoW Aug 29 08:21:18 Gee... I don't know what CoW means... Aug 29 08:21:26 hm Aug 29 08:22:47 still waiting for the second N900 Aug 29 08:23:44 i just discovered that my n900 is a british one Aug 29 08:23:54 and the wlan region is fcc/us Aug 29 08:23:55 weird Aug 29 08:24:03 the wifi region is definetely set to EU though Aug 29 08:24:30 eheh, wifi vs wlan region? Aug 29 08:25:15 idk Aug 29 08:25:29 but i flashed Global on it Aug 29 08:25:37 sambo7: does your fmtxd work? Aug 29 08:25:53 can I copy a working CAL to my device?with nandwrite or cal-tool? Aug 29 08:26:08 nandwrite Aug 29 08:27:46 nanddump/nandwrite Aug 29 08:29:37 jacekowski-what is fmtxd? Aug 29 08:29:56 fm transmitter daemon Aug 29 08:30:02 just check if your fm transmitter works Aug 29 08:30:35 how can I check that? Aug 29 08:30:47 iirc it's in settings Aug 29 08:30:53 check if you can enable it Aug 29 08:34:57 can#T find anything like that in setting--what about the fmtxd command in cli? Aug 29 08:35:08 fmtxd-client i believe Aug 29 08:37:56 I get : ERREOR: unable to set FmTx state...maybe because no freq configured Aug 29 08:38:22 i bet the modified fmtxd would work :D Aug 29 08:39:27 maybe can post his current settings...I get my settings when I try to dis/enable it-but it's all 0 Aug 29 08:43:53 my settings right now are: version=1 frequency=0 freq_min=0 freq_max=0 freq_steps=100 state=n/a rds_ps=Nokia rds_text= Aug 29 08:44:15 maybe I can enable it with proper freq settings Aug 29 10:37:00 hey nandtester, you actually could wget the CAL image from maemo.cloud-7.de and dd it to /dev/mtd1. couldn't make things any worse Aug 29 10:40:46 DocScrutinizer51: you're lying, it totally could :D Aug 29 10:40:59 also no, you're not supposed to dd with mtds Aug 29 10:47:09 could try that later at home...right now, can't do it...so better keep away from dd'ing mtds? Aug 29 10:47:28 you're supposed to use nandwrite Aug 29 10:47:37 there's mtdblk*, but that's sillier Aug 29 10:47:47 i don't think dd works with raw mtd devices Aug 29 10:48:04 nadwrite might do the trick Aug 29 10:49:22 usage: nandwrite [OPTION] MTD_DEVICE [INPUTFILE|-] ... writes to the specific MTD device...it says Aug 29 10:49:30 yeah, nandwrite is the one to use Aug 29 10:51:47 DocScrutinizer51: what's n9_goes_spooky.mp4? Aug 29 10:53:19 I guess I don't have any other choice that checking that out Aug 29 10:53:47 sambo7: hey, at least you've got *something* working now Aug 29 10:53:56 sambo7: btw, is it out of warranty? Aug 29 10:54:20 maybe somebody who does have a hw rev 2101 could sned me a copy of his mtd1/CAL image Aug 29 10:54:30 sambo7: which region is your n900? Aug 29 10:55:20 EU/Britain Aug 29 11:06:17 it's out of warranty Aug 29 11:31:02 hw rev 2204 here, I'm afraid. Aug 29 11:31:45 sambo7: there's http://maemo.cloud-7.de/mtd_debug_read_mtd1_0_0x60000.bin and http://maemo.cloud-7.de/dd_if=mtd1ro.bin (seems they are identical :-D ) Both hw2101 iirc Aug 29 11:32:24 kerio: what the name says - a video when N9 acts on phantom input Aug 29 11:32:41 probably touchscreen gone mad Aug 29 11:32:44 oic Aug 29 11:46:50 DocScrutinzrWrk: did you see my comment re BCI? Aug 29 11:49:30 BEFORE you close a web page make sure you scroll up to the top, so it’s in the right position for the next person. Aug 29 11:58:13 freemangordon: you hoping for me using i2ctools? yep, seen that Aug 29 11:58:40 alas accessing twl4030 isn't exactly trivial Aug 29 11:59:29 some registers are are locked Aug 29 12:03:46 yeah but the bupbat-related stuff has to be unlocked Aug 29 12:03:51 the charging has to be software-controlled Aug 29 12:25:19 kerio: what makes you think bupbat charging should be done under sw control? Aug 29 12:25:46 isn't that the whole problem? Aug 29 12:26:32 nope, not even verified there's any problem at all Aug 29 12:26:44 in soft/firmware Aug 29 13:29:18 DocScrutinizer51: backup battery charging should be enabled in SW Aug 29 13:30:15 i thought that backup battery problem is that the battery is not of the best quality Aug 29 13:30:28 I was hoping if you can verify whether it is enabled or not (by using i2ctools). Kernel for sure does not enable it, as the driver is disabled Aug 29 13:30:33 and well, to be honest i've never seen a phone that would really need that battery to last more than few minutes Aug 29 13:30:58 jacekowski: yeah, but it lasts 3-4 seconds at best :D Aug 29 13:31:24 well, that would indicate that it's being charged Aug 29 13:31:53 jacekowski: not necessary, there are capacitors all over the place Aug 29 13:32:06 yeah, but rtc is supplied from that battery only Aug 29 13:32:12 and it has to see voltage on it to operate Aug 29 13:33:16 no, RTC is supplied from primary or backup depending on voltage, when main battery voltage drops under 3.2 V then backup battery is used Aug 29 13:33:35 or was it 2.8 Aug 29 13:35:31 anyway, I suspect noone enable backup battery charging, if DocScrutinizer51 says it is hard to use i2ctools, I will write a simple driver to read status/charging/voltage regs Aug 29 13:42:07 The VRRTC line is Aug 29 13:42:08 supplied by the VRRTC LDO when VBAT > 2.7 V, and by the VBRTC circuit when in backup mode ( Aug 29 13:42:45 but thing is, that's 3.3V battery Aug 29 13:43:39 i don't think there are 3.3V rechargeable batteries Aug 29 13:44:13 so it may be a primary cell Aug 29 13:44:24 that's why it's not charging Aug 29 13:46:05 anybody with hw rev 2101/Region Brtitain who can share his CAL/mtd1 with me so that I can check out nandwriting to my device... Aug 29 13:46:50 hmmm Aug 29 13:47:54 not me Aug 29 13:49:05 freemangordon: it's only hard to figure which values to write to which registers Aug 29 13:51:38 jacekowski: nope, this is a special backup LiIon rechargable cell Aug 29 13:51:57 with rather weird voltage Aug 29 13:57:20 DocScrutinizer51: I only need to know it backup charging bit is set (i.e. if charging is enabled), to confirm/not bad batteries hypothesis Aug 29 13:57:37 but maybe it will be easier for me to write the driver Aug 29 13:57:49 i'll try to do it when I'm back home Aug 29 13:59:05 it should be most easy to search fir register/bit name in mxr Aug 29 13:59:14 for* Aug 29 13:59:14 mxr? Aug 29 13:59:53 DocScrutinizer51: I can reuse the code from existing BCI driver, striping the part for charger/main battery/usb Aug 29 14:00:10 leaving only support for backup battery Aug 29 14:00:12 :shrug? Aug 29 14:00:16 : Aug 29 14:00:35 ~mxr Aug 29 14:00:45 mxr.maemo.org Aug 29 14:01:30 funny I teach you about kernel source ;-) Aug 29 14:01:56 DocScrutinizer51: I am unable to parse :) Aug 29 14:03:00 aah, ok, I think I got it Aug 29 14:03:49 http://mxr.maemo.org/fremantle/ Aug 29 14:04:41 yeah, yeah. the problem is that BCI driver is platform, not standalone driver, so I think it will be hard to find the exact needed values Aug 29 14:04:51 kerio: http://news.slashdot.org/story/12/08/29/0349226/large-bitcoin-ponzi-scheme-collapses-with-a-loss-of-56-million MWHUAHAHAHAHAHAHAHA Aug 29 14:05:38 DocScrutinizer51: lemme start my SDK, it will be much easier for me Aug 29 14:05:40 teotwaki: it's only on slashdot because that dude used bitcoins instead of dollars Aug 29 14:06:23 kerio: dude, is your nickname on slashdot "slim"? Aug 29 14:07:26 no Aug 29 14:07:48 oh, the post with score:4 informative Aug 29 14:07:49 haha Aug 29 14:08:30 freemangordon: what's the name of the register you're interetsed in? Aug 29 14:09:48 DocScrutinzrWrk: http://mxr.maemo.org/fremantle/source/kernel/drivers/power/twl4030_bci_battery.c#599 Aug 29 14:10:31 http://mxr.maemo.org/fremantle/source/kernel/drivers/power/twl4030_bci_battery.c#693 Aug 29 14:10:47 one of these should do the job Aug 29 14:12:23 meh, that's not what I asked Aug 29 14:13:44 http://mxr.maemo.org/fremantle/source/kernel/drivers/power/twl4030_bci_battery.c#81 Aug 29 14:13:47 better? Aug 29 14:16:53 DocScrutinzrWrk: leave that, I will write a driver, it should be a piece of cake to reuse that code Aug 29 14:21:12 yeah, reuse the bugs in it Aug 29 14:23:17 bugs? Aug 29 14:23:32 I will read/write 2 registers, what bugs Aug 29 14:25:17 nah, it's just obfuscated, but it seems 0x10 should be safe Aug 29 14:25:53 enabled, 2.5V, 25uA Aug 29 14:26:29 insane to pack all that into one #define named BBCGEN Aug 29 14:26:50 BBCHEN actually Aug 29 14:27:20 did you read that from the chip, you are just parsing the define? Aug 29 14:27:35 parse #define Aug 29 14:27:37 mxr Aug 29 14:27:41 aah, ok Aug 29 14:28:09 well, i am going home, will try to have something working in 1-2 hours, bbl Aug 29 14:28:16 reading from chip might be straight forward, once you know bus and real addr Aug 29 14:28:32 yeah, that is why I want to reuse the code Aug 29 14:28:50 as it uses twl4030-code Aug 29 14:28:55 s/code/core Aug 29 14:28:57 meh Aug 29 14:29:17 bb Aug 29 14:37:53 the real problem is i2cbus/chip-addr occupied by twl4030 driver Aug 29 14:38:05 so no dice with i2cget Aug 29 14:38:55 probably should use fsckdup pk47 without that locking Aug 29 14:39:31 or was it pk48? Aug 29 14:53:08 uBoot anybody? Aug 29 14:53:51 nm, aiui *our* uBoot has no console? Aug 29 14:53:51 DocScrutinzrWrk: gimme some time, I will do it in proper way Aug 29 14:56:10 freemangordon: prober way: get a sysnode for twl4030".ko", to send chipaddr[0x48..0x4b?]:register tuples in plain text, and read value. Or send chipaddr[0x48..0x4b?]:register = , to write to register Aug 29 14:56:20 proper* Aug 29 14:56:52 hehe Aug 29 14:56:54 * DocScrutinzrWrk idly wonders if such sysnode already exists Aug 29 14:57:13 I think pali mentioned something about that, lemme check Aug 29 14:57:29 appreciated, no ssh here at work Aug 29 14:57:34 :-/ Aug 29 14:57:42 or was it for bq charger? Aug 29 14:57:54 (pita to do real work on N900 on device shell Aug 29 14:57:56 ) Aug 29 14:58:08 bq yes Aug 29 14:58:16 I suggested it, he did it Aug 29 14:58:30 yeah, no joy for twl Aug 29 14:58:45 anyway, I am starting to tweak existing BCI driver Aug 29 14:59:01 well, if you wanna do something of persistent value, then get same ting for twl Aug 29 14:59:23 not now :) Aug 29 14:59:55 btw if it turns out that backup battery is not charged, there will be value in what I will do Aug 29 15:00:20 sure Aug 29 15:00:52 but the right way is to first check value already there (read reg), then *test* writing reg to enable Aug 29 15:01:10 ORLY? :P Aug 29 15:01:32 the firs thing to do is to read that value and the voltage and to printk them ;) Aug 29 15:01:37 rather copy those few silly lines for sysfs interface, rather than hardcoding the values for that call Aug 29 15:02:25 you could as well replace printk by proper sysfs_put Aug 29 15:03:02 I will do that for sure if it turns out a backup battery drive is needed Aug 29 15:03:09 *driver Aug 29 15:03:18 anywa, lets do the job Aug 29 15:03:22 meh, it has use for all registers of twl Aug 29 15:03:55 btw WHEN do you read? Aug 29 15:04:21 in a worker thread Aug 29 15:04:28 sigh Aug 29 15:04:33 ok, the original driver does Aug 29 15:04:43 i'll remove that Aug 29 15:04:48 wouldn't you need to start that worker thread by any external event? Aug 29 15:04:50 I hate polling more than you Aug 29 15:05:33 it is started in twl4030_bci_battery_probe Aug 29 15:05:51 and is really needed in case main battery is connected to BCI Aug 29 15:05:54 I just mean with sysfs you got a proper *interactive* way to do whatever you want, whenever you want Aug 29 15:06:00 I know Aug 29 15:06:38 but I won't do that now, a few printks will do the perfect jon initially Aug 29 15:06:48 you might end up reading too early, and later on 'somebody else' in kernel sets the bit Aug 29 15:06:50 s/jon/job/ Aug 29 15:06:50 freemangordon meant: but I won't do that now, a few printks will do the perfect job initially Aug 29 15:07:07 DocScrutinzrWrk: no way, noone touches BCI Aug 29 15:07:17 that's what YOU tell Aug 29 15:07:21 hehe Aug 29 15:08:05 maybe kernel calls NOLO on every resume from 0-clock and NOLO touches BCI Aug 29 15:08:14 could be Aug 29 15:08:40 but does not makes sense to enable charging then in the driver Aug 29 15:09:09 and AIUI backup battery charger is unaffected of suspend/resume (on HW level) Aug 29 15:09:19 you need SW to do it Aug 29 15:09:56 actually read my initial post on the issue. Might happen on $forgot to get reset Aug 29 15:10:35 well, let me finish with reading first Aug 29 15:10:39 so an initial singulary readout will tell little to nuttin Aug 29 15:10:52 will see Aug 29 15:12:07 some event regardig state change of TWL FSE been mentioned to reset the BBCHEN Aug 29 15:13:29 bienvenido bugmaster andre__ Aug 29 15:14:09 heja! Aug 29 15:14:17 andre__: can you still check NB? Aug 29 15:14:24 DocScrutinizer05, nope Aug 29 15:14:28 :-/ Aug 29 15:14:49 a pity Aug 29 15:15:08 out of curiosity, what would you like to know? Aug 29 15:15:43 if there's any bug against backup battery known Aug 29 15:16:50 buzzword "realtime clock reset" Aug 29 15:17:03 oh, okay. no idea then Aug 29 15:17:24 or rather "cmos clock" Aug 29 15:17:26 I asked because I might still have bugmail backups somewhere, but if there's no corresponding ticket in bugs.maemo.org that's unlikely Aug 29 15:17:31 hey guys Aug 29 15:18:22 hmm, I dunno if there's a ticket against it inbmo Aug 29 15:18:25 i installed nitroid,and run it but it hangs at making ext3 partition step..its this the normal behaviour? Aug 29 15:22:35 first nanddumping a CAL and then restoring the CAL with nandwrite is the way to go,isn't it?...so first I need to get a CAL from somebody with hw rev 2101/region Britain...will post in the maemo-forum Aug 29 15:23:32 sambo7: not really Aug 29 15:23:39 sambo7: you can probably use any n900 Aug 29 15:23:49 sambo7: differences won't be major Aug 29 15:25:06 so could some of you send me a backup of his cal? Aug 29 15:25:50 nobody would, really Aug 29 15:25:52 CAL holds the imei Aug 29 15:26:03 i think Aug 29 15:26:04 sambo7: *#06# Aug 29 15:26:06 mac addresses too Aug 29 15:26:08 sambo7: you said that phone works, right? Aug 29 15:26:10 sambo7: does it show your imei Aug 29 15:26:11 try what jacekowski said Aug 29 15:26:24 it looks like it's just a copy of imei Aug 29 15:26:26 my imei works Aug 29 15:26:36 neat Aug 29 15:26:59 i wonder if it's possible to *take* that part of CAL from rapuyama Aug 29 15:27:18 but I can't install various packages because they seem to check hw-rev which doesn't exist on my device Aug 29 15:27:33 sambo7: grab DocScrutinizer's CAL Aug 29 15:28:14 it's kinda weird Aug 29 15:28:21 because you have stuff in cal that stuff relies on Aug 29 15:28:28 yet everything is in other places of the phone Aug 29 15:28:34 where it's stored in much safer way Aug 29 15:28:50 so... "fukken nokia", as usual? Aug 29 15:28:50 i'm just wondering if "reformating" cal would make something rewrite it all Aug 29 15:29:06 sambo7: what does osso-product-info say? Aug 29 15:29:14 because cal is all messed up, so anything using libcal will fail Aug 29 15:29:28 but if you were to just create basic valid cal structures Aug 29 15:29:55 jacekowski: where are wlan and bt mac addresses stored? Aug 29 15:30:04 apart from CAL and the box the n900 came in? Aug 29 15:30:05 for example if I connect remotely via ssh it works but I get a CAL error Aug 29 15:30:24 kerio: it looks like in wlan module Aug 29 15:30:28 sambo7: I get slightly tired of you ignoring my dozens of pomnters to my cal image on mameo.cloud-7.de Aug 29 15:30:30 sambo7: you have wlan mac? Aug 29 15:30:32 haha Aug 29 15:30:50 sambo7: type "ifconfig" and check if wlan0's hwaddr matches the one on your box Aug 29 15:31:07 kerio: iirc he said it does Aug 29 15:31:14 then wtf Aug 29 15:31:19 WHY DOES CAL EXIST Aug 29 15:31:21 @DocScrutinzrWrk> sorry for that- will check that one out Aug 29 15:31:41 kerio: i've had a look at this shit, some time ago, and it kinda looked like there are two types of cal Aug 29 15:31:45 sambo7: btw, you can just type the first letters of the nick and then press tab :) Aug 29 15:31:48 kerio: the one he mtdtested Aug 29 15:31:56 kerio: and something else accessed by nolo Aug 29 15:32:18 kerio: because it was looking for stuff that i've never seen in normal cal Aug 29 15:32:43 but now i don't have n900 so it's kinda hard to test stuff Aug 29 15:33:40 osso-product-info gives me a lot of errors...just hardware,name & full name is shown Aug 29 15:35:05 don't have a box for the N900...got it on ebay Aug 29 15:35:15 D: Aug 29 15:35:23 hm, how can you recover your bt mac address then? Aug 29 15:36:05 Imei & wifi-mac is ok & also shown in product info Aug 29 15:36:30 how can I try to recover bt mac? Aug 29 15:36:36 use random one Aug 29 15:36:41 nobody gives a fuck about those Aug 29 15:37:01 freemangordon: BBISEL=0b00 = 25uA is insanely low. Better should be 01, 10, or even 11 Aug 29 15:37:05 haha Aug 29 15:37:24 sambo7: technically it should be in every paired device Aug 29 15:37:37 but yeah, nobody gives a shit about bt mac addresses Aug 29 15:39:38 DocScrutinzrWrk: well, it only has to make it hold charge Aug 29 15:39:44 what is the vendor part of the bt mac for the N900?at least this should match,shouldn't it? Aug 29 15:39:58 sambo7: nah, nobody cares about that :) Aug 29 15:39:59 sambo7: bt and wlan are on same module i believe Aug 29 15:40:04 or it was bt and fmtx Aug 29 15:40:14 bt and fmrx Aug 29 15:40:24 bt and wlan use the same antenna Aug 29 15:42:39 when I'm back home from sports, I will try to import Doc's CAL... Aug 29 15:43:53 jacekowski: nope Aug 29 15:44:04 it has to *charge* it Aug 29 15:46:42 and actually 25uA might be too little to even keep charge Aug 29 15:47:16 so probably that's already the bug, if there's any Aug 29 15:53:23 I'd guess NOLO sets BBCFG register. That would explain why kernel doesn't touch it Aug 29 16:08:14 DocScrutinizer51: yep, seems so, BBCFG == 0x1c and VBBAT ~= 3126 mV. Aug 29 16:11:35 freemangordon: 0x1c is BAD(TM) Aug 29 16:12:06 sorry, it is 1b Aug 29 16:12:11 my bad Aug 29 16:12:40 aaah Aug 29 16:14:17 so 1011, BBISEL=11=1mA Aug 29 16:16:32 no real problem with all that then :-) Aug 29 16:19:19 DocScrutinzrWrk: :nod: Aug 29 16:24:51 LOL WTF?! http://mxr.maemo.org/fremantle/source/kernel/drivers/power/twl4030_bci_battery.c#883 Aug 29 16:28:22 DocScrutinzrWrk: i don't get it Aug 29 16:28:23 :s Aug 29 16:30:14 kerio: realy *clever* calculation of battery capacity "percentage" from voltage ranges Aug 29 16:30:22 hahaha Aug 29 16:30:27 those thresholds look very bme-ish :) Aug 29 16:30:28 tdwtf-worthy? Aug 29 16:30:40 kinda Aug 29 16:30:57 luckily it's not used (bme probably does worse though) Aug 29 16:31:06 as in using 4 significant digits for voltage when doing some rough approximations Aug 29 16:31:35 and those funny steps in percentage ;-P Aug 29 16:31:37 oh wow Aug 29 16:31:59 2, 20, 50, 75, 90 Aug 29 16:32:06 err 5 Aug 29 16:33:12 it's a reasonable strategy when there's no fuel gauging available Aug 29 16:35:23 actually makes me puke: else if ((di->voltage_uV < 3451 && di->voltage_uV > 2894) ------ better like that: else if ((2894 < di->voltage_uV && di->voltage_uV < 3451) Aug 29 16:36:11 that's why python is awesome :D Aug 29 16:36:32 what that got to do with python? Aug 29 16:36:33 elif 2894 < di.voltage_uV < 3451: Aug 29 16:36:38 aaah Aug 29 16:36:40 yep Aug 29 16:44:21 who's been worrying about complexity and coefficients for thermistor normalization? look --> http://mxr.maemo.org/fremantle/source/kernel/arch/arm/mach-omap2/board-3430sdp.c#311 Aug 29 16:44:52 no 5th order polynomial Aug 29 16:55:25 freemangordon: ^^^^ Aug 29 16:56:09 so... why isn't that driver in the actual kernel? Aug 29 16:56:38 because we don't need to touch that stuff from kernel, NOLO deals with it Aug 29 16:56:46 i see Aug 29 16:57:09 arguable rationale, but MEH Aug 29 17:05:00 resp BME Aug 29 17:08:21 actually NOLO deals with bupbat charging, BME with amin bat management. It seems Nokia has a panic regarding community touching *anything* battery related Aug 29 17:08:40 mooo GeneralAntilles Aug 29 17:08:50 Hey-oh Aug 29 17:09:54 never again tell me work is useless! we checked bupbat situation today, since I'm bored to death on my last 16h at this job Aug 29 17:10:23 ;-D Aug 29 17:13:55 hey, I could try to find a 500uF tantalum capacitor here :-D Aug 29 17:14:50 ...or better not. Feels strange to lift things when you leave... Aug 29 17:20:30 DocScrutinzrWrk: to be fair, batteries are srs bsns Aug 29 17:23:52 DocScrutinzrWrk: is it the same sensor? Aug 29 17:24:00 the thermistor that is ;) Aug 29 17:24:11 * ShadowJK is more srs than bme Aug 29 17:25:07 no one is more srs than bme Aug 29 17:25:28 http://wiki.bme.com/ <- incredibly srs Aug 29 17:32:07 freemangordon: same type anyway Aug 29 17:32:43 there are only 2 possible thermistors: the BSI one which actually isn't a thermistor usually, and the real battery temp sensor Aug 29 17:36:18 bupbat Aug 29 17:36:25 ~bupbat Aug 29 17:36:25 rumour has it, bupbat is http://www.mouser.com/catalog/632/2009.pdf http://il.farnell.com/taiyo-yuden/pas414hr-va5r/cap-0-06f-3-3v-80ohm-4-8mm-coin/dp/1853000?Ntt=PAS414HR-VA5R, or use the capacitive type, LiIon are breaking during 12 months Aug 29 17:40:32 MMPFFFFFFF! 3kF capacitor Aug 29 17:41:21 http://www.conrad.de/ce/de/product/451449/Samwha-Green-Cap-Kondensatoren-DE0E308M64120SB-25-VDC-3000-F-Rastermass-286-mm/0245960&ref=list Aug 29 17:42:58 5kF dafaq Aug 29 17:43:18 only 600EUR Aug 29 17:44:41 o/ Aug 29 18:20:10 not entirely insane for a 10000Ws 'battery' with infinite cycle endurance Aug 29 18:20:21 a what Aug 29 18:20:29 also, it's not really infinite, is it Aug 29 18:22:18 well it for sure dances on grave of 20 or more BL-5J Aug 29 18:22:24 a lot more Aug 29 18:22:51 from that POV it's cheap Aug 29 18:27:51 5000As/V * (2.5V - 1.5V) * ((2.5V + 1.5V)/2) =10000Ws =~2.5Wh Aug 29 18:31:20 hm Aug 29 18:31:54 how many BL-5Js would that be? Aug 29 18:32:04 around one Aug 29 18:32:31 more liek 0.5 Aug 29 18:33:00 allegedly has 4.9Wh (says print) Aug 29 18:33:36 but this capacitor charges in minutes, not hours Aug 29 18:33:42 ;-D Aug 29 18:33:52 onboard battery swap? Aug 29 18:34:01 DocScrutinizer05: not with the usb wallcharger Aug 29 18:34:12 kerio: rrrrrright Aug 29 18:34:15 ;-P Aug 29 18:34:34 vi__: that's where I came from Aug 29 18:34:57 looked for a supercap with 5mm diameter Aug 29 18:35:14 DocScrutinizer05: no... that would be your mother! (cit.) Aug 29 18:35:37 o.O Aug 29 18:35:45 you can get a 5.5v 1F from ebay. Aug 29 18:35:51 (re: "that's where i came from") Aug 29 18:35:53 really small. Aug 29 18:36:11 5mm? Aug 29 18:36:33 dunno. Aug 29 18:36:36 2mm high Aug 29 18:36:40 5mm is quite small. Aug 29 18:38:05 http://www.yuden.co.jp/ut/product/category/energydevice/PAS414HR-VA5R.pdf Aug 29 18:41:01 why is it I feel bad about hitting a squirrel with my car but not so much when an unemployed welfare scrounger gets hit by a bus? Aug 29 18:41:28 because it's not been you who hit it Aug 29 18:41:33 him Aug 29 18:41:49 because you've been brainwashed by your media into thinking that "welfare scroungers" are evil? Aug 29 18:42:02 they are. Aug 29 18:42:19 I pay a fuckton of tax so they can do nothing. Aug 29 18:42:21 nah, *I* am evil! Aug 29 18:45:46 yeah, they aren't allowed to work - not to mention some good job that's maybe even fun - and they can do nothing about it Aug 29 18:46:31 and it's been so long they even forgot how to do some fun work, even if they could find some now Aug 29 18:48:46 I'm so evil I do things for free, like e.g moderating this IRC chan - sth somebody should pay for definitely Aug 29 18:52:51 or maybe you would like to pay me for stopping this moderation task? ;-P Aug 29 18:53:36 I bet there are some users who think Aug 29 18:53:48 *I* should pay for that Aug 29 18:54:01 i'll pay negative dollars for you to keep moderating this channel Aug 29 18:54:30 isn't that exactly what I just said? XP Aug 29 18:54:39 no, no, *i* will pay those Aug 29 18:54:51 that is, i'll be given money Aug 29 18:54:53 but just me Aug 29 18:54:56 not the whole channel Aug 29 18:54:58 and not necessarily from you Aug 29 19:03:28 hmm, I'm probably going to order 20 PAS414-VA5R Aug 29 19:03:55 might send them out in qty:1 to those interested Aug 29 19:04:13 freemangordon: ^^^ Aug 29 19:04:40 ShadowJK: ^^^ Aug 29 19:04:46 who else? Aug 29 19:08:19 unit price incl packaging: 3EUR, +shipping (in europe 55ct afaik, standard letter) Aug 29 19:09:14 meh, in Europe free shipping :-) Aug 29 19:12:22 free shipping worldwide (standard letter) \o/ Aug 29 19:17:00 vi__: swap bupbat? Aug 29 19:17:50 DocScrutinizer05: which bupbat is this? Aug 29 19:18:00 the internal battery Aug 29 19:18:09 is this replacement a good one? Aug 29 19:18:18 yep, it's capacitive Aug 29 19:18:52 good for an hour without main battery (minimum) and I hope for several decades rather than 12 months Aug 29 19:18:59 :D Aug 29 19:19:21 well, the bupbat in this n900 is still fine Aug 29 19:19:37 you're a really lucky man Aug 29 19:19:56 i bought it barely used three months ago Aug 29 19:20:04 odds are like 15 to 1 Aug 29 19:20:10 against such luck Aug 29 19:20:19 it's a 2104 Aug 29 19:20:25 hmmmmmm Aug 29 19:20:30 interesting! Aug 29 19:20:35 maybe they chose better batteries? Aug 29 19:20:39 yep Aug 29 19:20:43 quite possible Aug 29 19:20:45 =D Aug 29 19:20:52 and maybe they put better usb ports? Aug 29 19:20:57 or simply later build Aug 29 19:20:57 with better soldering? Aug 29 19:21:05 :c Aug 29 19:21:21 hm, i wonder if there's a way to know *when* it's been manufactured Aug 29 19:21:33 but suspicions are the soldering kills those LiIon bupbat Aug 29 19:21:51 errrr, probably not Aug 29 19:22:06 unless there's maybe some datecode on a sticker Aug 29 19:23:20 nothing obvious Aug 29 19:23:24 :-S Aug 29 19:23:29 wait, soldering kills bupbats? :o Aug 29 19:24:15 might Aug 29 19:24:22 why? Aug 29 19:24:23 the heat? Aug 29 19:24:23 wrong reflow profile Aug 29 19:24:28 yep Aug 29 19:26:34 isn't the usb port far from the bupbat? Aug 29 19:26:43 wait, which soldering are we talking about? Aug 29 19:27:13 any soldering to bupbat Aug 29 19:27:22 oic Aug 29 19:27:25 so basically: manufacturing Aug 29 19:28:44 why haven't they used a capacitor? Aug 29 19:28:59 we had issues with bupbat dead in fab tests, when our reflow profile was slightly "detuned", at OM Aug 29 19:29:34 well, seems those LiIon bupbat were the state of the art 4 years ago Aug 29 19:30:04 and has - like - 10 times to 500 times the capacity of the capacitive types with same form factor Aug 29 19:30:18 only as long as it lasts though ;-p Aug 29 19:47:28 ok, I did a small mistake regarding power consumption in backup mode: it's only 2.25uA, not 20 Aug 29 19:48:09 so the backup time with a normal BP-5J was ~70 years, not 7.5 years like I thought Aug 29 19:48:44 and a PAS414-VA5R is good for at least 10h without main bat, not 1h Aug 29 19:51:10 4.4 Power Consumption Table 4-22. Power Consumption Aug 29 19:51:24 in http://www.ti.com/lit/ds/swcs032e/swcs032e.pdf Aug 29 19:54:25 anyway if you want a spare new backup battery, send 3EUR to my paypal (see my siganture on tmo), with your full addr in comment, newlines marked a \n Aug 29 19:54:43 if you want more than one, send multiples of 3EUR Aug 29 19:55:22 shipping is via international standard letter Aug 29 19:55:52 hmm. is 70y life for my n900 enough, or do I hope medicine will advance enough for me to need 140... Aug 29 19:56:30 70 years? would you swap the bupbat for a BL-5J? ;-D Aug 29 19:56:53 oh . misread Aug 29 20:04:24 or maybe PLEASE WAIT with paypal money transfer until I actually managed to get that order done with farnell Aug 29 20:06:29 DocScrutinizer05: well, I will order by myself when I decide to change mine. So far there is no need, as I remove battery once in a 3 or so months. KP after all :P Aug 29 20:08:01 My company buys things from farnell every day, I won;t have any problem to order a capacitor Aug 29 20:08:09 does Farnell better conditions regarding shipping cost etc, for you? Aug 29 20:08:21 oooh Aug 29 20:08:31 so may you can get one for me then? Aug 29 20:08:36 or 5 rather Aug 29 20:08:54 well, I can ask my coleagues tomorrow Aug 29 20:09:11 http://de.farnell.com/taiyo-yuden/pas414hr-va5r/kondensator-0-06f-3-3v-staked-coin/dp/2112777?Ntt=PAS414HR-VA5R Aug 29 20:11:04 ok, what about shipping? Aug 29 20:13:42 dafaq http://il.farnell.com/taiyo-yuden/pas414hr-va5r/cap-0-06f-3-3v-80ohm-4-8mm-coin/dp/1853000?Ntt=PAS414HR-VA5R should work Aug 29 20:14:13 BTW are you sure those will fit? Aug 29 20:14:19 shipping: like 5* 1g, tape them on a carton and place that carton in a standard envelope Aug 29 20:14:34 ok Aug 29 20:14:38 (fit) rather Aug 29 20:14:43 wtf? "Our websites are currently unavailable whilst we perform a scheduled system upgrade. " Aug 29 20:14:53 yeah, same here Aug 29 20:15:20 worked 30min ago Aug 29 20:19:09 well, I found my farnel account credentials Aug 29 20:20:05 so if you don't like the hassle getting those and sending them to me, no problem Aug 29 20:20:35 ok, anyway i will check tomoeeow Aug 29 20:20:40 *tomorrow Aug 29 20:20:43 though I' d appreciate much to join the boat of your shipping costs Aug 29 20:20:59 farnell takes like 10EUR here Aug 29 20:21:33 and I'm not even sure the account is still active Aug 29 20:21:55 well, I suspect there will be no shipping cost, as it will be a part of my company order Aug 29 20:22:07 on the other hand, 10 eur is not that much Aug 29 20:22:09 that's what i meant :-) Aug 29 20:22:19 yeah, sure. Aug 29 20:23:11 but it sucks by principle to order 20 components a 75ct each, and see a bill ~30EUR Aug 29 20:24:15 otoh they wouldn't earn a donut if they'd do it any other way Aug 29 20:24:33 yeah Aug 29 20:25:52 so rather pay 75ct per component plus VAT plus 10EUr shipping, than pay 2.80EUR per component and 2EUR shipping Aug 29 20:34:57 who was a CA runner up? Aug 29 20:35:18 sorry? Aug 29 20:48:12 the fuck, my cpu cooler had about 1 mm of dust on it, no wonder I had 3-4 unexpected reboots a day for the last week :D Aug 29 20:58:04 freemangordon: (does it fit?) I seem to remember I even compared footprint of bare PCB with the dimensions from datasheet Aug 29 20:58:20 DocScrutinizer05; not really interested in bupbatt, I need its services about once a year or more less :P Aug 29 20:58:38 yep Aug 29 20:59:01 "more less", I think I fail Aug 29 20:59:08 I'm nasically interested in fixing a bug Aug 29 20:59:16 basically* Aug 29 21:02:23 * ShadowJK is researching how to make cider Aug 29 21:02:23 will/might be getting lots of free apple Aug 29 21:37:09 javispedro: ping Aug 29 21:37:29 pong Aug 29 21:37:53 freemangordon^^ Aug 29 21:38:08 javispedro: would you elaborate on "freemangordon WTF?", What problem did you see with VKB RE and LGPL? Aug 29 21:38:43 freemangordon: it smells "decompile" from a mile Aug 29 21:39:22 how do i install mpd in maemo? Aug 29 21:39:51 javispedro: Sure, but what is the exact problem. I never denied it is a RE work Aug 29 21:40:28 freemangordon: you cannot then say it is GPL Aug 29 21:40:29 I checked licensing of the packages in question, there are no copyright Aug 29 21:40:39 copyrighted Aug 29 21:40:48 lack of license != no copyright Aug 29 21:41:00 actually, lack of license text on most countries is == strongest copyright Aug 29 21:41:01 checked EULA too (SDK one) Aug 29 21:41:22 (double negative dammit!) Aug 29 21:42:04 freemangordon: and where in the SDK EULA does it say you can freely relicense to GPL ? Aug 29 21:42:07 javispedro: ok, what license should I put in source files and deb? Aug 29 21:42:39 javispedro: according to EULA, those files are not Nikia (C) (original debs I mean) Aug 29 21:42:43 please consider what I suggested Aug 29 21:42:46 *Nokia Aug 29 21:43:21 DocScrutinizer51: sure, I jsu want an advice from javispedro, as he was the one to point there is something wrong Aug 29 21:43:44 and my comment was to him Aug 29 21:43:52 aah, ok Aug 29 21:44:25 javispedro: we got qgil 'licence' to redistribute (c)blobs Aug 29 21:45:02 DocScrutinizer51: _freely_? Aug 29 21:45:25 so a passage 'all decompiled sections in this file are from maemo and (c) Nokia' Aug 29 21:45:30 DocScrutinizer51: can you share some specifics on that? Aug 29 21:46:21 BTW: "The Software copyrighted by Nokia or some third parties is licensed to you Aug 29 21:46:23 under the Nokia End-User License Agreement [see below] and distributed to Aug 29 21:46:26 you only in binary form. Aug 29 21:46:39 in my book it doesn't matter if original complete binary, parts, or even disassembled parts. As long as we keep original (c) Aug 29 21:46:47 but there is no (C) Aug 29 21:46:55 DocScrutinizer51: dissembled parts might be considered derivative works Aug 29 21:47:00 *disas'd Aug 29 21:47:36 well, derivative works not worse than unaltered original Aug 29 21:47:59 but I'm curious on the specifics of the CSSU redistribution "exemptions" Aug 29 21:48:20 did qgil really give you permission to redistribute all binary blobs to anyone ? O.o Aug 29 21:48:27 javispedro: there is qgil's post on TMO, lemme try to find it Aug 29 21:48:30 qgil said 'don't worry' :-D Aug 29 21:48:36 meh Aug 29 21:49:17 here is SDK eula http://pastebin.com/wKZ2N77y Aug 29 21:49:38 doesn't matter Aug 29 21:49:40 you should know that standard practice on a OSS project to members who have read disassembles of proprietary software is to disavow everyone even remotely involved... Aug 29 21:50:08 I know about Nokia's "don't worry" thing, but still, the code is tainted and should be clearly marked as such Aug 29 21:50:29 see above suggestion Aug 29 21:51:01 *no* GPL, keep (c)Nokia Aug 29 21:51:35 I have to concur with DocScrutinizer51 *if* qgil really gave such generous permissions. Aug 29 21:51:56 but, IANAL. Aug 29 21:52:06 even state 'you may use this file and info in it only if you own a N900 and accepted Nokia's eula' Aug 29 21:52:15 DocScrutinizer51: how am I supposed to put (C) Nokia, when the originals are not (C) Nokia. Isn't that worse? Aug 29 21:52:26 freemangordon: why do you say they are not (C) Nokia? Aug 29 21:52:52 everything maemo kis (c) Nokia Aug 29 21:53:09 if not explicitly then by general law Aug 29 21:53:14 "excluding Open Source Software" as said on the EULA Aug 29 21:53:26 because there is no copyright file coming with the debs. BTW, lemme check something, I might be wrong Aug 29 21:54:00 freemangordon: read about "automatic copyright" Aug 29 21:54:15 freemangordon: generally you don't need the '(C)' to claim copyright. There are laws for that Aug 29 21:54:51 "(c) 2007 Nokia Corporation. All rights reserved" Aug 29 21:55:01 well, I'll change the licens Aug 29 21:55:16 everything without explicit licence is under general legislation Aug 29 21:56:36 My point was, that eula splits things in two - those (C) by nokia, and the others. But as (C) is explicitly stated in the binary, i'll change the header Aug 29 21:57:34 but it doesn't matter Aug 29 21:57:47 generally you have to assume no (C) => Nokia's. Aug 29 21:58:08 ok Aug 29 21:58:28 Indeed. Copyright doesn't work on the basis 'no explicit licence -> public domain' Aug 29 21:58:45 au contraire Aug 29 21:58:50 You do not have to explicitly claim copyright for it to exist. Aug 29 21:58:59 this is my automatic copyright remark above Aug 29 21:59:00 ok, ok , got it :) Aug 29 21:59:11 some countries may not do this =) Aug 29 21:59:18 ah - right - nvm Aug 29 21:59:30 I should read bbackscorll Aug 29 21:59:54 well, the local law here allows me to do whatever I want with a SW I have the right to use ;) Aug 29 22:00:06 But I was busy reading 'the interpretation act 1978'. Aug 29 22:00:16 Which is as boring as you might expect. Aug 29 22:00:43 including RE and such, if that is needed to fit the purpose Aug 29 22:01:03 SpeedEvil: I'm reinstalling winbugs on someone else's laptop, which is certainly more boring Aug 29 22:01:17 except publish Aug 29 22:01:26 yeah Aug 29 22:01:27 freemangordon: Aug 29 22:02:01 anyway, i'll put some (C) Nokia instead of LGPL Aug 29 22:02:48 but this together with qgil permission to redistribute makes it safe to publish disassembly as long as we clearly state what it is and that Nokia owns it Aug 29 22:03:19 yep. And I can bet noone in Nokia really cares Aug 29 22:03:31 definitely Aug 29 22:03:45 but nerds in foss community will Aug 29 22:04:08 The ability to distribute does not mean that you can redistribute derivitive works (which is what a dissasembly is) Aug 29 22:04:12 and those are worse Aug 29 22:04:39 Though an automatic derivitive work does not have its own copyright in the us, and may in the Eu, for example. Aug 29 22:04:48 sigh. Aug 29 22:05:27 * SpeedEvil is pretending to be a lawyer at the moment, and not enjoying it. Aug 29 22:12:08 * freemangordon is going to have some sleep Aug 29 22:12:42 night, tomorrow will ask again if there is some progress (besides (C) thing) Aug 29 22:13:23 SpeedEvil: nobody else will do that as you noticed already it's no fun. So our stuff just has to look like we care and had some competent advice. freemangordon already correctly assumed nobody at Nokia ever will care Aug 29 22:13:34 Indeed. Aug 29 22:13:51 The person that would care almost certainly got fired a year ago Aug 29 22:14:03 maybe two. Aug 29 22:14:14 ?? Aug 29 22:15:08 I'd take care specially since they might very soon convert into a company entirely staffed by lawyers Aug 29 22:15:13 Supposition. Aug 29 22:15:45 so, on to more useful things Aug 29 22:16:00 do you know about some daemon that monitors a certain folder (using inotify, fanotify, whatever) and launches rsync as appropiate? Aug 29 22:16:05 javispedro: I think qgil's 'licence' will give them more heafdache than all disassembled code in fmg's work Aug 29 22:16:08 Sorry for the distraction. Aug 29 22:16:30 javispedro: Well - I had my system just running rsync every hour at one point. Worked OK Aug 29 22:16:50 javispedro: between phone and server media dir Aug 29 22:16:53 javispedro: inotify-monitor Aug 29 22:17:26 actually: inotifywait inotifywatch Aug 29 22:18:06 pretty convenient cmdline tools Aug 29 22:18:24 just thinking that I could point it to my DCIM folder, add some wlan connectivity detection, and call it freeCloud Aug 29 22:18:28 ;P Aug 29 22:19:08 wtf fanotify? Aug 29 22:19:19 some new crap kernel gurus came with Aug 29 22:19:30 *BURP* Aug 29 22:19:54 it was attached to the phrase "on-access antivirus scanner" so I'm not enabling it on my systems just in case =) Aug 29 22:20:20 ooh, maybe a fs-global inotify? Aug 29 22:20:33 yeah, certainly Aug 29 22:20:50 aka ld-preload alike hook into fopen() Aug 29 22:21:18 (funnily, didn't notify about renames and unlinks...) Aug 29 22:21:22 *it didn't Aug 29 22:21:29 eeeek Aug 29 22:21:46 morons Aug 29 22:22:20 * DocScrutinizer05 waves and searches for the wooden hammer Aug 29 22:22:22 well, i do think it'll work for the antivirus usecase. Aug 29 22:22:51 n8 Aug 29 22:23:00 how do i install mpd in maemo? Aug 29 22:23:41 nite DocScrutinizer05 Aug 29 22:23:53 ludens: well, search for it in the repos and apt-get it, like Debian... Aug 29 22:24:18 yeah it cant be found in the gui app manager Aug 29 22:24:31 so I suppose no one ported it Aug 29 22:24:41 and aptitude cant find a candidate version Aug 29 22:24:42 probable more common usecase is running mpd on the desktop ;P Aug 29 22:24:50 sure Aug 29 22:24:55 but i know people use it Aug 29 22:25:04 ive seen mentions of it on the web Aug 29 22:31:01 ah its not available Aug 29 22:31:07 :/ Aug 29 23:17:44 merlin1991, ping Aug 29 23:18:24 http://talk.maemo.org/showpost.php?p=1256131&postcount=287 Aug 29 23:18:41 valid argument - busybox replacement is by any means *not* possible outside CSSU, at least "proper" way Aug 29 23:19:04 = as good we could replace everything that cssu replaces by binary replacements (wrong, wrong!) Aug 29 23:19:21 copnsidering this, + all benefits of upstream bugfixes + busybox-power, logical question: Aug 29 23:19:32 when the fuck we wil lend this comedy and busybox-power will be included into CSSU? Aug 29 23:19:52 hell, this package originates from times when CSSU wasn't even in plans Aug 29 23:20:52 one of most thoroguhly tested, maintained continously by same person over YEARS project, that can be shipped properly only by CSSU way (current version i nextras does trick with binary replacemenent), and it's still outside CSSU due to political, idiotic pseudo-reasons Aug 29 23:21:06 ...while we're adding things like portrait support to busybix in CSSU Aug 29 23:21:09 what the hell, I ask? Aug 29 23:22:14 maybe we should start discussion in community mailing list and/or TMO, if CSSU team need more "motivation"? It's really unexplainable, why busybox-power is kept out of CSSU. Aug 29 23:23:58 +spank DocScrutinizer05 for using argument about "easily installable from extras" - binary replacement trick is*not* proper way, as said, we could ship whole CSSU using such method, but it would be *wrong*, wrong, and wrong even more. There is no other alternative for busybox-power (aka, again *fuckin upstream* fixes) to be provided for Maemo, it's either *proper* way of CSSu, or hackish tricky failprone binary replacement. Aug 29 23:24:45 merlin1991 ^^^ - rant over. If I ever hear again political arguments against busybox-power, I swear, people are gonna die. Aug 30 02:06:57 GeneralAntilles, small world Aug 30 02:07:06 I knew I recognized the nick. Aug 30 02:07:36 The internet is a disturbingly small place sometimes. Aug 30 02:08:23 irc has passed its point of maximum expansion, and is currently shrinking towards a big crunch Aug 30 02:08:48 Perhaps we'll all form SkyNet when it does. Aug 30 02:25:30 and Samsung announces first wp8 phone... Aug 30 02:25:54 goodbye nokia **** ENDING LOGGING AT Thu Aug 30 03:00:01 2012