View Single Post
Old 07-21-2014, 01:43 PM   #1348
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Ken Maltby View Post
Right, I guess I should add that after the reader call in koreader_kobo.sh?
This (I mean: remounting the external sd once before and once after running koreader) might be a good solution for your case, since you know how your reader is configured and how you yourself behave with it.

For the KSM, which should be fit for different types of users, only modifying koreader_kobo.sh is not enough. The problem with the first remounting in koreader_kobo is, that if the users selects "start koreader" quickly after powering on, there might occur the situation, that the sd is not yet recognized by the system, when the script tries to remount it. Therefore, the execution would have to wait for the system to recognise the external sd. But how long should it wait? There might even be no sd in the slot. The user might insert the sd only after starting koreader, or not at all. Therefore, we should have to let the sd script handle these cases. Here the question arises whether in the sd script we should check whether koreader is running, and mount only than to -w, and in all other cases to -r. I think, here is no need to modify the usb script, in addition to koreader_kobo.sh and sd.
Before doing these changes in KSM, I will wait on how the koreader developers decide to proceed.

Last edited by tshering; 07-21-2014 at 03:16 PM.
tshering is offline   Reply With Quote