News:

SMF - Just Installed!

Main Menu

New Build Troubleshooting

Started by fredrenner, September 06, 2022, 04:18:45 PM

Previous topic - Next topic

fredrenner

I was lucky to get one of the few available pi-stomp kits and spent Labor Day slowly putting things together and installing software. Very exciting to see the words pi-stomp come up on the LCD when it rebooted, but it never shows the default pedal board  and every 5 seconds or so, the screen flashes and I hear a click, like a relay. And the halo on button 1 is lit green. At this point none of the controls do anything.


I'm running the 64 bit beta software.

I updated the default_config.yml with to use default_config_3fs_2knob.yml by copying it over:

cp default_config_3fs_2knob.yml default_config.yml

First step in looking at things, I tried the debug to see if it's a hardware problem (due to my mediocre soldering skills)
ps-stop
ps-run --host test

Within the debug window I see each of the controls registering activity as well as the halo's turn on and off when pressing the buttons. Though button 1 requires a long press for the halo to turn off/on. So, I'm thinking hardware looks good?!?!

Next step I looked at the journal log:

pistomp@pistomp:~ $ sudo journalctl | grep 'error'

And see the following that I'm pretty sure is not ideal and the same block repeats every 5-10 seconds:

Sep 06 18:22:53 pistomp jackdrc[412]: JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Sep 06 18:22:53 pistomp mod-host[1290]: CheckRes error
Sep 06 18:22:58 pistomp jackdrc[412]: JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Sep 06 18:22:58 pistomp jackdrc[412]: CheckRes error
Sep 06 18:22:58 pistomp jackdrc[412]: JackRequest::ClientOpen write error name = mod-ui
Sep 06 18:23:00 pistomp authbind[1371]: error: failed to open file /home/pistomp/.lv2/tamgamp.lv2/tamgamp_gx.ttl (No such file or directory)
Sep 06 18:23:00 pistomp authbind[1371]: lilv_world_load_file(): error: Error loading file `file:///home/pistomp/.lv2/tamgamp.lv2/tamgamp_gx.ttl'
Sep 06 18:23:00 pistomp authbind[1371]: error: failed to open file /home/pistomp/data/.pedalboards//README.md/manifest.ttl (Not a directory)
Sep 06 18:23:00 pistomp authbind[1371]: lilv_world_load_file(): error: Error loading file `file:///home/pistomp/data/.pedalboards//README.md/manifest.ttl'
Sep 06 18:23:00 pistomp authbind[1371]: lilv_world_load_bundle(): error: Error reading file:///home/pistomp/data/.pedalboards//README.md/manifest.ttl
Sep 06 18:23:00 pistomp authbind[1371]: error: failed to open file /home/pistomp/data/.pedalboards//LICENSE/manifest.ttl (Not a directory)
Sep 06 18:23:00 pistomp authbind[1371]: lilv_world_load_file(): error: Error loading file `file:///home/pistomp/data/.pedalboards//LICENSE/manifest.ttl'
Sep 06 18:23:00 pistomp authbind[1371]: lilv_world_load_bundle(): error: Error reading file:///home/pistomp/data/.pedalboards//LICENSE/manifest.ttl
Sep 06 18:23:00 pistomp authbind[1371]: error: failed to open file /home/pistomp/data/.pedalboards//.git/manifest.ttl (No such file or directory)
Sep 06 18:23:00 pistomp authbind[1371]: lilv_world_load_file(): error: Error loading file `file:///home/pistomp/data/.pedalboards//.git/manifest.ttl'
Sep 06 18:23:00 pistomp authbind[1371]: lilv_world_load_bundle(): error: Error reading file:///home/pistomp/data/.pedalboards//.git/manifest.ttl



Thoughts on a direction to look?

Randall (Admin)

Sorry your first boot was not perfect.  Somewhat the nature of DIY.  Pretty sure I know the cause and fix though.

Your kit included the new IQAudio card.  Within the last few hours, I made a change to the setup script to make that the default, but if you did your clone before that, per the instructions, you should have run setup.sh as follows:
./setup.sh -a iqaudio-codec

Is it possible that you just ran setup.sh without the arguments?

If so, that should explain the concerning errors in your log, the jack and mod-host errors because it would be expecting to find the old default audio card, the AudioInjector.

You can change cards by running:
~/pi-stomp/util/change-audio-card.sh

Choose the IQ card, then reboot.  If that doesn't fix the problem, let me know.

The lilv_world_load errors should not affect anything.  lilv just makes a lame assumption that all files in the pedalboard directory are actually pedalboards.  We might fix that in the future.



fredrenner

Thanks Randall. I changed updated the audio card and that did it.

I checked the session log from the initial install and it shows that I ran setup as "./setup.sh -a iqaudio-codec" as instructed. So, as an experiment I re-imaged the SD card and ran the download and install again fresh to see what the deal was, and ran into the same issue. So, again I ran the " ~/pi-stomp/util/change-audio-card.sh" and problem solved.

I'm happy to share the complete session log from running the install if that would be helpful as it seems the flag to select the audio card with the setup script may not be working as intended.