03-17-2018, 02:35 PM | #106 |
Connoisseur
Posts: 74
Karma: 28960
Join Date: Oct 2017
Location: Paris
Device: KOBO Libra + H2Ov2 + Aura2
|
Click on "start plato"
screen is flashing once going back to ksm Disconnected from wifi suddenly crash.log: Code:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 6, message: "No such device or address" } }', /checkout/src/libco stack backtrace: 0: <unknown> 1: <unknown> 2: <unknown> 3: <unknown> 4: <unknown> 5: <unknown> 6: <unknown> 7: <unknown> 8: <unknown> 9: <unknown> 10: <unknown> 11: <unknown> 12: <unknown> 13: <unknown> 14: <unknown> 15: <unknown> 16: <unknown> 17: <unknown> 18: main 19: __libc_start_main |
03-17-2018, 04:04 PM | #107 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Could you please try with the attached unstripped debug build? (You need to replace the plato binary that lives in /mnt/onboard/.adds/plato with the one in the archive.) Thank you for your diligence. |
|
Advert | |
|
03-18-2018, 03:48 AM | #108 |
Connoisseur
Posts: 74
Karma: 28960
Join Date: Oct 2017
Location: Paris
Device: KOBO Libra + H2Ov2 + Aura2
|
You're welcome
Starting plato debug from KSM : Spoiler:
Good luck |
03-18-2018, 05:22 AM | #109 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Could you run and provide the output of the following commands: Code:
ls -d /sys/class/backlight/* ls /sys/class/backlight/*/color I'm asking this because I noticed that, on the Aura ONE, I have 5 lm3630a directories and the ones that correspond to the white/red/green lights do not hold a color file. And if I try to write something to the brightness file of one of the other directories, it fails with: sh: write error: No such device or address. Last edited by baskerville; 03-18-2018 at 05:29 AM. |
|
03-18-2018, 07:30 AM | #110 |
Connoisseur
Posts: 74
Karma: 28960
Join Date: Oct 2017
Location: Paris
Device: KOBO Libra + H2Ov2 + Aura2
|
Code:
12:20 root@koboH2O2:/mnt/onboard/.adds/koreader> ls -d /sys/class/backlight/* /sys/class/backlight/lm3630a_led /sys/class/backlight/lm3630a_leda /sys/class/backlight/lm3630a_ledb /sys/class/backlight/mxc_msp430_fl.0 12:20 root@koboH2O2:/mnt/onboard/.adds/koreader> ls /sys/class/backlight/*/color /sys/class/backlight/lm3630a_led/color |
Advert | |
|
03-18-2018, 09:17 AM | #111 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
The following command: Code:
echo 0 > /sys/class/backlight/lm3630a_led/brightness Could you provide the output of the following command: Code:
lsof | grep nickel |
|
03-18-2018, 03:22 PM | #112 |
Connoisseur
Posts: 74
Karma: 28960
Join Date: Oct 2017
Location: Paris
Device: KOBO Libra + H2Ov2 + Aura2
|
from ksm :
Code:
20:16 root@koboH2O2:/mnt/onboard/.adds/koreader> echo 0 > /sys/class/backlight/lm3630a_led/brightness sh: write error: No such device or address 20:16 root@koboH2O2:/mnt/onboard/.adds/koreader> lsof | grep nickel 20:17 root@koboH2O2:/mnt/onboard/.adds/koreader> Spoiler:
|
03-18-2018, 04:26 PM | #113 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
I'll post instructions on how to capture the relevant ioctl calls. |
|
03-18-2018, 04:58 PM | #114 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
In the meantime, could you try this script:
Code:
#! /bin/sh BKL=/sys/class/backlight LM="$BKL"/lm3630a_led echo 50 > "$BKL"/mxc_msp430_fl.0/brightness echo 0 > "${LM}a"/brightness echo 0 > "${LM}a"/bl_power echo 150 > "${LM}b"/brightness echo 31 > "${LM}b"/bl_power sleep 3 echo 150 > "${LM}a"/brightness echo 31 > "${LM}a"/bl_power echo 0 > "${LM}b"/brightness echo 0 > "${LM}b"/bl_power sleep 3 echo 0 > "${LM}a"/brightness echo 0 > "${LM}a"/bl_power echo 0 > "$BKL"/mxc_msp430_fl.0/brightness And provide the perceived light tint for each of the two frontlight states that it triggers? |
03-19-2018, 05:43 AM | #115 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Here are the instructions to capture the ioctl calls emitted by Nickel:
Percents don't need to be exact: you can interpret 0 %, 50 %, and 100 % as near to the beginning, middle, and end of the slider's range. |
03-19-2018, 07:02 AM | #116 |
Connoisseur
Posts: 74
Karma: 28960
Join Date: Oct 2017
Location: Paris
Device: KOBO Libra + H2Ov2 + Aura2
|
Log is attached here
|
03-19-2018, 01:05 PM | #117 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Thanks, I'm a bit puzzled, because the only relevant ioctl calls only have to do with the white light.
Let's go back to the sysfs approach. Since you mentioned that KOReader's natural light widget was working on the H₂O 2, I'm guessing that, the two actionable lights are enough. On the Aura ONE, I can control the following lights:
Since you only have two writable pseudo-file, I suppose that the H₂O 2 might be using a different lightning system which might explain the absence of red/green blotches. Could you run the attached script on your device? Your screen should emit two lights that last for 3 seconds each: can you describe the color of those lights? |
03-19-2018, 01:46 PM | #118 |
Connoisseur
Posts: 74
Karma: 28960
Join Date: Oct 2017
Location: Paris
Device: KOBO Libra + H2Ov2 + Aura2
|
on ksm :
first, orange with full brightness second : white full brightness third : no light |
03-19-2018, 03:28 PM | #119 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
One last test: when you run the attached script, do you see a series of oranges of various intensities, or does it start yellow and drifts towards orange? |
|
03-19-2018, 03:57 PM | #120 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Here's another debug build that should no longer crash.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 568 | 06-22-2024 03:07 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | KOReader | 1219 | 01-27-2024 02:29 PM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 08:16 PM |