Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-21-2018, 02:30 PM   #31
boriar
Addict
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
Posts: 380
Karma: 298332
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by tshering View Post
I assume that you use usbnet. Doing it with wifi instead, would need some additional steps. If you cannot use usbnet and want to participate, tell me.

Read the first three steps in advance, because step 3 and 4 must be executed quickly. From then onwards we can proceed as slow as we like.
  • Write into the navigation bar of your browser http://192.168.2.101:8087/rmc_test.html, but do not yet press enter.
  • Power on your device.
  • When you see the KSM menu, press return (in the browser). The browser should now show a page with some buttons. (If nothing happens, press enter again. Maybe the first time was to early.)
  • The first button is "kill KSM", press it. The screen should now be completely unresponsive.
  • You can now zoom in or out [Ctrl-+, Ctrl--], so that you can see the whole page, including the output field at the bottom.
  • Press "basic info". Copy the text from the output field to the text file.
    Code:
    ### executed:echo $PRODUCT, $PRODUCT_ID, $CPU, $PLATFORM, $(uname -a), FW $(awk -F',' '{print $3}' /mnt/onboard/.kobo/version)
    kraken, 0x4173, mx50, mx50-ntx, Linux (none) 2.6.35.3-850-gbc67621+ #619 PREEMPT Thu Dec 22 15:29:00 CST 2016 armv7l GNU/Linux, FW 4.7.10413
  • Press "read rotate value"
  • Copy the text from the output field to the text file.
    Code:
    ### executed:cat /sys/class/graphics/fb0/rotate
    0
    And remember the value, since we will need it later.
  • Press "start nickel, basic". Nickel will start. Give it some time to settle itself. Do not open any book, stay a the home screen. Anyway, you must return to the home screen before you do the next step.
  • Press "exit nickel". You will not see any change on the screen. The only difference is that the screen is again unresponsive.
  • Press "set 0", "set 1", "set 2", "set 3", depending on the value that was returned by "read rotate-value" (if the value was 0, do "set 0"if 1, do "set 1", and so on)
  • Press "set read value again"
  • Press "ksm message". There should appear the KSM message application, showing "ok" in the top left corner. [on the Kobo] Press the middle of the screen to open the bottom menu bar. Zoom in and out.
  • [on the Kobo] Press "close", or [on the PC] press "exit ksm message". The screen will now again be unresponsive.
  • Press again "ksm message". See whether the "ok" is again in the top left corner.
  • If everything worked, repeat the sequence "ksm message" - "exit ksm message" several times to see, whether the screen orientation stays the same.
  • Press "reboot" or (but only when things went well) press "ksm power off"
Please report what happened and post the results that you copied to the text file.
Yes, I use USBnet.
The results are the same from experiment 1: the second intent for ksm message OK is inverted on bottom right corner

Code:
### executed:echo PRODUCT=$PRODUCT, PRODUCT_ID=$PRODUCT_ID, CPU=$CPU, PLATFORM=$PLATFORM,\WIFI_MODULE=$WIFI_MODULE, WIFI_MODULE_PATH=$WIFI_MODULE_PATH\uname=$(uname -a), FW=$(awk -F',' '{print $3}' /mnt/onboard/.kobo/version)

PRODUCT=dahlia, PRODUCT_ID=0x4213, CPU=mx50, PLATFORM=mx50-ntx,
WIFI_MODULE=dhd, WIFI_MODULE_PATH=/drivers/mx50-ntx/wifi/dhd.ko
uname=Linux (none) 2.6.35.3-850-gbc67621+ #3032 PREEMPT Mon Jan 9 13:37:40 CST 2017 armv7l GNU/Linux, FW=4.7.10413


### executed:cat /sys/class/graphics/fb0/rotate
2


### executed:echo $(cat /sys/class/graphics/fb0/rotate) > /sys/class/graphics/fb0/rotate
Quote:
Originally Posted by tshering View Post
There is the index error, but of course, I do not know the details. Do you have the newest version of plato?
Yes, v0.3.2 with plato dir in .adds and with plato.sh for ksm within plato dir. May be I did something wrong?
boriar is offline   Reply With Quote
Old 01-21-2018, 02:47 PM   #32
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Thank you Boriar! I just want to be certain. Did you execute
  • Press "set 0", "set 1", "set 2", "set 3", depending on the value that was returned by "read rotate-value" (if the value was 0, do "set 0"if 1, do "set 1", and so on)

I am asking because in your output I do not see:
  • ### executed:echo '2' > /sys/class/graphics/fb0/rotate

As for plato. You do not need "plato.sh for ksm within plato dir". Please call plato from the webinterface. But this should not have any influence on the index out of range error.

