1
Building pi-Stomp / Re: pi-Stomp Input Stage Question
« on: October 08, 2024, 12:28:25 PM »As soon as the Pico is powered on, the output level drops significantly. It doesn't matter where I power it from ? Pi's USB port, Pi's 5V pin, or using an external adapter. It happens immediately. I suspect it's because I'm making all the connections to the leads of the jacks on the PCB itself, it's connected to the ground in some way? So the signal gets grounded and hence drops in volume as soon as the Pico is powered on?I found the culprit for it! As soon as I removed the connecting the pots to the 3V3 pin of the Pico, the output level comes back up. I have decided to keep it that way. I lost two pots and the LEDs that automatically light up on their own, but getting the the correct output level is higher priority for me. I wired up the pedal directly to the 3V3 pin, since it's not connected to the main board.
If you can wait a few weeks, I might likely have a prebuilt image.Yeah I'm waiting on finalising the details of the other build, so I can absolutely wait for a little while. Just to give it a trial, I cloned the beta-bookworm-dev from the pi-Stomp repo and ran the setup script on a Pi 5 + Bookworm. Jack is running with the IQaudIO Codec Zero, but it seems like there's an issue building the libmod_utils.so file when installing mod-ui. Following is the error:
Code: [Select]
make: Entering directory '/tmp/tmp.UbgX1kMDTp/mod-ui/utils'
g++ utils_jack.cpp.o utils_lilv.cpp.o patchstorage.cpp.o sha1/sha1.c.o -Wl,-O1 -Wl,--no-undefined -Wl,--strip-all -shared -L/usr/local/lib -ljack -llilv-0 -ldl -lsord-0 -lserd-0 -lsratom-0 -lasound -o libmod_utils.so
/usr/bin/ld: /usr/local/lib/liblilv-0.a(collections.c.4.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `lilv_ptr_cmp' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/liblilv-0.a(collections.c.4.o): in function `lilv_scale_points_new':
collections.c:(.text+0x78): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/liblilv-0.a(collections.c.4.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `lilv_ptr_cmp' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/liblilv-0.a(collections.c.4.o): in function `lilv_nodes_new':
collections.c:(.text+0x98): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/liblilv-0.a(collections.c.4.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `lilv_ptr_cmp' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/liblilv-0.a(collections.c.4.o): in function `lilv_nodes_merge':
collections.c:(.text+0x1c4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/liblilv-0.a(world.c.4.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `lilv_lib_compare' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/liblilv-0.a(world.c.4.o): in function `lilv_world_new':
world.c:(.text+0x464): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
make: *** [Makefile:38: libmod_utils.so] Error 1
Looking at journalctl, I get the following:
Code: [Select]
Oct 08 22:21:12 pistomp authbind[6829]: /usr/local/bin/mod-ui: No such file or directory
Oct 08 22:21:12 pistomp systemd[1]: mod-ui.service: Main process exited, code=exited, status=255/EXCEPTION
That 3.5" would require you create your own ILI9486 driver. GPIO usage looks different. Also, it has a different aspect ratio so you'd have to tweak pi-Stomp code to deal with that.I found this thread on the forum, so I was hopeful it would be possible. I guess I'll look into their GitHub repo and change the things accordingly once the pre-built image is released.
I suppose the pi-Stomp content could be rendered within a window/app?I was thinking something along those lines too. In my experience, the web UI isn't particularly well-suited for touch screens. Also I don't want the overhead of having to run a browser.