2

I was trying to take an audio output from piZero-W, the article I followed was, this one.

How to get audio through the gpio pins to a 3.5mm jack?

When running - systemctl status alsa-state

the result is

alsa-state.service - Manage Sound Card State (restore and store)
   Loaded: loaded (/lib/systemd/system/alsa-state.service; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:alsactl(1)

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Oct 12, 2021 at 12:25

1 Answer 1

4

Firstly you need to build the circuit described in the adafruit article that you linked. https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero/overview

Here is mine, connected to GND, GPIO12 and GPIO13:

enter image description here

Then in the /boot/config.txt file you need to add an overlay entry to remap the audio:

dtoverlay=audremap,pins_12_13

Then in 'sudo raspi-config' configure the audio to Headphones.

Test with:

speaker-test -c2

Should hear noise from left and right channels.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.