MatthewCroughan / octobalena

Control your 3d-printer with octoprint + octoscreen via balena!
GNU General Public License v2.0
49 stars 22 forks source link

Connecting RPi Cam Module #31

Open GRitchie1 opened 3 years ago

GRitchie1 commented 3 years ago

Hi, thanks for your great work on this project. I set it up a couple of days ago and have tested it out with my first few prints.

I'm now trying to connect the camera module, but I can't seem to get it working. I have connected it to my pi and changed the fleet settings as documented here: https://www.balena.io/docs/learn/develop/hardware/i2c-and-spi/#raspberry-pi-camera-module

But I still cannot get it to show up. I can't work out how to check if the Host OS is "seeing" the camera.

Are there any other settings involved in getting the camera to work?

As this isn't discussed in the README I thought it may be worthwhile to ask the question here so other people can see it if they have the same issue.

Thanks, Gregor

ab77 commented 3 years ago

You will need to add start_x=1 and gpu_mem=128 using host config variables.

Though, these should be added to the repository via balena.yml file, for example.