1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-02-03 03:57:48 +01:00

Reset the fan to low speed at initialization

This commit is contained in:
j1nx 2021-05-16 11:21:27 +02:00
parent f1cda8e142
commit a30db247c0
2 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,10 @@
#! /usr/bin/env sh
modprobe i2s_master_loader
sleep 1
setup_bclk
setup_mclk
setup_bclk
# Startup xvf3510
XMOS_POWER=16

View File

@ -115,6 +115,9 @@ if [ "$TAS5806" ] && [ "$SJ201LED" ]; then
/usr/bin/tas5806-init
# Initializing and resetting LED ring
/usr/bin/sj201-reset-led
# Reset FAN to low speed
/usr/sbin/i2cset -a -y 1 0x04 101 30 i
PULSE_SYSTEM=/etc/pulse/mycroft-sj201-default.pa
PULSE_DAEMON=/etc/pulse/mycroft-sj201-daemon.conf
fi