Medapayne Posted November 6, 2020 Posted November 6, 2020 Good morning all I have an OPi Zero H2 with the official expansion card. My goal is to make an Airport module to connect a speaker to it. The installation of Shairport in APT all is ok I can see the sharing on my iPhone. But the problem is that I have no sound when I plug a speaker into the 3.5mm jack port on the expansion card. I have correctly installed the "analog-codecs" and made a reboot. In Alsamixer I put "Line-Out" and "DAC" to the maximum (red). But still no sound ... When in doubt, I did all these operations on Armbian Focal / Buster / Bionic but it didn't change anything. Can you help me please? believe me I have tried everything for 4 days but without success. thank you in advance for your help 0 Quote
Werner Posted November 6, 2020 Posted November 6, 2020 Your support topic is lacking of important debugging information. Please edit and fix! Please describe your setup as best as possible so we know what your operating environment is like. Name of your board with all details, version number, take a picture if you are not sure what you have Name of the image you installed or logs if you can boot the board: armbianmonitor -u (paste URL to your forum post) If your board does not boot, provide a log from serial console (UART) or at least make and attach a picture, where it stops. Describe the problem the best you can and provide all necessary info that we can reproduce the problem. If anything is attached to the board, supply all details Tips: use spoiler when adding a long text, use when adding a code, be concise. 0 Quote
Solution guidol Posted November 6, 2020 Solution Posted November 6, 2020 @Medapayne create a /etc/asound.conf to get the analog audio card as default. whats the output of aplay -l Mine: ___ ____ _ _____ / _ \| _ \(_) |__ /___ _ __ ___ | | | | |_) | | / // _ \ '__/ _ \ | |_| | __/| | / /| __/ | | (_) | \___/|_| |_| /____\___|_| \___/ Welcome to Armbian 20.08.9 Buster with Linux 5.9.1-sunxi root@opi-zero(192.168.6.99):~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 root@opi-zero(192.168.6.99):~# more /etc/asound.conf pcm.!default { type hw card 0 device 0 } ctl.!default { type hw card 0 } and enable [*] analog-codec in armbian-config -> system -> hardware 2 Quote
Medapayne Posted November 7, 2020 Author Posted November 7, 2020 [mention=16514]Medapayne[/mention] create a /etc/asound.conf to get the analog audio card as default. whats the output of aplay -l Mine: ___ ____ _ _____/ _ \| _ \(_) |__ /___ _ __ ___| | | | |_) | | / // _ \ '__/ _ \| |_| | __/| | / /| __/ | | (_) |\___/|_| |_| /____\___|_| \___/Welcome to Armbian 20.08.9 Buster with Linux 5.9.1-sunxiroot@opi-zero(192.168.6.99):~# aplay -l**** List of PLAYBACK Hardware Devices ****card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0root@opi-zero(192.168.6.99):~# more /etc/asound.confpcm.!default { type hw card 0 device 0}ctl.!default { type hw card 0}and enable [*] analog-codecin armbian-config -> system -> hardware It works great ... THXEnvoyé de mon iPhone en utilisant Tapatalk 1 Quote
huami Posted April 3, 2022 Posted April 3, 2022 (edited) Edit: I reinstalled the system to 21.08 focal and somehow got it to work. Hi, After upgrading the system on my Orange PI Zero board to Armbian 22.02.1 Bullseye I lost sound. I am using an analog jack connected to the board which was working fine. I enabled analog-codec in armbian-config and rebooted the system but that didn't help. I noticed that there are no sound modules in /lib/modules apart from HDMI one, specifically there is no sun4i-codec module. How to get the sound working again? Thanks. Edited April 4, 2022 by huami solved 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.