Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2019, 10:30 AM   #1
BloodRagg
Enthusiast
BloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-books
 
Posts: 44
Karma: 766
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: 8,309
Karma: 10777779
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
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
Old 03-05-2019, 02:20 PM   #3
BloodRagg
Enthusiast
BloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-books
 
Posts: 44
Karma: 766
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: 8,309
Karma: 10777779
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
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
Enthusiast
BloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-books
 
Posts: 44
Karma: 766
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
Old 03-06-2019, 07:54 AM   #6
pazos
cosiñeiro
pazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watchpazos is clearly one to watch
 
Posts: 102
Karma: 10628
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
Fanatic
Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.
 
Posts: 568
Karma: 115024
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: 8,309
Karma: 10777779
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
(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
Fanatic
Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.
 
Posts: 568
Karma: 115024
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: 8,309
Karma: 10777779
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
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
Enthusiast
BloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-books
 
Posts: 44
Karma: 766
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
Fanatic
Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.
 
Posts: 568
Karma: 115024
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
Enthusiast
BloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-booksBloodRagg has learned how to read e-books
 
Posts: 44
Karma: 766
Join Date: Feb 2019
Device: none
@Frenzie np mate
BloodRagg is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:40 PM.


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