Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable kindle cover events turns itself OFF #11744

Open
Commodore64user opened this issue May 3, 2024 · 8 comments
Open

Disable kindle cover events turns itself OFF #11744

Commodore64user opened this issue May 3, 2024 · 8 comments
Labels

Comments

@Commodore64user
Copy link
Contributor

Commodore64user commented May 3, 2024

  • KOReader version: Sourdough (this happens in previous versions too)
  • Device: kindle voyage

Issue

Disable kindle cover events won't survive firmware updates or device restarts. It turns itself off.

Steps to reproduce

Toggle ON the option by going to “cog > device > disable kindle cover events” now press and hold the power button for 40 ish seconds (or update the firmware) wait for kindle to re start itself, launch kOReader once more and go back to “cog > device > disable kindle cover events”, now the option should be turned off (well technically it shouldn't but you get my drift).

@Frenzie Frenzie added the Kindle label May 3, 2024
@Commodore64user
Copy link
Contributor Author

Hey @hius07, could you check if your kindle does the same. Sorry i don't know anyone else with kindles here.

@benoit-pierre
Copy link
Contributor

Yep, same behavior on my Kindle Paperwhite.

@hius07
Copy link
Member

hius07 commented May 30, 2024

It's not a KOReader but Kindle system setting (the Hall sensor), rebooting resets it.

@benoit-pierre
Copy link
Contributor

But couldn't koreader reapply it on start?

@hius07
Copy link
Member

hius07 commented May 30, 2024

Sure it can, nobody requested the feature.

function KindlePowerD:onToggleHallSensor()
local stat = self:isHallSensorEnabled()
ffiUtil.writeToSysfs(stat and 0 or 1, self.hall_file)
end

@Commodore64user
Copy link
Contributor Author

I solemnly and officially request said feature.

@hius07
Copy link
Member

hius07 commented May 30, 2024

Author @yparitcher

@yparitcher
Copy link
Member

Exactly as @hius07 said.
I an not by my computer for a bit, so feel free to add such a toggle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants