So I'm working with a PCA9685pw & it's driving me up the wall. I can get Adafruit's PCA9685 board to work, but when I try mine, it crashes.
Main PID: 981 (code=exited, status 1/FAILURE)
The weird thing to me is that using i2cdetect, I find the PCA9685 on 0X41 (I have address pin A0 jumpered, so this is expected). So the pi is seeing the chip, but reef pi still doesn't like it.
Using journalctl:
sudo journalctl -fu reef-pi.service
-- Logs begin at Thu 2019-02-14 05:12:02 EST. --
Oct 25 23:25:59 control1 systemd[1]: reef-pi.service: Failed with result 'exit-code'.
Oct 25 23:27:29 control1 systemd[1]: reef-pi.service: Service RestartSec=1min 30s expired, scheduling restart.
Oct 25 23:27:29 control1 systemd[1]: reef-pi.service: Scheduled restart job, restart counter is at 2.
Oct 25 23:27:29 control1 systemd[1]: Stopped raspberry pi based reef tank controller.
Oct 25 23:27:29 control1 systemd[1]: Started raspberry pi based reef tank controller.
Oct 25 23:27:29 control1 reef-pi[995]: 2019/10/25 23:27:29 Setting pca9685 frquency: 1500
Oct 25 23:27:29 control1 reef-pi[995]: 2019/10/25 23:27:29 ERROR: Failed to initialize pca9685 driver with mock i2c bus. Error: remote I/O error
Oct 25 23:27:29 control1 reef-pi[995]: 2019/10/25 23:27:29 ERROR: Failed to initialize controller. Error:remote I/O error
Oct 25 23:27:29 control1 systemd[1]: reef-pi.service: Main process exited, code=exited, status=1/FAILURE
Oct 25 23:27:29 control1 systemd[1]: reef-pi.service: Failed with result 'exit-code'.
Oct 25 23:28:59 control1 systemd[1]: reef-pi.service: Service RestartSec=1min 30s expired, scheduling restart.
Oct 25 23:28:59 control1 systemd[1]: reef-pi.service: Scheduled restart job, restart counter is at 3.
Oct 25 23:28:59 control1 systemd[1]: Stopped raspberry pi based reef tank controller.
Oct 25 23:28:59 control1 systemd[1]: Started raspberry pi based reef tank controller.
Oct 25 23:28:59 control1 reef-pi[1027]: 2019/10/25 23:28:59 Setting pca9685 frquency: 1500
Oct 25 23:28:59 control1 reef-pi[1027]: 2019/10/25 23:28:59 ERROR: Failed to initialize pca9685 driver with mock i2c bus. Error: remote I/O error
Oct 25 23:28:59 control1 reef-pi[1027]: 2019/10/25 23:28:59 ERROR: Failed to initialize controller. Error:remote I/O error
Oct 25 23:28:59 control1 systemd[1]: reef-pi.service: Main process exited, code=exited, status=1/FAILURE
Oct 25 23:28:59 control1 systemd[1]: reef-pi.service: Failed with result 'exit-code'.