Pi4J / pi4j-v1

DEPRECATED Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)
http://www.pi4j.com
Apache License 2.0
1.31k stars 448 forks source link

vcgencmd is in /usr/bin on some systems - can you check this if /opt/vc.... isn't there #554

Open piemmm opened 11 months ago

piemmm commented 11 months ago

Hi!

Title says it all basically - on ubuntu this command is in /usr/bin/vcgencmd and not in /opt/vc/bin/vcgencmd

Can you check this path if the first does not exist?

As a stopgap, ln -s {etc} to the binary works

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" root@chia-2:~/distribbs# uname -a Linux chia-2 5.15.0-1011-raspi #13-Ubuntu SMP PREEMPT Thu Jun 2 11:44:34 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Thanks!