Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2019, 10:30 AM   #1
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Where can i report bugs ?

Where can i report bugs ? My kobo has no wifi and i have no github account.

the sftp-server is hardcoded in the dropbear binary as /mnt/onboard/.adds/koreader/sftp-server instead of ./sftp-server.


Last edited by BloodRagg; 03-05-2019 at 10:33 AM.
BloodRagg is offline   Reply With Quote
Old 03-05-2019, 11:20 AM   #2
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
By design for... (annoying) reasons.

Last edited by NiLuJe; 03-05-2019 at 11:25 AM. Reason: Dug up the issue #
NiLuJe is offline   Reply With Quote
Advert
Old 03-05-2019, 02:20 PM   #3
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Ahh.. too bad...its the only file left in my .adds folder.

Some other bugs i found
  • If /mnt/onboard/.kobo/Kobo/Kobo eReader.conf doesnt exist, koreader crashes.
  • If PRODUCT isnt set, koreader crashes.
  • If WIFI_MODULE isnt set, koreader crashes (when network is selected in menu).
  • If koreader is start without KSM or nickel, screen is upside down for AuraHD
    (fix: case "$PCB" in E606C*) echo 0 > /sys/class/graphics/fb0/rotate;;esac )
  • AuraHD doesnt have Ondemand or Interactive scheduler.

Other than that, I'm really enjoying it
BloodRagg is offline   Reply With Quote
Old 03-05-2019, 03:16 PM   #4
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Running without Nickel or pickel or ntx_hwconfig is not a supported configuration. There's okreader for that .

(Handling those issues on our own would be fragile, error-prone, and basically reinventing the wheel for, again, an unsupported setup. Incidentally, that's why okreader's hardware support is limited).

As far as CPU schedulers go, it probably doesn't ship with interactive, that's to be expected, but it *should* offer ondemand, though.
In any case, on that front, the startup script is designed to do nothing if nothing sensible is possible on the current HW. Which might indeed be the case on <= Mk.5 devices, given how defensively I coded that after a few rounds of tests on various older models.

Last edited by NiLuJe; 03-05-2019 at 03:26 PM.
NiLuJe is offline   Reply With Quote
Old 03-06-2019, 05:47 AM   #5
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Quote:
Originally Posted by NiLuJe View Post
Running without Nickel or pickel or ntx_hwconfig is not a supported configuration. There's okreader for that .
OKreader ... Ohh nice
Im still using ntx_hwconfig and the koreader.sh suggests otherwise (see reboot clause), but ill take your word for it . BTW this support isn't for me, i just wanted to contribute something back. I will setup a github account and do some PR's if i can find the time.

What is do not understand though is why one would use the variables from rcS instead of relying solely on ntx_config. Because when i look at the default rcS

Quote:
Originally Posted by NiLuJe View Post
(Handling those issues on our own would be fragile, error-prone, and basically reinventing the wheel for, again, an unsupported setup. Incidentally, that's why okreader's hardware support is limited).
I always reinvent the wheel, then you have something to bring to the table later on

Quote:
Originally Posted by NiLuJe View Post
As far as CPU schedulers go, it probably doesn't ship with interactive, that's to be expected, but it *should* offer ondemand, though.
In any case, on that front, the startup script is designed to do nothing if nothing sensible is possible on the current HW. Which might indeed be the case on <= Mk.5 devices, given how defensively I coded that after a few rounds of tests on various older models.
Yeah that is weird isnt it, but ill give you the ouput
[root@(none)]# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
conservative powersave userspace performance

BloodRagg is offline   Reply With Quote
Advert
Old 03-06-2019, 07:54 AM   #6
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,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by BloodRagg View Post
OKreader ... Ohh nice
Im still using ntx_hwconfig and the koreader.sh suggests otherwise (see reboot clause), but ill take your word for it
Running KOReader by using other launcher is supported (ie: launching KOReader via telnet/ssh) but KOReader expects a working Kobo filesystem (including their "weird" drivers path and their binaries)

Quote:
Originally Posted by BloodRagg View Post
What is do not understand though is why one would use the variables from rcS instead of relying solely on ntx_config. Because when i look at the default rcS
Repurposing system environment variables is a good thing on a device which should retain compatibility with stock firmware and other 3rd party software.

If you want to make KOReader available on other kind of systems you can create a "koreader-standalone.sh", like we do on BQ Cervantes devices: https://github.com/koreader/koreader...-standalone.sh and get your environment variables there.
pazos is offline   Reply With Quote
Old 03-06-2019, 09:26 AM   #7
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,615
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by BloodRagg View Post
Ahh.. too bad...its the only file left in my .adds folder.

