LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-20-2022, 07:23 PM   #1
patriot1919
LQ Newbie
 
Registered: Sep 2022
Posts: 1

Rep: Reputation: 0
ALSA: no sound card Linux/x86 5.10.136


Hello,

Im having trouble getting sound from any source. Under settings only option is dummy sound, which when a video is playing for example, you can see the sound bar moving, but no sound is actually coming from the speakers, headphones, ect. I have tried many typical solutions, but the issue is ALSA is not recognizing the sound card.

System info:

Code:
root:~# inxi -Fx
System:    Host: amnesia Kernel: 5.10.0-17-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: GNOME 3.38.6 
           Distro: unknown base: Debian 11.4 bullseye 
Machine:   Type: Laptop System: Google product: Coral v: rev7 serial: 123456789 
           Mobo: Google model: Coral v: rev7 serial: 123456789 BIOS: coreboot v: N/A date: 11/18/2020 
Battery:   ID-1: BAT0 charge: 35.9 Wh condition: 35.9/37.9 Wh (95%) model: AS1GTBE C223-50 status: Charging 
CPU:       Info: Dual Core model: Intel Celeron N3350 bits: 64 type: MCP arch: Goldmont rev: 9 L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 4377 
           Speed: 1381 MHz min/max: 800/2400 MHz Core speeds (MHz): 1: 1381 2: 1151 
Graphics:  Device-1: Intel HD Graphics 500 driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus ID: 1-5:4 
           Display: server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel HD Graphics 500 (APL 2) v: 4.6 Mesa 20.3.5 direct render: Yes 
Audio:     Device-1: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Imaging Unit driver: N/A bus ID: 00:03.0 
           Device-2: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster driver: snd_soc_skl v: kernel 
           bus ID: 00:0e.0 
           Sound Server: ALSA v: k5.10.0-17-amd64
lscpi:

Code:
 root:~# lspci -vvv
<pre>00:0e.0 Multimedia audio controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster (rev 0b)
	Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast &gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR- &lt;PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 25
	Region 0: Memory at c2b18000 (64-bit, non-prefetchable) [size=16K]
	Region 4: Memory at c2900000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [80] Vendor Specific Information: Len=14 &lt;?&gt;
	Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE- FLReset+
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
	Kernel driver in use: snd_soc_skl
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
</pre>
aplay

Code:
root:~# aplay -l
aplay: device_list:274: no soundcards found...
arecord

Code:
root:~# arecord -l
arecord: device_list:274: no soundcards found...

root:~# arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
lsmod

Code:
root:~# lsmod | grep snd_hda_intel
snd_hda_intel          57344  0
snd_intel_dspcfg       28672  4 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_hda_codec         176128  2 snd_hda_intel,snd_soc_hdac_hda
snd_hda_core          110592  8 snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_pcm               143360  11 snd_hda_intel,snd_soc_da7219,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
snd                   110592  8 snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
Code:
root:~# lsmod | grep snd_soc_skl
snd_soc_skl_ssp_clk    16384  0
snd_soc_skl           180224  1 snd_soc_skl_ssp_clk
snd_soc_hdac_hda       24576  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core       36864  5 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        36864  1 snd_soc_skl
snd_soc_acpi_intel_match    45056  3 snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_acpi           16384  4 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_soc_skl
snd_intel_dspcfg       28672  4 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_hda_core          110592  8 snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_core          319488  9 snd_soc_da7219,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_max98357a,snd_soc_skl,snd_soc_dmic
snd_pcm               143360  11 snd_hda_intel,snd_soc_da7219,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
when i boot chrome OS and enter chromeos terminal it lists my cards as

0avs_max98357a
1avs_da7219
2hdaudioB0D2
3avs_dmic

when i perform lsmod for them in debian i get:

Code:
root:~# lsmod | grep snd_soc_da7219
snd_soc_da7219         86016  0
snd_soc_core          319488  9 snd_soc_da7219,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_max98357a,snd_soc_skl,snd_soc_dmic
snd_pcm               143360  11 snd_hda_intel,snd_soc_da7219,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
Code:
root:~# lsmod | grep snd_soc_max98357a 
snd_soc_max98357a      20480  0
snd_soc_core          319488  9 snd_soc_da7219,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_max98357a,snd_soc_skl,snd_soc_dmic
Code:
root:~# inxi -a -A
Audio:     Device-1: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Imaging Unit driver: N/A bus ID: 00:03.0 
           chip ID: 8086:5a88 class ID: 0480 
           Device-2: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster driver: snd_soc_skl v: kernel 
           alternate: snd_hda_intel,snd_sof_pci bus ID: 00:0e.0 chip ID: 8086:5a98 class ID: 0401 
           Sound Server: ALSA v: k5.10.0-17-amd64
Code:
root@amnesia:~# dmesg | grep snd_
[   27.405722] snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[   27.731359] snd_soc_skl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[   27.740816] snd_soc_skl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
just to be clear ive tried alsamixer, pulse audio control, pauv. ect and nothing works because no card is shown.

any help would be appreciated, im new to this, so please be specific with any advise. thanks
 
Old 09-21-2022, 05:42 PM   #2
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Welcome 2LQ!!! I hope someone who knows about audio=sound will come along to help (BOTH of us)!!!

I have never heard of a Google Coral laptop!!! (Mine: old 2006 Toshiba M115-S1061 MX-21_386)

There have been a couple of recent threads about the dummy audio device creating a problem:
https://www.linuxquestions.org/quest...io-4175716724/
https://www.linuxquestions.org/quest...nd-4175716850/
(Maybe tell us more about your web searching on this)

Big kudos for posting all that information in code tags! Best wishes! Bye.




I wonder if the Linux Sound Programming book ISBN 1484224957 would help (? I'll check z-lib)

My info: http://termbin.com/lrbf from https://gitlab.freedesktop.org/pulse.../utils/pa-info (I'd also suggest this web search: Linux audio Diagnostic script )
http://termbin.com/xymi

** Initially, there was only the option of the headphones and no audio was coming out of the headphones. Somewhere I saw something about uncommenting something in /etc/pulse/default.pa
I think (but not sure) uncommenting the one recommended line did nothing, so I uncommented like a dozen things. Then more reasonable devices appeared, but still no sound. Then I collected the above info. Yes, sorry, I am clueless here!!!

Last edited by !!!; 09-30-2022 at 01:58 PM.
 
Old 10-22-2022, 05:32 PM   #3
xlfs-0.2
Member
 
Registered: Oct 2022
Posts: 240

Rep: Reputation: 46
root:~# aplay -l

#1 make sure /proc /dev/shm /sys are all mounted and try again if they were not

#2 probably systemd didn't create /dev/sndFOO device files, once they are created aplay -l will show the card and alsamixer aplay will work immediately from where you sit

i have a script i did not post that does that which doesn't depend on systemd

all you need to know is under /sys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ringing in the new year with 136 open-spec Linux SBCs under $200 LXer Syndicated Linux News 0 01-05-2020 11:44 AM
LXer: Destination Linux 136 - Raspberry Pi, System76 Firmware Tool, OBS, IBM Open-Source POWER, EVERSPACE LXer Syndicated Linux News 0 09-01-2019 11:41 AM
LXer: Linux Gazette #136 is out! LXer Syndicated Linux News 0 03-01-2007 07:46 PM
One in every 136 US residents, behind bars primo General 32 05-29-2006 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration