Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot auto startup from guide using latest bullseye (includes my fix) #1043

Open
quitmeyer opened this issue Dec 3, 2023 · 1 comment
Open

Comments

@quitmeyer
Copy link

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 #1000 (comment))
$ 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.

@tvoverbeek
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants