km4ack / patmenu2

Tools for working with Pat Menu
GNU General Public License v3.0
21 stars 9 forks source link

ARDOP & Bullseye 64bit Update #63

Closed Mark-wb8sfy closed 2 years ago

Mark-wb8sfy commented 2 years ago

Last night I posted the following in KM4ACK-Pi groups.io. After testing BAP 2.10.0 on earlier release of Pi OS 64bit PAT(v0.13.1), ARDOP, and VARA-HF were working as expected. I decided to do a fresh build. I am using a Pi 4b. For the build I used a fresh Bullseye 64bit with update, released early in September. I installed BAP 2.10.0 and PAT v0.13.1. I also installed the software required for VARA. VARA-HF is working fine. When I tried to run ARDOP it failed. The ardopGUI runs and is displayed but piardopc fails. The piardopc window flashes and closes and fails to display activity. The version of piardopc used in the problem build is the same version that I used in an earlier Pi build that is running as expected. The following is from ARDOPDebug8515_20220927.log in the failing version. 01:55:53.989 ardopc Version 1.0.4.1mBPQ-Debug5 01:55:53.989 ARDOPC listening on port 8515 01:55:53.989 Capture Devices

At this point I do not think it is a PAT 2.10.0 issue but it could lead to some confusion other may do clean builds. My question is are you or others seeing something similar. If not I will have to retrace my steps and see if the problem repeats.

Mark-wb8sfy commented 2 years ago

I believe I have found the root cause my piardopc issue. After looking through Jason's shell scripts for starting the piardopc modem I was able to manually start it in a terminal window and capture the error messages (see below). The latest 64bit piOS appears to have moved some libraries. piardopc calls libasound_module_conf_pulse.so but it has moved to /usr/lib/aarch64-linux-gnu/alsa-lib in the 64bit version.

wb8sfy@Build-A-Pi:~ $ /home/wb8sfy/ardop/piardopc ardopc Version 1.0.4.1mBPQ-Debug5 ARDOPC listening on port 8515 Capture Devices

ALSA lib conf.c:3725:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (/usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_conf_pulse.so: cannot open shared object file: No such file or directory) ALSA lib control.c:1471:(snd_ctl_open_noupdate) Invalid CTL hw:0 piardopc: control.c:338: snd_ctl_card_info: Assertion `ctl && info' failed. Aborted wb8sfy@Build-A-Pi:~ $

Mark-wb8sfy commented 2 years ago

KM4ACK supplied the following 3 commands which cleared my issue. I am not sure if this should be considered a work around or a fix. Thank you.

sudo dpkg --add-architecture armhf sudo apt update sudo apt install -y libqt5widgets5:armhf libqt5serialport5:armhf libasound2:armhf libasound2-plugins:armhf