Skip to content

Pocketbook OS integration #6597

Description

@ezdiy

Currently, pocketbook OS integration is shoddy at best, large part of it being bitrotten. This issue is to track tasks that need to be done to fix this.

  • Open on power-on book in /mnt/ext1/system/state/current.
  • Poweroff decal screensaver (book cover, or whatever) burned to screen right before powering off is in /mnt/ext1/system/logo/bookcover.
  • Poweron decal screencap koreader just before poweroff into /mnt/ext1/system/logo/bootlogo/
  • Retain screen on de-focus Quite likely needed for the two above. Currently our screen blanks when OS switches focus away from us, because OS assumes we use inkview provided back-buffer.
  • Switch book - when koreader is in background, and new book opened from explorer = discover the background instance, and tell it to open the book. While this could be done through event pipe in the past, that one is gone for good, so we need some new way to ping the task. Just SIGUSR1 + filename in /tmp might do?
  • History - it's possible to keep the explorer synchronized with us by telling it books we're opening via AddLastOpen(). Bonus: Make it stop indexing random crap.
  • Exit options - restart koreader is borked. Others like poweroff device also have OS API.
  • File associations - instead of shipping extensions.cfg, which depends on fw version, parse system extensions (or user extensions if exist), and append koreader.app to the begin/end of supported apps for each supported file.
  • Wifi annoyances The way OS handles wifi is supremely annoying, so come up with something so as to not have to babysit connect/disconnect states all the time.

ref #6321

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions