I’m having a new problem with a fresh install of Zynthian on my custom Pi Touch Display build - see: Touch Display 2 Build
I have re-flashed an SD card and made changes to the config.txt file so it finds the sound card. I have connected to wifi, but webconnect is refused.
I have ssh’d into the box and if I try to run zynthian_webconf.sh, I get the following error:
(venv) root@zynthian:/zynthian/zynthian-webconf# ./zynthian_webconf.sh
INFO:root:ZYNTHIAN-UI CONFIG …
INFO:root:Kit Version: Custom
INFO:root:No Wiring Layout configured. Only touch interface is available.
Loaded libzynaudioplayer using libsndfile-1.2.0
INFO:root:Supported Audio Codecs: [‘aiff’, ‘aifc’, ‘au’, ‘caf’, ‘flac’, ‘mp3’, ‘vox’, ‘opus’, ‘ogg’, ‘wav’]
INFO:root:RBPi Device Name: ‘’
Error: Could not open file /dev/i2c-1' or /dev/i2c/1’: No such file or directory
Traceback (most recent call last):
File “/zynthian/zynthian-webconf/./zynthian_webconf.py”, line 63, in
from lib.wiring_config_handler import WiringConfigHandler
File “/zynthian/zynthian-webconf/lib/wiring_config_handler.py”, line 45, in
for i2chip in DashboardHandler.get_i2c_chips():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/zynthian/zynthian-webconf/lib/dashboard_handler.py”, line 335, in get_i2c_chips
out = check_output(“i2cdetect -y 1”, shell=True).decode().split(“\n”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/subprocess.py”, line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/subprocess.py”, line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘i2cdetect -y 1’ returned non-zero exit status 1.
libzynaudioplayer exiting… done!
I have checked in /dev/ and I have /dev/i2c-10 but not /dev/i2c-1 - not sure why this is needed for webconf though?
Best wishes,
James