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-06-2018, 04:38 PM   #286
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: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@CH23: Nope, KOReader does touch all on its own.
NiLuJe is offline   Reply With Quote
Old 06-06-2018, 04:54 PM   #287
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: Nope, KOReader does touch all on its own.
Good to know, then i'll see if i can figure out how/where/why
CH23 is offline   Reply With Quote
Old 06-06-2018, 05:37 PM   #288
hel
Sorceress
hel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to beholdhel is a splendid one to behold
 
hel's Avatar
 
Posts: 169
Karma: 19604
Join Date: Nov 2006
Location: Montreal
Device: Kobo Libra Colour, Boox Air2&Nova 3C, Kindle, Sony, and more
Quote:
Originally Posted by tshering View Post
Please select "handle update", and then "KR install controlled". But do it only if your battery is sufficiently charged. Then wait until the reader restarts (this will take some time, do not worry), and you see the KSM menu again.
Thank you so much!
This worked.
All is good now!
hel is offline   Reply With Quote
Old 06-06-2018, 09:38 PM   #289
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: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@CH23: Mostly over here.

Which means we also need to know the codename, but that's as easy as running /bin/kobo_config.sh .
NiLuJe is offline   Reply With Quote
Old 06-07-2018, 12:45 AM   #290
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: Mostly over here.

Which means we also need to know the codename, but that's as easy as running /bin/kobo_config.sh .
Kobo Nova is the codename.

I tried to set it up same as glo hd + naturallight, which gave me no touch control
then i tried the setup for the aura ONE, same result.

Also tried without defining touch properties.


What's interesting to note is that, while koreader was booting, it registered my finger fpr just long enough to bring up a menu. But then nothing.
CH23 is offline   Reply With Quote
Old 06-07-2018, 01:23 AM   #291
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
KOReader is working.

add to device.lua the following:

-- Kobo Clara HD:
local KoboNova = Kobo:new{
model = "Kobo_nova",
hasFrontlight = yes,
touch_snow_protocol = true,
touch_mirrored_x = false,
touch_probe_ev_epoch_time = true,
display_dpi = 300,
hasNaturalLight = yes,
}

and


elseif codename == "nova" then
return KoboNova

Last edited by CH23; 06-07-2018 at 05:53 AM.
CH23 is offline   Reply With Quote
Old 06-07-2018, 05:23 AM   #292
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
#CH23

KSM uses the touch driver provided in the pbchess package. Could you please contact the author, sergeyvl12, and offer your help? See this post. And here is his forum.
tshering is offline   Reply With Quote
Old 06-07-2018, 11:54 AM   #293
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
#CH23

KSM uses the touch driver provided in the pbchess package. Could you please contact the author, sergeyvl12, and offer your help? See this post. And here is his forum.
Could you tell me where i can find more info abou this? What code within KSM should i look at, or what code in pbchess?
CH23 is offline   Reply With Quote
Old 06-07-2018, 02:37 PM   #294
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
Could you tell me where i can find more info abou this? What code within KSM should i look at, or what code in pbchess?
The script etc/init.d/rcS exports based on the value of PRODUCT the name of the touch driver to be used for KSM as mousedriver.
The script adds/kbmenu/onstart/checkinstall.sh checks whether this touch driver is available in adds/kbmenu/Qt/plugins/mousedrivers. If it does not find it there, it tries to copy it from mnt/onboard/.adds/kbmenu_user/copyrepos.
Currently there are two touch drivers available in KSM: libKoboTS.so and libKoboTS_h2o2.so. Since your device model is not known to KSM it tries to use libKoboTS.so.

The source code of the drivers are here.

Last edited by tshering; 06-07-2018 at 04:47 PM.
tshering is offline   Reply With Quote
Old 06-07-2018, 04:00 PM   #295
HaoZeke
Enthusiast
HaoZeke began at the beginning.
 
HaoZeke's Avatar
 
Posts: 28
Karma: 10
Join Date: Jul 2014
Device: Kobo Aura HD
Quote:
Originally Posted by tshering View Post
Please extract KoboRoot.tgz and install it. I am somehow surprised that the mirrored touch input persisted.
Sadly this didn't change anything in terms of the framebuffer orientation...
HaoZeke is offline   Reply With Quote
Old 06-07-2018, 04:46 PM   #296
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 HaoZeke View Post
Sadly this didn't change anything in terms of the framebuffer orientation...
Just to be sure, did you press "handle update" and so on?
tshering is offline   Reply With Quote
Old 06-07-2018, 04:56 PM   #297
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
The script etc/init.d/rcS exports based on the value of PRODUCT the name of the touch driver to be used for KSM as mousedriver.
The script adds/kbmenu/onstart/checkinstall.sh checks whether this touch driver is available in adds/kbmenu/Qt/plugins/mousedrivers. If it does not find it there, it tries to copy it from mnt/onboard/.adds/kbmenu_user/copyrepos.
Currently there are two touch drivers available in KSM: libKoboTS.so and libKoboTS_h2o2.so. Since your device model is not known to KSM it tries to use libKoboTS.so.

The source code of the drivers are here.
I hoped it'd be easy. I've replaced 'snow' with 'snow|nova' within the rcS file.
It copies the libKoboTS_h2o2.so to the mousedrivers directory, but it doesn't seem to work directly.

I'll check to see where, within all files, 'snow' is used (as it seems that nova might be similar to it)

EDIT: I have touch control!

added nova to adds/kbmenu/onstart/ksmhome.sh

Right now touch is 'flipped' (when i touch in top left, it thinks i touch bottom left)

Last edited by CH23; 06-07-2018 at 05:22 PM.
CH23 is offline   Reply With Quote
Old 06-07-2018, 05:44 PM   #298
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
I hoped it'd be easy. I've replaced 'snow' with 'snow|nova' within the rcS file.
It copies the libKoboTS_h2o2.so to the mousedrivers directory, but it doesn't seem to work directly.

I'll check to see where, within all files, 'snow' is used (as it seems that nova might be similar to it)

EDIT: I have touch control!

added nova to adds/kbmenu/onstart/ksmhome.sh

Right now touch is 'flipped' (when i touch in top left, it thinks i touch bottom left)
Hava a look at this experiment. Try to reverse the values that you now have. ksmrotate=2 or 0; mrotation=90 or 180; remove QWS_MOUSE_PROTO=KoboTS from the command.
And of course, no need now to copy the driver.
tshering is offline   Reply With Quote
Old 06-07-2018, 06:52 PM   #299
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
Hava a look at this experiment. Try to reverse the values that you now have. ksmrotate=2 or 0; mrotation=90 or 180; remove QWS_MOUSE_PROTO=KoboTS from the command.
And of course, no need now to copy the driver.
I think we're misunderstanding eachother:

The screen is shown correctly, but touch is wrong:

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

The correct ksmrotate value is 2
The correct mrotate value is 270

I tried adding 'touch_mirrored_x = true,' to device.lua, but this does not seem to do anything

Last edited by CH23; 06-08-2018 at 01:38 AM.
CH23 is offline   Reply With Quote
Old 06-08-2018, 03:33 AM   #300
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
I think we're misunderstanding eachother:

The screen is shown correctly, but touch is wrong:

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
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.


Quote:
Originally Posted by CH23 View Post
I tried adding 'touch_mirrored_x = true,' to device.lua, but this does not seem to do anything
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.

Last edited by tshering; 06-08-2018 at 03:43 AM.
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 02:58 PM.


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