01-15-2018, 04:57 PM | #1 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Playing with the KSM 09 webinterface
I am starting now to write the first posts of this thread, and will continue as time permits, if I have the impression that some people might be interested.
I consider the usbnet as the primary network for using the KSM webinterface. Among the advantages are: With usbnet, there are less chances that somebody else accesses your device via the network than it is with wifi. KSM needs much less time to get ready when you power on the device, when it has not to try to connect to a wifi network. When you start nickel, it does not care whether usbnet is on, but it does become unresponsive when wifi is already switched on (at least with recent versions of nickel). Configure your pc to use the Kobo reader as an usb network device: Spoiler:
In the following I will speak of usbnet, but you can also use wifi instead, except when nickel is involved. When usbnet is enabled and the server running (for instance when KSM starts after you powered the device on), execute the following line in the navigation bar of the webbrowser of your pc: Code:
http://192.168.2.101:8087/rmc_test.html (With wifi, replace 192.168.2.101 by the wifi-ip.) Next press "toggle btw full and short menu" in order to prevent nickel from auto starting. topics: session: collect basic information rotation problem, intro session: rotation problem, experiment 1 session: rotation problem, experiment 2 session: testing touch driver for H2O2 (PRODUCT_ID=378, CPU=mx6sll) session: H2O2v2 (PRODUCT_ID=378, CPU=mx6sll), testing the touch driver, second trial Last edited by tshering; 04-09-2018 at 03:48 PM. |
01-15-2018, 05:04 PM | #2 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
collect basic information
Let us start with session 1 (we will try to collect some basic information for all models):
[ in the webbrowser ] press "basic info", and copy then the output to a text file. In my case it looks like this: 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=kraken, PRODUCT_ID=0x4173, 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+ #619 PREEMPT Thu Dec 22 15:29:00 CST 2016 armv7l GNU/Linux, FW=4.7.10413 Code:
### executed:fbset ### KSM running mode "1024x758-0" # D: 0.025 MHz, H: 0.022 kHz, V: 0.029 Hz geometry 1024 758 1024 1536 16 timings 40000000 12 76 4 5 12 2 accel false rgba 5/11,6/5,5/0,0/0 endmode Code:
### executed:cat /sys/class/graphics/fb0/rotate ### KSM running 0 select "start nickel" (do not open a book, but stay on the home screen), and after nickel has started [ in the webbrowser ] (if you use the webinterface over the wifi network, enable wifi in nickel, since KSM had to switch it off temporarily) repeat "fbset" and "read rotate-value" as before. Code:
### executed:fbset ### nickel running mode "758x1024-0" # D: 0.025 MHz, H: 0.029 kHz, V: 0.028 Hz geometry 758 1024 768 1024 32 timings 40000000 12 76 4 5 12 2 accel false rgba 8/16,8/8,8/0,8/24 endmode Code:
### executed:cat /sys/class/graphics/fb0/rotate ### nickel running 3 Please, upload the text file to this post. Next time we might address the rotation problem on some models. Last edited by tshering; 01-19-2018 at 05:55 PM. |
Advert | |
|
01-16-2018, 06:33 PM | #3 |
Connoisseur
Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
Kobo Glo HD - session 1
Let's start...
Edit: information for KSM obtained by connecting via wifi, information for nickel via usbnet Last edited by taos; 01-17-2018 at 10:08 AM. Reason: Additional information for clarification |
01-17-2018, 03:42 AM | #4 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
@taos
Thank you. I see you are using wifi. I am curious whether usbnet is working on your model and firmware. Could you select usb > toggle_usbnet.sh, and see whether KSM at least reports that usbnet is enabled? Or if you go "usb" immediately after power on, it should already display "usbnet: enabled" (or similar). Last edited by tshering; 01-17-2018 at 03:47 AM. |
01-17-2018, 10:06 AM | #5 | |
Connoisseur
Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
Quote:
|
|
Advert | |
|
01-17-2018, 03:48 PM | #6 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
rotation problem
Is anybody who owns a model with the rotation problem interested to participate? Otherwise it is a waste of time to continue with this topic.
|
01-17-2018, 04:22 PM | #7 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
|
01-17-2018, 05:59 PM | #8 |
Evangelist
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
I will try to do some testing next weekend with H2O that seems to return with the rotation problem in last FW I think. Is it needed?
You know that I'm glad to help you ever, only my work decided my spare time now Last edited by boriar; 01-19-2018 at 02:03 AM. Reason: correct typo |
01-18-2018, 03:55 PM | #9 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Thank you for the offer! I think people who are running the latest FW anyway might be interested in helping solving the problem. So there is no need for you to update just for testing. And do not feel pushed. I am not in a hurry. I am busy myself with work and should keep myself more often away from this forum.
|
01-18-2018, 08:04 PM | #10 |
Connoisseur
Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
|
I've got a 1st gen H20 exhibitng the symptoms, that I updated to KSM09. I can help debug too..
Thanks, John Feole |
01-19-2018, 05:26 PM | #11 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
01-19-2018, 05:44 PM | #12 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
rotation problem, intro
I give here, in the spoiler, a short account of the rotation problem, how I tried to solve it, and failed.
Spoiler:
For the first experiment, however, reading this is not necessary. Therefore if you like, go directly to next post.
|
01-19-2018, 05:52 PM | #13 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
rotation problem, experiment 1
The first approach is rather easy. The onboard software contains an executable for testing the eink screen. On the Kobo Touch and the Glo, it sets the rotation value to 0 and the depth to 16. Of course, I do not know whether it destabilises the rotation value or not. But we will find out:
I assume that you use usbnet. Doing it with wifi instead, would need some additional steps. If 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.
Last edited by tshering; 01-19-2018 at 06:05 PM. |
01-19-2018, 09:16 PM | #14 |
Connoisseur
Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
|
I would like to use USBNET, bu I am not familiar with it. I use Ubuntu 16.04 LTS as my daily OS.. Do you know how to setup Linux for USBNet?
If i use wifi instead, what are the additional steps? John Feole Last edited by JFeole; 01-19-2018 at 09:19 PM. |
01-19-2018, 10:25 PM | #15 |
Connoisseur
Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
|
Ignore last post, i have figured out enabling USBNET on ubuntu..
Ran tests in your post. Output is as follows: -- ### 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:epdc_test -b Set the background to 16-bpp screen_info.xres_virtual = 1440 screen_info.yres_virtual = 2304 screen_info.bits_per_pixel = 16 Mem-Mapping FB0 Set to region update mode Set waveform modes == Press again "ksm message". See whether the "ok" is again in the top left corner. (No, not in Top left corner, it came back on the bottom right corner, upside down) -- Thanks, John Feole |
|
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 |