Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-23-2011, 02:20 PM   #2701
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by mudskipper View Post
p.s. what should the random image option do on the standby option page? At the moment I have one 600*800 image in IM, but the screen blanks on sleep.
Regarding Wallpapers / StandbyImages with PRS300/505/600 please read here

Regarding your startup-script-problem check the path, it's case-sensitive.
Test if your prsp.sh is executed with a simple echo "it's done" > Data\log.txt
Make sure your font (to replace the internal one) is prepared accordingly. It's not only the filename, it's also the fontname within the file which had to match.
See *VERY* detailed guide on changing default Reader fonts in the sticky part of this forum
Mark Nord is offline   Reply With Quote
Old 09-23-2011, 05:42 PM   #2702
mudskipper
Enthusiast
mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.
 
Posts: 28
Karma: 264
Join Date: Jan 2011
Device: pr 505
Quote:
Originally Posted by Mark Nord View Post
Regarding Wallpapers / StandbyImages with PRS300/505/600 please read here

Regarding your startup-script-problem check the path, it's case-sensitive.
Test if your prsp.sh is executed with a simple echo "it's done" > Data\log.txt
Make sure your font (to replace the internal one) is prepared accordingly. It's not only the filename, it's also the fontname within the file which had to match.
See *VERY* detailed guide on changing default Reader fonts in the sticky part of this forum
Thanks for your excellent pointers, it seems like a million years since I looked at a command line. I've moved my sleep paper to ../wallpaper and everything is working correctly. I guess this suggests the path is set up correctly to ../PRSPlus. The check you've suggested has also worked, so prsp.sh is also working correctly. I have set up the fonts correctly, I believe - I have successfully applied smaller fonts via PRS Customiser, but I want to achieve it through the bind trick because there are no good small fonts that will fit in a PRSCust flash. Oddly, when I terminate a line with Enter and save from Notepad only the last line, without termination, runs. How should a line be terminated in .sh? (currently CRLF 0x0d0a)

Your help is very much appreciated.

Last edited by mudskipper; 09-23-2011 at 06:01 PM. Reason: elaboration
mudskipper is offline   Reply With Quote
Old 09-24-2011, 01:45 AM   #2703
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by mudskipper View Post
...I terminate a line with Enter and save from Notepad only the last line, without termination, runs. How should a line be terminated in .sh? (currently CRLF 0x0d0a)
notepad is the problem!
shell-scripts needs to be Unix-style = LF only

Get you a editor where this and also the encoding (UTF-8) can be controlled.
Like jEdit
Mark Nord is offline   Reply With Quote
Old 09-24-2011, 05:07 AM   #2704
mudskipper
Enthusiast
mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.
 
Posts: 28
Karma: 264
Join Date: Jan 2011
Device: pr 505
Quote:
Originally Posted by Mark Nord View Post
notepad is the problem!
shell-scripts needs to be Unix-style = LF only

Get you a editor where this and also the encoding (UTF-8) can be controlled.
Like jEdit
Brilliant, that's solved the prsp.sh problem and scripts are running as expected. I've now run into frank's problem. Copying my font to /tmp causes the reader to constantly reboot and when I do manage to get the machine to settle (usb in and out again) all PRS+ functions are lost as if broken. Modifying prsp.sh and rebooting brings 2.0.14 backup again. I'll have to try the installer route.
First attempt via installer has not even produced a log file. Must dash now but will let you know how a more concerted effort pans out.

Thanks again for your help and hand holding.
mudskipper is offline   Reply With Quote
Old 09-24-2011, 05:18 AM   #2705
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by mudskipper View Post
when I do manage to get the machine to settle (usb in and out again) all PRS+ functions are lost as if broken.
This is a feature. When your reader restarts while connected to USB it comes up in safe mode, plain bones no PRS+.
DoctorOhh is offline   Reply With Quote
Old 09-24-2011, 05:18 AM   #2706
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
mudskipper

You don't need to install PRS+ again, it's not removed from the system that easily.
If you boot with usb connected, prps.sh doesn't start and neither does PRS+.

How big are your fonts? Did you rename _fonts_ (not only filenames, but font metadata) according to "detailed guide..."?
kartu is offline   Reply With Quote
Old 09-24-2011, 07:35 AM   #2707
mudskipper
Enthusiast
mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.
 
Posts: 28
Karma: 264
Join Date: Jan 2011
Device: pr 505
[QUOTE=kartu;1754827]mudskipper

You don't need to install PRS+ again, it's not removed from the system that easily.
If you boot with usb connected, prps.sh doesn't start and neither does PRS+.