Last edited by tshering; 01-21-2018 at 02:51 PM.
tshering is offline   Reply With Quote
Advert
Old 01-21-2018, 03:02 PM   #33
nook_nerd
Connoisseur
nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.nook_nerd solves Fermatís last theorem while doing the crossword.
 
Posts: 73
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One
Test2
=====
Basic info:

### executed:echo PRODUCT=$PRODUCT, PRODUCT_ID=$PRODUCT_ID, CPU=$CPU, PLATFORM=$PLATFORM,\WIFI_MODULE=$WIFI_MODULE, WIFI_MODULE_PATH=$WIFI_MODULE_PATH\uname=$(uname -a), FW=$(awk -F',' '{print $3}' /mnt/onboard/.kobo/version)

PRODUCT=dahlia, PRODUCT_ID=0x4213, CPU=mx50, PLATFORM=mx50-ntx,
WIFI_MODULE=dhd, WIFI_MODULE_PATH=/drivers/mx50-ntx/wifi/dhd.ko
uname=Linux (none) 2.6.35.3-850-gbc67621+ #3032 PREEMPT Mon Jan 9 13:37:40 CST 2017 armv7l GNU/Linux, FW=4.7.10413

--
Read Rotate Vaue:

### executed:cat /sys/class/graphics/fb0/rotate
2

--

Press again "ksm message". See whether the "ok" is again in the top left corner.
(No, it is in lower right corner, upside down)

When I hit KSM Message/Exit KSM Message, it alternates between upper left corner and upside down in lower right corner.
--
nook_nerd is offline   Reply With Quote
Old 01-21-2018, 03:08 PM   #34
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by nook_nerd View Post
Test2
=====
Basic info:

### executed:echo PRODUCT=$PRODUCT, PRODUCT_ID=$PRODUCT_ID, CPU=$CPU, PLATFORM=$PLATFORM,\WIFI_MODULE=$WIFI_MODULE, WIFI_MODULE_PATH=$WIFI_MODULE_PATH\uname=$(uname -a), FW=$(awk -F',' '{print $3}' /mnt/onboard/.kobo/version)

PRODUCT=dahlia, PRODUCT_ID=0x4213, CPU=mx50, PLATFORM=mx50-ntx,
WIFI_MODULE=dhd, WIFI_MODULE_PATH=/drivers/mx50-ntx/wifi/dhd.ko
uname=Linux (none) 2.6.35.3-850-gbc67621+ #3032 PREEMPT Mon Jan 9 13:37:40 CST 2017 armv7l GNU/Linux, FW=4.7.10413

--
Read Rotate Vaue:

### executed:cat /sys/class/graphics/fb0/rotate
2

--

Press again "ksm message". See whether the "ok" is again in the top left corner.
(No, it is in lower right corner, upside down)

When I hit KSM Message/Exit KSM Message, it alternates between upper left corner and upside down in lower right corner.
--
Thank you! That confirms the result by Boriar.
tshering is offline   Reply With Quote
Old 01-21-2018, 03:10 PM   #35
boriar
Addict
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
Posts: 380
Karma: 298332
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Yes, I press "set 2" because that was the number I obtained from "read rotate-value", only forgot to copy there

I tried to star plato from ksm, from webinterface and again deleting first the plato.sh by baskerville and nothing always the same crash.log. Is it working from ksm08?
boriar is offline   Reply With Quote
Advert
Old 01-21-2018, 03:22 PM   #36
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by boriar View Post
Yes, I press "set 2" because that was the number I obtained from "read rotate-value", only forgot to copy there

I tried to star plato from ksm, from webinterface and again deleting first the plato.sh by baskerville and nothing always the same crash.log. Is it working from ksm08?
Yes, it does, and also on KSM 09. At least with Touch C, Koblo Glo, Glo HD.
tshering is offline   Reply With Quote
Old 01-21-2018, 03:25 PM   #37
boriar
Addict
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
Posts: 380
Karma: 298332
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Does I need to make a previous steps to play plato?
boriar is offline   Reply With Quote
Old 01-21-2018, 03:33 PM   #38
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Can we do another test?
Do the things like in test 2, but after the first "exit ksm message"
  • copy into the line field
    Code:
    [ "$(cat /sys/class/graphics/fb0/rotate)" == "0" ] && cat /sys/class/graphics/fb0/rotate > /sys/class/graphics/fb0/rotate; $ksmroot/kbmessage.sh "ok"
    and press "execute"
  • when the message appears, press "exit ksm message"
  • if it works, repeat "execute" - "exit ksm message" several times.

