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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-20-2022, 08:23 PM
|
#1
|
LQ Newbie
Registered: Sep 2022
Posts: 1
Rep:
|
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 >TAbort- <TAbort- <MAbort- >SERR- <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 <?>
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
|
|
|
09-21-2022, 06:42 PM
|
#2
|
Member
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997
|
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 02:58 PM.
|
|
|
10-22-2022, 06:32 PM
|
#3
|
Member
Registered: Oct 2022
Posts: 349
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|