Open quitmeyer opened 10 months ago
You wrote:
$ sudo rm /usr/bin/pijuice_gui
$ sudo ln -s /usr/bin/pijuice_gui32 /usr/bin/pijuice_gui
sudo rm /usr/bin/pijuice_cli
sudo ln -s /usr/bin/pijuice_gui32 /usr/bin/pijuice_cli <---- A
sudo rm /usr/bin/pijuiceboot
sudo ln -s /usr/bin/pijuice_gui32 /usr/bin/pijuiceboot <---- B
Line A should be sudo ln -s /usr/bin/pijuice_cli32 /usr/bin/pijuice_cli
Line B should be sudo ln -s /usr/bin/pijuiceboot32 /usr/bin/pijuiceboot
The dtoverlay line in /boot/config.txt and setting the EEPROM addres to 0x52 is not necessary (unless you want to avoid OS interference with the RTC Alarm function when connected to the internet)
As of a fresh install of bullseye from the pi disk imager (default "legacy" option) just following the quick startup guide does not get the pijuice functioning for me. It could not start itself up and its options in the GUI would reset. to fix this i found some issues in the github, and this seemed to work for me (As of nov 2023 you have to run these lines to make work because of 64 bit things https://github.com/PiSupply/PiJuice/issues/1000#issuecomment-1676382133) $ sudo rm /usr/bin/pijuice_gui $ sudo ln -s /usr/bin/pijuice_gui32 /usr/bin/pijuice_gui sudo rm /usr/bin/pijuice_cli sudo ln -s /usr/bin/pijuice_gui32 /usr/bin/pijuice_cli
sudo rm /usr/bin/pijuiceboot sudo ln -s /usr/bin/pijuice_gui32 /usr/bin/pijuiceboot
You need to go to pijuice GUI go to config set EEPROM to 0x52 add dtoverlay=i2c-rtc,ds1307 to /boot/config.txt.