guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.45k stars 367 forks source link

Install vcgencmd and fix user permission on Ubuntu #772

Closed foosel closed 2 years ago

foosel commented 2 years ago

The 64bit images are currently lacking vcgencmd, meaning that the PiSupport plugin can't check for undervoltage and overheat situations and will complain about this in the latest version as well, see feedback in #770.

This should fix it by installing the package containing vcgencmd and making sure the base user is added to the video group as well.

I was not able to test this in a build since I could not find documentation on which base image exactly to use and how to precisely run the 64bit build, but based on user feedback it should hopefully work. Still, please test in a build before merging.

guysoft commented 2 years ago

I was just testing this myself! BTW the package is installed by default:

libraspberrypi-bin is already the newest version (0~20200520+git2fe4ca3-0ubuntu3~20.04).

The permissions is the missing part

guysoft commented 2 years ago

So we will get an RC2