Andre Przywara
unread,Mar 11, 2025, 9:15:11 PMMar 11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to system...@protonmail.com, linux-sunxi
Hi,
(CC:ing the (old) sunxi list for the benefit of others)
as promised on IRC, my audio setup for the H616:
I was able to successfully play audio on some H616 board with a
mainline kernel and the attached tools (built from tinyalsa.git,
statically linked against musl). This looks all very 1990s, but is
probably among the most basic ways to verify sound functionality. I use
it on a busybox based rootfs, but anything should really work:
# tinymix contents
Number of controls: 7
ctl type num name device value
0 INT 1 DAC Playback Volume 063 (range 0->63)
1 INT 1 Line Out Playback Volume 00 (range 0->31)
2 BOOL 2 Line Out Playback Switch 0Off, Off
3 BOOL 1 LINEOUT Switch 0On
4 BOOL 2 DAC Playback Switch 0Off, Off
5 BOOL 2 DAC Reversed Playback Switch 0Off, Off
6 ENUM 2 Line Out Source Playback Route 0> Stereo, Mono Differential, , > Stereo, Mono Differential,
# tinymix set 1 31
# tinymix set 2 1 1
# tinymix set 4 1 1
# tinymix contents
Number of controls: 7
ctl type num name device value
0 INT 1 DAC Playback Volume 063 (range 0->63)
1 INT 1 Line Out Playback Volume 031 (range 0->31)
2 BOOL 2 Line Out Playback Switch 0On, On
3 BOOL 1 LINEOUT Switch 0On
4 BOOL 2 DAC Playback Switch 0On, On
5 BOOL 2 DAC Reversed Playback Switch 0Off, Off
6 ENUM 2 Line Out Source Playback Route 0> Stereo, Mono Differential, , > Stereo, Mono Differential,
# tinyplay track05.wav
playing 'track05.wav': 2 ch, 44100 hz, 16-bit signed PCM
^CPlayed 7888896 bytes. Remains 23456208 bytes.
Hope that helps!
Cheers,
Andre