Matej Mihelič
6600410c08
Aura One support
8 years ago
Hzj_jie
da2c57f93a
Automatically connect WIFI after Kobo has been resumed ( #2215 )
...
* Add bash scripts to control WIFI / IP, so we can share them with frontend/device/kobo/device.lua.
* add test cases
8 years ago
chrox
9afad43a3e
refactoring utils to tools as discussed in #2197
8 years ago
NiLuJe
2013a66fdd
Some more Kobo suspend tweaks...
...
Disable wakeup_count handling, that's often causing more harm than
anything else...
Nickel doesn't even use it, that should have been a hint ;).
Make the logging slightly less confusing.
Add commented out debug features (dumping relevant dmesg output).
Re #2188
8 years ago
Qingping Hou
20eb36a03d
feat: add network management UI for kobo
8 years ago
Qingping Hou
44d62f6f41
networkmanager: move device specific code into device module
8 years ago
Qingping Hou
38a1758889
kobo: detect non-epoch timestamp using current second
8 years ago
Qingping Hou
82a3e0f9ad
automatically adjust ev time for kobo touch
8 years ago
NiLuJe
103e4eaeb8
Use the GloHD quirks on the Touch 2.0...
...
re #2005
9 years ago
NiLuJe
9a7c46e8f5
Unbreak previous commit
...
Weeeeee!
9 years ago
NiLuJe
467e65be3d
Don't crash on the Kobo Touch 2.0
...
I wouldn't go so far as to say "support", though, since I don't have the
device, and the touch protocol might be wrong ;).
re #2005
9 years ago
Cosmin Gorgovan
19338cb439
Kobo: Offer to power off if the power button is held for at least 3 seconds
9 years ago
Zijie He
f33f78cf08
Add an ignore_power_sleepcover setting to ignore Kobo power_sleepcover keycode
9 years ago
Hzj_jie
1be9264a0c
Resolve review comments
9 years ago
Zijie He
7d4bd076f7
Resolve review comments
9 years ago
NiLuJe
f43cbc74e6
Always forcibly wake the H2O IR grid on wakeup
...
Fix #1862
Fix #1943
9 years ago
Qingping Hou
eb37d9b8b6
kobo: fix screen probe for touch
9 years ago
Qingping Hou
c35aad3ae1
fix(kobo): return 0 frontlight level config to signal frontlight off state
9 years ago
Qingping Hou
824bdb4463
comment for kobo sleep
9 years ago
Zijie He
767e6e2b71
Add a sleep after kobo resume to resolve partial blank screen issue ( #1874 )
9 years ago
Qingping Hou
e812f7d0d6
kobo: fix typo during refactoring, luacheck is the best check
9 years ago
Qingping Hou
cf70e86552
kobo: move reader setting outside of nicke_conf module
9 years ago
NiLuJe
e60de3044c
Keep intensity in sync at the config level too
...
Make sure frontlight_intensity in reader.lua settings matches what we
write into Nikcel's config
9 years ago
Qingping Hou
4751aba46c
kobo: rewording, turns out has_toggle_btn != has_state_cfg :(
9 years ago
Qingping Hou
8190093f83
kobo: don't create FrontLightState config if it didn't exist to begin with
9 years ago
Qingping Hou
8b7658b8cd
kobo: always keep intensity value and is_fl_on in sync
9 years ago
Qingping Hou
cf3b97537b
kobo: build fl_state based on fl_intensity if model does not support toggle
9 years ago
Qingping Hou
9afae91b13
chore: rename frontlight related variables to keep style consistent
...
flIntensity -> fl_intensity
flState -> is_fl_on
fallback_FrontLightLevel -> fallback_fl_level
9 years ago
NiLuJe
f213fb6405
Bypass flState on suspend/wakeup
...
We pretty much always want to turn it off on suspend, and turn it on to
some measure on wakeup.
That, and nickel's FrontLightState is completely nonsensical on my device anyway...
9 years ago
NiLuJe
770625d756
Tweak the 'IR down on resume' workaround...
...
Only apply it when started from nickel, because I'm guessing we'd have
seen a number of reports of this if it happened more widely...
9 years ago
NiLuJe
85737e2b9d
Forcibly re-activate IR grid on resume...
...
re #1862
9 years ago
NiLuJe
6c8bbfd470
Unbreak Kobo frontlight -> off when suspending.
...
If no-one touches anything, flState stays false...
And anyway, we should unconditionally disable the fl on sleep.
9 years ago
zijiehe
a183c1c64b
Slightly refector device & powerd component, remove some magic code
9 years ago
zijiehe
e84093c414
Add a flState in Kobo, and KoboPowerD:toggleFrontlight uses flState to control the light instead of intensity.
9 years ago
Qingping Hou
59c17ef420
minor: more luacheck fixes
9 years ago
Qingping Hou
71ef994318
test: add nickle conf spec
9 years ago
Qingping Hou
1609becd61
Merge pull request #1772 from dset0x/frontlight-sync
...
WIP Synchronise frontlight level with nickel config
9 years ago
Qingping Hou
5a3b9c6856
style: make staick-check happier
9 years ago
Dimitrios Semitsoglou-Tsiapos
699781de68
nickel_conf: handle missing file/key/section
9 years ago
Dimitrios Semitsoglou-Tsiapos
eb47c5a39f
Synchronise frontlight level with nickel config
...
* Drops support for mocking the frontlight setting internally which may
cause incorrect in-memory values.
* Adds new supported value for `KOBO_LIGHT_ON_START` (-2), which sets
'Kobo eReader.conf' as the source to update `settings.reader.lua`'s
brightness setting on startup, thus using the value from it
indirectly.
* Adds the `KOBO_SYNC_BRIGHTNESS_WITH_NICKEL` configuration variable
which updates 'Kobo eReader.conf' every time the brightness setting is
changed within koreader.
* Fixes missing call to save brightness when modifying via two-finger
swipe.
Closes #1523 .
9 years ago
Guangda Hu
7491cd7b9d
fix spaces
10 years ago
Guangda Hu
69db627136
Glo HD support
10 years ago
NiLuJe
a6a2b3d6a3
Try to get the Kobo codename from the env first
...
My batch of startup script tweaks should ensure PRODUCT is always
exported.
Leave the fallback in place, to avoid blowing up in weird corner-cases I
haven't thought about.
10 years ago
NiLuJe
c6a3f9002c
Tweak the H2O viewport to make it pixel-perfect.
...
As confirmed by checking a fb dump via fbgrab, and nickel's
broken cropping of screenshots ;).
10 years ago
Cosmin Gorgovan
41045dab99
Fix charging detection for Kobo devices
...
I've tested this on a N905C. I assume this implementation never
worked (since charge_now is supposed to show state of charge), but
it would be useful to get a confirmation.
10 years ago
chrox
d0b450efde
refresh battery capacity when going out of suspend
...
This should fix #1383 .
10 years ago
Michael Hall
9a66805b5a
Handle Kobo Touch Key
10 years ago
Hans-Werner Hilse
3d73ff5ae7
only open frontlight device on Kobo devices that actually have light
10 years ago
Hans-Werner Hilse
173de615db
Revert "smaller viewport for Kobo H2O (bezel overlaps bottom)"
...
This reverts commit fc36d6db37
.
10 years ago
Hans-Werner Hilse
fc36d6db37
smaller viewport for Kobo H2O (bezel overlaps bottom)
10 years ago