Open zoff99 opened 6 months ago
@popcornmix does this sound like a kernel issue?
same goes for the PI3 B+ so latest OS: aplay via HDMI:
i am trying the full (instead of the lite) version now ...
funky, with the full version: https://downloads.raspberrypi.com/raspios_full_arm64/images/raspios_full_arm64-2023-12-06/2023-12-05-raspios-bookworm-arm64-full.img.xz it works on the PI4.
hmm. now how to figure out what is missing in the lite version so that it only work on the PI5
i think i am getting close.
if i change in /usr/share/alsa/alsa.conf
defaults.ctl.card 0 defaults.pcm.card 0
to
defaults.ctl.card 1 defaults.pcm.card 1
then aplay works. now why is the default not working?
the PI4 still has the audio jack. the PI5 does not. so on the PI4 the audio jack is set to the default audio device. but only on the lite version.
ah. for some reason on the full OS the audio jack is card 2 and HDMI is card 0 and 1. (shown via aplay -l
)
on the lite version the audio jack is card 0 and HDMI is card 1 and 2.
ok installing this pkg: raspberrypi-ui-mods
fixes the audio device order. but since that pulls in a zillion others like wayland and pulse i don't really know what happens.
i think alsa should work even on the lite images out of the box.
could be related to: https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/157
i flashed https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-12-11/2023-12-11-raspios-bookworm-arm64-lite.img.xz to a new SD Card. and started it up on the a PI4. its connected to a TV with HDMI0 port. picture shows up on TV but no audio playback is possible with alsa.
it always says: "aplay: set_params:1352: Sample format non available"
Available formats:
how can i add all the missing formats?
if i take the sd card out of the PI4 and plug it into a PI5 i get all these:
Recognized sample formats are: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM S20_LE S20_BE U20_LE U20_BE SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE G723_24 G723_24_1B G723_40 G723_40_1B DSD_U8 DSD_U16_LE DSD_U32_LE DSD_U16_BE DSD_U32_BE
i don't know whats happening there.