Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

Notice: Only Gecko based browsers prior to FF4 support the multipart/mixed "server push" method used by this log reader to auto-update. Since you do not appear to use such a browser, this page will simply show the current log, and not automatically update.

#rockbox log for 2014-08-17

00:06:36 Quit y4n (Quit: Today is the perfect day for a perfect day.)
00:12:59 Quit lleeloo (Ping timeout: 255 seconds)
00:13:39 Quit lebellium (Quit: ChatZilla [Firefox 32.0/20140814150857])
00:31:17 Quit cmhobbs_ (Quit: Leaving)
00:31:27 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs)
00:36:59 Join jhMikeS [0] (~jethead71@rockbox/developer/jhMikeS)
00:39:34 Quit pamaury_ (Ping timeout: 246 seconds)
01:04:07 Quit ender` (Quit: /[,\(\s]?#1(s)(\s+-?\d+(?{}\.\d+)?\s+-?\d+(?{}\.\d+)?\s+-?\d+(?{}\.\d+)?\s+-?\d+(?{}\.\d+)?\s+-?\d+(?{}\.\d+)?\s+-?\d+(?{}\.\d+)?)(\s+-?\d+(?{}\.\d+)?\s+-?\d+(?{}\.\d+)?)+(\)?=|\s|$)/)
01:07:27 Quit bertrik (Remote host closed the connection)
01:29:39***Saving seen data "./dancer.seen"
01:39:25 Join Strife89 [0] (
01:45:21 Quit Strife89 (Ping timeout: 240 seconds)
01:51:12 Quit ZincAlloy (Quit: Leaving.)
01:57:54 Join Strife89 [0] (
02:09:07 Quit KotH (Ping timeout: 240 seconds)
02:16:01 Join KotH [0] (
02:43:11 Join charlie_ [0] (~c@unaffiliated/charlie)
02:43:35 Nick charlie_ is now known as Guest38336 (~c@unaffiliated/charlie)
02:43:43 Nick Guest38336 is now known as charlie (~c@unaffiliated/charlie)
02:58:48 Join scorche [0] (~scorche@rockbox/administrator/scorche)
03:00:00 Quit AlexP (Remote host closed the connection)
03:01:32 Quit scorche` (Ping timeout: 272 seconds)
03:05:42 Quit jhMikeS (Ping timeout: 250 seconds)
03:29:43***Saving seen data "./dancer.seen"
03:31:56 Quit RiD (Quit: A good plan today is better than a perfect plan tomorrow.)
04:07:14 Join jhMikeS [0] (~jethead71@rockbox/developer/jhMikeS)
04:20:46 Join pixelma_ [0] (pixelma@rockbox/staff/pixelma)
04:20:55 Quit pixelma (Disconnected by services)
04:21:00 Join amiconn_ [0] (quassel@rockbox/developer/amiconn)
04:21:00 Quit amiconn (Disconnected by services)
05:17:43 Join steffengy [0] (
05:21:05 Quit steffengy1 (Ping timeout: 272 seconds)
05:29:47***Saving seen data "./dancer.seen"
05:41:15 Quit TheSeven (Ping timeout: 260 seconds)
05:42:31 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
06:21:14 Nick DormantBrain is now known as SuperBrainAK (~andy@2001:470:8:a61::5f92:59a1)
06:41:57 Quit Strife89 (Ping timeout: 250 seconds)
07:02:45 Nick amiconn_ is now known as amiconn (quassel@rockbox/developer/amiconn)
07:20:40 Quit CaptainKewl (Quit: ( :: NoNameScript 4.22 :: ))
07:29:50***Saving seen data "./dancer.seen"
07:43:10 Join ivanf [0] (~ivan@unaffiliated/kferdous)
08:01:12 Join AlexP [0] (~alex@rockbox/staff/AlexP)
08:12:40 Nick SuperBrainAK is now known as DormantBrain (~andy@2001:470:8:a61::5f92:59a1)
08:25:50 Join lleeloo [0] (~lleeloo@
08:50:19 Quit cmhobbs (Ping timeout: 250 seconds)
09:02:43 Quit ungali (Quit: ungali)
09:29:51***Saving seen data "./dancer.seen"
09:47:07 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
09:48:04 Join y4n [0] (~y4n@unaffiliated/y4ndexx)
09:50:38 Join rela [0] (~x@pdpc/supporter/active/rela)
10:32:08 Join lebellium [0] (
10:53:17 Join ender` [0] (
10:57:04ParkerRrasher, [Saint] the most recent rockbox build crashes after extracting assets
10:57:11ParkerRAndroid that is
10:57:26ParkerRAnd then crashes on each subsequent launch
11:04:43 Join PaulFertser [0] (
11:05:09ParkerRTheres the logcat
11:05:15ParkerRI think I launched it about halfway down
11:05:49PaulFertserHi there. I've just broken the LCD of my wife's player and now need a replacement. What would you folks recommend that is available in retail, works stable and has a reasonably big screen (i.e. not like sandisk sansa clip's)?
11:06:29ParkerRPaulFertser, Umm what device... that'd be agood start
11:06:39ParkerROhh replacement device
11:06:45copperPaulFertser: iPod Classic, SanDisk Fuze+
11:07:23PaulFertsercopper: classic is only second-hand, right? I'm considering Fuze+, thank you for the advice.
11:07:31copperno, why
11:07:46copperthe iPod Classic hasn't been discontinued yet
11:07:56copperthey're still selling them new, including on
11:08:35PaulFertserHm... I'm not really sure I'd like to pay apple for anything but probably that's a reasonably good option.
11:09:03coppermy review of the Fuze+ (with Rockbox):
11:09:17coppersome caveats listed there, that you should know
11:09:51copperread the whole page
11:10:27copperas for the Classic, I think it's great (with Rockbox)
11:10:52*ParkerR is partial to the Clip Zip
11:11:00copperjust a bit slower when loading music for playback, because of the HDD
11:11:23copperand much heavier than the Fuze+
11:11:52copperwhich may be a problem for a woman
11:12:22copper(like, if her purse is already full of stuff)
11:12:53copper(or if she likes to hold her DAP while walking)
11:14:41copperPaulFertser: what was the DAP that you broke?
11:14:59PaulFertserShe's carrying a 10 litres backpack with here all the time :)
11:18:14PaulFertser(she had iriver e150 with vendor's firmware)
11:19:14copperwell, the Fuze+ is about the same form factor
11:20:12copperexists in red
11:20:17copperand purple
11:20:21PaulFertserHm, funny, Fuze+ is not available in retail in russia, so I'd had to wait for the international delivery.
11:21:41PaulFertserOh my, ipod classic is expensive.
11:21:42copperwell, I can't see how she could be disappointed if you buy her an iPod Classic :)
11:21:46copperindeed it is
11:23:22PaulFertserShe'd also prefer to have a DAP that can be changed via a microUSB port with an EU-standard wall charger (D+ and D- shorted).
11:23:45 Quit rela (Read error: Connection reset by peer)
11:24:06copperFuze+ then!
11:25:39PaulFertserYep! Sandisk used to have an insane not-quite-like-apple's-but-similar special cable but luckily they got saner now.
11:29:20 Join pamaury_ [0] (~quassel@rockbox/developer/pamaury)
11:29:53***Saving seen data "./dancer.seen"
11:33:02PaulFertserThanks a lot everybody!
11:39:27 Quit ender` (Ping timeout: 244 seconds)
11:43:29[Saint]It's just a ridax cable.
11:43:52[Saint]For both iPod and the SanDisk variant you speak of.
11:44:03[Saint]But, drastically different pinouts.
11:44:14coppera what?
11:44:16[Saint]Each will kill the other device, etc.
11:44:28[Saint]Name of the standard connector.
11:44:39copperah yes, I vaguely remember a discussion about this
11:45:17PaulFertserBut the different pinouts make connectors unsuitable even if one is going to resolder them.
11:46:07ParkerR[Saint], did you get my message above? :)
11:48:40 Join rela [0] (~x@pdpc/supporter/active/rela)
11:58:17 Join sakax [0] (~sakax@unaffiliated/sakax)
12:06:05 Quit sakax (Remote host closed the connection)
12:31:10 Quit rela (Read error: Connection reset by peer)
12:39:28 Quit megal0maniac (Read error: Connection reset by peer)
12:40:06 Join megal0maniac [0] (~megal0man@unaffiliated/megal0maniac)
12:41:18 Quit megal0maniac (Read error: Connection reset by peer)
12:45:05 Quit lleeloo (Ping timeout: 250 seconds)
12:45:07 Join megal0maniac [0] (~megal0man@unaffiliated/megal0maniac)
13:00:56 Join bcobco [0] (~bcobco@
13:02:01 Quit jhMikeS (Ping timeout: 260 seconds)
13:25:29 Join jhMikeS [0] (
13:25:29 Quit jhMikeS (Changing host)
13:25:29 Join jhMikeS [0] (~jethead71@rockbox/developer/jhMikeS)
13:29:55***Saving seen data "./dancer.seen"
13:40:59 Join RiD [0] (~RiD@
13:48:34 Join ZincAlloy [0] (
14:02:13 Quit jhMikeS (Ping timeout: 255 seconds)
14:33:02 Quit bcobco (Remote host closed the connection)
14:33:27 Join bcobco [0] (~bcobco@
14:51:10 Join rela [0] (~x@pdpc/supporter/active/rela)
14:51:30 Quit bcobco (Remote host closed the connection)
14:51:56 Join bcobco [0] (~bcobco@
15:09:29 Join Xerion [0] (
15:12:15 Join jhMikeS [0] (~jethead71@rockbox/developer/jhMikeS)
15:29:57***Saving seen data "./dancer.seen"
15:30:25 Join Strife89 [0] (
15:44:07 Quit bcobco (Remote host closed the connection)
15:44:32 Join bcobco [0] (~bcobco@
16:09:36 Quit Strife89 (Ping timeout: 272 seconds)
16:19:10pamaury_does anyone have a Samsung M1 or knows a way to buy one second-hand ?
16:24:06pamaury_lebellium: maybe you know ?
16:26:02 Join cmhobbs [0] (~cmhobbs@fsf/member/cmhobbs)
16:26:29 Quit pamaury_ (Quit: this->disconnect())
16:26:42 Join pamaury_ [0] (~quassel@rockbox/developer/pamaury)
16:27:35 Nick pamaury_ is now known as pamaury (~quassel@rockbox/developer/pamaury)
16:48:52lebelliumpamaury: It's one of the few that I don't own
16:48:54lebelliumtoo expensive :)
16:49:20lebelliummy contact at Samsung used to lend it to me when I asked
16:49:27lebelliumbut it was quite a long time ago now
16:49:55 Join robert_ [0] (ba593ff9@gateway/web/freenode/ip.
16:49:56pamauryI'm quite interested because it's tegra, but it's virtually impossible to find at a reasonable price
16:50:17lebelliumyeah, there are only 2 Tegra 1 devices
16:50:19 Nick robert_ is now known as Guest16443 (ba593ff9@gateway/web/freenode/ip.
16:50:21lebelliumZune HD and Samsung M1
16:50:42pamauryyeah, zune hd might be possible to find
16:50:45pamaurybut M1...
16:51:27 Quit Guest16443 (Client Quit)
16:51:40lebelliumI could ask my contact but I haven't talk to him for a while now. That would be quite "opportuniste" ;)
16:51:51 Join robertd [0] (ba593ff9@gateway/web/freenode/ip.
16:52:32 Quit robertd (Client Quit)
16:54:05lebelliumpamaury: I wanted to try that but never had the opportunity to do it unfortunately
16:55:02pamauryyeah could be fun
16:56:19pamaurywell, if you have the opportunity to get one, tell me, although I'm not too optimistic
16:56:43lebelliumI've seen a few on
16:56:47lebelliumbut it's always too expensive
16:56:57lebelliumI don't understand why so many people are interested it
16:57:05lebelliumin it
16:58:26pamauryyeah it's too expensive, I'm only interested because it's tegra
16:58:49lebelliumIs something doable with tegra? It's not a close source?
17:30:00***Saving seen data "./dancer.seen"
17:56:39 Join n1s [0] (
17:56:40 Quit n1s (Changing host)
17:56:40 Join n1s [0] (~n1s@rockbox/developer/n1s)
18:05:35 Quit rela (Quit: Leaving)
18:11:29 Quit jhMikeS (Ping timeout: 250 seconds)
18:31:34 Join Strife89 [0] (
18:44:02 Quit Strife89 (Ping timeout: 240 seconds)
18:49:06 Join ender` [0] (
19:09:25 Join lleeloo [0] (~lleeloo@
19:15:19 Join trampel [0] (
19:17:09 Nick DormantBrain is now known as SuperBrainAK (~andy@2001:470:8:a61::5f92:59a1)
19:30:04***Saving seen data "./dancer.seen"
19:33:55 Quit Provel (Ping timeout: 240 seconds)
19:34:06 Join Provel [0] (
19:44:45 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
19:47:31 Quit bluebrother^ (Ping timeout: 240 seconds)
19:47:46 Quit fs-bluebot (Ping timeout: 260 seconds)
19:51:31 Join fs-bluebot [0] (
19:57:01 Join mak_ [0] (014058db@gateway/web/freenode/ip.
19:57:09mak_does hifiet ma8 supports dsd files
19:57:24 Nick mak_ is now known as Guest2359 (014058db@gateway/web/freenode/ip.
19:57:57Guest2359does hifiet ma8 supports dsd files
19:59:54 Quit Guest2359 (Client Quit)
20:00:08[Saint]Do you support patience?
20:01:30 Join ddd_ [0] (014058db@gateway/web/freenode/ip.
20:01:49 Nick SuperBrainAK is now known as DormantBrain (~andy@2001:470:8:a61::5f92:59a1)
20:05:42 Join ploco [0] (dce9b7f9@gateway/web/freenode/ip.
20:07:20plocohi [Saint], about the balance problem on Android. should I fix it by DSP or not?
20:09:09[Saint]Sorry I didn't respond earlier. Frankly, I don't care. Android is only one of many hosts where this runs.
20:09:17[Saint]Its not like its Android only.
20:11:05[Saint]My current work is merely a playground which I'm using to experiment in.
20:11:24[Saint]Nothing is final. I'm testing fail cases and ideas.
20:11:37plocoso every host have the same issue? sorry i have check the sdl build yet
20:13:39[Saint]Issue with what?
20:14:03[Saint]Issue with a WIP completely untested patch? ...maybe
20:14:18plocothe sound balance, never work on Android
20:15:16[Saint]AFAIK android is the only place it doesn't work.
20:15:27plocoaudiohw_set_volume(l, r);
20:16:08plocoI know this is the point. so gonna hook up a dsp from there.
20:19:22RiD[Saint] doesn't work in maemo either
20:19:40RiDbut then maemo is for only one device, so...
20:21:20gevaertsTwo :)
20:21:26plocook, maemo and android.. anymore?
20:22:13RiDgevaerts i think rockbox is only in maemo5
20:22:28RiDoooh i see, N8xx
20:22:52[Saint]Easy to forget about. You're forgiven. ;)
20:23:48[Saint]gevaerts is one of the seven people in the universe that cared about maemo.
20:24:06RiDif n900 didn't have rockbox, i probably would have switched to another device already
20:24:59[Saint]It also doubles as a handy set of weights for your workout.
20:25:14[Saint]Or a brick. Or a bludgeoning device.
20:26:32RiDor a rockbox powered audio player
20:41:03 Join franklin [0] (
20:54:06 Quit ddd_ (Ping timeout: 246 seconds)
21:07:13 Quit trampel (Quit: Leaving)
21:08:17pamaurylebellium: something is definitely doable
21:15:48 Nick DormantBrain is now known as SuperBrainAK (~andy@2001:470:8:a61::5f92:59a1)
21:17:21 Join saratoga [0] (123e11e0@gateway/web/freenode/ip.
21:18:07*[Saint] giggles about worm percussion
21:18:19franklinsaratoga, there's a bug in 2048:,48475.msg229326.html :O
21:18:28saratogai saw that thread
21:19:08saratogaploco: adding a DSP based balance feature for devices that can't do it in hardware sounds reasonable
21:19:12franklinI don't get what [Saint] meant by "That solution makes zero sense, without a score, its useless, and it sounds like even if it weren't drawing over areas it shouldn't its still largely unplayable."... 2048 is perfectly playable just by color :) and without a score :)
21:19:13[Saint]Translation: my testing protocol sucks
21:19:55[Saint]If you dont get your final score its irrelevant.
21:20:03franklinYou do when you lose/quit
21:20:12franklin(if you get a high score)
21:20:16 Quit bcobco ()
21:20:20franklinHmm... good point
21:20:39franklin(if you don't get a high score)
21:21:05[Saint]Honestly I'd just look at disabling it on this device, but that's my opinion.
21:21:42[Saint]96x96 is too small to realistically do much of anything with.
21:22:29franklinit works with color :)
21:22:57[Saint]Well...that's me screwed. Do you offer colorblind sets?
21:23:50saratogaadd a colorblind mode to the whole OS :)
21:25:00[Saint]That's actually quite doable.
21:25:12[Saint]A fair bit of work...but, doable.
21:25:23franklinTo the LCD driver?
21:25:34franklinActually, that's a great idea saratoga :P
21:26:16[Saint]The easiest option is just flipping everything to greyscale.
21:26:29franklinYeah, that's what I was thinking
21:26:45franklinSo just find the average of the RGB values, and draw that
21:26:52saratogaalthough i don't know how practical that is
21:27:19saratogawouldn't the average of RGB be worse? that basically reduces the contrast by half for someone with dichromatic vision
21:27:30franklinThen turn it off :)
21:27:56saratogaprobably you want to look to see if R and G are much different, and if so, map that onto a new 2 color channel space spanned by RG and B
21:28:09franklin[Saint], also I need a version of the game for the blind :)
21:28:40[Saint]...can we voice plugins?
21:29:13franklinlol a joke :)
21:29:24[Saint]Tiny speex files of individual digits would be doable I guess
21:29:24plocosaratoga: almost finished. :) testing..
21:29:31*franklin thinks [Saint] takes things too seriously sometimes
21:30:01franklinSo you would say "Score %d" "Grid space 1: %d" and so on?
21:30:07***Saving seen data "./dancer.seen"
21:30:07[Saint]Says the guy about the community that implemented 1d tetris
21:30:25[Saint]...we do things right!
21:30:36franklin1dt*tris is just useless...
21:31:01[Saint]That's a feature.
21:31:38[Saint]If it were useful, I'd consider lodging a bug against it.
21:32:20*franklin laughs again :)
21:33:18[Saint]saratoga: I was thinking mixing down to say, a dozen shades of grey.
21:33:36[Saint](Not fifty...)
21:33:58[Saint]That's bdsm.rock
21:34:10franklinAnd regarding the timer bug on ipod6g, timer D is not present on the SOC, either, TheSeven
21:34:14saratoga[Saint]: wouldn't that be universally worse ?
21:34:32TheSevenfranklin: but you said the register values would be sticking?
21:34:35[Saint]Not for me. Others, not sure.
21:34:39saratogaRG color blindess for instance just means you can't tell the difference between R and G, but you still see both wavelengths
21:34:40franklinAll regs are zero directly after writing a nonzero value to TD*
21:34:48franklinBut timer F works
21:35:04[Saint]I find greyscale to be a lot easier to pick than most colorblind specific schemas.
21:35:04saratogaessentially, your eye combines R and G, so what does combining R, G, B in software even accomplish other than needlessly removing B?
21:35:13TheSevenand isn't used by anythingelse?
21:35:13franklinTheSeven, I forget now...
21:35:30saratogaif something is designed to be greyscale that is different than just taking a color object and showing intensity though
21:35:32franklindoesn't look like it, but doom doesn't work
21:35:55saratogathink Green text on a red background, its the same in grayscale and color to someone who is missing a cone type
21:36:15saratogawhereas blue text on a green background is much better in color than in greyscale
21:36:42franklinTimer F regs stick, but doom still hangs...
21:37:12TheSevenusec was timer E, right?
21:37:24franklinAnd timer D doesn't exist :)
21:37:24TheSevenso if you use timer F, does its IRQ handler run?
21:37:40franklinhaven't checked yet, and I need to run for a second... brb
21:40:26franklinTheSeven, and no
21:41:44TheSeventhen check whether the run condition for it (in the demux function in system-s5l8702.c) is true half a second or so after you start it
21:42:59TheSevenyes, that one should be calling INT_TIMERF under a certain condition
21:43:04TheSevencheck if that condition is becoming true
21:43:26TheSeven(or rather dump the register value that this condition is based on, to see *why* it isn't true, i.e. which bit is missing)
21:43:34user890104saratoga, franklin, [Saint]: i'm R/G colorblind, so i'll be happy to test a colorblind mode of 2048 :)
21:44:18[Saint]Tritonomaly checking in.
21:44:39franklinuser890104, we were considering adding it to all of Rockbox, also :)
21:44:54*[Saint] shakes a fist at his shorty chromosomes
21:45:01franklinBut how should I add a setting? A menu with "Colorblind mode"?
21:45:09[Saint]...and autocomplete
21:45:47[Saint]There's several ways to do it.
21:46:11[Saint]1: shift to accommodate for specific deficiency
21:46:20franklinTheSeven, why .5 seconds?
21:46:46[Saint](Tritonomoly, dueteuonomy, etc)
21:46:58lleelooI try to play an mp3 on my cortex-m4 port. Player screen show for about 1 second and then exit to file browser... What wrong with me=) ?
21:47:02[Saint]2: say "ahhh fuck it" and go greyscale.
21:47:17franklineh no
21:47:19TheSevenfranklin: anything long enough to make sure that the interrupt should actually have fired during that timeframe
21:47:28franklinSo 10 seconds is fine?
21:47:29user890104franklin: can you make the board take all of the screen, and the score to show for 1-2 seconds after a move (over the board), then disappear?
21:47:43franklinHmm that's an interesting idea
21:48:00 Quit WakiMiko (Remote host closed the connection)
21:48:01franklinBut the disappearing part would require threads or similar
21:48:13 Join WakiMiko [0] (~WakiMiko@unaffiliated/wakimiko)
21:48:14franklinBut it is totally possible to draw over the board :)
21:48:19TheSevenfranklin: 10 seconds should be fine, but takes ages to test :P
21:48:35franklinTheSeven, 4096 is the value of TFCON 10 secs after
21:48:55TheSevenso that's 0x01000
21:49:02franklinyep :)
21:49:06TheSevenwhat did you write to it?
21:49:18franklinMetronome plugin
21:49:32TheSevenalso what's TFCNT at that time?
21:49:44franklingotta wait 10 secs :)
21:50:19TheSevenok, and what did you write to TFCON during timer setup?
21:51:40franklinno idea... 1<<12 | cs<<8 | 0<<4
21:51:40franklinSo not 4096
21:51:40TheSevenwell if cs==0 then that's 4096
21:51:50TheSevenanyway, the IRQ enable is set, but not the IRQ pending flag
21:51:58franklinI was thinking binary... :)
21:52:27TheSevenand you're absolutely sure that TIMERF is not being called?
21:52:35TheSevenINT_TIMERF I mean
21:52:38franklinI have a panicf in it
21:52:39franklinSo no
21:53:02franklinA panicf right after TFCON=TFCON
21:53:07franklinBut before the callback
21:54:09TheSevenok, dump the whole timer setup, i.e. everything that's written to regs during configuration
21:54:37TheSevenand log the TFCNT values multiple times
21:54:51TheSevento see if that thing actually wraps around at the point where it should
21:56:35franklinWait... I'm putting the dump of TFCNT at the end of timer_setup, before timer_start...
21:56:44franklinShould I put it in timer_start?
21:57:58franklin(but I'm still 100% SURE that INT_TIMERF is not being called)
21:58:26 Join bcobco [0] (~bcobco@
21:58:27TheSevendoes timer_setup start the timer?
21:58:42TheSevenif not, you will of course have to watch things after actually starting it
21:58:55franklinIt is supposed to
21:59:15franklinWait... weird now TFCON is 4864
21:59:27franklin(after adding in 1.5 seconds sleep)
22:00:36TheSevendumping these things as hex would be much easier to read
22:00:43TheSevenso this time, for some reason, cs==3?
22:01:51franklinWhat's so hard about using a hex<->decimal calculator? :)
22:02:09franklinTFPRE is 0
22:02:18franklinTFDATA0 is 24107
22:02:44franklinBut TFCNT is 8486 now...
22:03:00franklinBut I haven't started the timer yet
22:03:23franklinSo just uninitialzed data?
22:04:27TheSevenfranklin: it's pointlessly having to copy&paste those numbers instead of just being able to see what it is directly in the IRC window
22:05:00TheSevendump TFCNT multiple times to check if it's changing
22:05:35 Join rela [0] (~x@pdpc/supporter/active/rela)
22:05:43 Join rasferret [0] (
22:05:56TheSevengenerally, whenever you're dumping it
22:09:30 Join ikeboy [0] (
22:09:59franklinTheSeven, TD_ENABLE is already written to TFCMD before returning from timer_set...
22:10:11franklinSo never mind about calling timer_start
22:10:20franklinTFCNT is counting, though
22:10:32franklinIt is zero until writing TD_ENABLE
22:10:54franklin(and then goes to 4111 after writing TD_ENABLE and sleeping 10 secs)
22:11:10franklinMan, I just spam up the channel :)
22:11:51TheSevennow disable IRQs, wait at least one revolution of that timer (using udelay or something, which doesn't rely on kernel ticks), then capture TFCON, re-enable IRQs, and log the captured value
22:12:48 Join OiD [0] (4de7acd0@gateway/web/freenode/ip.
22:13:37franklinwhat's the function/pseudo-op for that?
22:13:45franklincli like on x86?
22:14:04TheSeventhere's some function, but no idea what it's called exactly
22:14:14TheSevendisable_irqs_save() or something like that
22:14:38franklinwhere's it declared?
22:14:50TheSevenprobably in some assembly file
22:15:24TheSevenI guess a quick grep -R '_save\(' will revela it
22:15:43OiDHello everybody
22:16:00 Join ikeboy_ [0] (
22:17:26franklinyo OiD
22:17:52franklinAh not in s5l8702, but in target/arm
22:18:28OiDHi franklin :)
22:19:48franklinTheSeven, how long is "one revolution of the timer"?
22:20:33TheSevendepends on how the plugin configures it
22:20:47 Quit bcobco (Remote host closed the connection)
22:20:54TheSevenwait at least for one IRQ/callback interval
22:21:05OiDI'm looking for some help with a Phillips HDD1420. I'm trying to modify how it handles usb charging in rockbox but I can't find any info relating the gpio registers and the physical pinout.
22:21:10 Join bcobco [0] (~bcobco@
22:23:32OiDAny pointers to where to find any pinouts for the portalplayer 5022 would be a great help!
22:24:18pamauryOiD: the pp5022 is completely undocumented
22:24:30pamauryall information was gathered by reverse engineering
22:24:39pamaurywhat do you want to modify ?
22:26:02OiDHi pamaury. I want to change a pin status to take control over the charging method, external charger or usb charger.
22:26:30 Quit dfkt (Remote host closed the connection)
22:26:57OiDIn the original firmware it automatically switches to usb charging with the usb cable, in rockbox it is set to charge from the external charger.
22:27:35pamauryI see, first sorry for my ignorance about this port, is HDD1420 supported by the HDD16x0 port ?
22:28:39OiDYes, it is a different capacity model, 4GB instead of 6GB. I works very well except that I need to boot the oficial firmware for charging via usb
22:30:21pamauryok give me a second to have a look at the source first
22:30:33franklinTheSeven, using timer F also screws up the piezo... weird. all the beeps are the same frequency
22:30:44 Quit rela (Read error: Connection reset by peer)
22:30:58franklinThat said, I have some work that needs to be completed *today*... See you all when tomorrow/when it's done
22:31:03TheSeventhis suggests that you're in fact writing to timerA somewhere
22:31:09 Quit franklin (Quit: Leaving)
22:31:26pamauryok so charging is done entirely in hardware, but maybe one needs to switch some pin indeed
22:32:49OiDYes, it is a simple pin toggle (PSEL1, F2 XM2_MA21) and I have no idea what gpio it is.
22:32:56 Join dfkt [0] (
22:32:56 Quit dfkt (Changing host)
22:32:56 Join dfkt [0] (dfkt@unaffiliated/dfkt)
22:33:53pamaurywhere did you get this information from ?
22:35:10OiDThe BQ24032 charge IC datasheet and following the schematic for the HDD1630
22:35:23pamauryoh, you have the schematic ?
22:36:00pamauryoh it's in the service manual
22:36:05 Quit y4n (Quit: Assumption is the mother of all fuckups)
22:36:09OiDYes, it is very handy!
22:36:11pamaurylet me have a look
22:37:46OiDI'm having some doubts about it being ISET2 on the charge IC (B16 CD3_BCLK) but I have the same problem of not knowing what pin it is
22:37:51 Quit lleeloo (Ping timeout: 240 seconds)
22:39:36 Quit ikeboy_ (Quit: Leaving)
22:39:56 Quit ikeboy (Remote host closed the connection)
22:41:27pamauryPSEL should be set to LOW to allow the IC to select USB if available
22:41:35pamaurythen ISET2 select maximum current
22:49:58pamaurythat's weird, PSEL1 is marked as input of the SoC, PSEL is output, there must be something making the link between those
22:50:51TheSevenlikely some level shifter?
22:51:29pamaurystill strange, it cannot be the input of two chips at the same time
22:51:33OiDThee is a small resistor network but maybe I need to set ISET2. I'm looking at it again and maybe psel is an input and the soc sets the current. psel might be hardware controlled
22:52:40 Quit dfkt (Read error: Connection reset by peer)
22:53:28 Quit charlie (Ping timeout: 250 seconds)
22:53:40pamauryISET2 selects between 100mA and 500mA so it should charge it any case
22:54:19 Join dfkt [0] (
22:54:19 Quit dfkt (Changing host)
22:54:19 Join dfkt [0] (dfkt@unaffiliated/dfkt)
22:54:32TheSevennot if it consumes more than 100mA by itself
22:54:52pamauryyeah of course...
22:55:30TheSevenwhich could be seen as "not charging at all" by the end user
22:57:17 Quit bertrik (Remote host closed the connection)
22:57:32 Quit n1s (Quit: Ex-Chat)
22:58:02pamauryso yeah we can influence "Current_set/ISET2" and PSEL1
22:59:41pamauryhowever there still a major annoyance: PSEL1 is on XM2_MA21 which I have no idea which pin it is, same for current select
22:59:54pamauryso the only reasonable way is to disassemble the firmware
23:00:18 Join einhirn [0] (
23:00:49 Join charlie [0] (~c@2602:302:d7a:24a0::48)
23:00:54 Quit charlie (Changing host)
23:00:54 Join charlie [0] (~c@unaffiliated/charlie)
23:01:38OiDSounds interesting!
23:02:31pamaurywould be much faster to get the disassembly done by the one who did the port initially, if he still has it
23:02:53OiDWould be much faster yes
23:03:56pamauryhum, it's Mark Arigo (lowlight) apparently, he has not been around for some time
23:04:37pamaurybut he still answers emails, I will ask him
23:05:04pamaurybut he told me he had a drive failure and lost many disassemblies
23:06:27pamauryI can have a quick look at the firmware though
23:08:10OiDThanks that would be a great help, but if it's a hassle then i might give it a try later
23:09:07pamauryactually I have been doing some work on PP61xx chip lately which is quite close, so I'm probably the one who knows the most about Portal Player SoC now
23:10:05pamaurydo we have a firmware patcher for these player ? how is the bootloader image produced ?
23:13:11OiDSorry I've only started diggin into rockbox today. The firmware is just a file on the disk drive and the player loads it.
23:14:12pamauryyeah the FWImage.ebn, but I don't know which format is uses
23:14:13 Quit ploco (Quit: Page closed)
23:14:31 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier.
23:14:36pamauryit starts with PPOS, I don't remember what it is, looks unencrypted
23:17:47pamauryok that's just a mi4 file apparently
23:18:22OiD"The FileFormatMI4 seems to be used for non-iPod PortalPlayer devices."
23:20:02pamaurybut mi4code doesn't know the key, that's embarassing
23:25:51OiDIs there any known traces left of Mark's dissasembly on the internet?
23:26:56pamauryprobably not
23:27:09pamauryactually I'm not sure he did all the work
23:27:51pamaurysome IRC logs suggest it's markun
23:28:13pamaurymarkun: here ?
23:30:09***Saving seen data "./dancer.seen"
23:30:51 Quit ender` (Quit: I was trying to daydream, but my mind kept wandering.)
23:34:08pamauryfound out, the key is in firmware/target/arm/pp/mi4-loader.c
23:37:56pamauryfirmware decrypted
23:40:58OiDI'm still trying to find out where to start decrypting...
23:42:33pamauryyou need mi4code to decrypt it
23:42:56pamaurybut you need to modify it to add a key
23:43:18pamauryand first of all, you need to download FWImage.ebn or extract from a firmware upgrade
23:45:03pamaurythis is the patch to apply:
23:52:05 Quit mc2739 (Ping timeout: 260 seconds)
23:53:48 Join mc2739 [0] (~mc2739@rockbox/developer/mc2739)
23:54:55OiDI'm stuck compiling the mi4code. DSA dependency... I have the FWImage.ebn. Thanks for the help :)
23:56:02pamaurywhich OS do you use ?
23:56:36pamaurythe page says you need to compile using "gcc -o mi4code mi4code.c -lgcrypt" but on my system I don't even need the -lgcryp
23:57:04 Quit AlexP (Remote host closed the connection)
23:57:53OiDIm on windows with an ubuntu vm
23:58:02 Quit scorche (Ping timeout: 240 seconds)

Previous day | Next day