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
"Unable to use SMBus/I2C #2
Comments
Wanted to echo the above. Followed these instructions: https://www.raspberrypi.org/forums/viewtopic.php?t=250596
The camera is visible, and the proper line is in the config.txt But every time I go to use the plugin I get unable to use SMBus/I2C figure I'm missing something dumb Thanks! |
I observed the same problem. I am testing a fix and will post updated documentation tomorrow if everything works. |
Ditto, same SMBus/I2C issue here. Thanks heaps for looking into a fix @moof-src. Will check back tomorrow - fingers crossed. |
It's probably something simple like
|
Unfortunately not :( Already running latest on Buster. Did all the updates/upgrades before installing the plugin. |
Please look at README.md for new installation requirements. I left the following instructions: This plugin uses I2C to communicate with the camera. That is not enabled by default. The ArduCamFocus plugin will not function until 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 After executing the above command, the file /boot/config.txt should now have the commands to enable I2C. In addition, you have to enable the I2C sudo raspi-config
After you reboot, the camera should become operational in OctoPrint. |
Just wanted to say thanks, this worked perfectly for me. The plugin works with no errors and the camera is now controllable. |
I am getting the error -bash: /boot/config.txt: Permission denied
|
I get the same permission denied error. |
cooy and paste the whole script at once. do not type it in or copy line by
line.
…On Fri, Feb 26, 2021 at 1:31 AM altcoin725 ***@***.***> wrote:
I am getting the error -bash: /boot/config.txt: Permission denied
if ! grep -Fxq "^#ArduCamFocus$" /boot/config.txt; then
sudo cat << end_of_file > /boot/config.txt#ArduCamFocusdtparam=i2c_vc=ondtparam=i2c_arm=onend_of_filefi
I get the same permission denied error.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUA23JRCXTNXDUP4ZXHK53TA4537ANCNFSM4OK6BL7Q>
.
|
Also getting permission denied pasting the script in. Had to do a sudo su to be able to do this for some reason. |
arducam was working but focus wasn't - i got the same any ideas? thanks! |
Hello,
I do apologize in advance, I am very much a newbie with it comes to raspberry pi's and Linux.
I purchased this camera with the hope that I could utilize it in Octoprint to focus on the actual bed and object being worked on.
Jneilliii, and others have been extremely helpful in pointing me in the right direction (https://community.octoprint.org/t/arducam-auto-focus-camera/21511/10), but I've run into this fault and I've not been able to find much about it.
I'm sure it's probably something very simple, but again, very very very new to this stuff.
Thank you.
The text was updated successfully, but these errors were encountered: