Osmc no sound from Audio Usb Pnp Sound device after upgrade to kodi 19

Hello everybody,
I don’t hear any sound with my external usb audio card after updating Osmc with Kodi 19.1.

I use OSMC on Raspberry Pi 3B and before the update the sound was correctly re-produced from the usb external sound card.

this is my sound card:

osmc@osmc:~$ sudo lsusb
Bus 001 Device 004: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller

tail -F /home/osmc/.kodi/temp/kodi.log
INFO : CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
INFO : CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE

these are the available audio outputs:

I tried different settings from the setup menu and also installed

sudo apt-get install alsa-utils
sudo modprobe snd_bcm2835

but the audio does not come out of my sound card.

The audio works only from hdmi with tv on but I need it to work even with tv off via external usb sound card.

Any idea or possible solution?

Thank you

Update…

I have reinstalled the previous version of OSMC.

The sound card is recognized and works perfectly.

I believe that the problem is not of configuration but that the latest version of OSMC does not recognize Alsa bcm2835 …

Try updating that version. It does not have pulse audio. You don’t need pulse audio with Matrix and the latest kernel.

I tried but the result does not change and the audio from the external card is not heard …

Why not choose USB PnP Sound Device, Analog?

If you’re saying that doesn’t work, please post logs.

I’ve checked - my USB soundcard is working fine but it’s a different chip.

Yes I tried with USB PnP Sound Device, Analog

This is a part of my log:

2021-08-19 13:32:58.144 T:427      INFO <general>: -----------------------------------------------------------------------
2021-08-19 13:32:58.144 T:427      INFO <general>: Starting Kodi (19.1). Platform: Linux ARM (Thumb) 32-bit
2021-08-19 13:32:58.144 T:427      INFO <general>: Using Release Kodi x32
2021-08-19 13:32:58.144 T:427      INFO <general>: Kodi compiled 2021-07-15 by GCC 8.3.0 for Linux ARM (Thumb) 32-bit version 5.10.22 (330262)
2021-08-19 13:32:58.144 T:427      INFO <general>: Running on BCM2835 with Open Source Media Center 2021.08-1, kernel: Linux ARM 32-bit version 5.10.32-2-osmc
2021-08-19 13:32:58.190 T:427      INFO <general>: FFmpeg version/source: 4.3.2-Kodi
2021-08-19 13:32:58.190 T:427      INFO <general>: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
2021-08-19 13:32:58.190 T:427      INFO <general>: ARM Features: Neon disabled
2021-08-19 13:32:58.190 T:427      INFO <general>: special://xbmc/ is mapped to: /usr/share/kodi
2021-08-19 13:32:58.190 T:427      INFO <general>: special://xbmcbin/ is mapped to: /usr/lib/kodi
2021-08-19 13:32:58.190 T:427      INFO <general>: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
2021-08-19 13:32:58.190 T:427      INFO <general>: special://masterprofile/ is mapped to: /home/osmc/.kodi/userdata
2021-08-19 13:32:58.190 T:427      INFO <general>: special://envhome/ is mapped to: /home/osmc
2021-08-19 13:32:58.190 T:427      INFO <general>: special://home/ is mapped to: /home/osmc/.kodi
2021-08-19 13:32:58.190 T:427      INFO <general>: special://temp/ is mapped to: /home/osmc/.kodi/temp
2021-08-19 13:32:58.190 T:427      INFO <general>: special://logpath/ is mapped to: /home/osmc/.kodi/temp
2021-08-19 13:32:58.190 T:427      INFO <general>: The executable running is: /usr/lib/kodi/kodi.bin
2021-08-19 13:32:58.190 T:427      INFO <general>: Local hostname: osmc
2021-08-19 13:32:58.190 T:427      INFO <general>: Log File is located: /home/osmc/.kodi/temp/kodi.log
2021-08-19 13:32:58.190 T:427      INFO <general>: -----------------------------------------------------------------------
2021-08-19 13:32:58.204 T:427      INFO <general>: loading settings
2021-08-19 13:32:58.207 T:427      INFO <general>: special://profile/ is mapped to: special://masterprofile/
2021-08-19 13:32:58.249 T:427      INFO <general>: Loaded settings file from special://xbmc/system/advancedsettings.xml

2021-08-19 13:32:59.480 T:427      INFO <general>: Selected Logind/UPower as PowerSyscall
2021-08-19 13:32:59.480 T:427     ERROR <general>: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
2021-08-19 13:32:59.481 T:427      INFO <general>: LogindUPowerSyscall - UPower not found, battery information will not be available
2021-08-19 13:32:59.599 T:496      INFO <general>: CAESinkALSA::EnumerateDevice - device default description 
2021-08-19 13:32:59.655 T:496      INFO <general>: CAESinkALSA::EnumerateDevice - device sysdefault:CARD=vc4hdmi description vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
                                                   Default Audio Device
2021-08-19 13:32:59.657 T:496      INFO <general>: CAESinkALSA::EnumerateDevice - device hdmi:CARD=vc4hdmi,DEV=0 description vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
                                                   HDMI Audio Output
2021-08-19 13:32:59.672 T:496      INFO <general>: CAESinkALSA::EnumerateDevice - device sysdefault:CARD=Device description USB PnP Sound Device, USB Audio
                                                   Default Audio Device
2021-08-19 13:32:59.679 T:496      INFO <general>: CAESinkALSA::EnumerateDevice - device @:CARD=Device,DEV=0 description USB PnP Sound Device, USB Audio
                                                   Front speakers
2021-08-19 13:32:59.685 T:496      INFO <general>: CAESinkALSA::EnumerateDevice - device surround21:CARD=Device,DEV=0 description USB PnP Sound Device, USB Audio
                                                   2.1 Surround output to Front and Subwoofer speakers
2021-08-19 13:32:59.685 T:496      INFO <general>: CAESinkALSA - No playback configurations available for device "surround21:CARD=Device,DEV=0"
2021-08-19 13:32:59.686 T:496      INFO <general>: CAESinkALSA::EnumerateDevice - device iec958:CARD=Device,DEV=0 description USB PnP Sound Device, USB Audio
                                                   IEC958 (S/PDIF) Digital Audio Output
2021-08-19 13:32:59.687 T:496      INFO <general>: Found 1 Lists of Devices
2021-08-19 13:32:59.687 T:496      INFO <general>: Enumerated ALSA devices:
2021-08-19 13:32:59.687 T:496      INFO <general>:     Device 1
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_deviceName      : default
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_displayName     : Default (vc4-hdmi MAI PCM vc4-hdmi-hifi-0)
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_displayNameExtra: 
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_deviceType      : AE_DEVTYPE_PCM
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_channels        : FL, FR
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_sampleRates     : 32000,44100,48000
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_dataFormats     : AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_streamTypes     : No passthrough capabilities
2021-08-19 13:32:59.687 T:496      INFO <general>:     Device 2
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_deviceName      : sysdefault:CARD=vc4hdmi
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_displayName     : vc4-hdmi
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_displayNameExtra: MAI PCM vc4-hdmi-hifi-0
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_deviceType      : AE_DEVTYPE_PCM
2021-08-19 13:32:59.687 T:496      INFO <general>:         m_channels        : FL, FR
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_sampleRates     : 32000,44100,48000
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_dataFormats     : AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_streamTypes     : No passthrough capabilities
2021-08-19 13:32:59.688 T:496      INFO <general>:     Device 3
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_deviceName      : hdmi:CARD=vc4hdmi,DEV=0
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_displayName     : vc4-hdmi
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_displayNameExtra: SAM SAMSUNG on HDMI
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_deviceType      : AE_DEVTYPE_HDMI
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_channels        : FL, FR
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_sampleRates     : 32000,44100,48000
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
2021-08-19 13:32:59.688 T:496      INFO <general>:     Device 4
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_deviceName      : @:CARD=Device,DEV=0
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_displayName     : USB PnP Sound Device
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_displayNameExtra: Analog
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_deviceType      : AE_DEVTYPE_PCM
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_channels        : FL, FR
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_sampleRates     : 48000
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_streamTypes     : No passthrough capabilities
2021-08-19 13:32:59.688 T:496      INFO <general>:     Device 5
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_deviceName      : iec958:CARD=Device,DEV=0
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_displayName     : USB PnP Sound Device
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_displayNameExtra: S/PDIF
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_deviceType      : AE_DEVTYPE_IEC958
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_channels        : FL, FR
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_sampleRates     : 44100,48000
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S16NE,AE_FMT_S16LE
2021-08-19 13:32:59.688 T:496      INFO <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2021-08-19 13:32:59.689 T:497      INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-19 13:32:59.689 T:497      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "iec958:CARD=Device,DEV=0"
2021-08-19 13:32:59.700 T:497      INFO <general>: CAESinkALSA::Initialize - Opened device "iec958:CARD=Device,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
2021-08-19 13:32:59.702 T:497      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-08-19 13:32:59.702 T:497      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2
2021-08-19 13:33:15.311 T:530      INFO <general>: Register - new cec device registered on cec->Linux: CEC Adapter (0000:0000)
2021-08-19 13:33:44.964 T:427      INFO <general>: Loading skin file: Settings.xml, load type: KEEP_IN_MEMORY
2021-08-19 13:33:47.881 T:427      INFO <general>: Loading skin file: SettingsCategory.xml, load type: KEEP_IN_MEMORY
2021-08-19 13:33:54.147 T:427      INFO <general>: Loading skin file: DialogSelect.xml, load type: KEEP_IN_MEMORY
2021-08-19 13:33:56.575 T:497      INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-19 13:33:56.576 T:497      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "@:CARD=Device,DEV=0"
2021-08-19 13:33:56.591 T:497      INFO <general>: CAESinkALSA::Initialize - Opened device "sysdefault:CARD=Device"
2021-08-19 13:33:56.593 T:497      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-08-19 13:33:56.593 T:497      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2021-08-19 13:34:02.611 T:497      INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-19 13:34:02.613 T:497      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2021-08-19 13:34:02.631 T:497      INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2021-08-19 13:34:02.634 T:497      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-08-19 13:34:02.635 T:497      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2021-08-19 13:34:17.494 T:497      INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-19 13:34:17.495 T:497      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "@:CARD=Device,DEV=0"
2021-08-19 13:34:17.520 T:497      INFO <general>: CAESinkALSA::Initialize - Opened device "sysdefault:CARD=Device"
2021-08-19 13:34:17.523 T:497      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-08-19 13:34:17.523 T:497      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2021-08-19 13:34:18.697 T:427   WARNING <general>: CGUIWindowManager - HandleAction - ignoring action 7, because topmost modal dialog closing animation is running
2021-08-19 13:34:59.937 T:536      INFO <general>: ES: Client  from ::ffff:192.168.1.216 timed out
2021-08-19 13:35:21.960 T:536      INFO <general>: ES: Client  from ::ffff:192.168.1.216 timed out

What is your sound card chip?

Thank you

I tried another sound card model

but even with this I don’t hear any sound…

this is the log:

021-08-19 14:00:11.378 T:508 INFO : CAESinkALSA::Initialize - Attempting to open device “@:CARD=Set,DEV=0”
2021-08-19 14:00:11.393 T:508 INFO : CAESinkALSA::Initialize - Opened device “sysdefault:CARD=Set”
2021-08-19 14:00:11.395 T:508 INFO : CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-08-19 14:00:11.395 T:508 INFO : CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2021-08-19 14:01:19.865 T:523 INFO : ES: Client from ::ffff:192.168.1.216 timed out
2021-08-19 14:01:45.893 T:523 INFO : ES: Client from ::ffff:192.168.1.216 timed out
2021-08-19 14:02:05.913 T:523 INFO : ES: Client from ::ffff:192.168.1.216 timed out

The difference I get is the ‘surround21’ device is recognised and it supports more samplerates. If you set your audio output to Fixed and samplerate to 48kHz you should get some sound.

Hi, I did this test (Fixed and samplerate to 48kHz) but the audio is not heard.

I also bought a new sound card on amazon:

But this sound card doesn’t work either…

If you want more advice, you will have to post full logs. FWIW the chip in my soundcard is CM6620 but I doubt chip type is the problem if your devices conform to the USB audio standard.

I did a clean install (but the sound card still doesn’t work)

and this is the link of log file:

https://paste.osmc.tv/gokayukuva