Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Thread Closed 
Problem: No sound coming out of the 3.5 jack on Cm4 nano b
#6
@Fabien32

Assuming you've booted with the additional /boot/config.txt line(s) suggested by WaveShare, do you see any useful diagnostic messages in the system log /var/log/syslog? Especially warning or error messages?

What does aplay report for audio device names?

Example for a player with a Creative Tech USB-BT/W2 audio adapter:


Code:
pi@m82p3a:~ $ aplay -L
null
   Discard all samples (playback) or generate zero samples (capture)
btaplay_dmix
plug_btaplay_dmix
_audioout
_audioout__
alsaequal
plug_alsaequal
btstream
camilladsp
crossfeed
plug_bs2b
eqfa12p
plug_eqfa12p
invpolarity
trx_send
hw:CARD=b1,DEV=0
   bcm2835 HDMI 1, bcm2835 HDMI 1
   Direct hardware device without any conversions
plughw:CARD=b1,DEV=0
   bcm2835 HDMI 1, bcm2835 HDMI 1
   Hardware device with all software conversions
default:CARD=b1
   bcm2835 HDMI 1, bcm2835 HDMI 1
   Default Audio Device
sysdefault:CARD=b1
   bcm2835 HDMI 1, bcm2835 HDMI 1
   Default Audio Device
dmix:CARD=b1,DEV=0
   bcm2835 HDMI 1, bcm2835 HDMI 1
   Direct sample mixing device
hw:CARD=Headphones,DEV=0
   bcm2835 Headphones, bcm2835 Headphones
   Direct hardware device without any conversions
plughw:CARD=Headphones,DEV=0
   bcm2835 Headphones, bcm2835 Headphones
   Hardware device with all software conversions
default:CARD=Headphones
   bcm2835 Headphones, bcm2835 Headphones
   Default Audio Device
sysdefault:CARD=Headphones
   bcm2835 Headphones, bcm2835 Headphones
   Default Audio Device
dmix:CARD=Headphones,DEV=0
   bcm2835 Headphones, bcm2835 Headphones
   Direct sample mixing device
hw:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   Direct hardware device without any conversions
plughw:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   Hardware device with all software conversions
default:CARD=W2
   Creative Bluetooth Audio W2, USB Audio
   Default Audio Device
sysdefault:CARD=W2
   Creative Bluetooth Audio W2, USB Audio
   Default Audio Device
front:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   Front output / input
surround21:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   4.0 Surround output to Front and Rear speakers
surround41:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=W2,DEV=0
   Creative Bluetooth Audio W2, USB Audio
   Direct sample mixing device
pi@m82p3a:~ $

Using this information I can test my W2 adapter using aplay and a WAV file [1]. 

I don't know what to expect for your carrier board but WaveShare should be able to tell you.

Regards,
Kent

[1] Here's my test:

First, an easy way to create a WAV file if you don't have one, all from the home directory on your moOde player and using the test FLAC file provided by Tim:

Code:
ffmpeg -i '/mnt/SDCARD/Stereo Test/LRMonoPhase4.flac' LRMonoPhase4.wav

And the test itself:

Code:
aplay -D default:CARD=W2 LRMonoPhase4.wav

et voila, I hear the "this is my voice..." test from the wireless headphones paired and connected to the W2 adapter.


Messages In This Thread
RE: No sound coming out of the 3.5 jack on Cm4 nano b - by TheOldPresbyope - 11-14-2022, 02:19 PM

Forum Jump: