Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PINE A64 | No sound with mainline kernel #4805

Open
Sciamano72 opened this issue Oct 6, 2021 · 69 comments
Open

PINE A64 | No sound with mainline kernel #4805

Sciamano72 opened this issue Oct 6, 2021 · 69 comments
Labels
Armbian External bug 🐞 For bugs which are not caused by DietPi. Kernel related 🧬 PINE A64 Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible.
Milestone

Comments

@Sciamano72
Copy link

Sciamano72 commented Oct 6, 2021

Creating a bug report/issue

Required Information

  • DietPi version |
    G_DIETPI_VERSION_CORE=7
    G_DIETPI_VERSION_SUB=6
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'
    G_LIVE_PATCH_STATUS[0]='not applicable'
    G_LIVE_PATCH_STATUS[1]='applied'
    G_LIVE_PATCH_STATUS[2]='applied'
    G_LIVE_PATCH_STATUS[3]='applied'
    G_LIVE_PATCH_STATUS[4]='not applicable'

  • Distro version | buster

  • Kernel version | Linux DietPineA64 5.10.60-sunxi64 #21.08.1 SMP Wed Aug 25 18:29:57 UTC 2021 aarch64 GNU/Linux

  • SBC model | PINE A64 (aarch64)

  • Power supply used | 5V 2A UGreen

  • SDcard used | SanDisk ultra 32Gb

Additional Information (if applicable)

  • Software title | squeezelite
  • Freshly installed
  • Can this issue be replicated on a fresh installation of DietPi? Yes
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. Enable Audio Card (no matter which one) in dietpi-config
  2. Install squeezeboxserver + squeezelite
  3. command 'squeezelite -l' which shows available cards will respond "null - Discard all samples (playback) or generate zero samples (capture)"
  4. playing any audio file from squeezeboxserver (or locally, does not matter) does not result in any hearable output

Expected behaviour

  • command 'squeezelite -l' should list available sound cards
  • audio should be heard from the output
@MichaIng
Copy link
Owner

MichaIng commented Oct 6, 2021

Many thanks for your report. Is the sound card listed by ALSA?

aplay -l

@Sciamano72
Copy link
Author

Nope:

aplay: device_list:272: no soundcards found...

@MichaIng
Copy link
Owner

MichaIng commented Oct 7, 2021

So there is simply no sound device found. I checked the current A64 kernel and device tree overlays and there is at least no overlay to enable onboard sound, means that it "should" be enabled by default.

I checked the Armbian forum but couldn't find something related so far: https://forum.armbian.com/forum/27-allwinner-a64-h5-h6-and-h616/

Does the kernel report any errors that may be related?

dmesg -l emerg,alert,crit,err
dmesg | grep -E 'audio|sound|snd'

@Sciamano72
Copy link
Author

Sciamano72 commented Oct 7, 2021

These are the errors I found (there are many others but they are CIFS-related):

root@DietPineA64:~# dmesg -l emerg,alert,crit,err
[    2.083430] sun8i-dw-hdmi 1ee0000.hdmi: Couldn't get regulator
[    2.083874] sun4i-drm display-engine: Couldn't bind all pipelines components
[    2.120296] phy id_det change to host
[    2.329316] phy id_det change to host

and

root@DietPineA64:~# dmesg | grep -E 'audio|sound|snd'
[    2.549955]   No soundcards found.
[    5.693445] input: sun50i-a64-audio Headset Jack as /devices/platform/sound/sound/card0/input1
[21091.840486] usbcore: registered new interface driver snd-usb-audio

@MichaIng
Copy link
Owner

MichaIng commented Oct 8, 2021

Was this on a fresh DietPi system or did it work before?

@Sciamano72
Copy link
Author

Sorry, did not receive the notification for your reply.
It's a fresh DietPi system.

@MichaIng
Copy link
Owner

You tried a reboot, didn't you?

To me it looks like a related kernel module isn't loaded. Does this one load?

modprobe sunxi_codec

or this one:

modprobe snd-soc-simple-card

Interesting is that input: sun50i-a64-audio Headset Jack was detected, but only the input device, no output device.

@Sciamano72
Copy link
Author

Sciamano72 commented Oct 12, 2021

Yes, I've rebooted many times already.

