android
Go Back   abi>>forums > MP3 Players By Brand > SanDisk Sansa > Sansa Fuze > Sansa Fuze Rockbox

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 01-16-2011, 06:11 PM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,628
Default

Quote:
Originally Posted by mamamia88 View Post
i thought it would be as simple as downloading patch file entering the terminal changing directory to the source code with the patch file moved to the root directory of the source code and running the patch command then compiling
Yes thats pretty much the process.
Reply With Quote

Advertisement [Remove Advertisement]

  #42  
Old 01-16-2011, 07:17 PM
mamamia88 mamamia88 is offline
Senior Member
 
Join Date: Jan 2011
Posts: 857
Default

then why do i keep getting an error message telling me that the patch.diff file doesn't contain the info on the file that it is supposed to be modifying?
Reply With Quote

  #43  
Old 01-16-2011, 07:36 PM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,628
Default

Quote:
Originally Posted by mamamia88 View Post
then why do i keep getting an error message telling me that the patch.diff file doesn't contain the info on the file that it is supposed to be modifying?
Post the console log and I'll tell you.
Reply With Quote

  #44  
Old 01-16-2011, 11:19 PM
mamamia88 mamamia88 is offline
Senior Member
 
Join Date: Jan 2011
Posts: 857
Default

Reply With Quote

  #45  
Old 01-16-2011, 11:56 PM
mamamia88 mamamia88 is offline
Senior Member
 
Join Date: Jan 2011
Posts: 857
Default

effing heck this is driving me crazy. i know i have everything right now i have the patch in the same folder as the sansafuzev2.h file and changed every instance of sansaclip to sansafuzev2 on the patch code. now when i go to apply patch it tells me it's read only filesystem. what am i doing wrong?
Reply With Quote

  #46  
Old 01-17-2011, 12:19 AM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,628
Default

Thats not the right command. You need to use the -p option:

http://www.rockbox.org/wiki/WorkingW...plying_A_Patch
Reply With Quote

  #47  
Old 01-17-2011, 07:22 AM
mamamia88 mamamia88 is offline
Senior Member
 
Join Date: Jan 2011
Posts: 857
Default

so do i count how many characters are between the start of directory in the patch and put that number after p?
Reply With Quote

  #48  
Old 01-17-2011, 11:12 AM
Progweed's Avatar
Progweed Progweed is offline
Junior Member
 
Join Date: Oct 2010
Location: Germany
Posts: 73
Default

No, the p-option specifies the number of directory levels to chop off in order to match the directory structure of your installation.

So if the patch file resides in your /root/rockbox directory and for example references firmware/export/config/sansafuzev2.h, then there is no need to cut something off, because firmware (the first directory level) is a subfolder of your rockbox directory, meaning that p0 should work for you.

You can also use the following in order to test different options (without actually applying the patch):

patch --dry-run -p0 < patchfile

Hope that helps. I'm myself very new to compiling Rockbox.
__________________
Bands I dig: Genesis, Jethro Tull, Marillion, Pink Floyd, Mike Oldfield, Arena, Savatage, Threshold, Twelfth Night, Flower Kings, Magenta, Mostly Autumn, Transatalantic, Vanden Plas, Deep Purple, Metallica, R.E.M., Cake, and, yes, Katie Melua.
Reply With Quote

  #49  
Old 01-17-2011, 11:17 AM
Progweed's Avatar
Progweed Progweed is offline
Junior Member
 
Join Date: Oct 2010
Location: Germany
Posts: 73
Default

Ah yes, to be more precise:

Quote:
Originally Posted by mamamia88 View Post
i have the patch in the same folder as the sansafuzev2.h file
Don't do this. Copy the patch to your root/rockbox directory instead.
__________________
Bands I dig: Genesis, Jethro Tull, Marillion, Pink Floyd, Mike Oldfield, Arena, Savatage, Threshold, Twelfth Night, Flower Kings, Magenta, Mostly Autumn, Transatalantic, Vanden Plas, Deep Purple, Metallica, R.E.M., Cake, and, yes, Katie Melua.
Reply With Quote

  #50  
Old 01-17-2011, 11:52 AM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,628
Default

If you look at the error message, it tells you the path it was trying to use to find the file to patch:

a/firmware/export/configure/sansaclipplus.h

So if you want to patch using the command you gave, you'd probably need to have your entire rockbox folder inside another folder called 'a'. Or you can use the p option (probably with 1 as the argument) to chop off the leading 'a'. Then you just need to be in your source check out folder. That said patches can be screwy, so sometimes you just need to try p0 or p1 to get them to work.
Reply With Quote

  #51  
Old 01-17-2011, 12:16 PM
mamamia88 mamamia88 is offline
Senior Member
 
Join Date: Jan 2011
Posts: 857
Default

allright i will give it another go
Reply With Quote

  #52  
Old 01-17-2011, 02:27 PM
mamamia88 mamamia88 is offline
Senior Member
 
Join Date: Jan 2011
Posts: 857
Default

managed to successfully patch it with the -p1 option but once compiled it won't run weird.
Reply With Quote

  #53  
Old 01-19-2011, 05:12 AM
Progweed's Avatar
Progweed Progweed is offline
Junior Member
 
Join Date: Oct 2010
Location: Germany
Posts: 73
Default

So the compiled build is working, but USB isn't?
__________________
Bands I dig: Genesis, Jethro Tull, Marillion, Pink Floyd, Mike Oldfield, Arena, Savatage, Threshold, Twelfth Night, Flower Kings, Magenta, Mostly Autumn, Transatalantic, Vanden Plas, Deep Purple, Metallica, R.E.M., Cake, and, yes, Katie Melua.
Reply With Quote

  #54  
Old 02-25-2011, 11:13 AM
heinrichh heinrichh is offline
Junior Member
 
Join Date: Feb 2011
Posts: 4
Default

Quote:
Originally Posted by dfkt View Post
Builds have USB enabled, backlight on keypress, permanent sleep timer, and Meier crossfeed. Not tested - I have no Fuze.

Meier Crossfeed v2: r28830M-101214-sansafuzev2 (FS#9305, FS#11042, FS#11304, FS#11577-Meier_v2, FS#11664) - dfkt.zip
Meier Crossfeed v3: r28830M-101214-sansafuzev2 (FS#9305, FS#11042, FS#11304, FS#11664, FS#11767) - dfkt.zip
Only want to say many thanks for this builds! They are running very well on my new Fuze V2!
Reply With Quote

  #55  
Old 03-06-2011, 05:05 PM
tony3011 tony3011 is offline
Junior Member
 
Join Date: Feb 2011
Posts: 1
Default

Hey all, I just rockboxed my Sansa Fuze V2 only to discover that the main build does not include USB support. Luckily, a little bit of googling got me to this thread.

Here's my question: Is it possible to combine the features of this patch (in particular the USB support and permanent sleep timer) and the new features of Rockbox 3.8 (of which I'm absolutely in love with automatic resume due to my erratic podcast listening habits). If not, any word on when a patched version of 3.8 might be released?

Thanks! :-)
Reply With Quote

  #56  
Old 03-06-2011, 05:56 PM
dfkt's Avatar
dfkt dfkt is offline
Ultra Senior Member
 
Join Date: May 2006
Location: Vienna, Austria
Posts: 15,330
Default

Some of the patches used in this build are out of sync now, meaning they can't be applied to a newer Rockbox version anymore without some more serious in-depth tinkering. USB support and permanent sleep timer are among the out-of-sync patches, unfortunately. (At least last time I looked, maybe someone re-synced them already.)
Reply With Quote

  #57  
Old 03-07-2011, 02:41 AM
akbarhash akbarhash is offline
Junior Member
 
Join Date: May 2010
Location: Muscat, Oman
Posts: 58
Default

The USB support thing is being neglected maybe because the OF has USB and it is functional.
Still i would have loved to have had USB in rockbox and it does not take away the fact that it is being neglected.
Reply With Quote

  #58  
Old 03-07-2011, 04:28 AM
TackyTiger's Avatar
TackyTiger TackyTiger is offline
Member
 
Join Date: Mar 2009
Location: Airstrip One
Posts: 165
Default

Until recently I was keeping both my original FS#10849 and the branched FS#11042 patches synced, but after a year with no interest from anyone with commit rights, it's become a bit tedious. As there are some design flaws with FS#11042, I've decided to only bother keeping FS#10849 synced (it's the one I use, after all).

Sorry about that. Hopefully one day I'll find the energy to get FS#11042 up to scratch and request FS#10849 closed.

Edit: Should have mentioned, these are the permanent sleep timer patches.

Last edited by TackyTiger; 03-07-2011 at 04:44 AM.
Reply With Quote

  #59  
Old 03-07-2011, 09:12 AM
akbarhash akbarhash is offline
Junior Member
 
Join Date: May 2010
Location: Muscat, Oman
Posts: 58
Default

atleast there is some activity going on in fs#11042
there has been no activity in the usb patch for a month...
Reply With Quote

  #60  
Old 03-07-2011, 11:14 AM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,628
Default

Quote:
Originally Posted by akbarhash View Post
The USB support thing is being neglected maybe because the OF has USB and it is functional.
Still i would have loved to have had USB in rockbox and it does not take away the fact that it is being neglected.
By all means, if you have some idea why it fails, feel free to stop neglecting it. Otherwise its probably just going to have to wait until theres some breakthrough and someone realizes why the controller seems to randomly decide to drop connections for no apparent reason.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:23 AM.