How big are your fonts? Did you rename _fonts_ (not only filenames, but font metadata) according to "detailed guide..."?[/QUOTE

Indeed, as I said commenting out the offending cp and rebooting brought 2.0.14 up. Nice to know it'll fail safe when it has to. As for the font, it's around 4Mb. They are correctly formed. I'd ultimately like to follow Frank and replace all three fonts. What sort of memory limit am Ifacing?

Last edited by mudskipper; 09-24-2011 at 07:37 AM.
mudskipper is offline   Reply With Quote
Old 09-24-2011, 09:19 AM   #2708
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
mudskipper

Try to mount them directly from internal memory. It's not a clean way (reader will fail to umount IM when connected to PC) but you can use bigger files this way.
kartu is offline   Reply With Quote
Old 09-24-2011, 02:16 PM   #2709
mudskipper
Enthusiast
mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.
 
Posts: 28
Karma: 264
Join Date: Jan 2011
Device: pr 505
Quote:
Originally Posted by kartu View Post
mudskipper

Try to mount them directly from internal memory. It's not a clean way (reader will fail to umount IM when connected to PC) but you can use bigger files this way.
It seems so simple in retrospect! That has indeed worked. I'm not sure what symptoms to expect from the failure to umount, but I seem to have access to IM over USB when connected to PC. I'm quite delighted.

Thank you Kartu and Mark, your help and patience have been invaluable.
mudskipper is offline   Reply With Quote
Old 09-25-2011, 07:38 AM   #2710
hairybiker
Banned
hairybiker began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
Trying to get PRSCustomiser icons installed

Thanks for latest 2.14 beta, I like the cover on standby on my 505
But when trying to get my custom icons installed using this post, but when I try to create the image it says no space available?
I thought it might be my sd card (32Mb), so I changed to a 8Gb one (with 7Gb free) but get same error.
Any idea how to fix this?
hairybiker is offline   Reply With Quote
Old 09-25-2011, 08:52 AM   #2711
mudskipper
Enthusiast
mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.mudskipper has a complete set of Star Wars action figures.
 
Posts: 28
Karma: 264
Join Date: Jan 2011
Device: pr 505
Quote:
Originally Posted by hairybiker View Post
Thanks for latest 2.14 beta, I like the cover on standby on my 505
But when trying to get my custom icons installed using this post, but when I try to create the image it says no space available?
I thought it might be my sd card (32Mb), so I changed to a 8Gb one (with 7Gb free) but get same error.
Any idea how to fix this?
I think version two of PRS+ is a little larger than version one, so the customiser flash balks at the first stage. If you look at the files you copied to sd card you should see make_opt.sh. Mine has this in lines 73-77

if [ `expr $W_A_SIZE - $N_SPACE` -lt 1048576 ]; then
echo "No space avaliable for making images!" >> $W_LOG
echo -n "2 No space avaliable for making images. Try deleting some books." > $RESFILE
exit 1
fi


I managed to get customiser to work by changing that 1048576 to something nearer 500576. By relaxing the check, I was able to successfully create the image to flash back in the next step. Hope this helps.
mudskipper is offline   Reply With Quote
Old 09-25-2011, 11:42 AM   #2712
hairybiker
Banned
hairybiker began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
Thanks that worked a treat
hairybiker is offline   Reply With Quote
Old 09-25-2011, 02:58 PM   #2713
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by hairybiker View Post
..
But when trying to get my custom icons installed using this post, but when I try to create the image it says no space available?
Any idea how to fix this?
Just for the records:
Check Building PRS+ in the WIKI of the project-page.
After creating your local repository-clone you will find a folder prs-plus\firmware\505\Fsk\sony\ebook\application\resou rces\scripts
where you can put your custom kbookIcon.png
(Note that the folder structure is basically the same as with PRSCustomizer)
Finally build your own custom-installer by running ant in folder \build

Last edited by Mark Nord; 09-26-2011 at 02:09 PM. Reason: typo
Mark Nord is offline   Reply With Quote
Old 09-26-2011, 04:54 AM   #2714
hairybiker
Banned
hairybiker began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
Quote:
Originally Posted by Mark Nord View Post
Just for the recods:
Check Building PRS+ in the WIKI of the project-page.
BUT I use LINUX ONLY. The instructions say the build script ONLY runs on M$ systems

That wasn't an option for me, it maybe nice if the installer could check for a jpg or 2 and use them as the top left icon etc.

Last edited by hairybiker; 09-26-2011 at 04:59 AM.
hairybiker is offline   Reply With Quote
Old 09-26-2011, 05:01 AM   #2715
hairybiker
Banned
hairybiker began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
Updated my sig to say I use Linux to save confusion in the future.
hairybiker is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 02:40 PM.


MobileRead.com is a privately owned, operated and funded community.