--- Log opened Sun Jul 24 00:30:34 2011 00:30 -!- posixninja [~textual@h95.145.90.75.dynamic.ip.windstream.net] has joined #freemyipod 00:44 -!- Sain [~Liath@fctnnbsc30w-142166189192.dhcp-dynamic.FibreOp.nb.bellaliant.net] has joined #freemyipod 00:47 -!- Kuitsi- [~Kuitsi@a88-113-118-171.elisa-laajakaista.fi] has joined #freemyipod 00:51 -!- Liath [~Liath@fctnnbsc30w-142166189192.dhcp-dynamic.FibreOp.nb.bellaliant.net] has quit [*.net *.split] 00:51 -!- Kuitsi [~Kuitsi@a88-113-118-171.elisa-laajakaista.fi] has quit [*.net *.split] 00:51 -!- Sain is now known as Liath 01:15 -!- powell14ski_ [~powell14s@c-174-51-194-6.hsd1.co.comcast.net] has joined #freemyipod 02:09 -!- [7] is now known as { 02:15 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 02:17 -!- { [~TheSeven@rockbox/developer/TheSeven] has quit [Ping timeout: 260 seconds] 06:10 -!- powell14ski_ [~powell14s@c-174-51-194-6.hsd1.co.comcast.net] has quit [Quit: powell14ski_] 07:10 -!- Liath [~Liath@fctnnbsc30w-142166189192.dhcp-dynamic.FibreOp.nb.bellaliant.net] has quit [Read error: Connection reset by peer] 07:22 -!- Liath [~Liath@fctnnbsc30w-142166189192.dhcp-dynamic.FibreOp.nb.bellaliant.net] has joined #freemyipod 09:34 -!- n1s [~quassel@rockbox/developer/n1s] has joined #freemyipod 10:13 < user890104> http://www.youtube.com/watch?v=M0BE7R5hKLg 10:15 < user890104> ([Saint] might be interested :)) 10:21 < [Saint]> The style isn't my "cup of tea", but it does look very nice indeed. 10:26 < user890104> "interested" as a theme developer 10:27 < user890104> i was thinking about an OF-style boot menu 10:27 < user890104> nice and simple 10:28 < user890104> with scroll clicks for example 10:28 < [Saint]> I very much wanted to get into themeing for emBIOS, and since, emCORE...but real life has got in the way. 10:28 < [Saint]> And, starting other projects that need finishing before I start others. 10:29 < [Saint]> its still a desire of mine, though. 10:49 -!- Keripo [~Keripo@c-76-28-198-27.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 11:41 * TheSeven needs to put some more work into the boot menu one day 11:43 < user890104> for example the list chooser should truncate long texts when displaying 11:43 < user890104> but that's actually libui-related 11:43 < TheSeven> nah, the root cause of that problem is sitting a lot deeper 11:44 < TheSeven> we need proper font rendering support, and not just this built-in kernel fixed width font 11:44 < TheSeven> => we need a userspace font renderer lib 11:44 < TheSeven> should probably go into libui 11:44 < TheSeven> then that one should care about properly wrapping text if allowed, and otherwise truncating 11:45 < user890104> so we can set a custom font for the console? 11:45 < TheSeven> the kernel renderer we're using currently doesn't know how big the viewport is 11:45 < TheSeven> no, i'd like to keep the console stuff self-contained in the kernel 11:46 < TheSeven> otherwise we'd increase the risk of userspace problems infecting the kernel, and possibly even preventing a panic message from being shown 11:53 < user890104> how do we read the battery level on a nano 2g? 11:53 < user890104> or the clock 11:53 < user890104> i'd like to play with the bootmenu a bit :) 11:58 < Farthen> user890104: this is both in the pmu 11:59 * user890104 found readpmu.py 12:03 < user890104> i'd like to make an additional submenu in Tools - "Information" 12:03 < user890104> that would show the versions of each component, clock, voltage/current, etc. 12:04 < user890104> maybe free/used space on the flash/hdd 12:10 < Farthen> user890104: we could even do some kind of "top bar" which displays this information, like the OF 12:12 < TheSeven> user890104: clock isn't implemented yet, but is fairly trivial 12:12 < TheSeven> the more interesting part is to think of a sane cross-platform API for that 12:12 < Farthen> TheSeven: isn't that thing implemented in rockbox? 12:12 < TheSeven> yeah, it is 12:13 < TheSeven> it's basically just a couple of I2C registers on the PMU 12:13 < TheSeven> battery reading is already in-core, but the only thing that uses it so far is hddscan2 12:16 -!- n1s [~quassel@rockbox/developer/n1s] has quit [Remote host closed the connection] 12:19 -!- n1s [~quassel@rockbox/developer/n1s] has joined #freemyipod 12:49 < user890104> TheSeven: where is the source for hddscan2? 12:52 < TheSeven> somewhere on my hdd 12:52 < TheSeven> i'm not sure if i committed it 12:52 < TheSeven> but the battery reading stuff is fairly trivial 12:52 < user890104> i don't find it in apps 12:53 < user890104> int pmu_read_battery_voltage(void) 12:53 < user890104> int pmu_read_battery_current(void) 12:53 < user890104> void pmu_read_rtc(unsigned char* buffer) 12:53 < user890104> these would be enough :) 12:54 < TheSeven> battery_percentage = 100 * read_battery_mwh_current(0) / int read_battery_mwh_full(0); 12:56 < user890104> and how do i get mwh_current? voltage * current? 12:56 < user890104> oh, they are implemented in power.c 12:57 < TheSeven> we have the whole battery adaptation stuff in the kernel, to allow for a cross-platform way to read it out 13:11 < Farthen> i see the reasoning behind this even though putting everything into the core which is cross-platform sure leads to some big core ;) 13:15 -!- s__C [~s__C@12-223.63-188.cust.bluewin.ch] has joined #freemyipod 13:16 < s__C> hello 13:16 < s__C> anybody here ? 13:16 < s__C> i just have one small question 13:16 < TheSeven> just ask it :) 13:16 < s__C> ok 13:16 < s__C> i have a docking station connected to the sector. i can too recharge my ipod 13:17 < s__C> but i can't get any sound out of the "LOD" port of my ipod 13:17 < s__C> is it emcore related or rockbox related ? 13:17 < s__C> and i saw of the head-fi thread that some people managed to get sound through their LOD 13:18 < TheSeven> everything sound-related is rockbox-related 13:18 < s__C> ok 13:18 < TheSeven> did you turn on line-out? 13:18 < s__C> dunno 13:18 < s__C> maybe it could be it 13:18 < TheSeven> seems likely 13:18 < s__C> let me check 13:19 < s__C> it directly switches to recharge mode 13:20 < s__C> dunno why 13:20 < s__C> but i bet that if i use a LOD with only an output sound it'll work 13:20 < s__C> damn it 13:21 < s__C> i'll ask on rockbox 13:22 < s__C> thx for the first help TheSeven 13:23 < TheSeven> press and hold the menu button while plugging it in 13:26 < s__C> ok thx again 13:31 -!- s__C [~s__C@12-223.63-188.cust.bluewin.ch] has left #freemyipod 13:34 < user890104> TheSeven: i get an error when trying to read the clock 13:35 < user890104> build/main.o: In function `__emcore_entrypoint_c': 13:35 < user890104> main.c:(.emcoreentrypoint+0x480): undefined reference to `pmu_read_rtc' 13:36 < TheSeven> i'm not sure if I have added these to the syscall API yet 13:39 < user890104> i don't find it in syscallapi.h 13:40 < TheSeven> it's probably also unimplemented on all current targets 13:40 < user890104> can we add return false or something like that on them 13:40 < user890104> and add it to the syscall api? 13:41 < user890104> for example read_battery_voltage on nano4g simply returns -1 now 13:41 < TheSeven> hm, i'd think we should first think of its final calling conventions, to decide on both the final function declaration and a sane "unimplemented" return value 13:42 < Farthen> wouldn't it be better to have a #define NOT_IMPLEMENTED somewhere? 13:42 < TheSeven> that would collide with actual return values sometimes 13:43 < TheSeven> if you e.g. want to return a pointer, NULL is a sane NOT_IMPLEMENTED value, but nothing else 13:43 < Farthen> other option would be to always return a pointer to the desired return value :) 13:43 < TheSeven> if you want to return e.g. a count however, 0 is a perfectly valid value, and you'd progbably use -1 13:43 < TheSeven> how would that work? 13:44 < Farthen> the syscallapi always takes the return value, stores it somewhere and returns the address 13:44 < Farthen> sure there is an overhead but that would make the api more clean ;) 13:57 < TheSeven> and you would cause lots of memory leaks 13:57 < Farthen> good point 14:00 < Farthen> or the api could have some ability to ask whether a function is implemented or not. i just think that this needs some kind of wrapper which works for everything --- Log opened Sun Jul 24 16:39:26 2011 16:39 -!- fmibot [~fmibot@static.225.178.40.188.clients.your-server.de] has joined #freemyipod 16:39 < Dgby714> wow 16:39 < Dgby714> Haven't turned my ipod on in almost 2 years and its still the latest version >..> 16:49 -!- posixninja [~textual@h149.149.19.98.dynamic.ip.windstream.net] has joined #freemyipod 17:03 -!- [Saint] [~st.lasciv@124-197-58-10.callplus.net.nz] has quit [Quit: Imagination is for turbo-nerds who can't handle how kick-butt reality is. I'm a kick-butt reality master! I would rather die, than be imaginative. I mean that.] 17:13 -!- Liath_ [~Liath@fctnnbsc30w-142166189192.dhcp-dynamic.FibreOp.nb.bellaliant.net] has joined #freemyipod 17:13 -!- Liath_ is now known as Liath|Shell 17:21 -!- Liath [~Liath@fctnnbsc30w-142166189192.dhcp-dynamic.FibreOp.nb.bellaliant.net] has quit [Quit: DCC SEND "STARTKEYLOGGER" 0 0 0] 17:21 -!- Liath|Shell is now known as Liath 18:41 -!- johnmoe [475e1491@gateway/web/freenode/ip.71.94.20.145] has joined #freemyipod 18:42 < johnmoe> Hello everyone, could i get some help with something? 18:49 -!- johnmoe [475e1491@gateway/web/freenode/ip.71.94.20.145] has quit [Quit: Page closed] 20:10 < TheSeven> Dgby714: "low battery screen" doesn't mean low battery at all 20:10 < TheSeven> it's usually an indicator of FTL trouble, for whatever reason 20:10 < TheSeven> wiping the FTL might help 20:17 < Dgby714> TheSeven: Using ipodpater didn't work but bootnote did 20:17 < Dgby714> Btw do you remember me? 20:20 -!- kleemajo [~kleemajo@host168-169.resnet.ubc.ca] has quit [Quit: Leaving] 20:24 < TheSeven> Dgby714: yeah, you're one of the "early adopters", rightß 20:24 < TheSeven> s/ß/?/ 20:25 < TheSeven> hm, i need to think of a way to automate FTL resets without needing that whole bunch of tools 20:25 < TheSeven> probably just make an emcore UBI for it 20:28 -!- Kuitsi- is now known as Kuitsi 20:30 -!- posixnin_ [~textual@h216.18.190.173.dynamic.ip.windstream.net] has joined #freemyipod 20:31 -!- posixninja [~textual@h149.149.19.98.dynamic.ip.windstream.net] has quit [Ping timeout: 252 seconds] 20:31 -!- posixnin_ is now known as posixninja 20:47 -!- soap [~soap@rockbox/staff/soap] has quit [Read error: Connection reset by peer] 20:53 -!- Keripo [~Keripo@c-76-28-198-27.hsd1.wa.comcast.net] has joined #freemyipod 21:03 -!- [Saint] [~st.lasciv@124-197-58-10.callplus.net.nz] has joined #freemyipod 21:42 -!- n1s [~quassel@rockbox/developer/n1s] has quit [Remote host closed the connection] 21:44 -!- posixninja [~textual@h216.18.190.173.dynamic.ip.windstream.net] has quit [Quit: Computer has gone to sleep.] 21:53 -!- posixninja [~textual@h216.18.190.173.dynamic.ip.windstream.net] has joined #freemyipod 21:57 -!- posixninja [~textual@h216.18.190.173.dynamic.ip.windstream.net] has quit [Ping timeout: 252 seconds] 22:01 -!- soap [~soap@cpe-76-181-78-156.columbus.res.rr.com] has joined #freemyipod 22:01 -!- soap [~soap@cpe-76-181-78-156.columbus.res.rr.com] has quit [Changing host] 22:01 -!- soap [~soap@rockbox/staff/soap] has joined #freemyipod 22:22 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has joined #freemyipod 22:37 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has quit [Quit: Computer has gone to sleep.] 22:55 -!- Keripo [~Keripo@c-76-28-198-27.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] --- Log closed Mon Jul 25 00:52:07 2011