Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Possible fix for Allo Piano 2.1
#13
The RPi kernel, starting with kernel 6.6.66, contains a fix so that MoOde 9.x.x can load the proper driver for the Allo Piano 2.1 dac.
Realizing that the current kernel version used by MoOde is 6.6.62 the following is a suggestion to force the cardnumber to 0 (zero) as that is expected by the Alsamixer.
 Currently the the output of aplay -l is:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: PianoDACPlus [PianoDACPlus], device 0: PianoDACPlus multicodec-0 [PianoD
 Subdevices: 0/1
 Subdevice #0: subdevice #0

I manually created: sudo nano /etc/modprobe.d/alsa-base.conf
with the following line:
Code:
options snd slots=snd_soc_allo_piano_dac_plus

This will force the cardnumber for the Allo Piano 2.1 to 0 upon boot (every time).
Information can be found on the site: wiki.archlinux.org in chapter 3.2.

After reboot the output of aplay -l is:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PianoDACPlus [PianoDACPlus], device 0: PianoDACPlus multicodec-0 [PianoD
 Subdevices: 0/1
 Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
As far as i can tell all functions related to ALSA are working properly.

Is it feasibble to implement this at the time the 6.6.66 kernel or above is introduced in MoOde?
I have no idea if the forced card numbering will break other stuff. 

regards
Wim
Reply


Messages In This Thread
Possible fix for Allo Piano 2.1 - by Sunfish - 12-14-2024, 01:42 PM
RE: Possible fix for Allo Piano 2.1 - by Sunfish - 12-18-2024, 10:08 AM
RE: Possible fix for Allo Piano 2.1 - by Sunfish - 12-18-2024, 12:07 PM
RE: Possible fix for Allo Piano 2.1 - by Sunfish - 12-19-2024, 08:05 AM
RE: Possible fix for Allo Piano 2.1 - by Sunfish - 12-19-2024, 11:03 AM
RE: Possible fix for Allo Piano 2.1 - by Sunfish - 12-29-2024, 01:49 PM
RE: Possible fix for Allo Piano 2.1 - by Sunfish - 12-29-2024, 03:18 PM
RE: Possible fix for Allo Piano 2.1 - by Sunfish - 12-30-2024, 10:19 AM

Forum Jump: