Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-21-2023, 09:04 AM   #1
305869
Connoisseur
305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.
 
Posts: 95
Karma: 28346
Join Date: Mar 2023
Device: Kobo Libra 2, Boox Leaf 7"
Front light controls don't work on Boox Leaf

KOReader frontlight controls don't seem to work on Boox Leaf. Does anyone know if there is a fix?
305869 is offline   Reply With Quote
Old 04-21-2023, 04:18 PM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
https://github.com/koreader/koreader/issues/8482
pazos is offline   Reply With Quote
Advert
Old 04-21-2023, 04:22 PM   #3
305869
Connoisseur
305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.
 
Posts: 95
Karma: 28346
Join Date: Mar 2023
Device: Kobo Libra 2, Boox Leaf 7"
Quote:
Originally Posted by pazos View Post
>To test drivers go to "Tools" -> "More Tools" -> "Developer options" -> "Start compatibility test" in KOReader FM.
I can't do this test because I don't have Developer options under that menu.
305869 is offline   Reply With Quote
Old 04-21-2023, 04:23 PM   #4
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
FM means File Manager, not within a document.
pazos is offline   Reply With Quote
Old 04-21-2023, 04:29 PM   #5
305869
Connoisseur
305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.
 
Posts: 95
Karma: 28346
Join Date: Mar 2023
Device: Kobo Libra 2, Boox Leaf 7"
Quote:
Originally Posted by pazos View Post
FM means File Manager, not within a document.
Thank you. I am really confused now because if I use "test lights" it can control them just fine. If I "test e-ink" it works if it's set to Onyx/Qualcomm. At the top it says "device already supported". However the frontlight control gestures don't affect the light at all. What should I do?
305869 is offline   Reply With Quote
Advert
Old 04-21-2023, 05:05 PM   #6
cellaris
Addict
cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.cellaris ought to be getting tired of karma fortunes by now.
 
Posts: 318
Karma: 1830473
Join Date: Mar 2013
Location: Spain
Device: Kindle, Kobo, PocketBook, Tolino, Onyx Boox, Bigme.
(Deleted).

Last edited by cellaris; 04-21-2023 at 05:08 PM.
cellaris is offline   Reply With Quote
Old 04-21-2023, 05:12 PM   #7
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
So the frontlight widget works as is but gestures don't work?

It probably means the touch events near the border are eaten by some system thingy and they're never forwarded to the application.

No idea if it can be fixed but I'm fairly sure that cannot be fixed at the application level (maybe workarounded by making the left zone wider)

You might get some luck asking in the onyx subforum. Hopefully there's a toggable setting somewhere.
pazos is offline   Reply With Quote
Old 04-21-2023, 05:19 PM   #8
305869
Connoisseur
305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.
 
Posts: 95
Karma: 28346
Join Date: Mar 2023
Device: Kobo Libra 2, Boox Leaf 7"
Quote:
Originally Posted by pazos View Post
So the frontlight widget works as is but gestures don't work?

It probably means the touch events near the border are eaten by some system thingy and they're never forwarded to the application.

No idea if it can be fixed but I'm fairly sure that cannot be fixed at the application level (maybe workarounded by making the left zone wider)

You might get some luck asking in the onyx subforum. Hopefully there's a toggable setting somewhere.
No, the frontlight widget doesn't work either. Only the test controls in the dev options work. I'm confused why it says device is supported in the dev compatibility test when the frontlight adjustment in koreader doesn't work at all.
305869 is offline   Reply With Quote
Old 04-22-2023, 05:24 AM   #9
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by 305869 View Post
No, the frontlight widget doesn't work either. Only the test controls in the dev options work. I'm confused why it says device is supported in the dev compatibility test when the frontlight adjustment in koreader doesn't work at all.
That's better!

"Supported" means that the strings used to identify the device are already in the whitelist paired with one or more drivers.

