I had Raspbian 32 bits on a Rpi4 and the path was /opt/vc/bin/vcgencmd, which is usually correct.
However after switching to Raspbian 64 bits (beta), that tool moved to /usr/bin/vcgencmd. I guess maybe the packagers made it more official in that version.
To accommodate for this, it would be good to either try and detect the tool's path or add a CLI argument to be able to specify its path.
I had Raspbian 32 bits on a Rpi4 and the path was
/opt/vc/bin/vcgencmd
, which is usually correct.However after switching to Raspbian 64 bits (beta), that tool moved to
/usr/bin/vcgencmd
. I guess maybe the packagers made it more official in that version.To accommodate for this, it would be good to either try and detect the tool's path or add a CLI argument to be able to specify its path.