| 00:00:01 | gevaerts | Yes. That would probably provide the most similar system |
| 00:00:06 | | Quit davina ("GNU/Linux the free alternative to Windows") |
| 00:00:41 | | Join keanu|afk [0] (n=keanu@unaffiliated/keanu) |
| 00:01:24 | | Quit keanu (Read error: 110 (Connection timed out)) |
| 00:01:48 | amiconn | Hmm, now got one single reset on my H10 (after ~15 minutes of playing music via usb) |
| 00:02:04 | stripwax | Can we update the diskmode to dump out pcf/devenv registers via serial ? |
| 00:02:44 | * | stripwax half expects diskmode already has some serial output |
| 00:03:13 | pixelma | Febs: there's also a microphone hole at the left side (top -> bottom: microphone, lanyard thing, volume socket. And maybe mention which is volume up and volume down (and they are two buttons but feel like one, worth mentioning? |
| 00:03:22 | amiconn | The G5.5 rom has some serial console code in it |
| 00:03:41 | stripwax | console? wowzer |
| 00:03:44 | amiconn | But so far nobody could figure out how it is possible to run it |
| 00:04:46 | | Quit petur ("gonne") |
| 00:08:47 | amiconn | stripwax: "Bootloader UI Shell, Build Sep 10 2006, 19:49:21" |
| 00:09:25 | amiconn | Mini also has that, just an older version... |
| 00:10:37 | amiconn | Seems to understand commands like 'alias', 'checksum', 'dump', 'echo', 'run' etc |
| 00:11:00 | * | kushal_12_27_200 is back again |
| 00:11:13 | | Join japc [0] (n=japc@bl7-242-100.dsl.telepac.pt) |
| 00:11:15 | stripwax | Wouldn't be surprised if it's enabled by a specific resistance in the accessory pin.. |
| 00:11:24 | | Join tvelocity [0] (n=tony@athedsl-124459.home.otenet.gr) |
| 00:11:37 | Febs | pixelma: thanks. I'll probably not have a chance to revise it today, but maybe I can get it done tomorrow. |
| 00:12:14 | pixelma | thank you too :) |
| 00:12:19 | kushal_12_27_200 | gevaerts, the screen says "Press any key to shutdown. 96 kB left". Is it done? |
| 00:12:25 | amiconn | It features some built-in help on parameters as well |
| 00:12:39 | | Join kaptenbalja [0] (n=jlind@c-6fd772d5.04-129-73746f28.cust.bredbandsbolaget.se) |
| 00:12:58 | gevaerts | kushal_12_27_200: yes. Unplug the cable and press a key. |
| 00:13:41 | kushal_12_27_200 | done |
| 00:14:13 | gevaerts | kushal_12_27_200: now turn it back on. I expect the blue leds will light up, but nothing else. If that happens, plug it in |
| 00:14:26 | kushal_12_27_200 | yes, just as expected |
| 00:14:34 | gevaerts | kushal_12_27_200: Do you still have e200tool-mac ? |
| 00:15:15 | kushal_12_27_200 | no |
| 00:15:30 | kushal_12_27_200 | oo yes I do |
| 00:16:02 | | Quit linuxstb (Read error: 110 (Connection timed out)) |
| 00:16:10 | gevaerts | OK. Then run "sudo ./e200tool-mac recover pribootLoader.rom" |
| 00:16:47 | | Part kaptenbalja |
| 00:17:09 | | Join Bensawsome_ [0] (n=chatzill@c-67-186-185-71.hsd1.ma.comcast.net) |
| 00:18:04 | Bensawsome_ | hey everybody |
| 00:18:49 | kushal_12_27_200 | it says command not found |
| 00:19:25 | stripwax | kushal_12_27_200 - you're running it from where e200tool-mac is? |
| 00:19:38 | gevaerts | kushal_12_27_200: try "chmod +x e200tool-mac" |
| 00:19:38 | kushal_12_27_200 | yes, desktop |
| 00:19:48 | kushal_12_27_200 | ok |
| 00:19:59 | gevaerts | Then try "sudo ./e200tool-mac recover pribootLoader.rom" again |
| 00:20:40 | kushal_12_27_200 | length write error, operation not permitted |
| 00:21:09 | | Join keanu [0] (n=keanu@unaffiliated/keanu) |
| 00:21:22 | | Quit keanu|afk (Read error: 110 (Connection timed out)) |
| 00:21:38 | gevaerts | Unplug the sansa, turn it off, and put it back to manufacturer mode the normal way (hold switch on, and press select while powering on) |
| 00:21:55 | Bensawsome_ | o |
| 00:22:00 | Bensawsome_ | i have a sansa :D |
| 00:22:14 | stripwax | amiconn - do you happen to know where LinusN obtained his ipod serial cable? I was going to construct one but just thought, what I *really* want is a combined USB & serial cable... |
| 00:22:21 | | Quit ender` (" NOTICE: Thank you for noticing this new notice. Your noticing it has been noted. And will be reported to the authorities.") |
| 00:22:51 | * | amiconn has no idea |
| 00:23:15 | kushal_12_27_200 | connected |
| 00:23:15 | gevaerts | kushal_12_27_200: When you've done that, plug it back in |
| 00:23:37 | gevaerts | kushal_12_27_200: OK. Now try "sudo ./e200tool-mac recover pribootLoader.rom" again |
| 00:23:43 | kushal_12_27_200 | I also turned the hold off before plugging in this time |
| 00:23:44 | * | amiconn might be on to something.... |
| 00:24:17 | kushal_12_27_200 | Length write error (-1, Operation not permitted) |
| 00:24:22 | Bensawsome_ | wait ur using a mac to do it? |
| 00:24:26 | * | stripwax can't wait to find out what ... :) |
| 00:24:40 | gevaerts | kushal_12_27_200: can you paste the full output somewhere ? |
| 00:24:43 | kushal_12_27_200 | yes, bensawsome_ |
| 00:24:48 | kushal_12_27_200 | yes |
| 00:24:49 | Bensawsome_ | aaaaaaa |
| 00:24:52 | Bensawsome_ | interesting |
| 00:24:52 | | Join corevette [0] (n=corevett@adsl-75-18-210-31.dsl.pltn13.sbcglobal.net) |
| 00:25:14 | | Join TMM [0] (n=hp@ip565b35da.direct-adsl.nl) |
| 00:25:56 | | Quit Nico_P (Remote closed the connection) |
| 00:25:58 | | Quit Febs ("ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]") |
| 00:26:05 | kushal_12_27_200 | http://pastebin.ca/921341 |
| 00:26:13 | amiconn | Some most probably usb related code in the ipod roms (checked both mini and g5.5) fiddles with GPO32 bit 9 |
| 00:28:16 | kushal_12_27_200 | Did it work> http://pastebin.ca/921341 |
| 00:29:24 | gevaerts | kushal_12_27_200: Maybe something went wrong in putting it in manufacturer mode. Try that again, and run the command very soon aterwards (type it in or paste it before plugging in, and press enter after plugging in) |
| 00:29:59 | gevaerts | amiconn: that looks interesting. I guess you'll soon know more |
| 00:31:18 | gevaerts | kushal_12_27_200: I seem to remember that waiting too long between plugging it in and typing the command sometimes made it fail |
| 00:31:25 | | Quit mirak (Remote closed the connection) |
| 00:32:14 | kushal_12_27_200 | same error again |
| 00:33:40 | | Quit ch4os_ ("Lost terminal") |
| 00:34:31 | | Quit Soap_ () |
| 00:34:53 | | Quit Bensawsome_ (Read error: 104 (Connection reset by peer)) |
| 00:34:54 | gevaerts | kushal_12_27_200: it should work. Try again a few more times. Make sure you turn off the sansa every time |
| 00:35:07 | kushal_12_27_200 | yes, i tried it again, and it worked this time. pasting result in pastebin |
| 00:35:35 | | Join tessarakt2 [0] (n=jens@e180067140.adsl.alicedsl.de) |
| 00:35:47 | kushal_12_27_200 | http://pastebin.ca/921352 |
| 00:36:12 | gevaerts | OK. Then you should now see some output on the sansa screen. |
| 00:36:31 | kushal_12_27_200 | the screen is off |
| 00:36:50 | kushal_12_27_200 | can I try once more? |
| 00:36:58 | | Join h3av3n [0] (n=andrew@79.119.174.189) |
| 00:37:03 | h3av3n | hello everyone |
| 00:37:17 | gevaerts | Try "sudo mount -t msdos /dev/disk1 /tmp/sansa" If it doesn't work, try again from the start |
| 00:37:25 | | Join Bryan [0] (n=c0552f0b@gateway/web/cgi-irc/labb.contactor.se/x-11fe4f69dc666c7b) |
| 00:37:58 | | Quit Bryan (Client Quit) |
| 00:38:10 | | Join gtkspert [0] (n=gtkspert@203-206-33-62.dyn.iinet.net.au) |
| 00:38:22 | | Join Bensawsome_ [0] (n=chatzill@c-67-186-185-71.hsd1.ma.comcast.net) |
| 00:38:24 | | Nick Bensawsome_ is now known as Bensawsome (n=chatzill@c-67-186-185-71.hsd1.ma.comcast.net) |
| 00:38:34 | h3av3n | Ok, of course like, I think, many others, I come with a question too... My question is: will rockbox work on non-apple ipods? (clones remakes and this like that) |
| 00:38:45 | krazykit | h3av3n, no, as they're different hardware |
| 00:38:49 | h3av3n | things* |
| 00:38:52 | h3av3n | :( |
| 00:39:38 | gevaerts | h3av3n: What do you mean by that ? It works on lots of players from different manufacturers. |
| 00:40:14 | h3av3n | i mean: company that produces clones of ipods they look the same they got the same menu just .. their cheaper |
| 00:40:47 | gevaerts | OK. Those probably won't work (unless they are actually the same inside as well, which seems unlikely) |
| 00:40:49 | | Nick midkay_ is now known as midkay (n=midkay@63-226-231-108.tukw.qwest.net) |
| 00:41:29 | kushal_12_27_200 | this time it says http://pastebin.ca/921362 |
| 00:41:37 | kushal_12_27_200 | in the sansa screen |
| 00:41:53 | gevaerts | kushal_12_27_200: great. Now "sudo mount -t msdos /dev/disk1 /tmp/sansa" |
| 00:41:57 | h3av3n | well I don't thing it would be so much of an awe because instead of designing a different architecture to do the same thing, i'm leaning to think that they copied the architecture too.... |
| 00:41:57 | stripwax | h3av3n - if they genuinely look the same and have the same menu, how would one distinguish it from a real ipod? |
| 00:42:10 | h3av3n | It's not called Ipod |
| 00:42:12 | h3av3n | :D |
| 00:42:15 | amiconn | gevaerts: Could you tell me where the actual hardware init on usb connection does happen (the DEV_EN stuff)? |
| 00:42:17 | stripwax | what is it called |
| 00:42:23 | h3av3n | depends on the company |
| 00:42:26 | stripwax | name some |
| 00:42:28 | kushal_12_27_200 | done |
| 00:42:34 | h3av3n | the one i want to buy is named quick |
| 00:42:37 | * | amiconn wants to compare our sequence with what that rom test routine does |
| 00:42:44 | h3av3n | looks exactly like a mini gen 2 |
| 00:42:55 | | Quit Mathiasdm ("Yuuw!") |
| 00:43:00 | gevaerts | amiconn: firmware/target/arm/usb-fw-pp502x.c |
| 00:43:17 | gevaerts | kushal_12_27_200: now "sudo cp firmware.mi4 pribootLoader.rom header.txt /tmp/sansa" |
| 00:43:17 | h3av3n | Hyunday produces some ipod clones too |
| 00:43:25 | stripwax | h3av3n - any model numbers or links or anything? |
| 00:43:29 | krazykit | h3av3n, they copy what the software LOOKS like, they don't copy the hardware. they won't run rockbox. |
| 00:43:30 | | Quit Axio () |
| 00:43:32 | krazykit | not unless someone ports rockbox to that hardware. |
| 00:43:34 | stripwax | lots of people make mp3 players that look a bit like ipods |
| 00:43:42 | kushal_12_27_200 | ok |
| 00:43:52 | gevaerts | OK. then "sudo umount /dev/disk1" |
| 00:44:00 | h3av3n | these are identical not just a bit |
| 00:44:11 | kushal_12_27_200 | done |
| 00:44:14 | gevaerts | Then "sudo hdiutil detach /dev/disk1" |
| 00:44:25 | h3av3n | would they put that kind of work in rebuilding the whole hardware? |
| 00:44:42 | gevaerts | h3av3n: Have you opened them and compared the insides ? Pictures of ipod insides should be easy to find |
| 00:44:59 | h3av3n | true, i will try to find some ipod clone factory or something like that :D |
| 00:45:01 | kushal_12_27_200 | The disk unmounted but "hdiutil: couldn't eject "disk1" - error 49168" no outut on sansa |
| 00:45:05 | stripwax | h3av3n - my guess is they are cheaper than real ipods because they are not as good as real ipods. how about that? |
| 00:45:29 | *** | Saving seen data "./dancer.seen" |
| 00:45:34 | gevaerts | kushal_12_27_200: did the sansa say "LUN0 unlocked" ? |
| 00:45:51 | stripwax | thinking that cost reduction implies different hardware |
| 00:45:52 | kushal_12_27_200 | no, it is still LUN0 locked |
| 00:46:11 | gevaerts | kushal_12_27_200: run "df /tmp/sansa" |
| 00:46:32 | h3av3n | Same menu, same functions same everything i could say that the battery is the same because the shop selling it here wouldn't give them with 2 years warranty |
| 00:46:50 | stripwax | "same everything" implies it *is* an apple ipod |
| 00:47:02 | kushal_12_27_200 | pasting result in pastebin |
| 00:47:17 | stripwax | h3av3n - i have no idea what you mean by the battery being the same |
| 00:47:33 | h3av3n | same charging time |
| 00:47:39 | stripwax | If it works with Apple iTunes then it is an apple ipod |
| 00:47:46 | | Join teksimian [0] (n=user@CPE62d786a95f21-CM0000395c0061.cpe.net.cable.rogers.com) |
| 00:47:58 | kushal_12_27_200 | http://pastebin.ca/921370 |
| 00:48:13 | h3av3n | no theyr in the mp3 player category and its just, everything like an ipod (meaning that i compared the two myself) but its just not made by apple |
| 00:48:21 | h3av3n | some chinese companies or stuff like that |
| 00:48:41 | gevaerts | kushal_12_27_200: try "sudo umount /dev/disk1" again |
| 00:48:59 | stripwax | I just think you should be careful about what you mean when you say "same functions". You mean "it behaves like an mp3 player", not "it functions in exactly the same way as an apple ipod" |
| 00:49:00 | kushal_12_27_200 | done |
| 00:49:11 | | Quit robin0800 (" I love my HydraIRC -> http://www.hydrairc.com <-") |
| 00:49:19 | gevaerts | kushal_12_27_200: then try "sudo hdiutil detach /dev/disk1" again |
| 00:49:28 | | Join einhirn [0] (n=Miranda@p5B031B44.dip0.t-ipconnect.de) |
| 00:50:01 | h3av3n | strip wax: if you dont turn them both with their backsides facing up and you see that one is missing the iPod written on the back you wouldnt be able to tell the difference |
| 00:50:03 | | Quit conando (Read error: 110 (Connection timed out)) |
| 00:50:12 | kushal_12_27_200 | yes, now it is unmounted and ejected. The sansa screen says LUN0 unlocked LUN0 ejected. |
| 00:50:12 | stripwax | h3av3n - but anyway I suppose the point is, if nobody really knows anything about the hardware or the software of your mp3 knock-off, then we have no way to tell you if rockbox can possibly work on it |
| 00:50:25 | gevaerts | kushal_12_27_200: ok. Now unplug the cable |
| 00:50:37 | stripwax | h3av3n - what it *looks* like is just cosmetic. I could put my ipod in a shoebox and it would still be an ipod |
| 00:50:38 | kushal_12_27_200 | done |
| 00:50:46 | | Join cool_walking_ [0] (n=root@203-59-129-195.perm.iinet.net.au) |
| 00:50:53 | gevaerts | kushal_12_27_200: does it do anything ? |
| 00:50:58 | | Quit gtkspert_ (Read error: 101 (Network is unreachable)) |
| 00:51:07 | kushal_12_27_200 | yes, it booted and asked for language |
| 00:51:22 | kushal_12_27_200 | Should I go ahead and press english? |
| 00:51:28 | h3av3n | outside and inside, inside meaning: menu collors , button sizes ... |
| 00:51:31 | gevaerts | kushal_12_27_200: yes. |
| 00:51:37 | kushal_12_27_200 | done |
| 00:51:53 | teksimian | Hi there, I have a very basic question, the answer to which I couldnt find in the docs. If i put rockbox on my ipod, does that mean bye bye itunes, and that I can just copy mp3s onto it via mounted fs? |
| 00:51:55 | gevaerts | kushal_12_27_200: after that, just to make sure, choose "Format" in the Settings menu |
| 00:52:02 | kushal_12_27_200 | ok |
| 00:52:07 | gevaerts | Then choose yes |
| 00:52:26 | kushal_12_27_200 | format complete |
| 00:52:35 | | Quit tessarakt (Read error: 113 (No route to host)) |
| 00:52:38 | stripwax | h3av3n - menu colours and button sizes are still just completely cosmetic! |
| 00:52:38 | h3av3n | its true i don't like the ideea |
| 00:52:40 | kushal_12_27_200 | should I also change USB mode to MSC? |
| 00:52:47 | gevaerts | kushal_12_27_200: yes. |
| 00:52:52 | stripwax | h3av3n - were you able to find a link to info on any of these products? |
| 00:52:56 | kushal_12_27_200 | done |
| 00:52:59 | h3av3n | yes |
| 00:53:01 | h3av3n | clone of iphone |
| 00:53:05 | h3av3n | at 159$ |
| 00:53:08 | stripwax | iphone now? |
| 00:53:11 | stripwax | not ipod mini? |
| 00:53:11 | h3av3n | http://www.mp4nation.net/catalog/index.php?main_page=product_info&products_id=116 |
| 00:53:18 | h3av3n | im still searching for ipod |
| 00:53:21 | h3av3n | just found an iphone |
| 00:53:24 | gevaerts | kushal_12_27_200: It should be ok now. I'm wondering what went wrong this time. Did you unplug it unsafely or anything like that ? |
| 00:54:03 | teksimian | anyone? |
| 00:54:34 | krazykit | teksimian, you can still run itunes if you want, but it's your choice |
| 00:54:37 | gevaerts | teksimian: with rockbox the files can be anywhere on the filesystem, so |
| 00:54:40 | kushal_12_27_200 | I tried to sync it with a Windows computer that had some podcasts I wanted to listen. I think the syncing is what caused this. I am not sure, but since all I did except that was listen to music, |
| 00:54:42 | amiconn | interesting.... |
| 00:55:20 | kushal_12_27_200 | I am inclined to blame the syncing. I am never syncing my sansa again. I will just manually upload the files |
| 00:55:47 | gevaerts | kushal_12_27_200: that seems safer. Let's hope it doesn't happen again |
| 00:55:47 | | Quit tessarakt2 ("Client exiting") |
| 00:55:55 | teksimian | krazykit, gevaerts, I would like to be done with itunes for obvious reasons. So I just copy the files onto the fs, and the firmware will find it? I don't have to use any third party program or anything, Correct? |
| 00:55:56 | kushal_12_27_200 | thanks a lot, gevaerts! you are the best |
| 00:56:08 | stripwax | h3av3n - so this iphone "clone" already has different specs to the real iphone, given that it weighs less |
| 00:56:19 | gevaerts | You're welcome |
| 00:56:20 | stripwax | so obviously the hardware is different |
| 00:56:32 | gevaerts | teksimian: rockbox will find it |
| 00:56:47 | h3av3n | did u weigh your iphone, or some iphone? |
| 00:57:02 | h3av3n | or got data from gsmarena? |
| 00:57:02 | teksimian | awesome. time to install rockbox :D what are the chances of me bricking my ipod? |
| 00:57:02 | * | gevaerts wonders what amiconn found |
| 00:57:13 | kushal_12_27_200 | when I plugged it back in, I found something different. |
| 00:57:13 | stripwax | h3av3n - I compared the specs on your link to the specs on apple's link . what did you expect? |
| 00:57:18 | | Join Zarggg_ [0] (n=zarggg@216-15-73-111.c3-0.eas-ubr6.atw-eas.pa.cable.rcn.com) |
| 00:57:27 | amiconn | Wait a few minutes, have to do some more checks |
| 00:57:35 | h3av3n | i thought you were going after gsm arena too they got crooked data here and there |
| 00:57:41 | kushal_12_27_200 | gavaerts, unlike last time when the folders had strange names, this time they have english names |
| 00:58:12 | h3av3n | whatever i can't find now much about that "quick" company producing the ipods i am selling, i will try and maybe see what i can dig up tomorow at work.... |
| 00:58:13 | stripwax | h3av3n - I don't know what that means. but this is getting off topic, rockbox will almost certainly never be ported to the iphone. |
| 00:58:19 | gevaerts | kushal_12_27_200: then I guess last time the recovery wasn't really complete. Probably you should have done a format then as well |
| 00:58:35 | * | stripwax notices the screen resolution on the clone is totally different too |
| 00:58:41 | h3av3n | jesus crhist I showed you a clone of an apple product |
| 00:58:44 | kushal_12_27_200 | I think you are rightand there are only two files in the root level, version.sdk and version.txt . |
| 00:58:49 | h3av3n | thats it just as an example |
| 00:58:54 | h3av3n | showing that those exist |
| 00:58:55 | kushal_12_27_200 | unlike last time |
| 00:58:56 | stripwax | it doesn't even have wifi! :) |
| 00:59:08 | teksimian | gevaerts; awesome. time to install rockbox :D what are the chances of me bricking my video ipod? |
| 00:59:16 | stripwax | ok so that's an example of not a clone, but a knock-off |
| 00:59:35 | gevaerts | teksimian: As far as I know near zero, but I don't have much ipod experience |
| 00:59:35 | h3av3n | that's what their called? sorry pretty bad english here |
| 00:59:49 | stripwax | I just mean it isn't a clone, as it isn't identical |
| 01:00 |
| 01:00:12 | teksimian | thank you guys! gevaerts krazykit, thank you. |
| 01:00:12 | | Part teksimian |
| 01:00:31 | krazykit | h3av3n, any more discussion of these knockoff products is offtopic, as none of them will run rockbox. |
| 01:00:37 | stripwax | Which I think was your original question - if the Quick mp3 player is really identical to the official product, then I'm sure it will work fine with rockbox |
| 01:01:22 | * | gevaerts doesn't care if it's a clone or not, but mentions the existence of #rockbox-community just in case |
| 01:01:25 | h3av3n | basically yes, that was my question.... damn that pretty much sucks, because from what i've read rockbox is a great piece of software |
| 01:01:40 | h3av3n | thank you gevaerts |
| 01:01:42 | stripwax | h3av3n - rockbox is great |
| 01:01:57 | * | amiconn is now more puzzled than before :/ |
| 01:02:10 | krazykit | h3av3n, well, if you want rockbox, it's as simple as buying one of the real players from the front page :) |
| 01:02:15 | h3av3n | i know and i hate that i probably wown't be able to take it to a spin |
| 01:02:20 | h3av3n | yes true but, low funds |
| 01:02:44 | amiconn | gevaerts: First, the good news: After playing the whole album (>70 minutes) off my H10 via usb, there were just 3 resets logged in dmesg |
| 01:03:18 | h3av3n | but i'm sure i will try |
| 01:03:32 | gevaerts | Not perfect, but still (IMHO) good enough to call it working. What's the bad news ? |
| 01:03:47 | h3av3n | im looking at some other knock-offs now and, some look like a video nano but with a monochrome screen :| |
| 01:03:52 | h3av3n | anyway |
| 01:04:08 | h3av3n | could i wreck the poor knock-off thing just by trying? |
| 01:04:14 | amiconn | Now, the puzzling one: I enabled the DEV_INIT2 handling in usb-fw-pp502x.c for PP5022 as well. That males it behave better on windows+hub (accesses are faster, less errors are logged in the system protocol), but worse on linux+front port |
| 01:04:24 | | Join EspeonEefi [0] (i=espeonee@STRATTON-THREE-THIRTY-THREE.MIT.EDU) |
| 01:05:01 | amiconn | The usb test code in the mini's and g5.5's roms does handle DEV_INIT2 too |
| 01:05:02 | | Quit JamPS (Read error: 110 (Connection timed out)) |
| 01:05:18 | krazykit | h3av3n, probably not. the bootloader would simply fail to install and you'd have a useless directory on your player. |
| 01:05:25 | stripwax | h3av3n - I sent you a private message |
| 01:05:34 | | Join ol_schoola [0] (n=meatwad@c-67-167-20-91.hsd1.il.comcast.net) |
| 01:06:06 | gevaerts | Then I guess it should be enabled anyway. Buschel only did the for PP5020 before the usb stack was working properly, so the #ifdefs there are really guesses |
| 01:06:38 | | Quit amiconn (Nick collision from services.) |
| 01:06:39 | h3av3n | thanx krazy, at least i wown't give up without trying |
| 01:06:44 | | Join amiconn [50] (n=jens@rockbox/developer/amiconn) |
| 01:09:18 | gevaerts | amiconn: also, I found that the number of resets can be pretty rando, |
| 01:10:53 | amiconn | Regarding the transient fullspeed devices - maybe we're enabling something in the controller that shouldn't be enabled? |
| 01:11:04 | gevaerts | I just read 100MB twice, the first time I got 14 resets, the second time 28 |
| 01:11:26 | amiconn | Those appear even if I plug the mini into the rear port of the linux box, but there are no resets |
| 01:11:36 | | Part Bensawsome |
| 01:12:01 | amiconn | Yes, but a difference between a few dozen resets and successful mount and *thousands |
| 01:12:04 | gevaerts | They might be related to us only enabling the controller on plugin detect. |
| 01:12:13 | gevaerts | Ok. That's a big difference |
| 01:12:19 | amiconn | of resets and scsi errors and unsuccessful mount might be significant |
| 01:12:49 | h3av3n | ok, bye bye talk tomorow sometime |
| 01:14:57 | gevaerts | Enabling DEV_INIT2 here (laptop ports, sansa) doesn't seem to make a difference |
| 01:16:15 | amiconn | Some usb related init sequence in the rom checks explicitly for PP5020 vs. PP5022 ... |
| 01:16:29 | stripwax | ooh |
| 01:17:09 | | Quit Zarggg (Connection timed out) |
| 01:17:30 | * | gevaerts still can't read assembly well enough to be able to spot that sort of thing quickly |
| 01:20:19 | amiconn | What that does (as far as I figured): * enable DEV_USB1 * wait 10 us * set bit 1 of REG_USBCMD * wait for that bit to become zero again * enter a subroutine that checks for PP5020 vs. PP5022 first, and then does some extended init in the 0x7000002x and 0x7000006x range for PP5022 only |
| 01:20:21 | amiconn | (!) |
| 01:22:07 | gevaerts | Wait for bit 1 of REG_USBCMD to become zero ? That sounds strange. That's the RUN bit |
| 01:22:49 | | Quit abescully (Read error: 110 (Connection timed out)) |
| 01:23:43 | stripwax | amiconn - hm, that sounds quite different to what usb_drv_init does currently |
| 01:24:25 | gevaerts | usb_drv_init() is actually later. That's straight controller initialisation. |
| 01:25:14 | gevaerts | usb_init_device() and usb_enable() in usb-fw-pp502x.c is what we're comparing with |
| 01:26:03 | stripwax | oh, sorry |
| 01:26:29 | gevaerts | It's still somewhat different though |
| 01:27:37 | amiconn | That extended init code is rather strange... |
| 01:29:20 | | Quit lee-qid (Read error: 110 (Connection timed out)) |
| 01:31:15 | stripwax | amiconn - bit 1 as in 0x01 or 0x02? |
| 01:31:23 | amiconn | 0x02 |
| 01:31:27 | amiconn | 0x01 is bit 0 |
| 01:31:32 | * | gevaerts slaps forehead |
| 01:31:50 | gevaerts | That's a controller reset |
| 01:31:57 | stripwax | so it's the same as usb_drv_init .. |
| 01:32:27 | stripwax | except we delay 5us rather than 10us |
| 01:32:41 | stripwax | and don't do any of that 'other stuff' |
| 01:32:56 | | Join Febs [0] (n=chatzill@207-172-204-33.c3-0.rdl-ubr4.trpr-rdl.pa.cable.rcn.com) |
| 01:33:02 | gevaerts | Which explains why it works well on PP5020... |
| 01:34:21 | amiconn | On 5022, what happens is a whole series of bit flips in 0x70000028 and 0x70000060, with 10 us intervals |
| 01:35:39 | amiconn | I will call 0x7000028 just '28, and 0x7000060 just '60 to keep the sequence short. Numbers in [] are bits within those registers. Here's the sequence: |
| 01:38:09 | stripwax | wait - OF waits 10us, we wait 50 ms .. |
| 01:38:22 | stripwax | (for reset, that is) |
| 01:39:50 | amiconn | '60[0..3] = H, '28[16] = H -> L (i.e very short pulse), '60[5] = L * wait 10us * '60[5] = H * wait 10us * '60[0,1,3] = L, '60[2] = H * wait 10 us * '60[5] = L * wait 10us * '60[0..3] = L * wait 10us * '60[5] = H * wait 10us * '28[11] = H->L (pulse) * wait until '28[7] becomes L |
| 01:41:16 | * | gevaerts tries to put that in the code |
| 01:41:51 | stripwax | Total guess but maybe a bunch of flushing/resetting of usb controller state that is done automatically on 5020 |
| 01:42:12 | stripwax | i.e. maybe a software workaround for a usb hardware problem on 5022? |
| 01:42:21 | * | stripwax does too |
| 01:42:22 | amiconn | Unfortunately pp-5020.h mentions neither 0x70000028 nor 0x70000060 |
| 01:43:51 | amiconn | Here's the raw asm: http://pastebin.ca/921430 |
| 01:44:19 | amiconn | Note the check for PP5022 at the top; is_pp5022 returns 1 for pp5022, 0 for other pp502x |
| 01:46:06 | * | amiconn guesses that might be something portalplayer put in just to make RE more difficult |
| 01:46:15 | stripwax | heh |
| 01:46:29 | amiconn | I remember the infamouns "unlock >66MHz" bit on PP5002 and PP5020 |
| 01:46:56 | * | amiconn wonders whether ipl incorporated those fixes meanwhile |
| 01:47:19 | amiconn | Actually it's not a bit, it's a magic constant |
| 01:51:34 | gevaerts | My translation is at http://pastebin.ca/921434 |
| 01:52:12 | | Join dandin1 [0] (n=dandin1@bas7-ottawa23-1088834665.dsl.bell.ca) |
| 01:53:51 | * | stripwax disagrees with lines 13 and 14 - shouldn't they be 0x0000000b and 0x00000004 resp? |
| 01:54:08 | stripwax | based on amiconn's post, not looked at the raw asm |
| 01:54:40 | * | gevaerts thinks stripwax is right |
| 01:54:46 | | Nick fxb is now known as fxb__ (n=felixbru@h1252615.stratoserver.net) |
| 01:54:53 | amiconn | Actually it should be one line |
| 01:54:59 | * | stripwax was checking his against gevaerts and found some mistakes in his own anyway |
| 01:55:10 | | Quit tvelocity (Remote closed the connection) |
| 01:55:15 | gevaerts | That's why I posted it |
| 01:55:18 | | Quit einhirn (Read error: 104 (Connection reset by peer)) |
| 01:55:30 | amiconn | REG_0x70000060 = (REG_0x70000060 & ~0x0f) | 0x04; |
| 01:55:47 | amiconn | I.e. one step, that's why I posted the raw asm as well |
| 01:57:51 | amiconn | I could not find an equivalent in the c200 OF so far, but that doesn't mean much |
| 01:58:46 | | Quit Zarggg_ ("Even electronic brain pancake crystal elderly have mass naked child events lately.") |
| 01:59:09 | | Part moos ("Rockbox rules the DAP world") |
| 01:59:24 | gevaerts | It doesn't enable DEV_USB0 ? |
| 02:00 |
| 02:00:47 | amiconn | This subroutine is just the pp5022 specific stuff that happens after what I mentioned earlier (for all pp502x) |
| 02:01:43 | gevaerts | You only mentionned DEV_USB1 before. |
| 02:02:53 | amiconn | yes |
| 02:03:16 | amiconn | But there could be some upper-level function that already handles DEV_USB0 |
| 02:03:39 | gevaerts | Yes, probably |
| 02:03:40 | * | stripwax builds |
| 02:04:16 | corevette | when i submit my songs to last.fm...it only picks up the last song i played..why/ |
| 02:04:41 | amiconn | I just searched for a constant of 0xc5000000 in the listing, and started looking at the functions containing that |
| 02:05:26 | | Join Zarggg [0] (n=zarggg@216-15-73-111.c3-0.eas-ubr6.atw-eas.pa.cable.rcn.com) |
| 02:05:33 | stripwax | corevette - what tool are you using to submit? maybe it shows you the last.fm error, or has an error log or message somewhere? if the /.scrobbler.log file looks ok then rockbox is working ok |
| 02:05:59 | amiconn | gevaerts: Btw, according to usb-drv-pp502x.c, bit 1 is USBCMD_CTRL_RESET |
| 02:06:11 | stripwax | right |
| 02:06:29 | amiconn | (as you said it would be RUN) |
| 02:06:29 | gevaerts | amiconn: yes, I was wrong first. It's getting late, and 1 and 0 start looking similar... |
| 02:06:38 | corevette | stripwax: i've tried http://qtscrob.sourceforge.net/ and http://paulstead.com/scrob/ and they both do the same thing. last fm says: Some tracks you submitted have not been added to your profile for the following reason: |
| 02:06:38 | corevette | Submissions from before the date you registered are not allowed. |
| 02:06:39 | * | gevaerts tries to find an excuse |
| 02:06:44 | stripwax | amiconn - he did slap his forehead afterwards.. :) |
| 02:06:52 | amiconn | lol |
| 02:07:15 | * | amiconn wonders where GPIO D bit 0 comes into play.... |
| 02:07:19 | stripwax | corevette - well that could be the reason then. what audio device do you have, and is the realtime clock set correctly |
| 02:07:44 | corevette | stripwax: ipod video 30g (5th gen) with rockbox |
| 02:07:49 | stripwax | also, of course, any tracks you played from before the date you registered will not get uploaded to last.fm .. as per the error message you gotg |
| 02:07:56 | gevaerts | Anyway this doesn't seem to make much difference on my sansa. Maybe you will be luckier on ipod |
| 02:08:02 | stripwax | corevette .. and is the realtime clock set correctly |
| 02:08:27 | corevette | i'm checking stripwax...where is it at? |
| 02:08:46 | stripwax | corevette - you can check in the rockbox manual |
| 02:09:09 | corevette | stripwax: you mean the date/time in rockbox in settings? |
| 02:09:12 | stripwax | yes |
| 02:09:15 | stripwax | is it correct |
| 02:09:20 | corevette | stripwax: 2000 |
| 02:09:23 | corevette | :-) |
| 02:09:24 | stripwax | so, no |
| 02:09:27 | stripwax | :) |
| 02:09:52 | stripwax | fix that and I'm sure last.fm will start to believe the timestamps you send it :) |
| 02:09:59 | * | gevaerts didn't encounter GPIO D bit 0 before |
| 02:10:06 | corevette | thanks stripwax :-D |
| 02:10:12 | stripwax | corevette in the meantime you can use .scrobbler-timeless to submit |
| 02:10:20 | stripwax | (to submit the tracks you already played back in 2000 ;-) |
| 02:10:29 | corevette | na didn't have too many anyways, it's fine |
| 02:10:32 | str |