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

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2024, 03:26 PM   #301
readern4vi
Junior Member
readern4vi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2024
Device: Kobo Libra Colour
Quote:
Originally Posted by NiLuJe View Post
@readern4vi: Like the poster above, you'll need to grab a current snapshot from a GitHub Action to get a binary that supports your device.
So do I need to compile the program again? Or just edit one of the files in the KoboRoot.tgz file?

I am not really sure how the github actions thing works.
readern4vi is offline   Reply With Quote
Old 10-15-2024, 05:34 PM   #302
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,154
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by readern4vi View Post
So do I need to compile the program again? Or just edit one of the files in the KoboRoot.tgz file?

I am not really sure how the github actions thing works.
OK. When I go to https://github.com/NiLuJe/FBInk one of the links is to Actions https://github.com/NiLuJe/FBInk/actions

Select the Action "Simplify that again" build #31 https://github.com/NiLuJe/FBInk/acti...ns/11161992771 and under "Artifacts" you'll see FBInk size 585 KB https://github.com/NiLuJe/FBInk/acti...cts/2010744175. Download that.
PeterT is offline   Reply With Quote
Old 10-15-2024, 06:30 PM   #303
readern4vi
Junior Member
readern4vi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2024
Device: Kobo Libra Colour
Quote:
Originally Posted by PeterT View Post
OK. When I go to https://github.com/NiLuJe/FBInk one of the links is to Actions https://github.com/NiLuJe/FBInk/actions

Select the Action "Simplify that again" build #31 https://github.com/NiLuJe/FBInk/acti...ns/11161992771 and under "Artifacts" you'll see FBInk size 585 KB https://github.com/NiLuJe/FBInk/acti...cts/2010744175. Download that.
Thank you. I created a github account and managed to download the FBInk file.

How do I install it on my kobo? Do I create a new zip file with the files named KoboRoot.tgz? or should I replace the files on the previous release with the ones in the new download?
readern4vi is offline   Reply With Quote
Old 10-15-2024, 11:41 PM   #304
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,154
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Normally one just copies the KoboRoot.tgz to the .kobo directory on the device and do a disconnect. the device will detect the file, install it and reboot.

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Old 10-16-2024, 11:46 AM   #305
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,452
Karma: 4753224
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@readern4vi
In that archive, all you need is a new fbink file (a binary).

Find, where such file is located in your Kobo (I presume it is in .adds/ folder somewhere?)

Make a backup of it (rename it) just in case.
Then put this new fbink in its place.

Script that require fbink will hopefully pick up the new binary when you launch them next time
mergen3107 is offline   Reply With Quote
Old 10-16-2024, 08:10 PM   #306
readern4vi
Junior Member
readern4vi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2024
Device: Kobo Libra Colour
@mergen3107 @PeterT

I couldn't find the FBink file on my kobo to replace (even after running a search for it) so instead I took the latest KoboRoot.tgz release and swapped out the files that matched, including FBink. After installing on my Libra Colour, the QR code works perfectly!

Thank you all for your help
readern4vi is offline   Reply With Quote
Old 10-17-2024, 12:00 AM   #307
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,573
Karma: 165170836
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by readern4vi View Post
@mergen3107 @PeterT

I couldn't find the FBink file on my kobo to replace (even after running a search for it) so instead I took the latest KoboRoot.tgz release and swapped out the files that matched, including FBink. After installing on my Libra Colour, the QR code works perfectly!

Thank you all for your help
Considering that when you look at FBInk-v1.25.0.zip and dig into the innards, (I used 7-Zip), you end up at usr which is on one of the Linux ext4 partitions with fbink and button_scan symlinks being copied into /usr/bin and the actual files being copied into /usr/local/fbink and several subdirectories of /usr/local/fbink, it's not a surprise that a search found nothing.

You can see them by telnet or SSH to your Kobo.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-10-16 205824.png
Views:	214
Size:	9.0 KB
ID:	211452   Click image for larger version

Name:	Screenshot 2024-10-16 205757.png
Views:	192
Size:	21.5 KB
ID:	211453  
DNSB is online now   Reply With Quote
Old 11-13-2024, 10:23 PM   #308
enthdegree
Member
enthdegree began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Jun 2014
Device: none
For a VT port I'm including FBInk exclusively to call screen refresh. A few questions:
  • Are some refresh calls significantly more power-hungry than others? Right now I'm updating the screen by putting a flag up. Another thread loops "sleep, then if the flag is up do a FBink full screen refresh." Settings struct is full of zeros. I'm worried this is expensive.
  • Are there examples of including this library in a project? My current approach includes a whole standalone copy of FBink in the program's local environment.
  • Maybe not the place but not sure where else to ask... is there a common packaging example to adapt from? The VT needs a wrapper to manage exit + keep the stock UI from sleeping, overwriting the framebuffer, etc.

Thanks!

Last edited by enthdegree; 11-14-2024 at 11:27 PM.
enthdegree is offline   Reply With Quote
Old 11-20-2024, 05:38 PM   #309
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,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@enthdegree:

1. It depends ;o). But generally, no, you don't want to refresh in full. (The issue isn't going to be power so much as performance, though). The waveform mode enum has a lot of info about dos and don'ts in fbink.h if you want more context.

2. a submodule and a static link? c.f., InkVT as a potential example (or, well, KFMon, would perhaps be easier to follow).

3. I would punt that off to the user, unless you like maintaining horrible-to-maintain stuff. In which case, something based on KOReader's startup script.
NiLuJe is offline   Reply With Quote
Old 01-31-2025, 10:03 AM   #310
jagaliano
Junior Member
jagaliano began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2025
Device: Kobo Libra Colour
The fbink link for Libra Colour in GitHub Action has expired. Could you please provide a new one? Please note that am not programmer and I do not know how to use GitHub.

Thank you.
jagaliano 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
Aura HD Small tool for filling book library in Kobo Aura Paxerus Kobo Developer's Corner 2 12-31-2013 07:05 PM
Small print Broadback Conversion 12 12-12-2011 02:31 PM
Small Tool to change book order (PRS-x50) goaspy Sony Reader 113 10-14-2011 03:28 PM
small print breezeman Introduce Yourself 13 07-03-2011 09:02 AM


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


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