Camera model
Arducam Pi Camera with motorized lens.
What is the problem?
I've followed the steps on
and when i get to the portion where i have to enter
"if ! grep -Fxq "^#ArduCamFocus$" /boot/config.txt; then
sudo cat << end_of_file >> /boot/config.txt
#ArduCamFocus
dtparam=i2c_vc=on
dtparam=i2c_arm=on
end_of_file
fi"
i get the error "-bash: /boot/config.txt: Permission denied".
My ultimate issue is that the camera shows in the control tab and I can see an image, however it doesn't allow me to change the cameras focus. The adjustment sliders are there, but are grayed out. I thought the problem with me not being able to enter the code above was my issue, however, the changes it's supposed to make are already in /boot/config.txt so I'm thinking that's not the issue. I just stated it here just incase that can give an idea for fixing the bigger issue.
What did you already try to solve it?
I have tried reinstalling octopi several times on my sd card to hopefully solve the issue. I have also tried accessing the /boot/config.txt and adding that line of code manually. I have followed every step of that guide and I get stuck. Octoprint isn't allowing me to change the focus on the camera.
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
OctoPrint version : 1.6.1
OctoPi version : 0.18.0
------------------------------------------------------------------------------
pi@octopi:~ $ if ! grep -Fxq "^#ArduCamFocus$" /boot/config.txt; then
sudo cat << end_of_file >> /boot/config.txt
#ArduCamFocus
dtparam=i2c_vc=on
dtparam=i2c_arm=on
end_of_file
fi
-bash: /boot/config.txt: Permission denied
Additional information about your setup (OctoPrint version, OctoPi version, ...)
I'm using a raspberry pi 3 B+ for octopi. I am using Windows 10 and using puTTY to access SSH. Thanks.