Hi
Additionnal question: do you have a power supply for the Kali connection (see datas in the pictures, for jack connector mainly. Volt & Amp are the usual)
This to adjust weight/size.
Info like adress will be by PM.
1 Like
nerd
December 9, 2024, 10:33pm
62
Hey @laluciol6990 ,
Thank you for checking the technical details. Your effort is greatly appreciated.
Kind Regards,
1 Like
nerd
December 9, 2024, 10:38pm
63
Dear Volumionauts,
I would like to extend my gratitude to @Josh2000 , who has kindly forwarded his Allo Piano 2.1 + Kali for the testing.
Also, a round of applause to @Zhapox and @laluciol6990 for their willingness to share their hardware for the troubleshooting effort.
Kind Regards,
5 Likes
nerd
December 10, 2024, 8:51am
64
Dear Volumionauts,
Started regression thread with pi-kernel upstream. You can follow on changes here:
opened 08:28AM - 10 Dec 24 UTC
### Describe the bug
It seems that sound/soc/bcm/allo-piano-dac-plus.c is notā¦ parsing parameters for alsa use. What I can observe is that the dtoverlay partly fails register the card:
```
[ 19.836848] snd-allo-piano-dac-plus soc:sound: snd_soc_register_card() failed: -517
[ 19.882239] snd-allo-piano-dac-plus soc:sound: snd_soc_register_card() failed: -517
```
However module somewhat loads:
ls -la /sys/module/snd_soc_allo_piano_dac_plus/
```
drwxr-xr-x 6 root root 0 Dec 10 08:08 .
drwxr-xr-x 150 root root 0 Jan 1 1970 ..
-r--r--r-- 1 root root 4096 Dec 10 08:08 coresize
drwxr-xr-x 2 root root 0 Dec 10 08:08 drivers
drwxr-xr-x 2 root root 0 Dec 10 08:08 holders
-r--r--r-- 1 root root 4096 Dec 10 08:08 initsize
-r--r--r-- 1 root root 4096 Dec 10 08:08 initstate
drwxr-xr-x 2 root root 0 Dec 10 08:08 notes
-r--r--r-- 1 root root 4096 Dec 10 08:08 refcnt
drwxr-xr-x 2 root root 0 Dec 10 08:08 sections
-r--r--r-- 1 root root 4096 Dec 10 08:08 srcversion
-r--r--r-- 1 root root 4096 Dec 10 08:08 taint
--w------- 1 root root 4096 Dec 10 08:08 uevent
```
Simple test with alsa-info shows that the expected DAC's control parameters are missing:
```
ALSA Information Script v 0.5.1
--------------------------------
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.
dmesg
lspci
aplay
amixer
alsactl
rpm, dpkg
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See '/usr/sbin/alsa-info --help' for command line options.
cat: /tmp/alsa-info.2lPuin51C4/acpidevicestatus.tmp: No such file or directory
pgrep: pattern that searches for process name longer than 15 characters will result in zero matches
Try `pgrep -f' option to match against the complete command line.
cat: '/sys/module/snd_soc_allo_piano_dac_plus/parameters/*': No such file or directory
```
In addition, there seems to be a deadlock after module load preventing init level change.
### Steps to reproduce the behaviour
Load overlay with config.txt:
```
# Enable audio (loads snd_bcm2835)
dtparam=audio=off
[all]
dtoverlay=allo-piano-dac-plus-pcm512x-audio
```
Load manually:
`sudo dtoveraly allo-piano-dac-plus-pcm512x-audio`
### Device (s)
Raspberry Pi 3 Mod. B+, Raspberry Pi 4 Mod. B, Raspberry Pi 400, Raspberry Pi 5, Raspberry Pi CM4, Raspberry Pi CM4 Lite, Other
### System
cat /etc/rpi-issue
```
Raspberry Pi reference 2024-07-04
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 48efb5fc5485fafdc9de8ad481eb5c09e1182656, stage5
```
vcgencmd version
```
Nov 26 2024 12:54:19
Copyright (c) 2012 Broadcom
version 2ae30f53898ae2f1ba77ff570a92991bedfb0398 (clean) (release) (start)
```
uname -a
`Linux bookworm 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux`
### Logs
dmesg shows continuously:
```
[ 242.652712] INFO: task alsactl:514 blocked for more than 120 seconds.
[ 242.652754] Tainted: G C 6.6.62+rpt-rpi-v8 #1 Debian 1:6.6.62-1+rpt1
[ 242.652766] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 242.652773] task:alsactl state:D stack:0 pid:514 ppid:1 flags:0x00000805
[ 242.652800] Call trace:
[ 242.652810] __switch_to+0xe0/0x148
[ 242.652841] __schedule+0x37c/0xd60
[ 242.652856] schedule+0x64/0x108
[ 242.652871] schedule_preempt_disabled+0x2c/0x50
[ 242.652893] rwsem_down_read_slowpath+0x214/0x528
[ 242.652915] down_read+0xac/0xc0
[ 242.652931] snd_soc_card_get_kcontrol+0x34/0xc0 [snd_soc_core]
[ 242.653171] snd_soc_limit_volume+0x2c/0x80 [snd_soc_core]
[ 242.653360] pcm512x_set_reg_master+0x110/0x138 [snd_soc_allo_piano_dac_plus]
[ 242.653401] snd_ctl_elem_write+0xfc/0x208 [snd]
[ 242.653508] snd_ctl_ioctl+0x14c/0x920 [snd]
[ 242.653598] __arm64_sys_ioctl+0xb4/0x100
[ 242.653619] invoke_syscall+0x50/0x128
[ 242.653642] el0_svc_common.constprop.0+0xc8/0xf0
[ 242.653662] do_el0_svc+0x24/0x38
[ 242.653681] el0_svc+0x38/0xd0
[ 242.653702] el0t_64_sync_handler+0x100/0x130
[ 242.653723] el0t_64_sync+0x190/0x198
[ 242.653745] INFO: task alsactl:532 blocked for more than 120 seconds.
[ 242.653758] Tainted: G C 6.6.62+rpt-rpi-v8 #1 Debian 1:6.6.62-1+rpt1
[ 242.653768] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 242.653775] task:alsactl state:D stack:0 pid:532 ppid:1 flags:0x00000004
[ 242.653796] Call trace:
[ 242.653803] __switch_to+0xe0/0x148
[ 242.653820] __schedule+0x37c/0xd60
[ 242.653834] schedule+0x64/0x108
[ 242.653849] schedule_preempt_disabled+0x2c/0x50
[ 242.653865] rwsem_down_write_slowpath+0x32c/0x6d8
[ 242.653888] down_write+0x98/0xa8
[ 242.653906] snd_ctl_release+0x74/0x130 [snd]
[ 242.653996] __fput+0xc4/0x290
[ 242.654017] __fput_sync+0x58/0x70
[ 242.654037] __arm64_sys_close+0x40/0x90
[ 242.654056] invoke_syscall+0x50/0x128
[ 242.654076] el0_svc_common.constprop.0+0x48/0xf0
[ 242.654095] do_el0_svc+0x24/0x38
[ 242.654113] el0_svc+0x38/0xd0
[ 242.654133] el0t_64_sync_handler+0x100/0x130
[ 242.654154] el0t_64_sync+0x190/0x198
[ 242.654221] INFO: task wireplumber:989 blocked for more than 120 seconds.
[ 242.654233] Tainted: G C 6.6.62+rpt-rpi-v8 #1 Debian 1:6.6.62-1+rpt1
[ 242.654243] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 242.654251] task:wireplumber state:D stack:0 pid:989 ppid:961 flags:0x00000804
[ 242.654271] Call trace:
[ 242.654277] __switch_to+0xe0/0x148
[ 242.654293] __schedule+0x37c/0xd60
[ 242.654308] schedule+0x64/0x108
[ 242.654322] schedule_preempt_disabled+0x2c/0x50
[ 242.654338] rwsem_down_write_slowpath+0x32c/0x6d8
[ 242.654356] down_write+0x98/0xa8
[ 242.654372] snd_ctl_release+0x74/0x130 [snd]
[ 242.654467] __fput+0xc4/0x290
[ 242.654488] __fput_sync+0x58/0x70
[ 242.654507] __arm64_sys_close+0x40/0x90
[ 242.654525] invoke_syscall+0x50/0x128
[ 242.654544] el0_svc_common.constprop.0+0xc8/0xf0
[ 242.654563] do_el0_svc+0x24/0x38
[ 242.654583] el0_svc+0x38/0xd0
[ 242.654603] el0t_64_sync_handler+0x100/0x130
[ 242.654623] el0t_64_sync+0x190/0x198
[ 363.484702] INFO: task alsactl:514 blocked for more than 241 seconds.
[ 363.484745] Tainted: G C 6.6.62+rpt-rpi-v8 #1 Debian 1:6.6.62-1+rpt1
[ 363.484758] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
```
### Additional context
_No response_
Kind Regards,
4 Likes
Zhapox
December 11, 2024, 8:00am
65
Thank you for your efforts trying to make this work again!
nerd
December 11, 2024, 3:15pm
66
Dear Volumionauts,
Progress update:
A deadlock in (quite ancient) allo-piano-dac-plus kernel module volume limit has been identified and patch is being prepared.
Huge thank you for Phil who ālocated his thinking headā (in his own words) whilst working on kernel bug report and made this possible.
Kind Regards,
5 Likes
nerd
December 11, 2024, 9:27pm
67
Dear Volumionauts,
Progress update:
Internal test are completed with expected results. Volumio OS beta is being prepared and should be available soon. Our guru @Darmur will perhaps update this thread once beta is ready.
Credits:
@Josh2000 - for ripping open his fantastic Volumio based system and rushing the Allo Piano 2.1+Kali delivered to me.
@Zhapox - for hours spent on code iterations testing and beyond patience results reporting.
@laluciol6990 - for willingness to forward his DAC (sorry, Josh beat you to it).
@Darmur - for countless builds, watching me as a hawk with every single pull request.
Phil - outstanding gallantry helping nail the problem on the head.
@nerd - the usual, āan odd scribble here and thereāā¦
Least but not last @volumio - for befathering such a versatile player and building such a wonderful community.
Everyone here - for you patience and support.
Kind Regards,
8 Likes
Darmur
December 12, 2024, 9:51am
68
a new image with the fix for Allo Piano is available, here below the download link
https://updates.volumio.org/pi/volumio/3.783/Volumio-3.783-2024-12-12-pi.zip
it is of course possible to perform an OTA update to this version, after enabling test-mode
4 Likes
Darmur
December 12, 2024, 4:56pm
70
another image, improved fix
https://updates.volumio.org/pi/volumio/3.784/Volumio-3.784-2024-12-12-pi.zip
it is possible to perform an OTA update to this version, after enabling test-mode
3 Likes
Hi.
for whatever reason, 3.784 was damaged (downloaded twice to try) for me, i couldnāt use it to burn an image
3.783 with RaspBerry Pi 3, Kali reclocker and Piano 2.1: setup could go through, network, DAC selection, plugins install.
i could set the sampling rate to 32bits (old Piano bug counter measure i always use), but trying to use plugins to play music leads to unresponsive UI to the point i have to stop.
not tried local sources
tried to send a report bug from the /dev address, sending log report for the past 15minutes as i am typing this. Hope it will be done at some points
Hope that helps / tell me if i can do more
nerd
December 13, 2024, 9:41am
72
@laluciol6990 ,
If this is not much to ask, can you be more specific about your hardware please?
Raspberry Pi 3 family:
Code
Model
Revision
RAM
Manufacturer
9020e0
3A+
1.0
512MB
Sony UK
9020e1
3A+
1.1
512MB
Sony UK
a02082
3B
1.2
1GB
Sony UK
a020d3
3B+
1.3
1GB
Sony UK
a020d4
3B+
1.4
1GB
Sony UK
a22082
3B
1.2
1GB
Embest
a22083
3B
1.3
1GB
Embest
a32082
3B
1.2
1GB
Sony Japan
a52082
3B
1.2
1GB
Stadium
Simple command:
cat /proc/cpuinfo | grep "Model" && cat /proc/cpuinfo | grep "Revision"
3.784 test
Task
Status
Comment
Firmware download
PASS
Complete, no issues
Flash to Micro SD
PASS
Imager, Belena, dd - consistent after unzip
Boot
PASS
Pi 3B+, Pi 4B, Pi 5
DAC enable Piano 2.1
PASS
Pi 3B+, Pi 4B, Pi 5 - I2C enable, then reboot
Piano 2.1 config
PASS
Pi 3B+, Pi 4B, Pi 5 - DAC config, then reboot
Piano 2.1 audio
PASS
Pi 3B+, Pi 4B, Pi 5 - DAC various audio settings
What am I doing differently?
Kind Regards,
Zhapox
December 13, 2024, 10:19am
73
Hi @nerd & @Darmur ,
Here my first test results with 3.784:
Downloaded 3.784 and verified hash > matched with Volumio-3.784-2024-12-12-pi.img.md5
Flashed 3.784 to SD using Rapsberry Pi Imager v1.8.3
Booted successfully
Went through initial setup and selected Piano 2.1 as DAC > web interface still available
Enabled resampling, set to 32bit, 192kHz, very high quality to address white noise bug
Selected web radio from TOP500 list > Playback successful on both PCM chips
Changed playback mode from āDual Stereoā to āDual Monoā and rebooted
Selected web radio from TOP500 list > Playback successful on both PCM chips
Added CIFS drive for offline music
Selected DSD music for playback > Playback successful on both PCM chips
System Info:
Model : Raspberry Pi 3 Model B Rev 1.2
Revision : a22082
1 Like
Darmur
December 13, 2024, 11:02am
74
awesome, it looks like the problem is solved!
cat /proc/cpuinfo | grep āModelā && cat /proc/cpuinfo | grep āRevisionā
Model : Raspberry Pi 3 Model B Rev 1.2
Revision : a02082
Hi.
I redownloaded 3.784 and unarchived it with a different utility.
I verified md5, had no issue burning it.
Loaded 3.784, everything ok with Radio Paradise plugin playing AAC, then activated resampling to 32bits (for old mp3 bug with Piano 2.1, donāt know if still appliesā¦) and could play Radio Paradise mp3 stream.
Soā¦it seems it is solved!
1 Like
Axel
December 13, 2024, 10:40pm
77
A big shout out to everyone who has contributed here and especially at Nerd. This really goes above and beyond what you would normally expect
1 Like
Wheaten
December 13, 2024, 10:46pm
78
yes, this was really a team and community effort. Great to experience that this is possible.
2 Likes
Reporting success with a Raspberry Pi 3 Model B Rev 1.2 and Allo Piano 2.1.
Many many thanks, on behalf of the whole family