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 02-25-2012, 09:57 AM   #3436
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Question:

What is the largest size of an ADDON-folder?

I'll get an 'fsk error code 41' in the log-file.

A

Last edited by Analogus; 02-25-2012 at 10:28 AM.
Analogus is offline   Reply With Quote
Old 02-25-2012, 11:06 AM   #3437
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
Max. size for scripts is around 100 kB, but there should be a "script to big" error.
Mark Nord is offline   Reply With Quote
Old 02-25-2012, 11:45 AM   #3438
EldRick
Evangelist
EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!
 
Posts: 470
Karma: 112801
Join Date: Aug 2010
Device: Aura H2O (i86, M96C, Mini&Glo, PRS-950, STR, K-Touch, K-DX, K-3)
Can't install from Parallels on Mac

I've got a recent iMac, on which I installed Snow Leopard, Parallels 6, and Win XP, to install PRS+.

The .18 installer runs, but hangs on the "The Sony Reader PRS-950 cannot be found", and won't install. Windows is seeing the Reader on USB - I can even run the Installer from the Reader disk. I get the same results when I run it under Crossover.

Has anyone successfully installed PRS+ on a 950 from a Mac, or does it need real PC hardware for some reason?

Last edited by EldRick; 02-25-2012 at 12:44 PM.
EldRick is offline   Reply With Quote
Old 02-25-2012, 01:11 PM   #3439
elcreative
Wizard
elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.
 
Posts: 2,888
Karma: 5875940
Join Date: Dec 2007
Device: PRS505, 600, 350, 650, Nexus 7, Note III, iPad 4 etc
Quote:
Originally Posted by EldRick View Post
I've got a recent iMac, on which I installed Snow Leopard, Parallels 6, and Win XP, to install PRS+.

The .18 installer runs, but hangs on the "The Sony Reader PRS-950 cannot be found", and won't install. Windows is seeing the Reader on USB - I can even run the Installer from the Reader disk. I get the same results when I run it under Crossover.

Has anyone successfully installed PRS+ on a 950 from a Mac, or does it need real PC hardware for some reason?
If it's a recent iMac then it is real PC hardware as well as Mac... why not use Boot Camp for your Win XP and then you can boot as a real PC or (for other things where the direct hardware link is less important) use Parallels from OS X to access the Boot Camp Windows C: drive...
elcreative is offline   Reply With Quote
Old 02-25-2012, 04:00 PM   #3440
EldRick
Evangelist
EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!
 
Posts: 470
Karma: 112801
Join Date: Aug 2010
Device: Aura H2O (i86, M96C, Mini&Glo, PRS-950, STR, K-Touch, K-DX, K-3)
Boot Camp only works with the internal drive, and it has to be one big partition before installing Windows. Mine is not a single partition.

Also, 10.6 and 10.7 only support Win7 in Boot Camp, and you can't use XP (in Snow Leopard) on recent hardware anyway, because Apple doesn't provide drivers. Parallels on SL didn't work, although it's usually pretty good on USB support.

Rather than screw around with Win7, I just ordered a used XP laptop for a few bucks more. Sure hope it works for PRS+ for my "new" 950, because the default typeface needs Help!

Last edited by EldRick; 02-25-2012 at 04:28 PM.
EldRick is offline   Reply With Quote
Old 02-25-2012, 04:36 PM   #3441
elcreative
Wizard
elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.
 
Posts: 2,888
Karma: 5875940
Join Date: Dec 2007
Device: PRS505, 600, 350, 650, Nexus 7, Note III, iPad 4 etc
Quote:
Originally Posted by EldRick View Post
Boot Camp only works with the internal drive, and it has to be one big partition before installing Windows. Mine is not a single partition.

Also, 10.6 and 10.7 only support Win7 in Boot Camp, and you can't use XP (in Snow Leopard) on recent hardware anyway, because Apple doesn't provide drivers. Parallels on SL didn't work, although it's usually pretty good on USB support.

Rather than screw around with Win7, I just ordered a used XP laptop for a few bucks more. Sure hope it works for PRS+ for my "new" 950, because the default typeface needs Help!
True about partition but 10.6.8 works happily with versions other than Win 7 in Boot Camp... and for future use, try VMware... seems happier with some USB that Parallels doesn't like (and vice-versa)... good luck...
elcreative is offline   Reply With Quote
Old 02-25-2012, 11:38 PM   #3442
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by EldRick View Post
I've got a recent iMac, on which I installed Snow Leopard, Parallels 6, and Win XP, to install PRS+.

The .18 installer runs, but hangs on the "The Sony Reader PRS-950 cannot be found", and won't install. Windows is seeing the Reader on USB - I can even run the Installer from the Reader disk. I get the same results when I run it under Crossover.

Has anyone successfully installed PRS+ on a 950 from a Mac, or does it need real PC hardware for some reason?
You need a real Windows because a VM Windows can have issues with the timing of the USB ports. In the past, we have had people running a VM Windows brick their readers doing a firmware update. So don't do it. Use a real Windows setup.
JSWolf is offline   Reply With Quote
Old 02-26-2012, 02:39 AM   #3443
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Quote:
Originally Posted by Mark Nord View Post
Max. size for scripts is around 100 kB, but there should be a "script to big" error.
There was a "script is to big" error first. I tried make a 4th addon folder and ended up with the "41"-error.

My CB-addon-folder number 3 is just a view KB bigger than the original one from the revision.

A.

Edit: I made something wrong when adding the 4th addon-folder. Now everything is working fine. I think the 4th folder will be necessary soon. In my case it IS necessary.

Last edited by Analogus; 02-26-2012 at 04:21 AM.
Analogus is offline   Reply With Quote
Old 02-26-2012, 08:45 AM   #3444
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Question:

Is there a function that makes an automatic reboot of the reader?

I use this code (I recovered accidently) to do that:

Code:
kbook.bookData.setData(null);
model.doDeviceShutdown();
But that's hardly the official way...

Thanks

A.
Analogus is offline   Reply With Quote
Old 02-26-2012, 08:57 AM   #3445
raiderkilo
Connoisseur
raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.
 
raiderkilo's Avatar
 
Posts: 81
Karma: 26768
Join Date: Nov 2009
Location: Slovakia
Device: PRS-350 "PRS+"
Hi
How to disable automatic page turner (default is 60 sec.) on PRS-300 2.1.0.a,in settings is only 10 sec. to 300 sec.
THX

Finally I found this in PRS Settings / Key Bindings

Last edited by raiderkilo; 02-26-2012 at 09:51 AM. Reason: Fixed
raiderkilo is offline   Reply With Quote
Old 02-26-2012, 09:12 AM   #3446
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
There is a function you can assign to a button which does the job. In options you just have the possibility to alter the time.

A.
Analogus is offline   Reply With Quote
Old 02-26-2012, 09:42 AM   #3447
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
raiderkilo:
The automatic page turner is only enabled if you activate it yourself via the corresponding action. So if you don't use it, there's no need to disable it.

Analogus:
There is no reboot function afaik, strangely enough. The only trick I know is to use the x50 exit codes. These are their normal functions:

3 = Data Format (IM) + reboot
4 = SD Format + reboot
5 = MS Format + reboot
6 = don't clear screen + shutdown (used by shutdown image addon)
10 = wireless update/recovery + reboot (but no full reboot if no wireless)

So if you don't use MS, for instance, you can trigger a safe reboot by doing this:
Code:
ebook.setExitCode(5);
kbook.model.doDeviceShutdown();
Of course, make sure not to make a typo here, or you may end up losing all your data

Last edited by quisvir; 02-26-2012 at 09:45 AM.
quisvir is offline   Reply With Quote
Old 02-26-2012, 10:26 AM   #3448
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Thank you!

I wonder where you have all those informations from...

Concerning reboot:

I try to make CB's even for the 650 - so it's too much risk to use this exit-codes. I have no glue why my 'solution' works, but I'll stay with it. It's used in several actions (which demands rebooting) like altering fonts for TXT-files, restoring PRS+ setting or activating/deactivating a beta-system.


A.
Analogus is offline   Reply With Quote
Old 02-26-2012, 11:15 AM   #3449
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Analogus, could you put on this web the modifications to change the fonts for lrf, txt, rtf, and the new options to save, restore, and reset prs, that is showed in the link or your posts (http://erhartc.bplaced.net/ereader/index.php)?

thanks
VICTORSJG is offline   Reply With Quote
Old 02-26-2012, 11:25 AM   #3450
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Analogus:
Well, what actually happens with your code is that it crashes the device

The crash then triggers a reboot, which is why it seems to work. The exitcode info is in /opt/sony/ebook/bin/tinyhttp.sh. There you can see that the device is only rebooted if either:
- a suitable exitcode is present, which (in the corresponding part of the script) calls safe_reboot;
- or tinyhttp itself exits with an error (i.e. it crashes).

You can also tell that it's crashing by putting a trace at the end of Fskin.window.doQuit (present in StandbyImage.js). That trace is successful on a regular shutdown, but not when the bookData line is added.

The reason btw (presumably) is that by adding the bookData line you're tricking the device into thinking there is no current book open, even though there is. This then results in a crash somewhere in the shutdown procedure. The correct way to unload the current book would be:
Code:
kbook.model.currentBook.media.close(kbook.bookData);
kbook.bookData.setData(null);
And you'll notice that, after adding the media.close line, the device no longer reboots. Sorry to burst your bubble

Victor:
I have seen your mails btw, thanks for the suggestions! I'm sure we'll be working on some of them in the near future

Last edited by quisvir; 02-26-2012 at 11:36 AM.
quisvir 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 08:51 AM.


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