root@DietPineA64:~# modprobe sunxi_codec
modprobe: FATAL: Module sunxi_codec not found in directory /lib/modules/5.10.60-sunxi64

root@DietPineA64: # modprobe snd-soc-simple-card
root@DietPineA64:~#

(No output on the last one)

@Sciamano72
Copy link
Author

Sciamano72 commented Oct 12, 2021

Ok, I don't know what I did, but now the soundcards show up (but still no sound):

root@DietPineA64:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 [1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sun50ia64hdmi [sun50i-a64-hdmi], device 0: 1c22800.i2s-i2s-hifi i2s-hifi-0 [1c22800.i2s-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@DietPineA64:~# squeezelite -l
Output devices:
  null                           - Discard all samples (playback) or generate zero samples (capture)
  sysdefault:CARD=sun50ia64audio - sun50i-a64-audio, 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 - Default Audio Device
  dmix:CARD=sun50ia64audio,DEV=0 - sun50i-a64-audio, 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 - Direct sample mixing device
  dsnoop:CARD=sun50ia64audio,DEV=0 - sun50i-a64-audio, 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 - Direct sample snooping device
  hw:CARD=sun50ia64audio,DEV=0   - sun50i-a64-audio, 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 - Direct hardware device without any conversions
  plughw:CARD=sun50ia64audio,DEV=0 - sun50i-a64-audio, 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 - Hardware device with all software conversions
  sysdefault:CARD=sun50ia64hdmi  - sun50i-a64-hdmi, 1c22800.i2s-i2s-hifi i2s-hifi-0 - Default Audio Device
  dmix:CARD=sun50ia64hdmi,DEV=0  - sun50i-a64-hdmi, 1c22800.i2s-i2s-hifi i2s-hifi-0 - Direct sample mixing device
  dsnoop:CARD=sun50ia64hdmi,DEV=0 - sun50i-a64-hdmi, 1c22800.i2s-i2s-hifi i2s-hifi-0 - Direct sample snooping device
  hw:CARD=sun50ia64hdmi,DEV=0    - sun50i-a64-hdmi, 1c22800.i2s-i2s-hifi i2s-hifi-0 - Direct hardware device without any conversions
  plughw:CARD=sun50ia64hdmi,DEV=0 - sun50i-a64-hdmi, 1c22800.i2s-i2s-hifi i2s-hifi-0 - Hardware device with all software conversions

I have also tried editing the squeezelite service to specify the output card ("-o hw:CARD=sun50ia64audio,DEV=0") but still can't hear any sounds :(

@MichaIng
Copy link
Owner

Good so far. Can you please try to re-select the right card via dietpi-config now? I guess sun50i-a64-audio is the 3.5mm jack while sun50i-a64-hdmi is HDMI audio. If there is still no sound, check if you find some muted volume toggles in alsamixer.

@Sciamano72
Copy link
Author

I've re-selected sun50i-a64-audio in dietpi-config and checked in alsamixer that nothing is muted. Still no sound from the 3.5mm jack.
I've also tried selecting the HDMI option, but then I couldn't find any way to verify whether sound worked or not as I can't plug the A64 to any HDMI-equipped device :-D

@MichaIng
Copy link
Owner

Can you show the available controls with values:

amixer -c 0 scontents

@Sciamano72
Copy link
Author

Sciamano72 commented Oct 13, 2021

Sure:

Logfile attached. Click to expand!
root@DietPineA64:~# amixer -c 0 scontents
Simple mixer control 'Headphone',0
  Capabilities: pvolume pvolume-joined pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Mono:
  Front Left: Playback 43 [68%] [-20.00dB] [on]
  Front Right: Playback 43 [68%] [-20.00dB] [on]
Simple mixer control 'Headphone Source',0
  Capabilities: penum
  Items: 'DAC' 'Mixer'
  Item0: 'Mixer'
  Item1: 'Mixer'
Simple mixer control 'Line In',0
  Capabilities: pvolume pvolume-joined pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 7
  Front Left: Playback 4 [57%] [1.50dB] [on] Capture [off]
  Front Right: Playback 4 [57%] [1.50dB] [on] Capture [off]
Simple mixer control 'Line Out',0
  Capabilities: pvolume pvolume-joined pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 17 [55%] [-21.00dB] [on]
  Front Right: Playback 17 [55%] [-21.00dB] [on]
Simple mixer control 'Line Out Source',0
  Capabilities: penum
  Items: 'Stereo' 'Mono Differential'
  Item0: 'Stereo'
  Item1: 'Stereo'
Simple mixer control 'Mic1',0
  Capabilities: pvolume pvolume-joined pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 7
  Front Left: Playback 4 [57%] [1.50dB] [on] Capture [off]
  Front Right: Playback 4 [57%] [1.50dB] [on] Capture [off]
Simple mixer control 'Mic1 Boost',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 3 [43%] [30.00dB]
Simple mixer control 'Mic2',0
  Capabilities: pvolume pvolume-joined pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 7
  Front Left: Playback 3 [43%] [0.00dB] [on] Capture [off]
  Front Right: Playback 3 [43%] [0.00dB] [on] Capture [off]
Simple mixer control 'Mic2 Boost',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 4 [57%] [33.00dB]
Simple mixer control 'Mixer',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mixer Reversed',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'ADC',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 192
  Front Left: Capture 0 [0%] [-99999.99dB]
  Front Right: Capture 0 [0%] [-99999.99dB]
Simple mixer control 'ADC Digital DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'ADC Gain',0
  Capabilities: cvolume cvolume-joined
  Capture channels: Mono
  Limits: Capture 0 - 7
  Mono: Capture 3 [43%] [0.00dB]
Simple mixer control 'AIF1 AD0',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 192
  Front Left: Capture 0 [0%] [-99999.99dB]
  Front Right: Capture 0 [0%] [-99999.99dB]
Simple mixer control 'AIF1 AD0 Stereo',0
  Capabilities: cenum
  Items: 'Stereo' 'Reverse Stereo' 'Sum Mono' 'Mix Mono'
  Item0: 'Stereo'
  Item1: 'Stereo'
Simple mixer control 'AIF1 DA0',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 192
  Mono:
  Front Left: Playback 0 [0%] [-99999.99dB]
  Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'AIF1 DA0 Stereo',0
  Capabilities: penum
  Items: 'Stereo' 'Reverse Stereo' 'Sum Mono' 'Mix Mono'
  Item0: 'Stereo'
  Item1: 'Stereo'
Simple mixer control 'AIF1 Data Digital ADC',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AIF1 Slot 0 Digital ADC',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AIF1 Slot 0 Digital DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'AIF2 ADC',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 192
  Front Left: Capture 0 [0%] [-99999.99dB]
  Front Right: Capture 0 [0%] [-99999.99dB]
Simple mixer control 'AIF2 ADC Mixer ADC',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AIF2 ADC Mixer AIF1 DA0',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AIF2 ADC Mixer AIF2 DAC Rev',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AIF2 ADC Stereo',0
  Capabilities: cenum
  Items: 'Stereo' 'Reverse Stereo' 'Sum Mono' 'Mix Mono'
  Item0: 'Stereo'
  Item1: 'Stereo'
Simple mixer control 'AIF2 DAC',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 192
  Mono:
  Front Left: Playback 0 [0%] [-99999.99dB]
  Front Right: Playback 0 [0%] [-99999.99dB]
Simple mixer control 'AIF2 DAC Source',0
  Capabilities: penum
  Items: 'AIF2' 'AIF3+2' 'AIF2+3'
  Item0: 'AIF2'
Simple mixer control 'AIF2 DAC Stereo',0
  Capabilities: penum
  Items: 'Stereo' 'Reverse Stereo' 'Sum Mono' 'Mix Mono'
  Item0: 'Stereo'
  Item1: 'Stereo'
Simple mixer control 'AIF2 Digital ADC',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AIF2 Digital DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'AIF2 Inv Digital ADC',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AIF3 ADC Source',0
  Capabilities: cenum
  Items: 'None' 'AIF2 ADCL' 'AIF2 ADCR'
  Item0: 'None'
Simple mixer control 'DAC',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 192
  Mono:
  Front Left: Playback 133 [69%] [-20.25dB] [on]
  Front Right: Playback 133 [69%] [-20.25dB] [on]
Simple mixer control 'DAC Reversed',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'Earpiece',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Earpiece Source',0
  Capabilities: penum
  Items: 'DACR' 'DACL' 'Right Mixer' 'Left Mixer'
  Item0: 'DACR'

@MichaIng
Copy link
Owner

Okay, I also cannot see something that is missing or muted. Try to move all sliders to max in alsamixer.

Some controls are muted, especially try to raise those, although it doesn't look like it were related to regular 3.5mm output, mostly ADC/DAC devices:

Simple mixer control 'ADC Digital DAC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
...
Simple mixer control 'Earpiece',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [-99999.99dB] [off]

@Sciamano72
Copy link
Author

I've followed your advice and unmuted everything, then raised everything to 100%. Rebooted.
Still no sounds. :(

@MichaIng
Copy link
Owner

Let me create a Bullseye image, probably the userland updates solve it, so we don't waste time in debugging an old Debian version.

@Sciamano72
Copy link
Author

Should I try to update my installation to Bullseye?

@MichaIng
Copy link
Owner

Good idea, as my server is in the middle of builds already: https://dietpi.com/blog/?p=811#2.2-manual-upgrade

@Sciamano72
Copy link
Author

Ok, I don't have the time to do that now either but will try ASAP. Thank you

@MichaIng
Copy link
Owner

Okay, a new image will be ready then as well, so you have the choice.

@Sciamano72
Copy link
Author

Perfect, I can even try both solutions, so we can see what works and what does not.

@MichaIng
Copy link
Owner

MichaIng commented Oct 19, 2021

Image ready: https://dietpi.com/downloads/images/

@Sciamano72
Copy link
Author

Sciamano72 commented Oct 21, 2021

Trying the new image:

root@DietPi:~# aplay - l
^CAborted by signal Interrupt...
aplay: read_header:2839: read error

this command hangs.

And after installing LMS+Squeezelite, still no audio output :-(

But if I launch a song on Squeezelite, this happens:

root@DietPi:~# aplay - l
aplay: main:830: audio open error: Device or resource busy

I'm starting to suspect my line-out output is defective...

@MichaIng
Copy link
Owner

As long as ALSA (aplay) does not find any device, audio software cannot work with it either. So no need to try this as long as aplay -l does not list any device.

Can you check again:

dmesg | grep -E 'audio|sound|snd'

Probably the legacy kernel is then required. If you find time, could you try to replicate the same issue with Armbian's Bullseye image: https://www.armbian.com/pine64/

@Sciamano72
Copy link
Author

My latest post was related to the Bullseye image. Sorry for not being clear about that.

@MichaIng MichaIng modified the milestones: v8.23, v8.24 Oct 21, 2023
@MichaIng MichaIng modified the milestones: v8.24, v8.25 Nov 19, 2023
@MichaIng MichaIng modified the milestones: v8.25, v9.0 Dec 20, 2023
@BJDwv
Copy link

BJDwv commented Jan 16, 2024

Same kind of trouble trying bookworms version : fresh install for minimal pure image on Pine A64 SBC, no sound out of earphone jack whatever I try with JustBoom and alsamixer.

aplay -l =>

**** List of PLAYBACK Hardware Devices ****
card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 [1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sun9ihdmi [sun9i-hdmi], device 0: SUN9I-HDMI PCM i2s-hifi-0 [SUN9I-HDMI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aconnect -l =>

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '

aconnect -o gives nothing !

Then I tried to follow https://debian-facile.org/doc:materiel:cartes-son:depannage

  • Could not install alsa-base : Unable to locate package
  • Got only error from alsactl init =>
alsa-lib parser.c:2783:(load_toplevel_config) Unable to find the top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "simple-card" "" "" "" ""
Hardware is initialized using a generic method
alsa-lib parser.c:2783:(load_toplevel_config) Unable to find the top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
Found hardware: "sun9i-hdmi" "" "" "" ""
Hardware is initialized using a generic method

Same SBC is still working with buster version, so I can compare both cases, but I do not know what to compare... I would like to use bookworms because buster gives problem with perl scripts (can not install libwww-perl) and to be frank, I had very hard time with buster before to get sound on jack, even do not know how it came ok !

I am lost ! What could I do ?

@MichaIng
Copy link
Owner

You are aware that the guide you tried to use is from 2011? 😄

alsa-utils is installed already, otherwise the aplay command etc wouldn't be present. alsactl init runs automatically at boot, and when you enable audio via dietpi-config, so no need to run this manually. UCM is not installed, hence the errors. alsactl -U init skips the attempt to use UCM.

Do you know what aconnect is used for? For audio playback, aplay is the only relevant command to check.

However, we already know that it is an issue with the device tree. @PanderMusubi opened an issue at the Armbian repo, but it was closed by someone else who seem to have not understood that it is an issue with the device tree, and not one with "running" Armbian, even that Pander is the official maintainer for this SBC 🤔. Or @PanderMusubi were you able to fix it, and it is just some alsamixer tuning required?

@BJDwv
Copy link

BJDwv commented Jan 17, 2024

Thank to your reply and explanations, even if I am not smart enough to fully understand...

About aconnect, I already made wild tries like aconnect 14:0 0:0 or aconnect 0:0 14:0 which gave only errors, I did so because on buster version which gives sound on my SBC, aconnect -o gives something as :

    client 14: 'Midi through' [type:noyau]
    client 0 : 'Midi through'  Port 0

instead of nothing with bookworm,

other tests done today : lsmod | grep snd_ =>

snd_soc_simple_card    24576  0
snd_soc_hdmi_codec     24576  1
snd_soc_simple_card_utils    24576  1 snd_soc_simple_card

I tried to blacklist hdmi sound card into alsa-base-blacklist.conf but it did not help

Then I compare with the working buster version where lsmod | grep snd_ gives much more

snd_soc_hdmi_codec     20480  1
snd_soc_simple_card    24576  2
snd_soc_spdif_tx       16384  0
snd_soc_simple_card_utils    20480  1 snd_soc_simple_card
snd_soc_core          176128  7 sun4i_i2s,snd_soc_spdif_tx,snd_soc_hdmi_codec,sun50i_codec_analog,sun8i_codec,snd_soc_simple_card_utils,snd_soc_simple_card
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm               106496  5 sun4i_i2s,snd_soc_hdmi_codec,sun8i_codec,snd_soc_core,snd_pcm_dmaengine
snd_timer              40960  1 snd_pcm
snd                    86016  8 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm

Well, it is true that I made a lot of tries with buster 2 years ago before to get sound

Other details : When I plug or unplug the jack, it is reported on the display, but in reverse way : display "plug removed" when I plug in ! So I tred to install with and without plug inserted : no difference.
Also using bookworm, command init 0 does not switch off power as It does using Buster. Another command to use ?

Thank a lot for all your time helping people like me, just tell me if I should stop to post helpless stuff !

@Joulinar
Copy link
Collaborator

Also using bookworm, command init 0 does not switch off power as It does using Buster. Another command to use ?

use poweroff

@BJDwv
Copy link

BJDwv commented Jan 17, 2024

I just tried : poweroff does exactly the same as init 0 on my SBC, it terminate everything but does not switch off the 3.3V which I use to maintain a power-switch relay for main line.

Thank anyway for your reply.

@PanderMusubi
Copy link

I am one of the two maintainers and mainly test. Device trees are above my pay grade and we need help from others. Perhaps you can find somebody on the forum of Armbian who has fixed it in the past and/or can help out.

@MichaIng MichaIng modified the milestones: v9.0, v9.1 Jan 20, 2024
@MichaIng MichaIng modified the milestones: v9.1, v9.2 Feb 20, 2024
@MichaIng MichaIng modified the milestones: v9.2, v9.3 Mar 17, 2024
@MichaIng MichaIng modified the milestones: v9.3, v9.4 Apr 16, 2024
@MichaIng MichaIng modified the milestones: v9.4, v9.5 May 13, 2024
@MichaIng MichaIng modified the milestones: v9.5, v9.6 Jun 10, 2024
@MichaIng MichaIng modified the milestones: v9.6, v9.7 Jul 10, 2024
@MichaIng MichaIng modified the milestones: v9.7, v9.8 Aug 26, 2024
@MichaIng MichaIng modified the milestones: v9.8, v9.9 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Armbian External bug 🐞 For bugs which are not caused by DietPi. Kernel related 🧬 PINE A64 Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible.
Projects
None yet
Development

No branches or pull requests

7 participants