-
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.
realme_trinket: init: add permissions for devicesettings nodes
- Loading branch information
1 parent
1b57d7c
commit b5220f4
Showing
4 changed files
with
31 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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
on boot | ||
chown system system /sys/kernel/oppo_display/dimlayer_bl_en | ||
chown system system /sys/kernel/oppo_display/hbm | ||
chown system system /sys/kernel/oppo_display/seed | ||
chown system system /sys/class/power_supply/usb/otg_switch | ||
chown system system /proc/touchpanel/game_switch_enable | ||
chown system system /proc/touchpanel/oppo_tp_direction | ||
chown system system /proc/touchpanel/oppo_tp_limit_enable | ||
|
||
chmod 0666 /sys/kernel/oppo_display/dimlayer_bl_en | ||
chmod 0666 /sys/kernel/oppo_display/hbm | ||
chmod 0666 /sys/kernel/oppo_display/seed | ||
chmod 0666 /sys/class/power_supply/usb/otg_switch | ||
chmod 0666 /proc/touchpanel/game_switch_enable | ||
chmod 0666 /proc/touchpanel/oppo_tp_direction | ||
chmod 0666 /proc/touchpanel/oppo_tp_limit_enable | ||
|
||
#Preset touchpanel tuner nodes | ||
write /proc/touchpanel/oppo_tp_limit_enable 0 | ||
write /proc/touchpanel/oppo_tp_direction 1 |
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