pmaports/device/device-xiaomi-santoni/charging.sh
Danct12 eb0622513b
xiaomi-santoni: various improvements (!335)
* Add support for osk-sdl
* Use latest commit from bitrvmpd
* Add udev rules, scripts for charging led
* Add (hacky) udev rule for jack detection
* Add pulseaudio files
* Silence substream kernel messages
* Change charging script path
* Move adsp-audio dependency to firmware to avoid watchdog

[ci:skip-build]: already built successfully in CI
2019-05-09 22:56:12 +02:00

5 lines
156 B
Bash
Executable file

#!/bin/sh
# We'll vibrate a bit here, then turn the led on.
echo 500 > /sys/class/timed_output/vibrator/enable
echo 100 > /sys/class/leds/white/brightness