Just below the "supported" you can see which drivers it uses for eink and lights. In your case is (from https://github.com/koreader/koreader...ent-1518263493)

Code:
04-21 21:24:10.792 I/EPD     ( 4363): Using Onyx/Qualcomm driver
04-21 21:24:10.792 I/Lights  ( 4363): Using Generic driver
So the device is already supported (for eink in this case) but needs to use the proper driver for lights.

The driver is missing from your repport but I'm going to assume is "something Onyx" or "something Qualcomm"
pazos is offline   Reply With Quote
Old 04-22-2023, 05:46 AM   #10
305869
Connoisseur
305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.
 
Posts: 95
Karma: 28346
Join Date: Mar 2023
Device: Kobo Libra 2, Boox Leaf 7"
Quote:
Originally Posted by pazos View Post
That's better!

"Supported" means that the strings used to identify the device are already in the whitelist paired with one or more drivers.

Just below the "supported" you can see which drivers it uses for eink and lights. In your case is (from https://github.com/koreader/koreader...ent-1518263493)

Code:
04-21 21:24:10.792 I/EPD     ( 4363): Using Onyx/Qualcomm driver
04-21 21:24:10.792 I/Lights  ( 4363): Using Generic driver
So the device is already supported (for eink in this case) but needs to use the proper driver for lights.

The driver is missing from your repport but I'm going to assume is "something Onyx" or "something Qualcomm"
Thank you. I've added the drivers to my report. This is what the compatibility screen looks like for me: https://i.imgur.com/OLMr3E9.png

So do I have to wait for an update to KOReader that will fix the frontlight controls for this device? Or is there a way to make it use the appropriate driver? Sorry I'm new to all this.
305869 is offline   Reply With Quote
Old 04-24-2023, 05:41 PM   #11
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by 305869 View Post
So do I have to wait for an update to KOReader that will fix the frontlight controls for this device? Or is there a way to make it use the appropriate driver? Sorry I'm new to all this.
Hi. Sorry for the delay

You'll need to wait a few days. There's no other way of forcing a driver.

The link in my first answer contains hints for people to contribute patches, is not that hard and it will make the whole process faster. Is not mandatory if you can wait
pazos is offline   Reply With Quote
Old 04-25-2023, 09:17 AM   #12
305869
Connoisseur
305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.
 
Posts: 95
Karma: 28346
Join Date: Mar 2023
Device: Kobo Libra 2, Boox Leaf 7"
Quote:
Originally Posted by pazos View Post
Hi. Sorry for the delay

You'll need to wait a few days. There's no other way of forcing a driver.

The link in my first answer contains hints for people to contribute patches, is not that hard and it will make the whole process faster. Is not mandatory if you can wait
Thank you for the response.
I am not a developer. But I looked at android-luajit-launcher commits for a bit.
It seems like maybe in app/src/main/java/org/koreader/launcher/device/LightsFactory.kt the line 27
Code:
DeviceInfo.LightsDevice.ONYX_LEAF,
just needs to be removed so that the generic light drivers are used.
But I am not sure and I have no way to test. Does this seem right to you?
If it's that simple I would be happy to submit a pull request. Otherwise I will wait for someone more knowledgeable to do it.
305869 is offline   Reply With Quote
Old 04-25-2023, 12:35 PM   #13
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by 305869 View Post
Thank you for the response.
I am not a developer. But I looked at android-luajit-launcher commits for a bit.
It seems like maybe in app/src/main/java/org/koreader/launcher/device/LightsFactory.kt the line 27
Code:
DeviceInfo.LightsDevice.ONYX_LEAF,
just needs to be removed so that the generic light drivers are used.
But I am not sure and I have no way to test. Does this seem right to you?
If it's that simple I would be happy to submit a pull request. Otherwise I will wait for someone more knowledgeable to do it.
Hi, nope. It doesn't look good.

Generic is the default light driver that's assigned to every android device unless overriden by specific device definitions.

You need to add your device name to the lightsMap and assing the proper controller in LightsFactory (onyx warmth).

Pretty much like in https://github.com/koreader/android-...ca6e664cea40a4, except you don't need to touch the device definition & match because it is already there.

Please give me a few days.
pazos is offline   Reply With Quote
Old 04-25-2023, 12:37 PM   #14
305869
Connoisseur
305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.305869 solves Fermat’s last theorem while doing the crossword.
 
Posts: 95
Karma: 28346
Join Date: Mar 2023
Device: Kobo Libra 2, Boox Leaf 7"
Quote:
Originally Posted by pazos View Post
Hi, nope. It doesn't look good.

Generic is the default light driver that's assigned to every android device unless overriden by specific device definitions.

You need to add your device name to the lightsMap and assing the proper controller in LightsFactory (onyx warmth).

Pretty much like in https://github.com/koreader/android-...ca6e664cea40a4, except you don't need to touch the device definition & match because it is already there.

Please give me a few days.
Understood. Thanks for the clarification. Take your time. I was just hoping to be able to help, I am in no rush at all
305869 is offline   Reply With Quote
Old 04-25-2023, 05:08 PM   #15
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Actually my bad as I forgot to add the device to the proper map. All the rest was already there.


It should work with just: https://github.com/koreader/android-...pull/414/files
pazos is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Libra Slide on the left to control front-light - How to make it work the way it should? Almamida Kobo Reader 16 03-02-2021 08:43 PM
front light control is not working in kitkat 4.4 on Onyx Boox i86 Plus Ramana Onyx Boox 0 12-19-2018 03:57 AM
Updated N96ML to Android 4.4 - Front light doesn't work?! stardest Onyx Boox 2 10-20-2018 12:29 PM
Front light controls for H2O? Techno KOReader 7 05-06-2017 04:11 AM
ONYX BOOX N96 ML Front Light verses Hanvon E930 teotjunk Which one should I buy? 9 12-12-2016 02:23 AM


All times are GMT -4. The time now is 09:30 PM.


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