forked from OpenDingux/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opendingux: redraw gmenu2x on charger state change
1. Bumps gmenu2x to the commit that updates the battery indicator on USR1. 2. Updates udev rules to send USR1 to gmenu2x on charger state changes. Signed-off-by: Gleb Mazovetskiy <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sha256 8294807a961e95c2d3fb1bb8609055e472bbad95d6b82679523febb02f29ffdf gmenu2x-177af6d.tar.gz | ||
sha256 62aa3409e5b69cf9ff069ac11d4d6c7f5b3df813ed319a27729f5523a4ae7f27 gmenu2x-74321f7.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
board/opendingux/target_skeleton/etc/udev/rules.d/61-usb.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
SUBSYSTEM!="power_supply", GOTO="usb_end" | ||
ENV{POWER_SUPPLY_NAME}!="usb-charger", GOTO="usb_end" | ||
|
||
ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="/usr/sbin/usb start" | ||
ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="/usr/sbin/usb stop" | ||
ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="/usr/sbin/usb start", RUN+="/usr/bin/killall -USR1 /usr/libexec/gmenu2x" | ||
ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="/usr/sbin/usb stop", RUN+="/usr/bin/killall -USR1 /usr/libexec/gmenu2x" | ||
|
||
LABEL="usb_end" |