View Single Post
Old 01-15-2018, 04:57 PM   #1
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
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:
The one minute or so that usbnet is on at start will not be sufficient to allow you to prepare your pc for usbnet. Therefore let the time pass out and only then enable it manually by selecting
"usb" > "usbnet toggle.sh" (before you do this the infobox should show: "USBNet support: disabled")
Then things continue different depending on the OS of your pc.
Under windows 10 follow the instructions Windows 10 signed RNDIS driver for USBNetwork on the Kindle forum. Skip the "Prerequisites", and read instead of the last paragraph of the instructions this modified version:
Quote:
You should see a new network card Kindle USB RNDIS Device (USBNetwork enabled) in "Network and Sharing Center" > Change adapter settings. Assign the static IP 192.168.2.100 and you can ping the device (ping 192.168.2.101).
For older versions of windows follow this post, but replace the first 3 points by: "In KSM, toggle usbnet on, and connect the device with the usb cable to your pc."

Under linux, I hope you will find yourself how to do it.

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.)
This will make the webinterface appear in the browser, and prevent the usbnet and the server from timing out.
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.
tshering is offline   Reply With Quote