sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
925 stars 127 forks source link

Audio does not work on RPI 3 B+ (Jack 3.5) #101

Closed NguyenTrongThinh closed 4 years ago

NguyenTrongThinh commented 4 years ago

I use bcmrpi3_defconfig to rebuild kernel version 4.19. I get kernel source at https://github.com/raspberrypi/linux

When I run command aplay -l. It show strange output. There is no HDMI cable connected to raspberry.

$ aplay -l List of PLAYBACK Hardware Devices card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0

And Audio on 3.5 Jack not working too.

sakaki- commented 4 years ago

Hi @NguyenTrongThinh

What do you have in /boot/config.txt?

Does it work for you if you use one of my binary kernels (bcmrpi3-kernel or bcmrpi3-kernel-bis)?

Also see my note here.

Best, sakaki

NguyenTrongThinh commented 4 years ago

Thank! change to vc4-fkms-v3d works for me but I still got strange output when run command aplay -l

aplay -l List of PLAYBACK Hardware Devices card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 7/7 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1] Subdevices: 1/1 Subdevice #0: subdevice #0

So we move to raspberry-linux to continue our discussion.