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 10-15-2017, 06:15 AM   #811
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 JSWolf View Post
If KSM is working, does that mean that KOReader can then be made to work?
As soon as I have information that KSM works I will ask whether somebody would like to test koreader. I did not look whether koreader has already been updated for H2O2, but only for testing whether the touch input works, we can apply a simple workaround.
tshering is offline   Reply With Quote
Old 10-15-2017, 06:37 AM   #812
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,816
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by tshering View Post
As soon as I have information that KSM works I will ask whether somebody would like to test koreader. I did not look whether koreader has already been updated for H2O2, but only for testing whether the touch input works, we can apply a simple workaround.
Here's hoping KSM works.
JSWolf is online now   Reply With Quote
Old 10-16-2017, 12:26 AM   #813
geekraver
Addict
geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.
 
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
Nope, still not responding to touch events.
geekraver is offline   Reply With Quote
Old 10-16-2017, 09:56 AM   #814
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
H2O2 touch plugin cantains one hardcode:

Code:
case ABS_MT_POSITION_X:
   if ( 0 == trId )
      state.setX(1440 - in.value); // TODO: remove hardcode
   break;
and probably will work correctly only if

/sys/class/graphics/fb0/rotate = 0

I have always 0 and use -display:transformed for rotation.
sergeyvl12 is offline   Reply With Quote
Old 10-16-2017, 04:02 PM   #815
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 sergeyvl12 View Post
H2O2 touch plugin cantains one hardcode:

Code:
case ABS_MT_POSITION_X:
   if ( 0 == trId )
      state.setX(1440 - in.value); // TODO: remove hardcode
   break;
and probably will work correctly only if

/sys/class/graphics/fb0/rotate = 0

I have always 0 and use -display:transformed for rotation.
Thank you, Sergey! It is nice that you visit more often now Mobileread.
For the H2O2 with /sys/class/graphics/fb0/rotate = 0, one has to use
Code:
export QWS_DISPLAY=Transformed:KoboFB:Rot270
Is this correct?

Last edited by tshering; 10-17-2017 at 01:19 PM.
tshering is offline   Reply With Quote
Old 10-16-2017, 04:06 PM   #816
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 geekraver View Post
Nope, still not responding to touch events.
I updated the patch file again. I am curious whether it works this time.
tshering is offline   Reply With Quote
Old 10-16-2017, 11:04 PM   #817
geekraver
Addict
geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.
 
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
Unfortunately no, still no touch events.
geekraver is offline   Reply With Quote
Old 10-17-2017, 03:23 AM   #818
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 geekraver View Post
Unfortunately no, still no touch events.
Was at least the screen orientation right?
tshering is offline   Reply With Quote
Old 10-17-2017, 09:25 AM   #819
geekraver
Addict
geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.geekraver ought to be getting tired of karma fortunes by now.
 
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
Yes, screen orientation was correct.
geekraver is offline   Reply With Quote
Old 10-17-2017, 09:50 AM   #820
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
Hi there,
Stupid question but I need to be sure : did I have to install the patch on ksm08 if I run on gloHD with firmware 3.14.0 ?
Regards,
cramoisi is offline   Reply With Quote
Old 10-17-2017, 12:03 PM   #821
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,759
Karma: 731681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I'm pretty sure KSM7 should be just fine on that. (Or in other words: no, you don't need a patch to bring KSM8 up to date. :P)
Frenzie is offline   Reply With Quote
Old 10-17-2017, 01:26 PM   #822
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 cramoisi View Post
Hi there,
Stupid question but I need to be sure : did I have to install the patch on ksm08 if I run on gloHD with firmware 3.14.0 ?
Regards,
It is not necessary, but I would recommend it. And if it is only for avoiding troubles in case the device updates by mistake to a more recent firmware.
tshering is offline   Reply With Quote
Old 10-17-2017, 02:06 PM   #823
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Quote:
Originally Posted by tshering View Post
Thank you, Sergey! It is nice that you visit more often now Mobileread.
For the H2O2 with /sys/class/graphics/fb0/rotate = 0, one has to use
Code:
export QWS_DISPLAY=Transformed:KoboFB:Rot270
Is this correct?
Yes, right. Transformed driver uses counter clockwise rotation.

By the way,

export QWS_MOUSE_PROTO=KoboTS_h2o2:debug

will print events from touch screen and result mouse events to stdout.

Last edited by sergeyvl12; 10-17-2017 at 02:16 PM.
sergeyvl12 is offline   Reply With Quote
Old 10-17-2017, 02:09 PM   #824
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 sergeyvl12 View Post
Right
I still did not get it working. Do you have any ideas what I could do wrong? By the way I only replaced the mouse driver with the new one, should I have replaced some other files too?

Last edited by tshering; 10-17-2017 at 02:12 PM.
tshering is offline   Reply With Quote
Old 10-17-2017, 02:22 PM   #825
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Quote:
Originally Posted by tshering View Post
I still did not get it working. Do you have any ideas what I could do wrong? By the way I only replaced the mouse driver with the new one, should I have replaced some other files too?
This driver depends only on ScreenManager and SuspendManager. But you have them in KSM. I didn't change them for a long time.

There is only one idea. You should print debug info from driver.

export QWS_MOUSE_PROTO=KoboTS_h2o2:debug

myapp -qws -display.... > /mnt/onboard/debug.txt 2>&1

Another guess...

Driver has name: KoboTS_h2o2 (hardcoded inside) and probably ".so" file should be named libKoboTS_h2o2.so, but not libKoboTS.so. As far as sources are available you can try to change driver name inside...

tsplugin.cpp:

1. list << QLatin1String("KoboTS_h2o2");
2. if (key.toLower() == QLatin1String("kobots_h2o2"))

But on the other hand you are using the same approach to KoboTS_h2o driver and it works.

Last edited by sergeyvl12; 10-17-2017 at 02:32 PM.
sergeyvl12 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Kobo Start Menu 07 tshering Kobo Developer's Corner 644 03-02-2017 06:40 AM
QT Browser for Kobo Start Menu? gloriousglib Kobo Developer's Corner 1 05-24-2014 03:59 AM
Calibre start menu icon Cy1clown Calibre 1 02-06-2010 02:10 PM


All times are GMT -4. The time now is 04:27 PM.


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