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 icon identifies that the person is a core developer (has commit access).

#rockbox log for 2008-02-11

00:01:43 Quit n1s ()
00:02:16 Join crzyboyster [0] (n=4b596e13@gateway/web/cgi-irc/labb.contactor.se/x-a85719e65ad76cda)
00:03:12crzyboysterWhat does everyone think of this version of cabbiev2 for the gigabeat > http://forums.rockbox.org/index.php?topic=10030.msg114838#msg114838 ?
00:04:22Nico_PI love it!! :p
00:04:43*Llorean is a fan
00:05:04pixelmasee logs, not that long ago (though it's now yesterday's log)
00:05:52Nico_PI'd like to mention that the background was slightly hacked so a bit more work might be needed on that respect
00:07:15 Join rasher_ [0] (n=rasher@62.79.64.148.adsl.hs.tiscali.dk)
00:07:35Nico_Phaah one less bug! :)
00:08:17jhMikeSWho's good at approaching companies around here? I'm afraid I'd just get in a fight with them and they don't want that. :)
00:08:51 Quit MethoS- (Remote closed the connection)
00:11:49crzyboysterWhich day's log? I couldn't find it being discussed in yesterday's log...
00:12:25kugelsaratoga: Are you sure it's not charging at all? I'm refering to your last post in "cpchan branch"
00:12:44linuxstbgevaerts: I'm not happy with the structure (i.e. the #ifdefs, and this should probably be moved to the target-specific parts of the source), but this patch (apply on top of your patch) gives the correct iManufacturer/iProduct/iSerial for ipods (plus VendorId and ProductId in inquiry) - http://www.davechapman.f2s.com/rockbox/ums_serial.diff
00:12:47kugelIt does charge, very very slowly though. I was on a train trip recently, started with an empty battery. I put the sansa into a power source and watched a movie with rockbox. I was able to watch 1 hour + listen a few minutes to music after disconnecting the sansa from the power source
00:13:32pixelmacrzyboyster: yesterday's log as in 10th of February, not the current.txt (ok, I prefer reading)
00:15:06linuxstbjhMikeS: Bagder seems to have more success than most...
00:15:15saratogakugel: on my sansa the battery charger status register indicates that the charge circuit is powered down
00:15:24saratogaand we certainly do not enable it
00:15:56kugelsaratoga: Ok, but why was my sansa not empty after I disconnected it from the power source?
00:16:00saratogaso unless your bootloader is enabling it, i don't see how it could charge
00:16:38kugelNico_P: Oh I just noticed your last commit. I had this issue too, but I couldn't reproduce it and I had it very rarely. I didn't think of the next track + VBR combo at all
00:16:39saratogakugel: perhaps the battery heated up which raised voltage high enough to run rockbox futher
00:16:40*jhMikeS summons Bagder to sweet talk FS into getting the MC13783 RM :)
00:17:00pixelmasaratoga: battery charger status register - is this something in a debug screen?
00:17:04rasher_saratoga: are you saying the sansas don't charge in Rockbox?
00:17:11 Quit crzyboyster ("CGI:IRC")
00:17:42kugelsaratoga: Hmm, well. So tell me, why is charging disabled?
00:17:59kugelIt was enabled if iirc
00:18:26kugel-if
00:18:28pixelmajust asking because I don't trust what Rockbox is telling me when USB ("charger") is connected - the reported battery voltage of 4,6V and up can't be right
00:18:51 Quit asdrubal (Read error: 110 (Connection timed out))
00:19:32 Quit keanu ("Leaving")
00:19:57 Join countrymonkey [0] (n=4b05639a@gateway/web/cgi-irc/labb.contactor.se/x-1f75a7f6572306b2)
00:20:26kugelHmm
00:20:27 Quit countrymonkey (Client Quit)
00:20:44XavierGrSlasheri: for the logs, your bootloader.iriver file that you've sent me works (of course I tested the iriver_flash.rock with current svn and the crc checksum works too)
00:21:43gevaertslinuxstb: I think the ipod stuff should probably come before the flash stuff in identify2inquiry(). Right now flash-based ipods won't get a correct id.
00:21:47 Quit rasher (Read error: 110 (Connection timed out))
00:21:47 Nick rasher_ is now known as rasher (n=rasher@rockbox/developer/rasher)
00:22:18saratogakugel: see http://www.rockbox.org/tracker/task/8363
00:22:26Nico_Pkugel: I found a reliable way to repro so it wasn't *too* hard to track down (still not straightforward though)
00:25:20saratogabit 0 of 0x22 (the first byte added to debug_menu.c in that patch) is the charger enable bit
00:25:34 Quit robin0800 (" HydraIRC -> http://www.hydrairc.com <- Chicks dig it")
00:25:55kugelyea, I see
00:26:01 Join NoFullName [0] (n=full@cpe-24-160-175-197.columbus.res.rr.com)
00:26:18kugelsaratoga: Ahh, thanks. I remember that task, somehow I've forgotten about it. Does that patch a bad job, or is it reliable (for e200 at least)? If the latter what is the reason for not committing?
00:26:19gevaertslinuxstb: as far as the #ifdefs are concerned, there's a lot of stuff in the usb stack that needs cleanup, so a bit more right now won't hurt
00:26:20pixelmasaratoga: do you get more reasonable battery voltage readouts during charging with that patch?
00:26:24 Quit Axio (Remote closed the connection)
00:26:34NoFullNameHi there, I got some issue with panic error anyone could help?
00:27:11saratogapixelma: I haven't tried it yet
00:27:25saratogai didn't see much point until USB support was in and it seemed like it was a ways off
00:27:41saratogai think it would work ok for the e200 (not the c200 though)
00:27:43jhMikeSisn't a version of gcc available that compiles for ARM11?
00:28:10stripwaxNoFullName - is it reproducible? which device?
00:29:49 Join asdrubal [0] (n=abc@cpe-76-190-216-97.neo.res.rr.com)
00:29:49NoFullNamestripwax: It's third time that happen on my Sansa E200 series: It read" *PANIC* Udating size on empty dir entry 39" I tried to google for solution, it's very similar to this http://osdir.com/ml/systems.archos.rockbox.sourceforge/2003-12/msg00311.html
00:30:21stripwaxNoFullName - did you by any chance try and delete database.* files when you got that?
00:30:41saratogapixelma: I was thinking of doing a charge cycle hooked up to an ADC with that patch so I could verify that it really did observe correct safety precautions (over heating detection, etc)
00:30:59saratogathat specs are a bit vague about what the hardware will do IMO
00:31:02stripwaxNoFullName - in fact, were you doing anything in particular when you got that PANIC or did it just happen 'by itself' when listening to music?
00:31:05NoFullNamestripwax: Nope. what's the extension for database file? *?
00:31:27BigBambi*.tcd in /.rockbox
00:31:50NoFullNamestripwax: I just turn it on and got that message.
00:31:58stripwaxNoFullName - actually I meant 'did doing that cause the problem' rather than 'try doing that' :)
00:32:01stripwaxNoFullName - hm.
00:32:19 Quit mirak (Read error: 110 (Connection timed out))
00:32:23pixelmasaratoga: I was just talking about the number I can read in the "view battery" debug screen
00:32:24stripwaxNoFullName - can you try resetting settings while turning it on? I'm afraid I don't know the Sansa keypress to do that
00:32:52saratogaI guess that should have been directed at kugel
00:32:58saratogai mixed up your questions
00:33:01NoFullNamestripwax: Sansa won't let me turn off the device. I have to either let the battery drain out or take up the battery.
00:33:11BigBambiNoFullName: Hold power
00:33:12stripwaxNico_P - hm, I can't reproduce that playlist not-buffering-the-correct-track problem I mentioned using sim ..
00:33:14pixelmasaratoga: heh :)
00:33:34BigBambiNoFullName: For 15 seconds or more - it is a hardware reset
00:33:46stripwaxand my ipod is running a battery_bench right now so I can't reproduce on that either :)
00:33:50NoFullNamestripwax: lol. amazing. it turn off!
00:33:52Nico_PjhMikeS: what do you mean?
00:34:25*stripwax tries enabling dircache in sim and trying again
00:34:31Genesisbye
00:34:38 Quit Genesis (Remote closed the connection)
00:35:17amiconnstripwax: You need multiple targets ;)
00:35:21rasherNoFullName: Not amazing - it's built to do that. Hold record while booting to reset settings
00:35:35kugelsaratoga: I don't own such electricity stuff (ADC, not even a device to messure the power consumtions of i.e. my pc), so I unfortunately can't help :(
00:35:48stripwaxamiconn - heh. i wonder if I can reproduce the bug on my h120 ..
00:36:03NoFullNamerasher: well, I tried that before for 10 seconds and it didn't work, but I guess you need to hold longer than that. :)
00:36:08linuxstbgevaerts: Hmm, flash-based ipods (i.e. the Nano) use the ATA driver, so they should use the ATA identify info.
00:36:17Nico_Pamiconn: do you have an idea how much time the ipod will take to arrive in France?
00:36:18kugelNice to have this cleared now, I really thought it's charging at least a bit
00:36:25BigBambiNoFullName: Yes, 15 seconds or more as I said
00:37:12NoFullNameBigBambi: So my solution is try to delete *tcd file in /.rockrock directory?
00:37:17BigBambieh?
00:37:35BigBambiI was just telling you which files were database files
00:37:46 Join countrymonkey [0] (n=4b05639a@gateway/web/cgi-irc/labb.contactor.se/x-e221173d7af4eebc)
00:38:08NoFullNameBigBambi: oh ok. I will delete it anyway :) If you don't heard from me it's mostly likely it works.
00:38:09BigBambiNoFullName: I didn't really read about your problem
00:38:13countrymonkeyIs rbspeexenc built into rbutil? I'm having problems building .talk clips.
00:38:21BigBambiNoFullName: heh, good luck :)
00:38:32NoFullNamethanks everyone!
00:38:42 Part NoFullName
00:38:43stripwaxNoFullName - try resetting your settings first before deleting the .tcd files ..
00:38:44stripwaxoh
00:39:02jhMikeSNico_P: Right now it's just set to arm9tdmi.
00:39:06gevaertslinuxstb: ok.
00:39:16Nico_PjhMikeS: n1s changed that today
00:40:13preglowcountrymonkey: yeah, it's built in
00:40:21jhMikeSI tried to change it but without success
00:40:21preglowat least in any recent version
00:40:49countrymonkeyI cannot figure out why I'm having problems building .talk clips! :p
00:41:05Nico_PjhMikeS: maybe I don't really understand what you mean... isn't http://svn.rockbox.org/viewvc.cgi/trunk/tools/configure?r1=16272;r2=16273 the correct change?
00:41:30Nico_PI had to update my cross-compiler to be able to compile with that change
00:41:46jhMikeSI wanted to use the mcrr instruction
00:42:24Nico_Pwhich is?
00:42:42linuxstbgevaerts: But HAVE_FLASH_STORAGE is defined for the Nano, so I'm not sure if the other code in the USB driver works correctly...
00:42:44countrymonkeydoes rbutil do only the dirrectory you set it to do or does it do all directories under that one also. And can it do a whole drive like voicebox can?
00:43:10saratogait transfers registers between processors i think
00:43:11jhMikeSguess I failed to discover the correct type
00:43:34jhMikeS4.0.3 seems to work
00:43:39gevaertsThere are a lot of #ifdefs in usb_core.c that could be removed/centralized by using function pointers. That would also open the way to supporting more than one usb function at the same time (provided the hardware supports enough endpoints). Are there objections to doing that ?
00:43:51 Quit jhulst (Success)
00:44:00stripwaxNico_P - hm, maybe I can reproduce the bug in sim after all. From 'stopped', I play a track on an album, and check the Buffering debug info - I see track count: 23 (which is correct). Music starts playing, I then go back to fiiles, hold Select on a different album, and Insert Next. Then go back to the Buffering debug info - I see track count is now 19 (which is not the number of tracks on the different album)
00:44:07stripwaxIs that correct behaviour?
00:44:35Nico_Pcould be
00:44:37stripwaxI can't reproduce the playing-the-wrong-music behaviour on sim, but I can see that as soon as the current track finishes, then the entire rest of the playlist gets buffered in a one-er
00:44:37linuxstbgevaerts: I don't think there are enough endpoints to do that...
00:45:03stripwaxI imagine on-device that that won't work well
00:45:08Nico_Pah, it's not buffered when the playlist changes?
00:45:12stripwaxnope
00:45:17Nico_Pthat's not good
00:45:19stripwaxright
00:46:04gevaertslinuxstb: the rest of the code doesn't use HAVE_FLASH_STORAGE to differentiate between types. It either uses the cardinfo stuff or ata. cardinfo gets used if HAVE_HOTSWAP is defined.
00:46:06stripwaxIt looks like the real and usefl indicators drop back down to almost zero when i Insert Next. prior to that they were almost full
00:46:33stripwaxas if only the currently-playing track remains buffered, everything else gets zapped, and then it needs to buffer everything on the track change
00:46:56gevaertslinuxstb: if there are only enough endpoints for a single function we could still make it runtime-configurable.
00:47:20linuxstbgevaerts: Yes, I just noticed that. That doesn't seem logically correct (using HAVE_HOTSWAP), but will work for current targets.
00:47:30gevaertslinuxstb: anyway the first function is not fone yet, so it's still a bit hypothetical
00:47:34 Quit obo ("bye")
00:47:49Nico_Pstripwax: it makes sense for the existing buffered data to be flushed, but I don't really understand why no new data is then buffered
00:47:58jhMikeSNico_P: mcrr lets you do cache range operations in one instruction
00:47:58stripwaxbleh, it does it for Insert Last also. real and usefl drop to a very small number (compared to how much was buffered before)
00:48:08linuxstbgevaerts: Yes, I think the usb_serial driver works (to some extent), so we want to make it run-time configurable.
00:48:11Nico_PjhMikeS: and it's new to ARM11?
00:48:15stripwaxInsert Last should very much *not* flush the existing buffer
00:48:22stripwaxunless I'm missing something?
00:48:31Nico_Pstripwax: agreed, but the playback code doesn't know the diff
00:48:39Nico_Pto it, both are just "new playlist"
00:48:47stripwaxoh, ouch.
00:49:00 Join fasmaie [0] (n=yohann@c-98-216-170-85.hsd1.ma.comcast.net)
00:49:06stripwaxit rebuffers the entire buffer whenever you add anything to the end of the playlist?
00:49:19Nico_Pwhenever you change the playlist
00:49:34gevaertslinuxstb: the cardinfo stuff is declared in hotswap.h, so following that logic HAVE_HOTSWAP is correct. However once a HD player with SD slot turns up we are in trouble
00:49:42linuxstbCan ipod users (with Linux) check their logs and let tell me what the line "scsi 24:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0" looks like? Specifically, do you get "1.62" displayed, or another number?
00:49:54linuxstbgevaerts: Yes, or a flash-based target with no removable cards...
00:49:57stripwaxNico_P that's not ideal
00:50:36stripwaxWhat's the Track Count refer to (it certainly doesn't seem to be either the number of tracks buffered nor the number of tracks in the playlist)
00:51:12linuxstb(that request was for UMS with the OF, not the Rockbox UMS patch)
00:51:15Nico_Pindeed not. if that conforts you, it's not new to MoB. FS #8029 describes the same kind of issue.
00:51:24stripwaxNico_P - ta
00:51:37Nico_Pstripwax: it's the number of buffered tracks (according to playback.c)
00:51:42gevaertslinuxstb: I think the entire storage infrastructure should be reworked to support these combinations. It's done to some extent (i.e. by having the sansa code have an ata-lookalike interface), but it will have to be more dynamic at some point.
00:51:50stripwaxNico_P - hm, it can't be right
00:52:02Nico_Pi.e. the number of tracks for which metadata is loaded
00:52:11stripwaxoh, just the metadata? ok then
00:52:27Nico_Paudio is handles by buffering.c
00:52:37stripwaxwas comparing the Track Count to the amount of usefl data
00:52:51*gevaerts is afraid that his last remark might sound like volunteering...
00:53:21Nico_Pstripwax: usefl is also relative to where the read position is in the buffer
00:53:29 Quit ender` (" To get as fewest unhappy people as possible, always bully the same ones.")
00:53:32linuxstbgevaerts: That's what happens when you start something in Rockbox - it never ends...
00:53:46Nico_Pit's basically (readpos - writepos) % wrap
00:54:35gevaertslinuxstb: looks like it
00:54:35stripwaxany way to see what metadata has been buffered at any point in time?
00:55:19Nico_PI don't think so, but I'm also not sure I quite understand the question
00:55:44stripwaxNico_P - just wondering if I can get any sense why adding 11 tracks to a 23-track playlist changes the Track Count from 23 to 19 ..
00:56:45Nico_Pwell I guess your 23 tracks would fit in the buffer, and when you added the 11 tracks everything got rebuffered and only a total of 19 tracks could fit
00:57:17 Quit kugel ("ChatZilla 0.9.80 [Firefox 2.0.0.12/2008020710]")
00:58:11stripwaxNico_P - that makes sense I suppose. Are you able to reproduce the nonbuffering problem?
00:58:18stripwaxof audio, that is
00:58:29Nico_Pstripwax: alloc and real can help you too on that. alloc is the spaced allocated, real is the space actually used
00:58:48Nico_PI've just seen the problem occur
00:58:50stripwaxalloc stays full, real drops very low
00:59:25Nico_Pyeah, the buffering thread just doesn't notice it needs to get working
00:59:30 Quit lee-qid (Read error: 104 (Connection reset by peer))
00:59:53stripwaxdoes stopping playback flush the buffer too? stopping playback doesn't seem to change Track Count, even though alloc drops to zero.
01:00
01:00:42 Quit BHSPitLappy (Read error: 110 (Connection timed out))
01:00:55Nico_Pthat's probably because the variables that are used to calculate track_count aren't reset when you stop playback
01:01:01*Nico_P checks
01:02:10Nico_Pthe debug screen isn't really self-explanatory... it's most useful when you know the underlying code at least a bit
01:02:20stripwaxtrue
01:02:47Nico_Pthe buffering started just before the track change occured
01:02:53Nico_Pwhich is logical
01:04:44stripwaxnot sure I follow - so the buffering is ok?
01:05:23jhMikeSNico_P: http://jhmikes.cleansoap.org/DDI0211J_arm1136_r1p5_trm.pdf
01:05:23Nico_Pwell at least it's not completely broken. it's just that it doesn't take advantage of a spinning disk when it should
01:06:58Nico_Pa nice read :)
01:07:06stripwax- and disk will be spinning at that point, since user changed the playlist
01:07:18Nico_Pindeed
01:07:35Nico_Pthe playback thread should even have told the buffering thread to buffer some data
01:08:13***Saving seen data "./dancer.seen"
01:08:27 Join SacredTerror [0] (n=Miranda@pool-71-190-214-151.nycmny.fios.verizon.net)
01:10:26stripwaxDoes it wake the thread up?
01:10:53countrymonkeytesting
01:10:54stripwaxactually I don't know the buffering thread at all, so feel free to ignore that question :)
01:12:20Nico_Phmm in fact in that case there won't be a buffering request (for quite good reason)
01:13:04stripwaxwhy?
01:13:06Nico_Pand the disk activity detection code in the buffering thread is disabled
01:14:07Nico_Pthe func that loads a track from playback.c is audio_load_track. it has a boolean param (start_play) indicating whether that track will be played immediately or not. we only request buffering if start_play == true
01:14:23Nico_Pbecause we don't want to request buffering for every track we add
01:15:04stripwaxhowever playing a single track causes the entire album to be buffered
01:15:38gevaertslinuxstb: I uploaded a new patch with your changes integrated, and a few minor things. Tomorrow I'll start refactoring the usb stuff a bit to make it more flexible.
01:15:44linuxstbamiconn: Do you know if the PP has a serial number embedded, and if so, where it is?
01:16:05stripwaxI thought we would request buffering for all the next 'n' tracks until the buffer is full (but I assume that is not the case)
01:16:08 Quit countrymonkey ("CGI:IRC (Ping timeout)")
01:16:28linuxstbgevaerts: Do you have any idea where the serial number is coming from that the Sansa OF is generating?
01:17:44jhMikeSlinuxstb: I think it's in the ROM somewhere
01:18:00Nico_Pgevaerts, linuxstb: maybe it would be good to commit the current patch before starting to refactor
01:18:21linuxstbjhMikeS: I didn't think there was a ROM on the Sansas?
01:18:23 Quit einhirn (Read error: 104 (Connection reset by peer))
01:18:30jhMikeSlinuxstb: yes, it's an i2c rom
01:19:03Nico_Pstripwax: requesting buffering of a track aborts the current buffering and starts buffering the requested track, so if we request it for every track we add the first one won't have a chance to get buffered, and it's the most important one
01:19:09linuxstbCould someone dump it and compare with the USB serial ID?
01:19:59Nico_Pstripwax: but once the buffering thread starts buffering data, it'll go on util the buffer is full. it just needs a starter basically
01:20:15Nico_Pcurrent starters are an explicit request or a low buffer
01:20:42stripwaxNico_P - wouldn't the starter always be the currently-playing track? or is that the problem, there's no way to 'add' tracks to the buffer if something is already in there (because rebuffering would blow it away)?
01:21:43stripwaxi.e. Insert Next, Insert Last, etc would just rebuffer everything starting from the currently playing track
01:21:52Nico_Pstripwax: the problem here is the code at playback.c:1855 (in audio_load_track)
01:22:27Nico_Pplaylist events will trigger a rebuffer (i.e. readding all the tracks), but will never ask the buffering thread to buffer data
01:22:55Nico_PI think I have an idea though
01:23:16stripwaxNico_P - I have to head off now but will be reading logs with interest when I return :)
01:23:23stripwaxgnight
01:23:26Nico_Pgnight
01:23:29 Quit stripwax ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org")
01:23:48*jhMikeS wonders why he calculated 534MHz when the S processor is supposed to be 532MHz.
01:25:09gevaertsNico_P: I don't mind comitting the current patch, but I'm not sure it's really needed. The refactoring I want to do is not terribly heavy, mostly moving stuff to different files and trying to get rid of some #ifdefs.
01:26:12pixelmaNico_P: logf.txt looks identical with a skipping and a normal folder (just playback.c enabled logf)
01:26:18gevaertsNico_P: but I wouldn't enable the usb storage stuff by default yet. I think it needs more testing my people who know what they are getting into
01:27:14Nico_Pgevaerts: it's your call, but it would be better not to commit a huge patch
01:27:41linuxstbThe speed is also an issue IMO - on ipods at least (where the OF disk mode is very convenient), I would still prefer to use it to the Rockbox UMS code. But we could always commit, but not enable.
01:28:53gevaertslinuxstb: I think enabling it now in official builds is madness, so as far as I'm concerned you don't need to worry about that.
01:30:00linuxstbgevaerts: BTW, when you copy a new rockbox.mi4 file, does Rockbox detect it, and prompt you to load it?
01:30:04Nico_Ppixelma: strange
01:30:06gevaertslinuxstb: yes
01:30:12linuxstbAnd it works?
01:30:12pixelmaNico_P: should I try enabling buffering.c too? Or playlist?
01:30:50Nico_Ppixelma: maybe in the playlist code, yes. but I don't even know whether there are logf messages in there
01:31:33gevaertsNico_P: I'll try to get a patch tomorror night that keeps it disabled with an easy-to-use #define to enable it. Hopefully by then I'll also have the sd card working in windows.
01:31:36 Join Triple_7 [0] (n=18d97411@gateway/web/cgi-irc/labb.contactor.se/x-4ac5c8e8e1465039)
01:31:47gevaertsNico_P: we can decide then whether to commit or not.
01:31:48Triple_7Hello
01:32:17gevaertslinuxstb: looks like it anyway.
01:33:12linuxstbgevaerts: OK. I haven't managed to get it to work on my ipod - with some #ifdef changes, it now does the detection, but it refuses to load it.
01:33:25 Quit Triple_7 (Client Quit)
01:34:12*gevaerts is going to sleep a bit earlier than on previous days today... tomorrow is a working day
01:36:02*amiconn wonders whether this code is faster than ipod G5/nano diskmode, or H10 UMS mode
01:37:12pixelmaNico_P: doesn't look like there is
01:37:23*gevaerts gets 300 to 450 kbps
01:37:29 Join cool_walking_ [0] (n=Miranda@203-59-129-195.perm.iinet.net.au)
01:38:23amiconngevaerts: It's not the kbps - both G5/nano diskmode and H10 mus mode insert rather long pauses between files
01:38:54gevaertsamiconn: between files ? How do they do that ?
01:39:29amiconnIf you're copying a few large files, it's fast-ish (even a bit faster than fullspeed), but with many small files like when unzipping a rockbox build, it takes ages
01:39:48*gevaerts is considering if we can call our usb-resets a feature
01:39:55amiconnI don't know why that happens, but it's a fact, and annyoing
01:41:14gevaertsamiconn: is this on windows or linux ? It might be related to the 'removable' bit in the scsi inquiry data
01:41:22amiconnwindows
01:42:35amiconnBut it doesn't happen with other ipod's diskmode (e.g. my mini G2), or when booting into the OF and using its usb mode
01:43:28amiconnipod diskmode resides in flash rom, and is also called 'emergency diskmode'. On all ipods except G5 and Nano, it's as fast as the OF's usb mode
01:46:31linuxstbgevaerts: I've just compared the scsi inquiry data on my ipod, and there are two differences - 1) "version" is 0x00 [no conformance claimed] in Rockbox, 0x03 [SFC] in the OF; 2) Resp_data_format is 0 in Rockbox, 3 in the OF. Plus the OF includes a "Unit serial number", which I'm guessing is the disk's ID?
01:46:54 Join barrywardell [0] (n=barrywar@89-125-27-182.dhcp-ripwave.irishbroadband.ie)
01:47:15gevaertsamiconn: I would say it's a problem with the device_removable bit. Maybe there's a setting in the device manager to fix that
01:48:03linuxstbgevaerts: Plus one more - "RMB" is 1 in RB, 0 in the OF (I guess that's the device_removable bit you're talking about)...
01:48:38linuxstbSorry, reverse that - 1 in OF, 0 in RB...
01:49:08amiconnWhy does rockbox not set the removable bit?
01:49:12linuxstbIn fact, reverse it back...
01:49:24*linuxstb should go to sleep
01:50:05pixelmaNico_P: or do I have to let playback run till it stops at the end of playlist? I thought let it playing until it skips and stop would be enough
01:50:36Nico_Platter should be fine, yes
01:51:23pixelmathen there is no difference...
01:52:20gevaertsamiconn: what does it mean to be removable ? In SCSI terms I guess it means something like a cd or a floppy, so we should certainly set it for the sd card slot. But should we set the removable bit just because you can unplug the cable (I can also unplug my scsi disks, but they are not marked as removable...) ? I think it's not entirely clear
01:52:55rashergevaerts: Could it perhaps be intended originally for stuff like hot-swappable disks?
01:53:10gevaertslinuxstb: version should be 3. If not, it looks like you have something overwriting the inquiry data before it gets used.
01:53:17rasherIn which case the dap should certainly set it as well
01:53:30Nico_Ppixelma: maybe it's the codec that for some reason asks for the next track
01:53:52soapPS - Slashdot story on"Best Open Source License for Hardware" is eerie in its timing.
01:54:08linuxstbgevaerts: It is 3 - I got very confused over which output was which... Here it is - http://www.pastebin.ca/899294
01:54:14rashersoap: surprisingly light on details though
01:54:32scorche|shsoap: the slashdot slime is gaining sentience
01:55:21gevaertsrasher: The thing is that windows uses that bit to decide whether writes should be synchronous, so setting it means being a lot slower (but users don't have to choose "safe remove")
01:56:03 Quit fasmaie (Read error: 113 (No route to host))
01:56:31 Join perrikwp [0] (i=4aa794a0@gateway/web/ajax/mibbit.com/x-928dae5b54895e32)
01:56:49rashergevaerts: Ah, so I take it the OF (of Sansa at least) don't set it?
01:57:12gevaertslinuxstb: I had that problem earlier today. inquiry got overwritten by the create_thread in usb_core.c (it was ok ust before the call and had zeroes just after and at the first line of the thread itself)
01:57:57pixelmaNico_P: repeated the test with enabled logf in buffering.c too, in a skipping folder I get: "bunch of bufclose", then "releasing all tracks", then another bunch of "bufclose", then "clearing tracks:3/8,0" "Codec finished". The line below shows the path to the folder, I can paste the complete output if you want but wanted to make a test run with a working folder too before.
01:58:12gevaertsrasher: I think the sansa sets it, but on a flash device the effect is a lot different than on a disk, since you don't have huge seek times
01:58:30jhMikeSgevaerts: say more.
01:58:34Nico_Ppixelma: ok, thanks :)
01:58:46 Quit SacredTerror ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org")
01:59:35saratogathe AS chip on th epp5024 actually has 128 bits of memory for storing serial numbers or encryption keys
01:59:48saratogaso the sansas could get it from there, though i really doubt it
02:00
02:00:06jhMikeSsaratoga: the fuse array might be the place for it
02:00:09 Join karashata [0] (n=Kimi@bas3-kitchener06-1096622343.dsl.bell.ca)
02:00:12 Part karashata
02:00:17 Join karashata [0] (n=Kimi@bas3-kitchener06-1096622343.dsl.bell.ca)
02:00:18pixelmaNico_P: does that already give you an idea?
02:00:19*jhMikeS forgot about that
02:00:43Nico_Ppixelma: not really, no
02:00:59pixelmaok
02:01:08Nico_Pwell actually "codec finished" is very weird
02:01:14 Join crzyboyster [0] (n=4b596e13@gateway/web/cgi-irc/labb.contactor.se/x-7a56872bd0798a62)
02:01:43 Join gtkspert [0] (n=gtkspert@203-206-96-109.dyn.iinet.net.au)
02:02:15crzyboysterNico_P: What font does the new gigabeat cabbiev2 use? helvR10 or helvr12? And can I have the actual wps?
02:02:27 Quit barrywardell ()
02:02:46Nico_PhelvR12. sure you can have it
02:03:36crzyboysterDid you make it by modifying the wps in SVN right now?
02:03:43gevaertsjhMikeS: about the seek times or about the thread issue (I guess the thread) ? I noticed that one of the static structs (_inquiry) in usb_storage got half-zeroed, and it seems to happen in this create_thread call. It doesn't happen any more in the latest version of the patch because I re-initialize _inquiry everytime I need it (for unrelated reasons). It happens in v5 of the patch, but in that one I moved the declarations around to make t
02:03:46Nico_Pcrzyboyster: just a sec though, I need to finish something
02:03:58Nico_Pcrzyboyster: I made it some time ago by changing the one in SVN
02:04:48*gevaerts thought he mean it when he said he was going to sleep earlier...
02:04:59gevaerts*meant
02:05:19Nico_Pinteresting. audio_flush_and_reload_tracks() gets called twice when I use playlist > insert
02:05:19 Quit saratoga ("CGI:IRC (EOF)")
02:05:48jhMikeSgevaerts: it wasn't the thread doing it when it started to run?
02:06:34gevaertsjhMikeS: no. I checked the values at the first line of the thread.
02:07:11pixelmaNico_P: should I add it the two files to the tracker entry once I hae them both (shouldn't be too long) or do you prefer something else?
02:07:46crzyboysterNico_P: Post it up onto the forum thread and I will rename and upload to patch tracker. And what files were modified?
02:07:58jhMikeShmmm...perhaps a stack init problem though I'd expect 0xdeadbeef to be seen then
02:08:31gevaertsjhMikeS: yes, that's what I thought as well. It was zeroes though
02:09:00Nico_Pstripwax: I have a patch that improves things (has a couple drawbacks though): http://pastebin.ca/899310
02:09:09 Quit XavierGr ()
02:09:34jhMikeSgevearts: anything using UNCACHED_ADDR must also be cache aligned and padded
02:09:36Nico_Ppixelma: yes, add them to the tracker. I probably won't have time to look this evening. it's already very late and I need to go to bed
02:09:48pixelmame too
02:10:30Nico_Pcrzyboyster: no need to add it to the tracker. if it's agreed on I'll commit
02:10:58jhMikeSgevearts: that's an out of the blue guess since it's sounds like that sort of thing to me
02:11:06 Join DerPapst [0] (n=DerPapst@p5B23C586.dip.t-dialin.net)
02:11:17gevaertsjhMikeS: cache aligned means 32 bytes ?
02:11:21*DerPapst is still reading though the logs
02:11:32DerPapstlinuxstb: 1.62 iirc
02:12:27 Join psycho_maniac [0] (i=psycho_m@ppp192.hk.centurytel.net)
02:12:57crzyboysterAre all the files named properly? And I have no problem against Nico_P's version (though I don't own a gigabeat)...
02:13:58linuxstbDerPapst: That's a 5.5g?
02:14:00 Quit gtkspert_ (Read error: 101 (Network is unreachable))
02:14:16DerPapstyes
02:14:27DerPapstdon't know about my 3G though
02:14:30linuxstbDerPapst: Thanks. So it's the same values for a Nano, ipod Color, 5g and 5.5g
02:14:43gevaertsjhMikeS: I think I'll drop those UNCACHED_ADDR pointers from anything that's not performance critical, and just memcpy the data