geekworm-com / x-c1

This is the safe shutdown script and python pwm fan control sample code.
MIT License
17 stars 18 forks source link

System does not boot up after reboot #4

Open LeducH opened 2 years ago

LeducH commented 2 years ago

I want to to a reboot with sudo reboot.

after installing from https://wiki.geekworm.com/X-C1_Software

cd ~
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y git pigpio 
sudo apt-get install -y python-pigpio python3-pigpio
sudo apt-get install -y python-smbus python3-smbus
git clone https://github.com/geekworm-com/x-c1.git
cd x-c1
sudo chmod +x *.sh
sudo bash install.sh
echo "alias xoff='sudo /usr/local/bin/x-c1-softsd.sh'" >> ~/.bashrc
sudo reboot

I ran the command sudo reboot the system does not boot up.

blue ssd is on but red and green led from pi remain off

hdvh44 commented 1 year ago

+1 No solutions found ?

hdvh44 commented 1 year ago

After the install process and before the reboot, open the /etc/rc.local with nano or vim, then comment the line where there is "/etc/x-c1-pwr.sh &" You'll be able to reboot but still issue with the fan management. I'm on it.

Peter-Go commented 1 year ago

I'm having this issue, I've commented out all "/etc/x-c1-pwr.sh &" in /etc/rc.local but still can't get any output after the initial boot on my Pi4

I can ssh in fine and if I remove the x-c1 module then the login screen is displayed. Unfortunately the case is useless without the x-c1 board

veerendra2 commented 12 months ago

FYI

Hello, Here is my modified fan.py and running the python script in systemd daemon. I also created ansible tasks pigpio.yml which automates the installation of pigpio and fan.py installation