Last edited by tshering; 01-21-2018 at 03:49 PM.
tshering is offline   Reply With Quote
Old 01-21-2018, 03:38 PM   #39
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by boriar View Post
Does I need to make a previous steps to play plato?
If you run it from the webinterface you have to "kill KSM", before you start plato. The orientation value will very likely be wrong. We wanted to find the correct one. But unfortunately, there is some other error that makes plato exit (on your device).
The number of items of the list mentioned in the error log is very close to the number of the registered books (all .pngs). Could you copy some other books to the device, just to see whether the error message changes?

Last edited by tshering; 01-21-2018 at 03:46 PM.
tshering is offline   Reply With Quote
Old 01-21-2018, 03:51 PM   #40
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Sorry, I did a typo in the command line in post 38. I have it corrected now. I think I should finish for today.
tshering is offline   Reply With Quote
Old 01-21-2018, 04:01 PM   #41
baskerville
Addict
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 209
Karma: 304054
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Quote:
Originally Posted by boriar View Post
Code:
thread 'main' panicked at 'index 8 out of range for slice of length 7'
Sorry about that: it will be fixed in the next version.

In the meantime, you can prevent the crash by having at least 8 imported documents.
baskerville is offline   Reply With Quote
Old 01-21-2018, 04:05 PM   #42
boriar
Addict
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
Posts: 380
Karma: 298332
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
old text: No luck. Same result (with old code line, I will try with the correct)

YES!! Finally correct orientation

Code:
### executed:echo PRODUCT=$PRODUCT, PRODUCT_ID=$PRODUCT_ID, CPU=$CPU, PLATFORM=$PLATFORM,\WIFI_MODULE=$WIFI_MODULE, WIFI_MODULE_PATH=$WIFI_MODULE_PATH\uname=$(uname -a), FW=$(awk -F',' '{print $3}' /mnt/onboard/.kobo/version)

PRODUCT=dahlia, PRODUCT_ID=0x4213, CPU=mx50, PLATFORM=mx50-ntx,
WIFI_MODULE=dhd, WIFI_MODULE_PATH=/drivers/mx50-ntx/wifi/dhd.ko
uname=Linux (none) 2.6.35.3-850-gbc67621+ #3032 PREEMPT Mon Jan 9 13:37:40 CST 2017 armv7l GNU/Linux, FW=4.7.10413


### executed:cat /sys/class/graphics/fb0/rotate
2


### executed:echo '2' > /sys/class/graphics/fb0/rotate


### executed:echo $(cat /sys/class/graphics/fb0/rotate) > /sys/class/graphics/fb0/rotate
And yes. With "Kill KSM", then "Star plato" work but inverted (or may be because I put an other epub )

Last edited by boriar; 01-21-2018 at 04:14 PM.
boriar is offline   Reply With Quote
Old 01-21-2018, 04:12 PM   #43
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Sorry for the wrong code line.
Quote:
Originally Posted by boriar View Post
And yes. With "Kill KSM", then "Star plato" work but inverted
I understand that by "inverted" you mean upside down. Only if this is the case, do the following.

After a fresh start of the device. (Nickel should not have been running, so that the rotation problem does not yet appear). Then
  • "kill KSM"
  • "set 1"
  • "set read value again"
  • "start plato as is"
If it works and you will return to KSM, the rotation problem might be back. Just "power off" for now.

Last edited by tshering; 01-21-2018 at 04:18 PM.
tshering is offline   Reply With Quote
Old 01-21-2018, 04:16 PM   #44
boriar
Addict
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
Posts: 380
Karma: 298332
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
@tshering
Please, read my post #42 because I have edited it. Should I do the new instructions of #43?
boriar is offline   Reply With Quote
Old 01-21-2018, 04:22 PM   #45
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,440
Karma: 2902061
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by boriar View Post
YES!! Finally correct orientation
Good news! (I almost overlooked this message)

Quote:
Originally Posted by boriar View Post
And yes. With "Kill KSM", then "Star plato" work but inverted (or may be because I put an other epub )
Yes, the number of books was the culprit, see the post of Baskerville above.
tshering is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura H2O If I use KSM can I switch between pocket etc? masterz87 Kobo Reader 1 09-28-2017 05:15 PM
Mesure battery duration for KSM embryo Kobo Developer's Corner 11 09-21-2017 04:00 PM
KSM 08, kobo database, and Calibre drawson1 Kobo Reader 4 01-30-2017 04:06 AM
USB identification with KSM Jellby Kobo Developer's Corner 4 01-09-2015 07:30 AM
Greetings from KSM ksmurali Introduce Yourself 4 05-25-2011 04:35 AM


All times are GMT -4. The time now is 09:31 AM.


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