The GPIO expander in webconfig has stuck itself on MCP23008
It happened the other day after i changed some font settings. The change of font gave me a white screen after the Zynthian logo and even after changing it back it stayed white, then I noticed the GPIO Expander was set to MCP23008 despite the wiring set to MCP23017
In the end I had to reflash the SD and just put it up to me messing with the font
This morning I’ve switched it on and have the same white screen post logo, and again the GPIO Expander is set to 23008 no matter what wiring config I choose.
Don’t worry. It’s just a display issue.
I saw the behaviour a couple of weeks as well.
Maybe the call that determines it, isn’t that good after all, @jofemodo
I’ve pulled ll the connections out the controller board and its still like it .
just looking at the UI log, the repeated errors i’m getting are…
Feb 13 15:11:40 zynthian startx[468]: ValueError: invalid literal for int() with base 16: ‘Cx7F00’
Feb 13 15:11:40 zynthian startx[468]: identify-im6.q16: unable to open image /zynthian/config/img/fb_zynthian_error.png': No such file or directory @ error/blob.c/OpenBlob/2701. Feb 13 15:11:40 zynthian startx[468]: identify-im6.q16: unable to open image /zynthian/config/img/fb_zynthian_error.png’: No such file or directory @ error/blob.c/OpenBlob/2701.
Feb 13 15:11:40 zynthian startx[468]: expr: syntax error
Feb 13 15:11:40 zynthian startx[468]: expr: syntax error
Feb 13 15:11:40 zynthian startx[468]: expr: syntax error
Could it be anything to do with the master channel being set to off, that’s the only other thing I’ve been changing after an update.
I can see this in the logs at the top:
Feb 13 15:22:12 zynthian startx[4001]: master_midi_program_change_up = int(’{:<06}’.format(mmpcu.replace(’#’,mmc_hex)),16)
The full list before it repeats is
Logs begin at Thu 2016-11-03 17:16:42 GMT. –
Feb 13 15:22:12 zynthian startx[4001]: master_midi_program_change_up = int(’{:<06}’.format(mmpcu.replace(’#’,mmc_hex)),16)
Feb 13 15:22:12 zynthian startx[4001]: ValueError: invalid literal for int() with base 16: ‘Cx7F00’
Feb 13 15:22:12 zynthian startx[4001]: identify-im6.q16: unable to open image /zynthian/config/img/fb_zynthian_error.png': No such file or directory @ error/blob.c/OpenBlob/2701. Feb 13 15:22:12 zynthian startx[4001]: identify-im6.q16: unable to open image /zynthian/config/img/fb_zynthian_error.png’: No such file or directory @ error/blob.c/OpenBlob/2701.
Feb 13 15:22:12 zynthian startx[4001]: expr: syntax error
Feb 13 15:22:12 zynthian startx[4001]: expr: syntax error
Feb 13 15:22:12 zynthian startx[4001]: expr: syntax error
Feb 13 15:22:12 zynthian startx[4001]: convert-im6.q16: invalid argument for option `-pointsize’: -fill @ error/convert.c/ConvertImageCommand/2359.
Feb 13 15:22:12 zynthian startx[4001]: /zynthian/config/img/fb_zynthian_error_ip.png: image not found
Feb 13 15:22:12 zynthian startx[4001]: Building XImage…done
Feb 13 15:22:16 zynthian startx[4001]: Traceback (most recent call last):
Feb 13 15:22:16 zynthian startx[4001]: File “./zynthian_gui.py”, line 44, in
Feb 13 15:22:16 zynthian startx[4001]: import zynautoconnect
Feb 13 15:22:16 zynthian startx[4001]: File “/home/pi/zynthian-ui/zynautoconnect/init.py”, line 5, in
Feb 13 15:22:16 zynthian startx[4001]: from zynautoconnect.zynthian_autoconnect import *
Feb 13 15:22:16 zynthian startx[4001]: File “/home/pi/zynthian-ui/zynautoconnect/zynthian_autoconnect.py”, line 35, in
Feb 13 15:22:16 zynthian startx[4001]: from zyngui import zynthian_gui_config
Feb 13 15:22:16 zynthian startx[4001]: File “/home/pi/zynthian-ui/zyngui/init.py”, line 28, in
Feb 13 15:22:16 zynthian startx[4001]: import zyngui.zynthian_gui_config as zynthian_gui_config
Feb 13 15:22:16 zynthian startx[4001]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_config.py”, line 368, in
Feb 13 15:22:16 zynthian startx[4001]: set_midi_config()
Feb 13 15:22:16 zynthian startx[4001]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_config.py”, line 339, in set_midi_config
Feb 13 15:22:16 zynthian startx[4001]: master_midi_program_change_up = int(’{:<06}’.format(mmpcu.replace(’#’,mmc_hex)),16)
Just changed Master to NONE
Rebooted
White Screen after Zynthian Logo
In webconf: UI Log not showing any errors and GPIO reference is correct as MCP23017
Rebooted
same as above
Powered down and back up
White Screen after Zynthian logo
Webconf: UI Log Clean but GPIO now says MCP23008
Set Master to 16 in webconf
UI instantly appears and GPIO shows correct MCP23017
Yesterday everything honky dory, today it doesn’t boot into UI but I can play it and use webconf. After booting the Z I get the short logo screen and then nothing.
As I can also get into Z via ssh, could you be so kind telling me how to update from there? My search in the wiki failed. And I would to love to have it today for rehearsal…
Best,
Jimi
EDIT: is it this one?
cd /zynthian/zynthian-sys; git checkout .
cd /zynthian/zynthian-ui; git checkout .
cd /zynthian/zynthian-sys/scripts/
./update_zynthian.sh
./update_zynthian.sh #Yes twice - first run returns an error on a fresh installation
./update_zynthian_data.sh
./update_zynthian_recipes.sh
./update_zynthian_sys.sh