-------------------------------------------------------------------------------
* 8ff193b When sending a ubus button event, include info about short or long press (like is beeing done for /sbin/hotplug-call). refs #9873
-------------------------------------------------------------------------------
commit 8ff193b389aa5d960225166b92cc60b32721504f
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-29 15:23:12 +0200
When sending a ubus button event, include info about short or long press
(like is beeing done for /sbin/hotplug-call). refs #9873
Base directory -> /
src/button.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 4a64f96 Workaround for ghost gpio press directly after start
-------------------------------------------------------------------------------
commit 4a64f969af4ee38507e83ed113e4e6a6fa9b9cf1
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2016-08-17 11:41:09 +0200
Workaround for ghost gpio press directly after start
On platforms with gpio buttons we have seen that sometimes buttons get
pressed directly after start and thus disabling the wifi. This change
implements a dummy read to flush out the bad states. Also implemented is a
check if a button is pressed directly 4 seconds after start. If that is the
case the press is logged to the syslog and then ignored.
Base directory -> /
src/button.c | 13 ++++++++++++-
src/gpio_button.c | 12 ++++++++++--
src/peripheral_manager.c | 2 ++
src/server.c | 6 ++++++
src/server.h | 3 +++
5 files changed, 33 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* dfcf187 Do not try to set flash state to led panel leds.
-------------------------------------------------------------------------------
commit dfcf187cf3961841dee750371d3999d23297b74c
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-07-11 17:04:50 +0200
Do not try to set flash state to led panel leds.
Ask driver if it supports hardware flash if not do not set it. This to avoid
a printout from the actual driver that complain it can't set this state.
refs #9720
Base directory -> /
src/led.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 7199297 Detect if touch panel is covered.
* 866b2c6 remove some whitespace.
* 77184fe Filter all button on proximity.
-------------------------------------------------------------------------------
commit 7199297d1c051782cf0d140253b325a3fa8d7eae
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-23 14:33:24 +0200
Detect if touch panel is covered.
If we have proximity event for more than 30 seconds assume that something
covers the panel or box is put upside down.
Base directory -> /
src/button.c | 6 ++++-
src/touch_sx9512.c | 77 ++++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 68 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit 866b2c6deb38439496e2d60265533d4d314c9a69
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-23 11:26:32 +0200
remove some whitespace.
Base directory -> /
src/touch_sx9512.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 77184fe0b43c82564a49dd03a9b0e048a3fb6861
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-20 18:54:32 +0200
Filter all button on proximity.
Only report button presses if we also have a proximity near state active.
This is to make it a little harder to get ghost presses.
Base directory -> /
src/led.c | 2 +-
src/touch_sx9512.c | 77 ++++++++++++++++++++++++++++++++++++------------------
2 files changed, 52 insertions(+), 27 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* e130cb0 Add enable for leds.
-------------------------------------------------------------------------------
commit e130cb0369b750d97cf2d4af081149cad7f6bb38
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-04-27 12:54:13 +0200
Add enable for leds.
when enable set to 0 the led function will internally be set to state OFF.
it will still record any updates to state and when enable is set to 1 again
will show whatever state has been set to during the time it was disabled.
Base directory -> /
src/led.c | 37 ++++++++++++++++++++++++++++++++++---
1 file changed, 34 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
Copy files in the files folder for the following projects:
bcmhotproxy (done)
broadcom-nvram (already did that)
peripheral_manager (changed)
questd (done)
statd (already did that)
tptest (done, changed file structure)
The following does not have any files to be copied:
broadcom-utils
qrencode
wifimngr
If the board has press indicator configured and a longpress option
the press indicator leds will stop flashing once the longpress time is
reached.
refs #7959
We should not send the button pressed event as that is an internal thing.
we send button pressed when the button is actually released and we
never send button released.
To the reset of the system the only thing that can happen is button pressed.