**** BEGIN LOGGING AT Fri Jun 12 02:59:56 2009 Jun 12 03:56:21 hi guys... Jun 12 03:56:32 I'm trying to flash my GSM firmware Jun 12 03:56:39 I imaged the SD card and booted from it Jun 12 03:56:55 something briefly scrolled by and all I caught was "loading legacy kernel" Jun 12 03:56:58 then it went blank... Jun 12 03:57:06 it's been blank (but backlight on) for about half an hour Jun 12 03:57:16 the wiki says it should only take 6 mins... did something go wrong? Jun 12 03:57:23 I'm kinda afraid to interrupt it Jun 12 04:29:15 openmoko: 03werner * r5121 10/trunk/gta02-core/docs/kicad-wishlist: Removed text alignment. Jean-Pierre beat us to it :-) Jun 12 04:48:23 openmoko: 03rehar * r5122 10/trunk/gta02-core/components/STATUS: Review of 74x1g125, 74x2g126, exc24cb102u, emh4 and varistor Jun 12 04:55:16 hi all... have any of you used this paroli thing? Jun 12 04:55:19 I can't make it work Jun 12 04:55:41 looking at the faq, I've been able to get the settings window to come up and that seems to work, but the main app itself doesn't do anything Jun 12 04:56:54 ok, I take that back... after it suspended and came back, it works now Jun 12 05:05:15 erm... this paroli thing does not seem to be an improvement Jun 12 05:05:23 in fact, I'd characterize this upgrade as a disaster Jun 12 05:05:27 where's all the stuff that was in 2008.10? Jun 12 05:06:23 heehee Jun 12 05:07:03 ? Jun 12 05:07:27 Yanroy: do you mean all the apps? or just the phone related stuff? Jun 12 05:07:46 I'm not sure what I mean Jun 12 05:07:55 I just want a functional phone Jun 12 05:08:02 I had that before, except that it crashed about once a week Jun 12 05:08:07 now I have nothing Jun 12 05:08:22 Yanroy: well, paroli and fso are getting close but they're not a final release yet Jun 12 05:08:45 but it should be able to do things like send a text, right? Jun 12 05:08:59 yeah, that should work Jun 12 05:09:13 well, I can't figure out how... Jun 12 05:09:28 if I click SMS, I get a blank screen except for a plus button... plus button wants me to enter numbers Jun 12 05:09:34 if I go to people, there's no way to text them Jun 12 05:09:48 under people, swipe a contact to the right Jun 12 05:10:08 the names are slideable to the right which gives you an option to text them Jun 12 05:10:51 well shit... how was I supposed to figure that out? Jun 12 05:10:57 I've been searching for a users guide for 15 minutes... Jun 12 05:11:17 that does seem to work though :P Jun 12 05:11:22 yeah, it took me a while too Jun 12 05:11:37 what's the trick to the keyboard? Jun 12 05:11:42 it's pretty hand once you know it's there.. makes things quick Jun 12 05:11:52 it seems to not like me trying to scroll left and right to pick the match to what I typed... Jun 12 05:12:01 also it chooses the matches pretty wrong :P Jun 12 05:12:25 does it not suspend when on AC power? Jun 12 05:12:43 sorry, i don't know about the scrolling issue. i've found that the keyboard learns as you use it Jun 12 05:12:52 it shouldn't suspend but bugs are still being worked out Jun 12 05:13:15 I'm not complaining that it isn't suspending, I'm just curious Jun 12 05:13:20 cuz I haven't let it off the charger yet Jun 12 05:13:29 I like the power button lighting up... Jun 12 05:13:34 any idea what the colors mean? Jun 12 05:13:34 no harm in asking :) Jun 12 05:13:57 on the power button leds? Jun 12 05:14:04 yes Jun 12 05:14:21 if i remember correctly, orange means charging, blue means fully charged Jun 12 05:14:27 the on-screen battery icon doesn't seem to indicate charging, so I'm guessing the LEDs are the only way to tell Jun 12 05:14:34 ok Jun 12 05:19:14 hmm... the FR seems to have decided it is now eth1 instead of usb0 Jun 12 05:19:15 wtf Jun 12 05:19:55 ljp: Hey, Lorn. Do you know that Nokia provides drivers for a cable that has nothing except wires inside? Jun 12 05:22:24 jmcnaught: any idea if it's possible for me to salvage the contacts I backed up from 2008.10? Jun 12 05:22:48 Yanroy: eth1 is correct Jun 12 05:22:57 Yanroy: it is now using persistent MAC address. Jun 12 05:24:11 does opkg still work like it used ot? Jun 12 05:24:22 it says failed to download repository packages... Jun 12 05:24:40 PaulFertser: ya, well.. thatts windows for ya Jun 12 05:25:58 Yanroy: sorry, that's something i haven't tried. i don't have a lot of contacts and i just keep them on the sim Jun 12 05:26:21 does this paroli thing give you the option of keeping them on the SIM? Jun 12 05:26:24 Yanroy: opkg should work.. can you ping? Jun 12 05:26:26 or perhaps they're always on the sim? Jun 12 05:26:35 yes, I can ping, and magically (to me) DNS resolution even works Jun 12 05:26:38 ljp: and they don't provide a way to download older version and the newest version doesn't work with win2000 or winxp (without sp2). Nuts Jun 12 05:26:42 no need to set up resolv.conf Jun 12 05:27:21 Yanroy: see, at least some stuff is improving, eh? i'm not sure what your opkg problem would be Jun 12 05:27:28 hmm Jun 12 05:27:33 it's giving me 404s Jun 12 05:27:38 so I'm guessing the URL is wrong, or the repo is down Jun 12 05:27:59 i'd try it myself, but my phone is away getting buzz-fixed Jun 12 05:28:14 ljp: the fact is that the driver is actually needed because despite it's presented as a cable driver on site and in folder name it's "; Nokia USB Host Driver" inside the inf. Jun 12 05:28:14 huh? Jun 12 05:28:18 buzz fixed? Jun 12 05:29:00 Yanroy: there's a program to fix your phone if you've (or the people you're calling) hear an annoying buzz Jun 12 05:29:13 ah... Jun 12 05:29:18 perhaps I should investigate this... Jun 12 05:29:23 you have to send it away? Jun 12 05:29:41 ljp: and that is not windows fault. Windows fault is that they don't work oob with standard CDC ACM devices (which nokia phones are). Nokia fault is mis-representing the driver and inability to download an older version. Jun 12 05:30:00 Yanroy: you can do it yourself Jun 12 05:30:12 Yanroy: or find a fellow SMD soldering guy. Jun 12 05:30:30 PaulFertser: eh, I'm an ECE... I've done my fair share of SMD work. is there info on the fix on the wiki somewhere? Jun 12 05:30:34 Yanroy: all phones have buzz, but it depends on conditions (cell network, signal quality etc.) Jun 12 05:30:41 Yanroy: sure Jun 12 05:30:52 Yanroy: http://wiki.openmoko.org/wiki/Buzz_Fix Jun 12 05:31:09 thx Jun 12 05:31:18 Yanroy: change one easily accessible 0402 R and solder a big tantalum cap nearby, that's all. Jun 12 05:31:32 Easy :) Jun 12 05:31:35 heh... I've probably got the parts on my desk Jun 12 05:31:41 heh Jun 12 05:31:58 seems like a good excuse to buy the hot air reflow station I've had my eye on Jun 12 05:32:10 :))) Jun 12 05:32:27 Do you need a hot air reflow to dismount one 0402 R? Jun 12 05:32:31 no Jun 12 05:32:37 I mean... yes? ;) Jun 12 05:32:39 you can make a suitable hot air gun for $20'ish Jun 12 05:33:21 right... but we can just neglect to tell my gf that I can do this work without a hot air reflow station Jun 12 05:33:33 :) Jun 12 05:33:47 Yanroy: while we're at it, you can also fix the famous #1024 bug (random/continious network recamping in certain conditions). That requires full disassembly (easy), dismounting a can (easy), changing one 0805 cap to a 22uF one. Jun 12 05:33:57 that's a hw bug? Jun 12 05:34:00 I thought it was sw Jun 12 05:34:01 Yanroy: yes Jun 12 05:34:04 huh Jun 12 05:34:09 I haven't seen it since I upgraded Jun 12 05:34:14 Cap is conveniently located. Jun 12 05:34:18 I'll gladly fix it though Jun 12 05:34:20 got a link? Jun 12 05:34:26 or the search terms? Jun 12 05:34:40 Yanroy: there's a software workaround to disable deep sleep mode, it adds about 8mA to your standby current. Jun 12 05:35:03 battery already goes dry in about 20 hours... I want all the power savings I can ge Jun 12 05:35:05 *get Jun 12 05:35:06 Yanroy: look for the recent messages on hardware ML archive. Or wait, i'll provide you a link. Jun 12 05:35:23 awesome, thx Jun 12 05:35:30 I've been way out of the loop on OM development lately Jun 12 05:35:37 I've got probably 5000 unread ML messages Jun 12 05:36:13 so how does this infamous in-call volume control work? and should I really install that sound scenario file thing as mentioned in the OM2009 wiki page? Jun 12 05:36:14 Yanroy: "Bug #1024 (oscillating re-camping), a possible solution" Jun 12 05:36:35 k Jun 12 05:36:56 Yanroy: paroli uses a dirty trick and controls volume with calypso at command (indirectly, via FSO of course). Jun 12 05:37:15 Yanroy: probably you'd like to do a bass fix too, no? Jun 12 05:37:28 hey, if it's fixable, I'll do it Jun 12 05:37:39 maybe I'll end up with a phone that doesn't get me laughed at Jun 12 05:37:41 Yanroy: wiki/GTA02_bass_fix Jun 12 05:37:47 on those rare occasions I can hear them laughing :P Jun 12 05:38:11 Yanroy: if you've been out of the loop for a while, you may also need to upgrade the GSM firmware. http://wiki.openmoko.org/wiki/GSM/Flashing Jun 12 05:38:22 speaking of working phones, anyone got a working shr gta01 build? Jun 12 05:38:25 Yep, right. Jun 12 05:38:34 Psi_: just yesterday it was built. Jun 12 05:38:43 Psi_: with the newest kernel btw. Jun 12 05:39:06 Psi_: enjoy unstable (though no regressions found yet). Jun 12 05:39:17 is there a magical UI to the volume control? I can't figure out how to change it. there's a little "100" in the corner that I"m guessing is related... Jun 12 05:40:28 ah, new build on the 11th Jun 12 05:40:49 * Yanroy notes that the clock just changed... does it finally update off the cell network? Jun 12 05:40:57 Yanroy: if you're goind to do a bass fix in a way similar to what i did i suggest placing the caps a bit farther from BT antenna. And additional shielding is mandatory (i used candy paper for that). Jun 12 05:41:07 lol Jun 12 05:41:09 k Jun 12 05:41:11 i tried the one on the 3rd and it didnt even get to X Jun 12 05:41:14 does BT work? Jun 12 05:41:23 * Psi_ downloads new one Jun 12 05:41:25 I've never had a phone with BT before... it'd be nice to be able to get a headset Jun 12 05:42:18 Yanroy: can you provide any information on updating from the cell network? We don't know how to do that. Only useless info about timezone (it's not full, only distance to GMT iirc). Jun 12 05:43:26 Yanroy: with some headsets. FSO supports BT, there's information on the wiki about it. Not very polished but it works given you have a compatible headset. And the headset that works perfectly with my laptop doesn't output any sound with my FR, so you need to check with FR itself. Jun 12 05:43:38 Yanroy: better to borrow a bt headset from someone for testing. Jun 12 05:44:10 openmoko: 03werner * r5123 10/trunk/gta02-core/components/ (gta02-core-expanded.lib gta02-core.lib sc32442.lib): Jun 12 05:44:10 openmoko: Updated sc32442.lib to use right-adjusted text for pseudo pins. Jun 12 05:44:10 openmoko: Requires KiCad revision 1812 or later ! Jun 12 05:45:16 k Jun 12 05:45:26 Yanroy: so for now time updates from GPS or NTP. Jun 12 05:45:34 ah, I see Jun 12 05:45:44 that must be it then... it updated shortly after I plugged it into my computer Jun 12 05:46:02 I'm not sure what kind of info you're looking for re: updating from cell network. that's not my area of expertise Jun 12 05:46:18 in fact, pretty much everything I know about GSM and the like I've learned via openmoko Jun 12 05:46:34 I'm sure I don't have any knowledge you don't Jun 12 05:46:53 :))) it was meant as a way to say that neither me nor FSO developers know how to do it. Jun 12 05:47:03 hmm.. Jun 12 05:47:42 I always assumed it was part of the GSM protcol and accessible with an AT command, but I have no evidence to back that up... it's just how I would do it if I were creating GSM Jun 12 05:48:33 is there a browser and a terminal? Jun 12 05:48:46 openmoko: 03werner * r5124 10/trunk/gta02-core/components/sc32442.lib: Revert previous commit. Right adjustment confuses plotting. Jun 12 05:48:48 To me it looks that some networks sometimes send an informational message (probably sms) with current time information. Jun 12 05:49:21 Yanroy: have you already switched off paroli "full-screen" mode? Jun 12 05:50:17 umm... no? Jun 12 05:50:41 it looks like all SMS include the time sent in them Jun 12 05:50:57 at least, even when the clock on my 2008.10 was all screwed up, the receive times on the messages was correct... Jun 12 05:51:10 except for that one day when I received a bunch of garbage characters dated tomorrow Jun 12 05:51:18 it was probably trying to warn me of my death or something Jun 12 05:52:32 Yanroy: you need to switch off "full-screen" to be able to switch windows, see illume homescreen etc. Jun 12 05:54:51 I switched the profile to paroli-illume... nothing seems to have happened Jun 12 05:55:02 Restart paroli Jun 12 05:55:02 I recall reading it takes a bit, but it's been like 2 mins at least Jun 12 05:55:10 one does that how? Jun 12 05:55:21 You ask me as if i ever used paroli :I Jun 12 05:55:24 :D Jun 12 05:55:32 lol Jun 12 05:55:33 I'd just kill it via ssh Jun 12 05:55:36 you know a lot about the hardware Jun 12 05:55:47 does it just restart itself automatically? Jun 12 05:56:06 No idea, depends on .xsession script obviously. Jun 12 05:57:14 Yanroy: i guess you know much more about hardware in general but yes, i know about some particular FR quirks. :) Jun 12 06:00:08 what gave you the idea I know more about hardware in general? Jun 12 06:01:47 PaulFertser: we just got a crazy idea yesterday. we can buy a huawei usb 3g stick, atmel AVR USB-capable microcontroller, keypad, one-line LCD and some 17670 li-ion batteries to make a really simple phone :-) Jun 12 06:02:09 Yanroy: you're an ECE, according to what you just told me :) And i'm not. I think i'm not a professional in any area. I know some ad-hoc programming, some ad-hoc electronics. Our university is not that good unfortunately :-/ Jun 12 06:02:24 PaulFertser: ah... I had assumed you were also an ECE Jun 12 06:03:11 Yanroy: that said i can mostly read schematics of digital-ICs based devices and datasheets for that ICs :) Jun 12 06:03:15 lindi-: wow :) Jun 12 06:03:30 there's a secret they don't want you to know though... if you're good at something, having a degree doesn't matter at all Jun 12 06:03:32 lindi-: AVR usb host? Jun 12 06:03:46 PaulFertser: yep Jun 12 06:03:53 Yanroy: i have a "magister' degree. Jun 12 06:04:01 I kinda wish I hadn't bothered to go to college... I'm working a software engineer now, making the same as my friend who dropped out Jun 12 06:04:18 I didn't major in CS because I already knew it going into college... I chose ECE instead cuz it was new Jun 12 06:04:40 lindi-: is any AVR capable of it? I haven't read anything like that yet. Jun 12 06:04:51 PaulFertser: my at90usbkey is, and it cost only 27 EUR Jun 12 06:05:10 im guessing this huawei usb stick has all the datasheets available? Jun 12 06:05:10 PaulFertser: (it's a complete demo board with two flash chips, leds, buttons...) Jun 12 06:05:17 Yanroy: i enjoyed being in university because i meet my friends there. Jun 12 06:05:32 Psi_: not all but enough to make it call :) Jun 12 06:05:37 ah Jun 12 06:05:46 PaulFertser: http://www.fourwalledcubicle.com/LUFA.php is the usb library, it has lots of examples Jun 12 06:05:51 how big is the thing? Jun 12 06:06:18 Psi_: it'll fit inside a nokia 3210 case :) Jun 12 06:06:40 :) Jun 12 06:06:48 ah, got illume working now... Jun 12 06:06:51 and it has a terminal Jun 12 06:06:53 that's enough for tonight... Jun 12 06:06:57 lindi-: or cool, didn't know it supports host. Probably "CDC Host" is enough to get it going. Jun 12 06:07:09 PaulFertser: thank you very much for your help. I'd have been completely stuck without you Jun 12 06:07:20 jmcnaught: thank you too Jun 12 06:07:29 Yanroy: you're welcome, feel free to ping me on low-level issues. Jun 12 06:07:34 PaulFertser: yep Jun 12 06:07:38 Yanroy: (like bootloader kernel hardware etc) Jun 12 06:07:42 ok Jun 12 06:07:48 I'm sure I'll be back here before too long :) Jun 12 06:07:59 good night all Jun 12 06:08:00 PaulFertser: the LUFA author is currently writing support for using usb bluetooth dongles with AVR Jun 12 06:08:03 Yanroy: night. Jun 12 06:08:11 Psi_: we're waiting for your status report btw. Jun 12 06:08:19 PaulFertser: so the dream is to have bluetooth headset support :-) Jun 12 06:08:29 on yesterdays shr build? Jun 12 06:08:38 lindi-: mad project :))) Jun 12 06:08:41 Psi_: yes Jun 12 06:08:49 * Psi_ checks download Jun 12 06:08:50 (probably very distant dream indeed) Jun 12 06:10:12 lindi-: and even without BT writing a dumb cellphone UI will require lots of efforts. Jun 12 06:11:12 i do like the AVR's the datasheets actually make sense :) Jun 12 06:11:23 PaulFertser: if i'm mad enough i'll write it in spark ada Jun 12 06:11:40 (spark was liberated very recently) Jun 12 06:12:43 carpc uses few AVR's for pc->car interface Jun 12 06:13:28 Psi_: it talks to some CAN bus? Jun 12 06:14:40 na, i was too lazy to do CAN Jun 12 06:15:00 psi: you make your own? Jun 12 06:15:05 just 5v usart between the micros Jun 12 06:15:06 <-- also an AVR fan Jun 12 06:15:14 yeah, made it myself Jun 12 06:15:18 nice Jun 12 06:15:23 I ended up buying mine Jun 12 06:15:37 also got a serial + lan link from gararge into house so i can program it from inside Jun 12 06:15:42 it spoofs itself as a cd changer and can be controlled from factory radio though, VAG specific Jun 12 06:16:28 nice Jun 12 06:16:35 Psi_: don't AVR people use SPI between AVRs? Jun 12 06:16:48 going to hook the FR up to it eventually Jun 12 06:17:00 id already written the usart protocol before i found out about how easy SPI was Jun 12 06:17:05 the best part is that I can program the AVR with freerunner Jun 12 06:17:26 you ported avr-gcc to armv4t? Jun 12 06:17:34 if so, where can I download? :) Jun 12 06:17:39 ^ Jun 12 06:17:42 avr-libc, etc... **** ENDING LOGGING AT Fri Jun 12 06:20:50 2009 **** BEGIN LOGGING AT Fri Jun 12 06:21:13 2009 Jun 12 06:21:26 nice Jun 12 06:21:58 how about s/ported/packaged/ Jun 12 06:22:00 :) Jun 12 06:22:09 i really should try the debian install on my phone Jun 12 06:22:21 it's kinda slow Jun 12 06:22:28 not quite FDOM bad Jun 12 06:22:36 but not quite "this can replace my laptop!" Jun 12 06:23:27 some people say using swap helps Jun 12 06:23:33 but that's going to shred your uSD card Jun 12 06:23:42 if its slow on your gta02 i dont really want to think what its like on gta01 Jun 12 06:23:59 How's debian any slower than other distros? Jun 12 06:24:40 ndnihil: nah, swap on SD is no probl for the card Jun 12 06:25:05 its gunna use up its write cycles tho Jun 12 06:25:22 I killed a regular SD card using it as swap on a ngw100 Jun 12 06:27:47 it behaved ok up until it died though Jun 12 06:28:05 you are the first one who achieved that. German mag c't did emonths *continuous* write-stress tests and didn't find a single failure for SD-cards Jun 12 06:28:10 ndnihil: can you please tell me how to "you can make a suitable hot air gun for $20'ish"? Jun 12 06:28:33 could have been something else that killed it, but as best I can tell it was using it as swap Jun 12 06:28:37 s/emon/3mon/ Jun 12 06:28:37 DocScrutinizer meant: you are the first one who achieved that. German mag c't did 3months *continuous* write-stress tests and didn't find a single failure for SD-cards Jun 12 06:28:54 paul: you get one of those heat up solder suckers from radio shack Jun 12 06:29:07 drill a small hole in the bulb and feed in some tubing Jun 12 06:29:25 stick some steel wool or desoldering wick in the head Jun 12 06:29:34 heat it up and blow in the tube Jun 12 06:29:42 or you can hook it up to an aquarium pump Jun 12 06:29:58 a valve on the aquarium pump helps regulate it Jun 12 06:30:26 naturally the more flow the lower the heat Jun 12 06:30:30 so you have to find a balance Jun 12 06:30:35 hence the valve Jun 12 06:30:51 I got lightheaded after blowing in the tube for a couple hours Jun 12 06:31:45 `They must be very curious-looking creatures.' Jun 12 06:32:05 http://www.radioshack.com/product/index.jsp?productId=2062731 Jun 12 06:32:07 one of those Jun 12 06:32:22 the tip screws off, and you stuff some desoldering wick in there Jun 12 06:32:26 as a heatsink Jun 12 06:32:41 and make the hold at the very back of the bulb Jun 12 06:32:43 less heat there Jun 12 06:32:58 s/hold/hole/ Jun 12 06:33:09 it's not ideal, but it works Jun 12 06:33:20 want to make a new tip for my digitally controlled iron Jun 12 06:33:22 ndnihil: how do you heat it up? Jun 12 06:33:27 you plug it in Jun 12 06:33:33 Ah, Jun 12 06:33:36 ok :) Jun 12 06:33:46 its just a low end soldering iron with a funny head Jun 12 06:35:32 ndnihil: nice know-how :) Jun 12 06:35:37 thanks :) Jun 12 06:36:32 ok, 11th shr booting up now, see how far it gets Jun 12 06:41:19 * PaulFertser rereading Humpty Dumpty chapter http://www.sabian.org/Alice/lgchap06.htm Jun 12 06:43:53 http://www.3sellercentral.co.uk/download/IT%20Downloads/USB%20Modems/HUAWEI%20E169%20HSDPA%20USB%20Stick%20Product%20Description.pdf claims that even my huawei E169 already support voice Jun 12 06:44:17 they cite a really large number of GSM specs, i'm not quite sure which one describes how the audio stuff works Jun 12 06:50:02 ok, the 11th shr boots, which is an improvment :) but messages still crashes Jun 12 06:52:13 interesting, messages is working now Jun 12 06:52:25 Psi_: probably sim wasn't ready or smth Jun 12 06:52:27 maybe it crashes if you click it before its finished reading the sim Jun 12 06:52:31 heh yeah Jun 12 06:59:32 Psi_: does gta01 have a recamping problem? Jun 12 07:00:48 what is recamping? Jun 12 07:00:53 ive heard it on here a few times Jun 12 07:01:04 never knew what it was Jun 12 07:02:20 Psi_: famous #1024 Jun 12 07:02:35 Psi_: when the cell drops out of network for no reason. Jun 12 07:02:46 ah, cant say ive ever noticed that Jun 12 07:03:13 just called the phone, voice seems to be all working Jun 12 07:03:26 speakerphone still has no mic tho Jun 12 07:03:33 not that i ever use it Jun 12 07:03:52 there's a speakerphone option now? Jun 12 07:04:02 Psi_: statefiles are the same, i guess. So something must be wrong with it. Jun 12 07:04:19 Psi_: probably it's done on purpose to avoid feedback and echo. Jun 12 07:04:31 yeah Jun 12 07:04:45 i only use it when talking to automated systems, so i can see the buttons Jun 12 07:04:53 and in that situation you dont need the mic anyway Jun 12 07:05:00 Exactly Jun 12 07:06:14 ndnihil: ya, button at the bottom called "speaker" when your on a call Jun 12 07:06:52 handy Jun 12 07:06:57 i guess with the name "speaker" and not "speakerphone" one could say the mic isnt supposed to work Jun 12 07:10:23 ok, voice call in both directions and sms message tested Jun 12 07:10:34 11th gta01 shr build seems good Jun 12 07:11:15 mm.. do love the speakers on gta01 Jun 12 07:11:43 stereo sounds good :) Jun 12 07:26:00 morning Jun 12 07:40:35 Psi_: suspend/resume works ok? Jun 12 07:40:48 Psi_: so, do you consider this latest kernel can be recommended to all gta01 users? Jun 12 07:50:26 i suspended and resumed it a few times and it worked Jun 12 07:50:33 also called it while suspended and it woke up Jun 12 07:50:41 so all is good so far Jun 12 07:57:37 Psi_: kewl Jun 12 07:59:15 keeps warning about low batt tho Jun 12 07:59:20 even though its full Jun 12 07:59:46 guessing thats because gta01 has no monitor IC in the battery like gta02 Jun 12 08:04:25 Psi_: doesn't it have a way to at least ADC battery voltage? Jun 12 08:06:00 Psi_: because if it does and it doesn't work, it's a regression. Jun 12 08:10:18 the battery voltage display is missing Jun 12 08:10:33 it was in the power options on older shr builds Jun 12 08:12:23 Psi_: can you investigate it? Jun 12 08:12:51 i wouldn't know where to start Jun 12 08:13:06 Psi_: <-- "Start with pressing this button" Jun 12 08:13:45 Psi_: ls -la /sys/class/power_supply Jun 12 08:16:16 two entries battery and charger Jun 12 08:18:13 both 755 and root:root Jun 12 08:18:23 Psi_: ls -l /sys/class/power_supply/battery obviously Jun 12 08:19:14 cat /sys/class/power_supply/battery/voltage_now gives 4195 Jun 12 08:19:24 which im guessing is 4.195v Jun 12 08:19:44 Psi_: what else is there? Jun 12 08:20:03 current_now device power present status subsystem type uevent voltage_now Jun 12 08:20:06 woot, in that case I'm pushing 4,170V! Jun 12 08:20:12 4170000 Jun 12 08:20:13 :) Jun 12 08:20:38 ndnihil: is it the same sysfs node on your gta01 with older kernel? Jun 12 08:20:49 errr, yeah it's that one Jun 12 08:20:54 I swear Jun 12 08:21:05 same node, gta02 Jun 12 08:21:13 at any rate Jun 12 08:21:37 ndnihil: anyway it means gta01 driver is broken (wrong units used). I'll send a patch soon. Jun 12 08:22:05 cat current_now gives -21 Jun 12 08:22:17 21mA charging im guessing Jun 12 08:22:40 my current_now is 15000 Jun 12 08:23:08 it's a fairly recent SHR unstable on gta02 Jun 12 08:23:09 if that helps Jun 12 08:23:27 All voltages, currents, charges, energies, time and temperatures in uV Jun 12 08:23:28 'cat uevent' gives some good info Jun 12 08:23:38 ndnihil: nope, i have gta02 here with the latest kernel obviously. Jun 12 08:24:16 Psi_: i'd say discharging. Jun 12 08:24:22 Psi_: goes to gsm modem i guess. Jun 12 08:24:32 its pluged into the pc atm Jun 12 08:25:00 Psi_: doesn't matter. The charging is over and GSM slowly sucks power directly from battery. Jun 12 08:25:37 if its microvolts then there is a bug, as voltage_now is 4177 which if uV would be 4mV Jun 12 08:25:44 Psi_: exactly Jun 12 08:30:18 http://pastebin.com/m27526853 Jun 12 08:31:37 hi Jun 12 08:31:49 Psi_: thanks a lot for feedback! Jun 12 08:31:54 i am looking for the address for feeds for shr-testing Jun 12 08:32:05 do you guys happen to know where they are ? Jun 12 08:32:08 Psi_: do you think SHR uses the write nodes to read voltage and current but it's just wrong units? Jun 12 08:32:33 takeiteasy: yes Jun 12 08:33:19 takeiteasy: http://build.shr-project.org/shr-unstable/ipk/ Jun 12 08:33:48 ok thx Jun 12 08:34:17 Quick question, is the current shipping model still limited to 1 day battery life ? Jun 12 08:35:36 leila: no Jun 12 08:35:54 leila: all gta02 MP models can survive more than 100 hours in suspend. Jun 12 08:36:22 Got any links with that ? Jun 12 08:37:43 leila: not yet, i need to find that. Search for recent mails from Daniel about testing his #1024-fixed device. He got 130-140 hrs. Jun 12 08:37:52 PaulFertser: it does seem to make sence, ie, i got 4170 volts on charge and -30 current when pluged in over usb. Then when unplugged 4120 volts and 290 current Jun 12 08:38:17 err, sorry theres an error in that Jun 12 08:38:43 i got -180 current when unplugged Jun 12 08:38:56 then when i plugged it back in i got positive 290 Jun 12 08:39:00 PaulFertser, if I understand correctly this Daniel worked his magic and updated some software to get 130-140 hours ? Jun 12 08:39:07 Psi_: inverted sign? Jun 12 08:39:57 leila: no, Daniel replaced a capacitor to fix the infamous #1024 recamping bug. But not everybody experiences recamping anyway. Other than that, he has no magic hardware or software mods. Jun 12 08:40:13 it was -30 to start with, (pluged into usb). then went -275 negative when i unpluged it, and then +180 when i plugged it back in Jun 12 08:41:11 PaulFertser, Soldering on your own phone, sounds interesting and risky Jun 12 08:41:28 Psi_: i can assure you that it doesn't charge all the time even when plugged in usb. Jun 12 08:41:45 yeah, it does seem to jump around quite a bit Jun 12 08:41:49 leila: i've recently proved that some sort of that work can be done even with unsuitable tools. Jun 12 08:42:08 leila: https://paulfertser.is-a-geek.org/files/useless_buzzfix/ . Jun 12 08:42:51 leila: anyway, even if you disable deep sleep you'll get around 70hrs for sure. And that's much more than 24hrs you're talking about. Jun 12 08:43:47 yup, that would make it a usable device ;) Jun 12 08:44:11 leila: i mean no hardware mods necessary at all to get 70hrs suspend time. Jun 12 08:44:34 leila: even if you experience recamping. Jun 12 08:45:11 gta01 last time i checked only got <24 hours Jun 12 08:45:20 ill test again with this latest build Jun 12 08:45:25 Psi_: even suspended? Jun 12 08:45:28 yep Jun 12 08:45:32 Psi_: :( Jun 12 08:45:49 it should be better than gta02 due to less cpu speed Jun 12 08:46:04 Psi_: too many leaks in there... Probably some can be fixed but i asked Werner yesterday, he says nobody tried to analise or implement that. Jun 12 08:46:31 Psi_: and by fixed i mean change some pullups/downs from 1k to 10k and stuff like that. Jun 12 08:46:52 are they software controllable from 1k to 10k? Jun 12 08:47:40 Psi_: probably there're still "unused modules powered through gpio that should have been tri-stated" issues, those can be fixed (but one needs to find a particular example first). Jun 12 08:47:55 Psi_: and no, resistance of 0402 parts is not software-controllable. Jun 12 08:48:13 yeah, id never heard of a software pullup that had options for resistance Jun 12 08:48:25 Psi_: and this time it's hardware Jun 12 08:48:34 Psi_: i'm talking about hardware pullups Jun 12 08:48:37 ya Jun 12 08:49:12 to limit the life to 24hours when suspended, they must be pretty big leaks or lots of little ones Jun 12 08:49:17 Psi_: and of course you heard about controllable resistance. You can drive your AVR gpio "weak" to use it as input or "strong" to use as output. Or tri-state. Jun 12 08:49:32 PaulFertser, Is the freerunner the gta02 pm you spoke of ? Jun 12 08:49:40 ya, avrs have pullups you can turn on/off Jun 12 08:49:41 Psi_: i wish someone who has the hardware can look into it... Jun 12 08:49:50 think they are quite high tho, like 50k Jun 12 08:49:52 leila: freerunner==gta02 Jun 12 08:50:23 leila: MP==mass production Jun 12 08:50:56 ah ;) Jun 12 08:51:06 by hardware you mean test equipment? Jun 12 08:52:16 Just asking since I need a new phone and I like to support OS, but then I want a phone that I can actually use Jun 12 08:59:00 Also, freerunner seems the appropriate choice since further evolution of the phone has been iced Jun 12 08:59:08 ahoi Jun 12 09:05:04 when a non-evolution becomes an advantage, i didn't think it could been seen that way :-) Jun 12 09:08:17 leila: if you want a phone, buy something else. I'd say freerunner is still more of a development problem than a phone. Though i use it as my only cellphone for half a year now. Jun 12 09:08:59 Psi_: at least those who have gta01 themselves. And can desolder 0402 to cut supply to different units. Jun 12 09:09:08 PaulFertser, let me just say that I want a phone and something cool. And terminals are cool Jun 12 09:09:28 leila: can you do little bash scripting e.g.? Jun 12 09:09:36 leila: any programming experience? Jun 12 09:09:37 <-- Linux user Jun 12 09:09:44 <-- application develope Jun 12 09:09:45 r Jun 12 09:09:51 it can be a usable phone if you manage to maintain two OS on it, one stable and one unstable Jun 12 09:10:03 leila: ok, then you'll probably like FR. Jun 12 09:10:12 yeah, if anyone does a list of 0402 mods to gta01 i can do em Jun 12 09:10:18 i do smt stuff all the time Jun 12 09:11:14 Psi_: why don't you try it yourself then? It's easy: take out the battery, connect a lab power supply through amp-meter. Then measure the current in various modes... Jun 12 09:11:20 also it would replace the "little" Nokia Jun 12 09:11:43 Psi_: then look at the schematics and try to cut current paths one by one. Jun 12 09:12:33 leila: don't forget that FR doesn't support EDGE, only plain GPRS. Jun 12 09:12:57 leila: and you need buzz-fixed version (or do buzzfix by other means later). Jun 12 09:13:50 PaulFertser, it is listed as agprs in the specs ? Jun 12 09:14:02 Psi_: and most current paths have some 0R so you cut it by desoldering. You even can solder wires there and measure current to that different device parts. Jun 12 09:14:27 leila: AGPS -- assisted gps, downloading almanac and ephemeris from the internet. Jun 12 09:15:00 yes, but I understood that agps was good enough to know where you are ... *research* Jun 12 09:15:29 ill have to have a look at the circuit diagram Jun 12 09:16:30 Psi_: and if you find 1k pullups/down there, change to 10k, 1k with 3.3V makes 3.3mA all the time, you know :))) Jun 12 09:18:07 ya Jun 12 09:18:24 10k is probably a bit low as well Jun 12 09:18:36 27k would be fine Jun 12 09:18:40 Sure Jun 12 09:31:07 Ok the new gizmo should be on its way ;) Jun 12 10:28:49 freesmartphone.org: 03mickey 07cornucopia * rf8c07256fad7 10/fsousaged/src/plugins/controller/plugin.vala: fsousaged: send system action 'resume' after resuming Jun 12 10:30:00 Psi_: btw, cursory look doesn't reveal many (i found only one) 1k pullups... Jun 12 10:31:28 Psi_: most other places have 100k so it's safe... Jun 12 10:32:35 ok Jun 12 10:37:22 Psi_: to me only R1701 looks suspicious... Probably i looked wrong on misinterpreted the scheme. But i can't see anything obviously outright wrong that makes gta01 so power hungry. :-/ Jun 12 10:38:03 in what sense do you mean Jun 12 10:38:11 (power hnungry) Jun 12 10:38:32 or ratehr - circumstances\ Jun 12 10:39:30 freesmartphone.org: 03luca 07framework * rbd273ff85f10 10/ (2 files in 2 dirs): Jun 12 10:39:30 freesmartphone.org: Improve frameworkd configuration example and dbus configuration Jun 12 10:39:30 freesmartphone.org: [PATCH 1/5] Gypsy belongs to the freedesktop tree in D-Bus frameworkd.conf Jun 12 10:39:30 freesmartphone.org: [PATCH 2/5] conf/example/frameworkd.conf: adjust log_level use Jun 12 10:39:30 freesmartphone.org: [PATCH 3/5] conf/example/frameworkd.conf: simplify log_to documentation Jun 12 10:39:33 freesmartphone.org: [PATCH 4/5] conf/example/frameworkd.conf: adjust disable use Jun 12 10:39:35 freesmartphone.org: [PATCH 5/5] conf/example/frameworkd.conf: fix English typos Jun 12 10:39:53 SpeedEvil: where are the power leaks? Why it works from battery less than FR? Jun 12 10:40:19 no - under what circumstances do you mean it uses lots of power Jun 12 10:40:39 SpeedEvil: general use. I'm told that with default settings it works for about 5 hours with backlight off. Jun 12 10:41:02 SpeedEvil: and about 4 with on. Jun 12 10:41:09 that seems about right Jun 12 10:41:17 SpeedEvil: and Psi_ says that it lasts for less than 24h in suspend. Jun 12 10:41:47 SpeedEvil: nobody sure why. There might be some software flaws even and in that case they should be fixed. But someone with device and skills needs to investigate it... Jun 12 10:41:51 Suspend is what CPU state? Jun 12 10:42:01 SpeedEvil: suspend to ram Jun 12 10:42:10 I'm not sure how's that state called. Jun 12 10:42:12 yes - I mean - what CPU condition. Jun 12 10:42:20 CPU idle, or 'off' Jun 12 10:42:33 CPU 'off' - with RAM alive shoud use fractions of a milliamp Jun 12 10:42:34 I've never seen SoC datasheet. That's the state when CPU doesn't run. Jun 12 10:42:42 K Jun 12 10:42:45 there are severl Jun 12 10:42:51 with widely disparate power usages Jun 12 10:42:52 In that state gta02 lives for more than 130hrs with gsm on. Jun 12 10:43:10 freesmartphone.org: 03mickey 07framework * ref6509a12201 10/etc/dbus-1/system.d/frameworkd.conf: frameworkd.conf: make it work on newer dbus versions that are non-permissive (aka: paranoid) by default Jun 12 10:43:10 Whatt does software have to do to recover from this state Jun 12 10:43:31 Does it start out by a 'normal' boot - which transitions into recovery from RAM? Jun 12 10:44:08 SpeedEvil: the CPU is turned on by some external (or internal, read RTC) event, then it jumps to bootloader. Bootloader discovers it's actually resume, does minimal preparations and jumps to the relevant kernel resume address. Jun 12 10:44:26 What I thought. Jun 12 10:44:39 Ok - that should indeed - if stuff is setup right - last ages. Jun 12 10:44:44 That doesn't explain excessive power consumption though ;) Jun 12 10:45:07 there i the audio amp - but I would imagine tthat's been checked Jun 12 10:45:42 Well, it should go to suspend according to the code. But i can't check anything directly because i don't have gta01. Jun 12 10:46:36 I - hopefully - should have a bit of time free iin the next couple of weeks - the garden is getting to a state where I'm winning against some of the weeds. Jun 12 10:46:38 SpeedEvil: and no, probably nobody checked how much it consumes in suspend. Jun 12 10:46:50 I did - but that wa back in 2007.2 times Jun 12 10:47:04 SpeedEvil: amp in particular or the whole system? Jun 12 10:47:18 the audio amp - if not turned off uses 30mA in suspend Jun 12 10:47:25 in off Jun 12 10:47:40 hi everybody Jun 12 10:47:42 so I assume it'd be the same in suspend unless turned off Jun 12 10:47:43 i figure out my gta02 endless ringing when i have Jun 12 10:47:50 SpeedEvil: can you explain me what's the fun in caring about one's garden? Jun 12 10:47:54 an unanswered message with shr-testing Jun 12 10:48:01 and that's pretty annoying Jun 12 10:48:55 PaulFertser: http://www.flickr.com/photos/14560445@N08/ - recently - March - mum died, and I inherited it. I'm trying to keep it in a sane state, rather than simply leaving it to ruin. Jun 12 10:49:16 how do you get rid of this behavior please ? Jun 12 10:50:06 PaulFertser: as a more general point, I'm trying to tidy up the house externals so I can leave them alone for 20 years or so. :) Jun 12 10:50:46 SpeedEvil: i see. Sorry. Jun 12 10:50:59 freesmartphone.org: 03mickey 07cornucopia * r17c464bd41ae 10/fsousaged/ (configure.ac data/fsousaged.conf): fsousaged: install dbus configuration file Jun 12 10:51:31 SpeedEvil: anyway if you need any help in reading/understanding/tweaking kernel code, i'm ready to assist. Jun 12 10:51:42 PaulFertser: hopefully Jun 12 10:51:55 Today I'm going out killing. Jun 12 10:51:59 (weeds) Jun 12 10:52:25 takeiteasy: use shr-unstable? Jun 12 10:56:26 Psi_: probably i'd cut all consumers from PCF50606 first (there're R1715-R1719 and R1722 for that) and then checked if suspend current is ok ( <10mA with GSM turned off by AT@POFF command ). If not, i'd investigate that first. Werner's gpio utility is helpful to know (and change) the state of SoC pins. Jun 12 10:57:37 Psi_: with that you're supposed to get reasonable current while running by ensuring all GPIO that are connected to unpowered stuff are tri-stated or input. Jun 12 10:58:26 Psi_: there're quite some testpoints that will help you to understand what's going on in suspend too. Jun 12 10:58:42 SpeedEvil: do you find my "plan" reasonable? Jun 12 10:58:57 PaulFertser: in pprinciple yes, though I've not looked deeply at the schematic Jun 12 10:59:13 yeah, ill have to look into it Jun 12 10:59:30 SpeedEvil: i haven't too. Do you think you will be able to spot something outright wrong there? ;) Jun 12 10:59:32 ive not looked at the gta02 schmatics at all Jun 12 10:59:47 (quite possible you'll see it because i'm not EE at all) Jun 12 10:59:55 PaulFertser: I mean - it'd be required to find the points to poke Jun 12 11:00:20 PaulFertser: Digital stuff isn't _that_ bad. It's when it gets analog/high-speed/RF that it gets nasty Jun 12 11:00:27 ^ Jun 12 11:00:38 SpeedEvil: fortunately gta01 doesn't have that many parts. And power management is supposed to be done by one PMU IC. Jun 12 11:00:54 yeah Jun 12 11:00:57 SpeedEvil: afaik RF stuff wasn't changed at all. Jun 12 11:01:16 I was meaning your point on 'I'm not an EE' Jun 12 11:01:41 /low-current/high-radiation/high temperature/... Jun 12 11:01:41 SpeedEvil: some parts of RF stuff was inherited from FIC even. Jun 12 11:05:32 SpeedEvil: (nasty EE stuff) of course :) Jun 12 11:14:55 ok, just wired gta01 up to the dmm Jun 12 11:15:06 lets see just how much it draws in suspend Jun 12 11:16:37 Psi_: wow, you're not one of those who talk a lot and does nothing :) Great, gta01 has chances ;) Jun 12 11:17:47 wiring it up isnt exactly hard Jun 12 11:17:52 some wires and tape :) Jun 12 11:19:03 Yep, it was funnier to measure consumption on hx4700, where we had to make a wood dummy with terminals (made of nails) because there're about 7 wires to connect and terminals on device are not easily accessible :) Jun 12 11:19:35 lol Jun 12 11:22:13 ok, 52mA in suspend with jumps to 82mA every so often Jun 12 11:22:18 kinda need to use the scope i think Jun 12 11:22:56 52mA / 1200mAh = 23hours Jun 12 11:23:06 sounds about right Jun 12 11:23:50 Psi_: GSM turns off at higher voltage than the battery minimal allowed btw. Jun 12 11:24:15 im running it off its battery Jun 12 11:25:19 Psi_: have you turned off GSM beforehand? Jun 12 11:25:35 Psi_: by using AT@POFF command Jun 12 11:25:37 freesmartphone.org: 03Frederik.Sdun 07fso-monitord * reb8fb32d52d1 10/src/device.vala: Removed apm from PowerSupply Devices Jun 12 11:25:37 i wanted to see how long it should last in suspend with gsm on Jun 12 11:25:50 (there's no other way to do that on gta01) Jun 12 11:26:10 whats the command to send at commands ? Jun 12 11:26:16 Psi_: mickeyterm Jun 12 11:27:10 Psi_: and btw s3c-gpio is pre-installed on SHR, so you can freely use it to check GPIO state at any given time (when the system is running of course). Jun 12 11:31:01 Psi_: i encourage you to become a gta01 hero by investigating power consumption issues and finally making it usable as a phone ;) The community won't forget their heros :) Jun 12 11:32:02 well 52mA is insane Jun 12 11:32:06 should be much lower Jun 12 11:32:54 should be like 5mA Jun 12 11:33:15 well 5-10 Jun 12 11:35:58 think my wires a are bit thin at high GSM currents, phone keeps dying before it connects Jun 12 11:36:39 freesmartphone.org: 03mickey 07cornucopia * r5c1418ab1dee 10/fsousaged/ (3 files in 2 dirs): fsousaged: install service file for dbus system activation Jun 12 11:39:11 is at&poff correct? Jun 12 11:39:15 its given error Jun 12 11:39:22 Psi_: Really? Jun 12 11:39:31 Psi_: have you ever upgraded your gsm firmware? Jun 12 11:39:45 yes Jun 12 11:39:52 its not the latest but its been upgraded Jun 12 11:39:55 Psi_: sorry Jun 12 11:39:58 Psi_: AT@POFF Jun 12 11:39:59 @ Jun 12 11:40:02 ah Jun 12 11:41:47 hm.. doesnt want to suspend now that ive done that Jun 12 11:43:13 Psi_: just kill frameworkd Jun 12 11:43:17 Psi_: fully Jun 12 11:43:28 Psi_: and then suspend by "echo mem > /sys/power/state" Jun 12 11:44:14 Psi_: ophonekitd... Jun 12 11:44:20 Psi_: kill everything unnecessary Jun 12 11:44:46 cant kill X, or i wont be able to type anything Jun 12 11:44:54 Ah, sure Jun 12 11:45:09 Psi_: it's not necessary Jun 12 11:45:36 my screen is all fuzzy, i dont think it likes running like this Jun 12 11:45:53 Fuzzy because of what? Jun 12 11:46:22 i dunno it was all ghosted Jun 12 11:46:42 like there was two images and one was 50pixel offset Jun 12 11:46:54 na 10 pixel Jun 12 11:47:10 booting it up again Jun 12 11:47:14 Psi_: hm, how did it happen? Jun 12 11:47:18 Psi_: after resume? Jun 12 11:47:24 na, on boot Jun 12 11:47:27 when it went into X Jun 12 11:47:47 its probably the wires making intermittent contact and crashing stuff Jun 12 11:48:20 not easy to tie wires onto the battery terminals Jun 12 11:48:47 Psi_: that's why it'd be better to solder esp. if you're going to do more extensive testing. Jun 12 11:50:10 ya Jun 12 11:54:31 ok, turning off gsm dropped the suspend current from 52mA to 44mA Jun 12 11:54:47 so gsm uses 8mA Jun 12 11:55:10 Psi_: looks reasonable Jun 12 11:55:42 still a phone that is "off" using that much power seems odd Jun 12 11:55:43 the question is now, where is the 44mA going Jun 12 11:55:52 yeah Jun 12 11:55:56 something big is still running Jun 12 11:55:57 could be extreme leaking ? Jun 12 11:56:00 leila: it's gta01, it was never good at power consumption. Jun 12 11:56:07 leila: yes, extreme leaking. Jun 12 11:56:16 leila: and probably nobody has ever investigated it. Jun 12 11:56:32 leila: gta02 is much better as i've already told you. Jun 12 11:57:00 i need a high sensitivity thermal imager Jun 12 11:57:06 that would show where the heat is going Jun 12 11:57:13 Psi_: do you have an access to one? It'd be a breakthrough! Jun 12 11:57:17 na Jun 12 11:57:23 wish i did, they are cool Jun 12 11:57:43 Was just wondering if there was some sub circuit, eg a power stabalizer, that is just in the main path of the battery + to - Jun 12 11:57:54 Psi_: Then i'm afraid your only chance is to remove some 0R that provide power to various parts. Jun 12 11:58:01 yep Jun 12 11:58:07 leila: want to see the schematic? Jun 12 11:58:22 I can oogle them, but it has been a long time since uni ;) Jun 12 11:58:42 Any place I can see them ? Jun 12 11:58:53 leila: http://people.openmoko.org/joerg/ Jun 12 12:00:02 i wonder how much current refreshing the ram takes Jun 12 12:00:20 should also try removing the sim and sdcard Jun 12 12:00:23 see if that changes anything Jun 12 12:00:59 Psi_: and btw it'd be probably a good idea to compare gta01 and gta02 schem if you suspect anything particular. Jun 12 12:01:05 Psi_: essentially zero Jun 12 12:01:10 Psi_: if it's in sself-refresh Jun 12 12:01:15 does anybody know if lowering bitrate lowers cpu-usage of mplayer? Jun 12 12:01:20 Psi_: It's on the order of 3mA or soo Jun 12 12:01:24 ok Jun 12 12:01:28 thx Jun 12 12:01:58 Psi_: can you confirm the speaker amp is off? Jun 12 12:02:18 hi people! i've created a new screen lock theme Jun 12 12:02:37 ok, booting up again with no sd or sim to see if either of them is stealing the power Jun 12 12:02:50 SpeedEvil: current kernel or's all amp registers with 0xf0 , it's supposed to put it to standby. Jun 12 12:02:51 i doubt its that simple, but you never know Jun 12 12:03:11 anything that is ruled out already ? Jun 12 12:03:32 k Jun 12 12:03:46 It's jsut that the amp does use around 30mA Jun 12 12:03:48 leila: on gta01? Come on, Psi_ has only began his epic work ;) Jun 12 12:04:20 hm.. i guess i should have thought about that first, i was running the os from the sdcard Jun 12 12:04:23 heh Jun 12 12:04:35 Okies ;) Jun 12 12:04:52 s/only/just Jun 12 12:05:14 Psi_: how are you measuring the power use - battery shunt? Jun 12 12:06:06 just DMM on mA in series with the battery. I have to short out the dmm until ive booted and suspended cos it doesnt like the voltage drop Jun 12 12:07:02 so yeah, shunt inside dmm Jun 12 12:09:17 Psi_: btw, some components in some gta01 were glued to the pcb, i hope that you won't face that obstacle though. Jun 12 12:09:18 does the clock shutdown on the gta01 ? Jun 12 12:10:48 interesting Jun 12 12:11:08 ok, this maybe due to a different shr build, as im not using the old one off my onboard nand but.. Jun 12 12:11:24 with no sd and no sim and gsm off the current is 24mA Jun 12 12:11:34 Psi_: what kernel is used? Jun 12 12:11:44 ill have to check Jun 12 12:11:47 Psi_: uname -a Jun 12 12:13:10 have to wait for it to boot again, i forgot to put the clip back on and it crashed after coming out of suspend Jun 12 12:13:52 Psi_: if it's kernel issue, that's quite a regression... Jun 12 12:14:27 Psi_: anyway save somewhere s3c-gpio output just before and after suspend with both kernel preferably. Jun 12 12:14:58 Psi_: what shr build are you using on SD? Yesterday's? Jun 12 12:15:09 yes, on sd is the 11th one Jun 12 12:15:14 on nand is probably 5 months old Jun 12 12:15:39 it supports ext3 but not ext2 which is odd Jun 12 12:15:40 Psi_: the kernel on nand must be .24, so it's about June probably. Jun 12 12:16:39 ok, 2.6.24 #1 PREEMPT thu mar 27 Jun 12 12:16:43 not as old as i thought Jun 12 12:18:11 ill try this kernel with sd and sim inserted and see if the current goes to 44mA Jun 12 12:19:02 Psi_: please check if s3c-gpio works for you. Jun 12 12:19:30 Psi_: probably it's called s3c24xx-gpio Jun 12 12:19:55 The SD hardware does use a finite amount of power Jun 12 12:19:57 oh Jun 12 12:20:02 but it shouldn't when off Jun 12 12:20:03 ignore me Jun 12 12:20:51 Anyway 24mA in suspend with GSM on is huge... Jun 12 12:21:01 GSM off I thought Jun 12 12:21:05 Yes, off Jun 12 12:21:06 24 is with it off Jun 12 12:21:09 typo Jun 12 12:21:11 and yes - that's what - 50h Jun 12 12:22:37 ok, booting up 2.6.24 with sd and sim inserted, will check current and try save s3c-gpio settings before and after suspend Jun 12 12:23:28 PaulFertser: some one fot almsot 140h if i recall correctly (it was on the planet) Jun 12 12:24:16 gta01 Jun 12 12:24:16 ? Jun 12 12:25:09 Psi_: btw, some/most/all PMU outputs can be disabled in software by reading pcf50606 datasheet and Werner's pmu utility (checked only on gta02 but i think it isn't hard to make it work on gta01 too). Jun 12 12:25:54 perhaps also echo 0 >/proc/foo/voltage Jun 12 12:26:08 Thoguh I'm unsure if that'll actully work. Jun 12 12:26:45 The granularity in some subsystems rails is quite large Jun 12 12:26:55 http://totalueberwachung.de/blog/2009/06/03/freerunner-deep-sleep-standby-time Jun 12 12:27:11 143.43h Jun 12 12:31:40 Zorkman: and we're talking about gta01 Jun 12 12:31:52 Zorkman: with GSM completely off (not in deep sleep). Jun 12 12:33:18 ok, current on 2.6.24 with sd and sim in is 37mA Jun 12 12:33:32 or 24mA with them both not in Jun 12 12:34:20 ill try one at a time to see which is doing it Jun 12 12:34:42 Psi_: i bet it's SD Jun 12 12:34:50 yeah Jun 12 12:35:01 would be my guess too Jun 12 12:35:17 shouldnt be running at all tho Jun 12 12:35:25 when its in suspend Jun 12 12:36:20 the clock can't be going - 10mA is about sane for powered but idle Jun 12 12:36:26 Psi_: so, it looks like 3mA is lost due to the kernel and 17 due to SD? Jun 12 12:37:48 Psi_: thoughts on the repeatability of your setup? Do you have the battery at a reasonably stable voltls? Jun 12 12:38:03 it was fully charged when i started testing Jun 12 12:38:14 but i dunno what the voltage drop is due to my wires Jun 12 12:38:22 Psi_: hm, it'd be better to run of lab psu... Jun 12 12:38:28 ya Jun 12 12:38:37 (i don't have a lab psu at home too :) Jun 12 12:38:44 fully charged will drop very rapidly in voltage for a bit Jun 12 12:38:55 till it stabilises at 4.05-4.1V or so Jun 12 12:39:28 You may be able to run it from an external 3.3V supply. But the multimeter may cause problems in that case. Jun 12 12:40:09 SpeedEvil: how? Jun 12 12:40:17 how? Jun 12 12:40:23 the voltage drop Jun 12 12:40:51 will lead to it probably crashing when GSM tries to do anything Jun 12 12:40:59 SpeedEvil: Ah. I'd suggest to disable gsm altogether (do not run frameworkd on startup should be enough). Jun 12 12:56:58 having problems getting the sim to work without a battery to press against it Jun 12 12:57:12 dont think its making contact Jun 12 12:58:06 Psi_: sim? Why do you need it? Jun 12 12:58:26 i was going to check the current draw with a sim but no sd Jun 12 12:58:38 to prove it was the sd causing the extra current Jun 12 12:59:02 Psi_: you've already proved it by running with and without SD. Jun 12 12:59:36 yes, but i also had it with and without sim at the same time Jun 12 12:59:42 could be either Jun 12 13:11:40 bit late here, im off to bed. Jun 12 13:12:53 Psi_: see you Jun 12 13:13:24 nite Jun 12 14:21:27 openmoko: 03daveb * r5125 10/trunk/gta02-core/components/ (atr0635.lib gta02-core-expanded.lib gta02-core.lib): Include all possible signals for multi-use pins Jun 12 15:04:24 SpeedEvil: GSM is ceasing operation at 3V5 nominal Jun 12 15:05:00 ouch Jun 12 15:05:55 alphaone: yup, we should notice user if we find abyss can't talk to modem anymore Jun 12 15:06:29 also we should *power down* modem *and uart lines* then immediately Jun 12 15:06:32 DocScrutinizer: yeah, something like that Jun 12 15:07:25 alphaone: it's a pitty our PMU thresholds are up to 3.4V only, iirc Jun 12 15:07:42 DocScrutinizer: Yeah Jun 12 15:07:57 alphaone: otherwise I would recommend to use bat_low on 3V5, and sys_low on 2V8 Jun 12 15:08:18 alphaone: well, maybe it's still a reasonable setup Jun 12 15:08:37 alphaone: augmented by above mentioned abyss detection Jun 12 15:09:31 alphaone: but we need a means to wake from suspend on gsm-oper-thrhld tripping Jun 12 15:10:40 for this bat_low 3V4 might still be handy (though I wonder if a dieing modem won't trigger a wake from suspend by its own, simply by irq line floating) Jun 12 15:10:42 DocScrutinizer: I was meaning - if it is at 3.3 - say - and it draws an amp and a half through a shunt which drops 200mV@200mA (as most meters do) - the trough voltage will cross below the minimum volts Jun 12 15:11:06 (but if the modem shits itself down at 3.5 - not an ussie) Jun 12 15:11:08 issue Jun 12 15:11:15 SpeedEvil: minimum voltage for GSM is 3v5 Jun 12 15:11:30 yup Jun 12 15:11:55 (WRT using a computer 3.3V PSU to run the GTA01) Jun 12 16:00:13 freesmartphone.org: 03mickey 07cornucopia * rde920772762b 10/ (3 files in 3 dirs): fsousaged: add missing data/Makefile.am Jun 12 19:03:46 whats up Doctor Dave? Jun 12 19:03:58 Double D Jun 12 20:57:33 openmoko: 03rehar * r5126 10/trunk/gta02-core/components/STATUS: Review of aat1275, ht210 and lis302dl Jun 12 21:50:42 http://imgs.xkcd.com/comics/latitude.png Jun 12 21:54:48 rofl Jun 12 21:54:51 I hadn't seen that one yet... Jun 12 21:55:07 I'm still waiting for a location-aware todo list app for OM **** ENDING LOGGING AT Fri Jun 12 22:02:30 2009 **** BEGIN LOGGING AT Fri Jun 12 22:03:25 2009 Jun 12 23:19:56 ooo its a little devil with a pengy mask Jun 12 23:20:00 2 of em Jun 12 23:21:23 slackware64 is too cool Jun 12 23:43:01 wassup Jun 13 00:09:18 Hi Jun 13 00:10:05 I got SHR testing, and after about 10 seconds the wifi connection dies Jun 13 00:10:22 Somebody knows why? Or how i can fix that? **** ENDING LOGGING AT Sat Jun 13 02:59:57 2009