Can't connect to webconf - new install

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

Try this command:

i2cdetect -y 1

BTW, what RBPi version are you using? What zynthianOS version?

Anyway, please, be warned that you should not make any changes to the config.txt by hand. Probably your problems is that you modified some line you shouldn’t.

Regards.

Thanks for your speedy response!

It’s on a RBPi v5 and the zynthianOS is zynthian 6.12.47+rpt-rpi-2712

That command gives the same error as when it was called from zynthian_webconf.sh:

(venv) root@zynthian:~# i2cdetect -y 1
Error: Could not open file /dev/i2c-1' or /dev/i2c/1’: No such file or directory

I initially ran without editing config.txt to see if it would boot and find the sound card, but it came up with the error splash screen, so I added the dtoverlay=hifiberry-dac to the config.txt that I previously needed - this led to it booting, but webconf isn’t starting.

Is there a possibility to get an older version of zynthian to try?

J

OK - I fixed it - I manually added

dtoverlay=i2c1-rpi5 to config.txt

not sure why this wasn’t automatic though!?