Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2018, 05:28 AM   #301
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Different from the other dirver, he touch driver for the H2o2v2 does not adjust to the rotation of the application, but is in a fixed position. Therefore my intention was to turn the framebuffer orientation 180, degree, and at the same time the KSM application's screen also 180 degree. I did however not understand that the touch coordinates are really horizontally mirrored, rather than rotated. Evidently, I did not read your report until the end.
I might not have been clear enough, but that is indeed the issue.

Quote:
You mean with regard to KSM. KSM and Koreader are totally independent of each other.

Sorry for being short, but I have to dash the door.
oops. I shouldn't try to solve these things while half asleep hahaha.
CH23 is offline   Reply With Quote
Old 06-08-2018, 02:14 PM   #302
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@CH23: Thank you! Created a PR thanks to your results .

Quick question: do the frontlight & naturallight controls work properly inside KOReader?
NiLuJe is offline   Reply With Quote
Advert
Old 06-08-2018, 02:45 PM   #303
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by NiLuJe View Post
@CH23: Thank you! Created a PR thanks to your results .

Quick question: do the frontlight & naturallight controls work properly inside KOReader?
both invlasovsoft and koreader, frontlight works, but when you turn on the naturalight, the light dims
CH23 is offline   Reply With Quote
Old 06-08-2018, 04:12 PM   #304
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 CH23 View Post
The correct ksmrotate value is 2
The correct mrotate value is 270
Are you sure that ksmrotation=2? Is this the value you set in ksmhome.sh? How about the other variables, do they all take the same value as snow? Also for starting koreader and vlasovsoft launcher?
tshering is offline   Reply With Quote
Old 06-08-2018, 04:58 PM   #305
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Are you sure that ksmrotation=2? Is this the value you set in ksmhome.sh? How about the other variables, do they all take the same value as snow? Also for starting koreader and vlasovsoft launcher?
Ksmrotation=2

Mrotation=270
enablerotation=false

It seems very similar to snow; same driver, same rotation.
also touch in vlasovsoft has been fixed now.

One more thing to note: ksm and koreader both take over the frontlight+naturallight setting from nickel, but can't set naturallight themselves.

Koreader, when adding warmth, becomes less warm, and the normal backlight setting has no effect on the orange light

Last edited by CH23; 06-08-2018 at 05:03 PM.
CH23 is offline   Reply With Quote
Advert
Old 06-08-2018, 05:11 PM   #306
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 CH23 View Post
Ksmrotation=2

Mrotation=270
enablerotation=false

It seems very similar to snow; same driver, same rotation.
also touch in vlasovsoft has been fixed now.

One more thing to note: ksm and koreader both take over the frontlight+naturallight setting from nickel, but can't set naturallight themselves.

Koreader, when adding warmth, becomes less warm, and the normal backlight setting has no effect on the orange light
Thank you for the information. I am somehow surprised about ksmrotation=2; since snow has 0.
I have another question. When you started the webinterface, was there a timing problem? Did you have to increase the waiting time in killautormcatsomepoint.sh?
tshering is offline   Reply With Quote
Old 06-09-2018, 01:55 AM   #307
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Thank you for the information. I am somehow surprised about ksmrotation=2; since snow has 0.
I have another question. When you started the webinterface, was there a timing problem? Did you have to increase the waiting time in killautormcatsomepoint.sh?
When starting, it takes 20 seconds before I can see the KSM. I did try to increase timing, but not sure if I actually got that to work.

I'll see if I have the time this afternoon, and re-install everything from scratch.
CH23 is offline   Reply With Quote
Old 06-09-2018, 02:11 AM   #308
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 102
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Quote:
Originally Posted by CH23 View Post
No wiki, just a number of threads (like the one you're in now)
What a horror show! There seems to be some very useful information in threads like this, but it’s largely useless since the signal-to-noise ratio is so high and it’s pretty impossible for someone landing on a post from a search to tell if it’s applicable to the current version.

Last edited by seanos; 06-09-2018 at 03:54 AM.
seanos is offline   Reply With Quote
Old 06-09-2018, 02:36 AM   #309
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by seanos View Post
What a horror show! There seems to be some very useful information in threads like this, but it’s largely useless since the signal-to-noise ratio is so high and it’s pretty impossible for someone landing on a post from a search to tell if it’s applicable to the current version.
Considering Tshering is the only developer(as far as i am aware) you can report your bugs in this thread.

I agree it's not optimal, but it works.
CH23 is offline   Reply With Quote
Old 06-09-2018, 03:09 AM   #310
cramoisi
Librarian
cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.
 
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
@CH3 did you disable the wifi after ksm9 first install ? if not perhaps it's that which slow down you thing at boot.

Quote:
Disable wifi on start up by selecting: "tools" > "ksm diverse.msh" > "auto enable wifi off.sh".
Prevent command over the device via wifi: set with "configure" the value of "[general]allowRmcViaWifi" to false.
Note: enabling wifi on start up may slow starting KSM considerably.
(from post #1)
cramoisi is offline   Reply With Quote
Old 06-09-2018, 03:42 AM   #311
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 102
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Quote:
Originally Posted by CH23 View Post
Considering Tshering is the only developer(as far as i am aware) you can report your bugs in this thread.

I agree it's not optimal, but it works.
I disagree that it works. Obviously it’s up to tshering in the end, but adding answers to a FAQ/Wiki that you can refer to saves answering the same questions over and over. And often those answers take more than one post and are interrupted by many other questions, making the information difficult to reuse.
seanos is offline   Reply With Quote
Old 06-09-2018, 06:20 AM   #312
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 CH23 View Post
When starting, it takes 20 seconds before I can see the KSM. I did try to increase timing, but not sure if I actually got that to work.

I'll see if I have the time this afternoon, and re-install everything from scratch.
Maybe it is not worth reinstalling anything at this point. I have already started to rewrite some parts of the scripts. As I said I feel unsure about the two rotation settings. Could you check them again? You would exit nickel, and then when KSM shows again properly and is correctly responding to touch, you would check the two variables with the webinterface; for instance "echo $ksmrotate", "echo $mrotation"; or "printenv" to see the whole list.
tshering is offline   Reply With Quote
Old 06-09-2018, 08:10 AM   #313
jlynton
Evangelist
jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.jlynton ought to be getting tired of karma fortunes by now.
 
Posts: 415
Karma: 469928
Join Date: Feb 2012
Device: Kobo Clara BW, Moaan Inkpalm 5.
Quote:
Originally Posted by seanos View Post
What a horror show! There seems to be some very useful information in threads like this, but it’s largely useless since the signal-to-noise ratio is so high and it’s pretty impossible for someone landing on a post from a search to tell if it’s applicable to the current version.
I agree that it is not ideal, but I, for one, am extremely grateful to tshering for all the hard work that he puts into KSM!
jlynton is offline   Reply With Quote
Old 06-09-2018, 11:25 AM   #314
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Maybe it is not worth reinstalling anything at this point. I have already started to rewrite some parts of the scripts. As I said I feel unsure about the two rotation settings. Could you check them again? You would exit nickel, and then when KSM shows again properly and is correctly responding to touch, you would check the two variables with the webinterface; for instance "echo $ksmrotate", "echo $mrotation"; or "printenv" to see the whole list.
Code:
### executed:echo $ksmrotate

2
Code:
### executed:echo $mrotation

270

Code:
 ### executed:printenv

CONTENT_TYPE=application/x-www-form-urlencoded
GATEWAY_INTERFACE=CGI/1.1
ksmGeometryValuesN=
poweroffRotation=90
USER=root
UBOOT_MMC=/etc/u-boot/mx6sll-ntx/u-boot.mmc
mrotation=270
poweroffRandomdir=
prevlevel=N
REMOTE_ADDR=#########
QUERY_STRING=com_value=printenv&history=date&com_type=shell
ksmImageWidthLandscape=750
ksmGeometryValuesS=
HOME=/
powerOffDelay=0.8
ksmFontDir=/adds/kbmenu/fonts
ksmrotate=2
ntxfw_sz=9474
HTTP_USER_AGENT=##################################
REMOTE_PORT=56742
deleteSDRsOnboard=false
HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ksmGeometryValuesW=
runlevel=S
CONTENT_LENGTH=46
koreaderbasedir=/mnt/onboard/.adds
NICKEL_HOME=/mnt/onboard/.kobo
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-chCzxDdtl6,guid=1###################2
SCRIPT_FILENAME=/adds/kbmenu/rmc/cgi-bin/processcommands.sh
HTTP_HOST=##########:8087
kobomenuMenuBarFontsize=50
nickelpreload=
kobomenuShowClock=false
UBOOT_RECOVERY=/etc/u-boot/mx6sll-ntx/u-boot.recovery
REQUEST_URI=/cgi-bin/processcommands.sh
SERVER_SOFTWARE=busybox httpd/1.22.0.kobo
useDropbear=true
boot_port=1
CPU=mx6sll
provideSleepInMainMenu=false
KSMfrontlightlevel=20
TERM=vt102
waveform_p=0x9fd70000
hwcfg_p=0x9ffffe00
dontTamperwithFrontlight=true
PLATFORM=mx6sll-ntx
WIFI_MODULE=8189fs
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib:
HTTP_ACCEPT_LANGUAGE=en-GB,en;q=0.5
HTTP_REFERER=http://##########:8087/rmc_test.html
SERVER_PROTOCOL=HTTP/1.0
QWS_NO_SHARE_FONTS=1
vlasovsoftbasedir=/mnt/onboard/.adds/vlasovsoft
platobasedir=/mnt/onboard/.adds/plato
mousedriver=libKoboTS_h2o2.so
LANG=en_US.UTF-8
fbrotatevalue=0
PATH_INFO=
waveform_sz=2686280
hwcfg_sz=110
SHELL=/bin/sh
WIFI_MODULE_PATH=/drivers/mx6sll-ntx/wifi/8189fs.ko
REQUEST_METHOD=POST
ksmImageWidthPortrait=566
allowRmcViaWifi=true
ksmGeometryValuesE=
avoidPickel=false
PRODUCT=nova
INTERFACE=eth0
kobomenuFontsize=60
PRODUCT_ID=unknown
ksmuser=/mnt/onboard/.adds/kbmenu_user
PWD=/adds/kbmenu/rmc/cgi-bin
KSMdebugmode=false
SCRIPT_NAME=/cgi-bin/processcommands.sh
QWS_MOUSE_PROTO=KoboTS_h2o2
ntxfw_p=0x9fd6da00
ksmroot=/adds/kbmenu
CH23 is offline   Reply With Quote
Old 06-09-2018, 04:00 PM   #315
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
Thank you for the informatinon. Since you did not mention anything, I supposed the updated touch driver solved the touch problem. But on the Koreader thread I read that the problem persists in KSM.
I just compared the pertinent reports, and I have a problem understanding what actually is the issue.
Quote:
Originally Posted by CH23 View Post
Right now touch is 'flipped' (when i touch in top left, it thinks i touch bottom left)
Quote:
Originally Posted by CH23 View Post
If i touch on the left, it will register on the right
If i touch on the right, it will register on the left
If i touch at the top, it will register on the top
If i touch at the bottom, it will register on the bottom
Quote:
Originally Posted by CH23 View Post
As KSM has the same kind of issue (image correct, touch left/right swapped) I believe this is the same issue for both.
The first description does not agree with the second and third. Which one is correct? Or do they refer to different versions of the touch driver?

Do you have currently the latest version of libKoboTS_h2o2.so in adds/kbmenu/Qt/plugins/mousedrivers?

Could you do the following? (With the latest touch driver):
  • exit nickel
  • press "kill KSM"
  • execute
    Code:
    export ksmrotate=0 mrotation=90; $ksmroot/kobomenu.sh "a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
  • touch the screen; when you select one of the options (not the buttons on the bottom) you should see the selected item (letter a-Z) in the output field of the webinterface (at this point you would have to execute the command newly in order to repeat the test); when you press one of the buttons, the list of options should move accordingly.

Quote:
Originally Posted by CH23 View Post
added nova to adds/kbmenu/onstart/ksmhome.sh
What exactly did you do?
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Start Menu 08 tshering Kobo Developer's Corner 1021 06-29-2020 04:59 PM
Kobo-Adding alternative readers using Kobo Start Menu Ken Maltby KOReader 75 01-10-2020 01:35 PM
Kobo Start Menu tshering Kobo Developer's Corner 918 10-12-2017 02:32 PM
Start KOReader automatically with Kobo Start Menu checcousero KOReader 2 03-07-2017 11:42 AM
Kobo Start Menu 07 tshering Kobo Developer's Corner 644 03-02-2017 06:40 AM


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


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