11-17-2023, 11:01 AM
(11-17-2023, 10:45 AM)MichaIng Wrote: Aside of the generic "USB DAC" option, which throws an error if not USB DAC is attached, this should be the only one anyway? I.e. which one did you select before? There is not really a way to detect a particular baseboard.
What we could change in general is: Currently, when you enable audio, at first "None" is selected as sound card, so one must select one explicitly. We could change it a way that, when audio is enabled for the first time, a sound card "default" is selected/setup automatically. For some boards there is even a "default" entry in the menu, which is often internally replaced by HDMI audio. For the Quartz64 there is no such, but, when passing "default" to the backend script, it will just use the "hw:0,0" PCM, which is HDMI audio anyway in this case. If there is a 3.5mm jack, it might be that one instead, and "hw:1,0" HDMI audio instead, however, probably having any sound card selected OOTB is better then none?
I don't think I selected one before, as the startup scripts didn't ask. Perhaps, as some other distros do (Plebian I think does this) there should be a separate image for each of the common baseboards, or provide the DTBs for each board (Manjaro's approach) which can be set up by editing extlinux.conf before first boot.
Speaking of which, I also have a Waveshare CM4 to Pi3 carrier board, and I can't use it, because for some reason all of the USB ports are non-functional no matter which distro I tried to use (DietPi, Manjaro, and Plebian all fail). I get a login prompt with no way to type a username and password. I read somewhere here:
https://forum.pine64.org/showthread.php?tid=18419
that it is possible to set up some kind of DTB overlay to get the USB on the carrier board working, but I don't know if that's doable with DietPi.