Qingping Hou
f95ad00b9e
feat: add logger module & rewrite kobo suspend script in lua
2017-01-02 19:52:09 -08:00
Frans de Jonge
0fb29e9cd3
Kobo: fix Kobo Aura second edition highlighting
2016-12-16 22:37:19 -08:00
Frans de Jonge
69f70ac16e
Kobo: initial support for Kobo Aura second edition (Kobo star)
...
This fixes #2418 .
2016-12-13 14:39:24 -08:00
Qingping Hou
d1f9cf932b
kobo(minor): add debug log for suspend action
2016-12-10 16:06:51 -08:00
Bastien Dejean
c71b176e0a
Kobo Aura ONE: no viewport adjustments needed
...
Test image:
https://cloud.githubusercontent.com/assets/159419/20651651/5e344d1c-b4e9-11e6-8450-6fb165c792db.png
Fixes #2372 .
2016-11-28 10:06:25 +01:00
Qingping Hou
816d0a551a
kobo: handle charging/uncharging event
2016-10-30 15:25:51 -07:00
Qingping Hou
705d3e4cb4
doc(minor): document alternative usb plug event source for kobo
2016-10-17 23:45:47 -07:00
Qingping Hou
ef5c8ced60
chore: disable wrong usbplug event handler
2016-10-08 15:53:02 -07:00
Qingping Hou
902403bf0a
kobo(fix): prevent usb plug events from interrupting sleep
2016-09-21 23:32:56 -07:00
Qingping Hou
93b3262db7
kobo(fix): make sure sleep cover is not interrupting sleeping when ignore_power_sleepcover is set
2016-09-21 23:29:22 -07:00
Qingping Hou
ebc7055b43
chore: move kobo specific code into kobo/device.lua
2016-09-19 01:10:53 -07:00
Matej Mihelič
6600410c08
Aura One support
2016-09-13 06:50:07 +01:00
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
2016-09-01 00:05:40 -07:00
chrox
9afad43a3e
refactoring utils to tools as discussed in #2197
2016-08-11 19:29:09 +08:00
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
2016-07-31 19:01:15 +02:00
Qingping Hou
20eb36a03d
feat: add network management UI for kobo
2016-07-11 23:50:19 -07:00
Qingping Hou
44d62f6f41
networkmanager: move device specific code into device module
2016-07-10 23:25:32 -07:00
Qingping Hou
38a1758889
kobo: detect non-epoch timestamp using current second
2016-06-05 14:19:37 -07:00
Qingping Hou
82a3e0f9ad
automatically adjust ev time for kobo touch
2016-05-23 23:21:14 -07:00
NiLuJe
103e4eaeb8
Use the GloHD quirks on the Touch 2.0...
...
re #2005
2016-05-15 20:44:07 +02:00
NiLuJe
9a7c46e8f5
Unbreak previous commit
...
Weeeeee!
2016-05-15 20:44:07 +02:00
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
2016-05-15 20:44:07 +02:00
Cosmin Gorgovan
19338cb439
Kobo: Offer to power off if the power button is held for at least 3 seconds
2016-05-01 14:09:21 +01:00
Zijie He
f33f78cf08
Add an ignore_power_sleepcover setting to ignore Kobo power_sleepcover keycode
2016-04-20 10:21:09 -07:00
Hzj_jie
1be9264a0c
Resolve review comments
2016-04-17 22:30:46 -07:00
Zijie He
7d4bd076f7
Resolve review comments
2016-04-15 13:21:39 -07:00
NiLuJe
f43cbc74e6
Always forcibly wake the H2O IR grid on wakeup
...
Fix #1862
Fix #1943
2016-04-09 17:51:39 +02:00
Qingping Hou
eb37d9b8b6
kobo: fix screen probe for touch
2016-04-02 23:06:09 -07:00
Qingping Hou
c35aad3ae1
fix(kobo): return 0 frontlight level config to signal frontlight off state
2016-03-20 23:58:59 -07:00
Qingping Hou
824bdb4463
comment for kobo sleep
2016-03-10 18:39:36 -08:00
Zijie He
767e6e2b71
Add a sleep after kobo resume to resolve partial blank screen issue ( #1874 )
2016-03-10 15:35:06 -08:00
Qingping Hou
e812f7d0d6
kobo: fix typo during refactoring, luacheck is the best check
2016-03-05 13:02:33 -08:00
Qingping Hou
cf70e86552
kobo: move reader setting outside of nicke_conf module
2016-03-02 23:25:39 -08:00
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
2016-03-02 19:16:02 +01:00
Qingping Hou
4751aba46c
kobo: rewording, turns out has_toggle_btn != has_state_cfg :(
2016-03-02 18:25:17 +01:00
Qingping Hou
8190093f83
kobo: don't create FrontLightState config if it didn't exist to begin with
2016-03-02 18:25:17 +01:00
Qingping Hou
8b7658b8cd
kobo: always keep intensity value and is_fl_on in sync
2016-03-02 18:25:17 +01:00
Qingping Hou
cf3b97537b
kobo: build fl_state based on fl_intensity if model does not support toggle
2016-03-02 18:25:17 +01:00
Qingping Hou
9afae91b13
chore: rename frontlight related variables to keep style consistent
...
flIntensity -> fl_intensity
flState -> is_fl_on
fallback_FrontLightLevel -> fallback_fl_level
2016-03-02 18:25:17 +01:00
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...
2016-03-02 18:24:14 +01:00
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...
2016-03-02 18:24:14 +01:00
NiLuJe
85737e2b9d
Forcibly re-activate IR grid on resume...
...
re #1862
2016-03-02 18:24:14 +01:00
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.
2016-03-02 18:09:38 +01:00
zijiehe
a183c1c64b
Slightly refector device & powerd component, remove some magic code
2016-02-28 14:38:14 +08:00
zijiehe
e84093c414
Add a flState in Kobo, and KoboPowerD:toggleFrontlight uses flState to control the light instead of intensity.
2016-02-26 15:34:23 +08:00
Qingping Hou
59c17ef420
minor: more luacheck fixes
2016-02-15 01:33:48 -08:00
Qingping Hou
71ef994318
test: add nickle conf spec
2016-02-03 10:35:47 -08:00
Qingping Hou
1609becd61
Merge pull request #1772 from dset0x/frontlight-sync
...
WIP Synchronise frontlight level with nickel config
2016-02-01 21:15:00 -08:00
Qingping Hou
5a3b9c6856
style: make staick-check happier
2016-01-31 15:08:24 -08:00
Dimitrios Semitsoglou-Tsiapos
699781de68
nickel_conf: handle missing file/key/section
2016-01-12 16:22:37 +02:00