Some other bugs i found
  • If /mnt/onboard/.kobo/Kobo/Kobo eReader.conf doesnt exist, koreader crashes.
  • If PRODUCT isnt set, koreader crashes.
  • If WIFI_MODULE isnt set, koreader crashes (when network is selected in menu).
  • If koreader is start without KSM or nickel, screen is upside down for AuraHD
    (fix: case "$PCB" in E606C*) echo 0 > /sys/class/graphics/fb0/rotate;;esac )
  • AuraHD doesnt have Ondemand or Interactive scheduler.
Some of those may be easy to fix (especially the first one strikes me as most likely a complete non-issue), but you'd have to do it through a PR and/or giving us a backtrace. (Read: I'm not going to strip my device of Nickel stuff, even if this particular change could probably be tested with a quick rename. )

PRODUCT and to a lesser extent WIFI_MODULE seem to located more in the realm of fundamental necessities. I have considered implementing a "generic fallback Kobo" with a warning message instead of erroring out (so that in some cases a new device could work out of the box) but that'd still depend on the presence some Kobo stuff regardless.

Screen upside down might well be an issue in KSM at the moment with NiLuJe's latest 8-bit change, see here.

Last edited by Frenzie; 03-06-2019 at 09:28 AM.
Frenzie is offline   Reply With Quote
Old 03-06-2019, 12:29 PM   #8
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
(Nope, upside down is because pickel/Nickel hasn't been run and as thus the device is in the boot rota, which we never expect/support).
NiLuJe is offline   Reply With Quote
Old 03-06-2019, 12:53 PM   #9
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,615
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
KOReader isn't upside down, but it turns KSM upside down on exit due to fbset.

This line here also needs to restore rotation afterward due to the issue I linked:
https://github.com/koreader/koreader...r.sh#L211-L214
Frenzie is offline   Reply With Quote
Old 03-06-2019, 01:03 PM   #10
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Ha, that's another thing entirely, I missed the gitter link, and was talking about the OP's report only .

Unlike fbset, fbdepth tries *really hard* to keep the rotation as-is, kernel shenanigans included (easier said than done ;p). I'd be curious to have a look at the crash.log on an affected system (since fbdepth will log everything in there)!

EDIT: Ah, and the messed up FBInk prints quite possible make sense in that context, I overlooked that, I'll have to think about how to handle that...

Last edited by NiLuJe; 03-06-2019 at 01:29 PM.
NiLuJe is offline   Reply With Quote
Old 03-06-2019, 01:36 PM   #11
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Quote:
Originally Posted by Frenzie View Post
Some of those may be easy to fix (especially the first one strikes me as most likely a complete non-issue), but you'd have to do it through a PR and/or giving us a backtrace. (Read: I'm not going to strip my device of Nickel stuff, even if this particular change could probably be tested with a quick rename. )
Indeed non-issues, but a robust script goes a long way
I made a PR to pull all ntx_hwconfig values into the environment, its a good base.

Quote:
Originally Posted by Frenzie View Post
PRODUCT and to a lesser extent WIFI_MODULE seem to located more in the realm of fundamental necessities. I have considered implementing a "generic fallback Kobo" with a warning message instead of erroring out (so that in some cases a new device could work out of the box) but that'd still depend on the presence some Kobo stuff regardless.


Quote:
Originally Posted by Frenzie View Post
Screen upside down might well be an issue in KSM at the moment with NiLuJe's latest 8-bit change, see here.
Im not running KSM (koreader only)
BloodRagg is offline   Reply With Quote
Old 03-06-2019, 02:58 PM   #12
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,615
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
@BloodRagg I phrased that somewhat badly I suppose. I meant complete non-issue in the sense that it'd take no time at all to fix.
Frenzie is offline   Reply With Quote
Old 03-08-2019, 10:28 AM   #13
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
@Frenzie np mate
BloodRagg is offline   Reply With Quote
Old 04-29-2019, 10:20 AM   #14
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Quote:
Originally Posted by BloodRagg View Post
  • If /mnt/onboard/.kobo/Kobo/Kobo eReader.conf doesnt exist, koreader crashes.
Still crashed on this one ,
Whats the reason behind the custom tar binary ?
BloodRagg is offline   Reply With Quote
Old 04-29-2019, 12:15 PM   #15
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
busybox's tar doesn't support checkpoints, and/or isn't actually there on some target platforms, and/or doesn't support something else that I can't remember OTOH.
NiLuJe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to report bugs to Kobo? Lucas Malor Kobo Reader 9 10-29-2013 10:28 PM
Best place to report bugs? monk127 Kobo Tablets 1 11-24-2011 06:12 PM
Dingo Bugs - Report them here borisb enTourage Archive 102 11-04-2010 12:22 PM
Report Issues and Bugs with Delstar OpenBook here jswinden More E-Book Readers 13 03-18-2010 10:38 AM
How to report bugs in Adobe Digital Editions (ADE) pdurrant ePub 1 09-04-2009 12:03 PM


All times are GMT -4. The time now is 02:11 PM.


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