RPi4 no analog audio output

Raspberry Pi 2

RPi4 no analog audio output

Postby AntiMS » Sun Jul 12, 2020 10:37 pm

Hi, folks.

Everything worked fine until the audio restructure. Both cards appear:

$this->bbcode_second_pass_code('', '
> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
')

And both cards (as well as pulse audio) show up in my alsamixer when I hit F6.

HDMI audio works (though it cuts out every few seconds... that's an issue I'd like to solve as well, but not as important to me as analog audio.) But there's no audio on the analog output at all. Nothing I do in alsamixer (muting/unmuting and adjusting volue) seems to make a difference.

Hopefully some of this is useful:

$this->bbcode_second_pass_code('', '
> lsmod
Module Size Used by
rfcomm 40960 4
fuse 106496 15
cmac 16384 2
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 24576 6 algif_hash,algif_skcipher
bnep 20480 2
btsdio 16384 0
brcmfmac 241664 0
brcmutil 16384 1 brcmfmac
bcm2835_codec 36864 0
hci_uart 53248 1
bcm2835_v4l2 49152 0
bcm2835_isp 32768 0
btbcm 16384 1 hci_uart
cfg80211 704512 1 brcmfmac
v4l2_mem2mem 28672 1 bcm2835_codec
bluetooth 364544 32 btsdio,hci_uart,bnep,btbcm,rfcomm
bcm2835_mmal_vchiq 28672 3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
videobuf2_dma_contig 20480 2 bcm2835_isp,bcm2835_codec
videobuf2_vmalloc 16384 1 bcm2835_v4l2
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
ecdh_generic 16384 1 bluetooth
videobuf2_v4l2 24576 4 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common 53248 5 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
ecc 36864 1 ecdh_generic
videodev 225280 6 bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
mc 36864 6 bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
iproc_rng200 16384 0
rng_core 16384 1 iproc_rng200
raspberrypi_hwmon 16384 0
joydev 20480 0
vc4 229376 16
cec 49152 1 vc4
drm_kms_helper 172032 3 vc4
snd_soc_core 188416 1 vc4
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
syscopyarea 16384 1 drm_kms_helper
ir_rc6_decoder 16384 0
rpivid_mem 16384 0
v3d 69632 3
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
gpu_sched 36864 1 v3d
uio_pdrv_genirq 16384 0
rc_rc6_mce 16384 0
uio 20480 1 uio_pdrv_genirq
gpio_ir_recv 16384 0
gpio_ir_tx 16384 0
evdev 24576 11
sch_fq_codel 20480 2
snd_bcm2835 24576 2
snd_pcm 94208 4 vc4,snd_pcm_dmaengine,snd_bcm2835,snd_soc_core
snd_timer 32768 1 snd_pcm
snd 69632 9 snd_compress,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
rc_core 40960 6 ir_rc6_decoder,gpio_ir_tx,rc_rc6_mce,gpio_ir_recv
crypto_user 16384 0
drm 434176 11 v3d,vc4,gpu_sched,drm_kms_helper
drm_panel_orientation_quirks 16384 1 drm
ip_tables 28672 0
x_tables 32768 1 ip_tables
ipv6 475136 56
nf_defrag_ipv6 16384 1 ipv6

> cat /boot/config.txt
# See /boot/overlays/README for all available options

gpu_mem=64
dtoverlay=vc4-fkms-v3d
#dtoverlay=lirc-rpi,gpio_in_pin=23,gpio_out_pin=22
dtoverlay=gpio-ir,gpio_pin=23,
dtoverlay=gpio-ir-tx,gpio_pin=22
dtoverlay=bcmbt
dtparam=audio=on
disable_overscan=1
initramfs initramfs-linux.img followkernel

> amixer -c 1 cget numid=1
numid=1,iface=MIXER,name='Headphone Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=-10239,max=400,step=0
: values=-2560
| dBscale-min=-102.39dB,step=0.01dB,mute=1

> amixer -c 1 cget numid=2
numid=2,iface=MIXER,name='Headphone Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on

> cat /proc/asound/cards
0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1
bcm2835 HDMI 1
1 [Headphones ]: bcm2835_headphonbcm2835 Headphones - bcm2835 Headphones
bcm2835 Headphones
')

Holler if there's anything else I can post and thanks in advance for any help you can provide :)
AntiMS
 
Posts: 2
Joined: Sun Jul 12, 2020 10:22 pm

Re: RPi4 no analog audio output

Postby ak404 » Tue Jul 14, 2020 1:51 pm

not in pavucontrol control either? iirc arch linux doesnt respond much at all to alsamixer settings. but I could be wrong. and check the config file to enable the hardware jack. its how it goes on the pi
ak404
 
Posts: 15
Joined: Mon Sep 18, 2017 5:54 am


Return to Broadcom

Who is online

Users browsing this forum: No registered users and 5 guests