Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Device Tree • Re: Raspberry Pi CM3 + WM8904: ASoC snd_soc_component_update_bits error -16 when probing codec

$
0
0

Code:

pi@raspberrypi:~ $ cat /proc/asound/cards 2 [WM8904Soundcard]: WM8904-Soundcar - WM8904-Soundcard                      WM8904-Soundcardpi@raspberrypi:~ $ sudo cat /sys/kernel/debug/asoc/componentswm8904.1-001a3f203000.i2s3f203000.i2ssnd-soc-dummysnd-soc-dummypi@raspberrypi:~ $ i2cdetect -y 1     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f00:                         -- -- -- -- -- -- -- --10: -- -- -- -- -- 15 -- -- -- -- UU -- -- -- -- --20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --70: 70 -- -- -- -- -- -- --play -vv -D plughw:2 /usr/share/sounds/alsa/Front_Center.wavPlaying WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, MonoPlug PCM: Route conversion PCM (sformat=S16_LE)  Transformation table:    0 <- 0    1 <- 0Its setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 1  rate         : 48000  exact rate   : 48000 (48000/1)  msbits       : 16  buffer_size  : 24000  period_size  : 6000  period_time  : 125000  tstamp_mode  : NONE  tstamp_type  : MONOTONIC  period_step  : 1  avail_min    : 6000  period_event : 0  start_threshold  : 24000  stop_threshold   : 24000  silence_threshold: 0  silence_size : 0  boundary     : 1572864000Slave: Hardware PCM card 2 'WM8904-Soundcard' device 0 subdevice 0Its setup is:  stream       : PLAYBACK  access       : MMAP_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 48000  exact rate   : 48000 (48000/1)  msbits       : 16  buffer_size  : 24000  period_size  : 6000  period_time  : 125000  tstamp_mode  : NONE  tstamp_type  : MONOTONIC  period_step  : 1  avail_min    : 6000  period_event : 0  start_threshold  : 24000  stop_threshold   : 24000  silence_threshold: 0  silence_size : 0  boundary     : 1572864000  appl_ptr     : 0  hw_ptr       : 0#+                                                 | 00%
It seems that, the WM8904 audio codec initialised
The audio is playing, but I am unable to hear any sound through my headphones.
I tried setting amixer like below.

Code:

amixer -c 2 sset 'HPL Mux' 'DAC'amixer -c 2 sset 'HPR Mux' 'DAC'amixer -c 2 sset 'DACL Mux' 'AIFOUTL'amixer -c 2 sset 'DACR Mux' 'AIFOUTR'amixer -c 2 sset 'Headphone' 63amixer -c 2 sset 'Headphone ZC' off
What might be the issue?

Statistics: Posted by pravendeshmane — Fri Jun 06, 2025 7:05 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles