View Single Post
Old 01-21-2018, 01:54 PM   #27
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
rotation problem, experiment 2

Maybe we should abstain from changing back to 16 bit color depth, once nickel has changed the value to 32 bit. Originally, I decided to change back to 16 bit, since at this point this allowed to easily run Koreader. More recent versions of Koreader however can run with 32 bit. And if not changing the color depth helps prevent the rotation problem, I do not care if I break compatibility with older Koreader versions.

The current experiment has the purpose to see whether staying at 32 bit depth prevents the rotation problem.

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.

Last edited by tshering; 01-21-2018 at 02:09 PM.
tshering is offline   Reply With Quote