08-09-2023, 02:19 PM
I have a couple of PINE A64(+) boards and I use the hdmi audio, which works fine. I have script with a pactl command to set the sink automatically and it then works.
I how have several LTS boards, and I can not get any audio/sound (headphone jack or HDMI) to work on the LTS/SOPINE linux version.
I am running Armbian 23.02.2 Buster with Lumix 5.15.93-sunxi64. I run apt update -> upgrade to keep up to date.
I have tried the html sound coming out of my monitor, it doesn't work, but I have ready that its not support in the LTS release.
I have also tried the headphone jack. I test using play and aplay. They both look like they are generating audio, but nothing comes out.
When I try to run pactl, I get:
# pactl info
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
My DTC listing for sound is:
/dts-v1/;
/ {
#address-cells = < 0x01 >;
model = "SoPine with baseboard";
serial-number = "92c0a5baf0f6ec54";
#size-cells = < 0x01 >;
interrupt-parent = < 0x01 >;
compatible = "pine64,sopine-baseboard\0pine64,sopine\0allwinner,sun50i-a64";
sound {
simple-audio-card,name = "sun50i-a64-audio";
#address-cells = < 0x01 >;
simple-audio-card,aux-devs = < 0x12 >;
simple-audio-card,widgets = "Microphone\0Microphone Jack\0Headphone\0Headphone Jack";
simple-audio-card,routing = "Left DAC\0DACL\0Right DAC\0DACR\0Headphone Jack\0HP\0ADCL\0Left ADC\0ADCR\0Right ADC\0MIC2\0Microphone Jack";
#size-cells = < 0x00 >;
compatible = "simple-audio-card";
status = "okay";
phandle = < 0x58 >;
simple-audio-card,dai-link@0 {
mclk-fs = < 0x80 >;
format = "i2s";
frame-master = < 0x13 >;
bitclock-master = < 0x13 >;
cpu {
phandle = < 0x13 >;
sound-dai = < 0x14 >;
};
codec {
phandle = < 0x59 >;
sound-dai = < 0x15 0x00 >;
};
};
};
sound_hdmi {
compatible = "allwinner,sun9i-a80-hdmi-audio\0allwinner,sun50i-a64-hdmi-audio";
status = "okay";
phandle = < 0x5a >;
cpu {
sound-dai = < 0x17 >;
};
codec {
sound-dai = < 0x16 >;
};
};
};
(sorry all the indenting is lost).\\I can post a screen shot of running alsamixer if that helps.
Any recommendations/things to test will be appreciated.
I how have several LTS boards, and I can not get any audio/sound (headphone jack or HDMI) to work on the LTS/SOPINE linux version.
I am running Armbian 23.02.2 Buster with Lumix 5.15.93-sunxi64. I run apt update -> upgrade to keep up to date.
I have tried the html sound coming out of my monitor, it doesn't work, but I have ready that its not support in the LTS release.
I have also tried the headphone jack. I test using play and aplay. They both look like they are generating audio, but nothing comes out.
When I try to run pactl, I get:
# pactl info
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
My DTC listing for sound is:
/dts-v1/;
/ {
#address-cells = < 0x01 >;
model = "SoPine with baseboard";
serial-number = "92c0a5baf0f6ec54";
#size-cells = < 0x01 >;
interrupt-parent = < 0x01 >;
compatible = "pine64,sopine-baseboard\0pine64,sopine\0allwinner,sun50i-a64";
sound {
simple-audio-card,name = "sun50i-a64-audio";
#address-cells = < 0x01 >;
simple-audio-card,aux-devs = < 0x12 >;
simple-audio-card,widgets = "Microphone\0Microphone Jack\0Headphone\0Headphone Jack";
simple-audio-card,routing = "Left DAC\0DACL\0Right DAC\0DACR\0Headphone Jack\0HP\0ADCL\0Left ADC\0ADCR\0Right ADC\0MIC2\0Microphone Jack";
#size-cells = < 0x00 >;
compatible = "simple-audio-card";
status = "okay";
phandle = < 0x58 >;
simple-audio-card,dai-link@0 {
mclk-fs = < 0x80 >;
format = "i2s";
frame-master = < 0x13 >;
bitclock-master = < 0x13 >;
cpu {
phandle = < 0x13 >;
sound-dai = < 0x14 >;
};
codec {
phandle = < 0x59 >;
sound-dai = < 0x15 0x00 >;
};
};
};
sound_hdmi {
compatible = "allwinner,sun9i-a80-hdmi-audio\0allwinner,sun50i-a64-hdmi-audio";
status = "okay";
phandle = < 0x5a >;
cpu {
sound-dai = < 0x17 >;
};
codec {
sound-dai = < 0x16 >;
};
};
};
(sorry all the indenting is lost).\\I can post a screen shot of running alsamixer if that helps.
Any recommendations/things to test will be appreciated.