Linux no soundcards found

Realtek ALC256: no soundcards found

I had a problem with sound, so tried to fix it according to answers already here. None of them worked for me and actually made it even worse! I deleted pulse setting as recommended in one of the answers here

$ aplay -l aplay: device_list:268: no soundcards found. 

Sounds settings show «Dummy output» I tried to reinstall alsa-base , pulseaudio but it didn’t help.

$ alsamixer cannot open mixer: No such file or directory $ pulseaudio -D E: [pulseaudio] main.c: Daemon startup failed. 

EDIT: Now even Windows on the same machine doesn’t recognize the device, so there might be a problem with device but I don’t think so.

1 Answer 1

Hi, I’m not sure if you are still looking for a fix to this issue, but thank God and all the amazing people who researched this, I found a fix after a few tough days of research. I have an LG Gram 17 with ALC256 and Linux Mint (based on Ubuntu) and both my speakers and microphones were not detected. I made a video tutorial on how to fix it, and I also wrote a guide. If you want the video, here is the link: https://www.youtube.com/watch?v=Vz6jDUyn7S0

Here is a guide I wrote (at your own risk!) on how to fix the issue step by step if you don’t want to watch the video:

Step 1 — Remove (backup) the old SOF drivers from your system:
a) sudo mv /lib/firmware/intel/sof* ~/Desktop/old-sof-backup
b) sudo mv /usr/local/bin/sof-* ~/Desktop/old-sof-backup

Step 2 — Download and install the newer drivers from the SOF Project Github repo:
Link: https://github.com/thesofproject/sof-bin

a) Open the directory for your desired SOF version in terminal, let’s assume v2.1.1.
b) sudo rsync -a sof*v2.1.1 /lib/firmware/intel/
c) sudo ln -s sof-v2.1.1 /lib/firmware/intel/sof
d) sudo ln -s sof-tplg-v2.1.1 /lib/firmware/intel/sof-tplg
e) sudo rsync tools-v2.1.1/* /usr/local/bin

Читайте также:  Текущее имя системы linux команда

(If you don’t want to use symbolic links, refer to the repository for instructions on how to install the drivers without symbolic links)

Step 3 — Download and install the fixes/patches from the following SOF Project Github repo:
Link: https://github.com/thesofproject/alsa-ucm-conf/tree/sof_ucm1

(Remove the old «/usr/share/alsa/ucm» directory and replace it with the newly downloaded one from the repo)
a) sudo rm -r /usr/share/alsa/ucm
b) sudo mv ./ucm /usr/share/alsa

Step 4 — REBOOT
After you reboot, all your speakers, microphones and everything will show up and will be working. HOWEVER, the microphone input and speakers volume will be lower than usual. Step 5-6 are the fix for this.

Step 5 — Raise the input/output volume using ALSAMIXER (after rebooting!)
a) Open alsamixer in terminal.
b) Press F5 to show all devices.
c) Raise everything (or what you need) to the maximum value possible.

Step 6 — Save the ALSAMIXER settings permanently for each reboot
(we use the first «store» command once to store the settings in the designated file, then each time you reboot, the «restore» command will restore the settings from this file)

a) alsactl —file ~/.config/asound.state store
b) Set the command alsactl —file ~/.config/asound.state restore to run automatically on each startup so that the stored alsamixer settings in step 6(a) are always restored.

Источник

Arch Linux

I installed Arch for the first time yesterday and, after a bit of help from the forum, I have a working install. However, I don’t have sound yet.

I have added myself to the ‘audio’ group and installed alsa-utils.

amixer sset Master unmute outputs:

amixer: Mixer attach default error: No such file or directory
cannot open mixer: No such file or directory
aplay: device_list:268: no soundcards found. 

I installed alsa-firmware, to see if that was the problem, but it didn’t change anything.

Читайте также:  Команда awk linux примеры

#2 2016-09-15 11:10:28

Re: No sound — aplay: no soundcards found

if you go «sudo alsamixer» do any devices show up?
Also, does «cat /proc/asound/cards» show anything?

#3 2016-09-15 11:21:29

Re: No sound — aplay: no soundcards found

sudo alsamixer also gives ‘cannot open mixer: No such file or directory’

cat /proc/asound/cards gives ‘no soundcards’.

#4 2016-09-15 11:31:29

Re: No sound — aplay: no soundcards found

It’s impossible for asound cards or alsamixer to give anything if aplay -l already turns up empty. Does

give anything? What is your soundcard? Does

Last edited by V1del (2016-09-15 11:32:03)

#5 2016-09-15 11:57:47

Re: No sound — aplay: no soundcards found

Output of dmesg | grep -E ‘snd|hda|ALSA’

[ 2.984786] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 i915(+) cfg80211 rfkill drm_kms_helper drm intel_gtt syscopyarea mei_txe sysfillrect sysimgblt fb_sys_fops i2c_algo_bit mei lpc_ich shpchp processor_thermal_device intel_soc_dts_iosf snd_intel_sst_acpi snd_intel_sst_core thermal snd_soc_sst_mfld_platform wmi snd_soc_sst_match snd_soc_core snd_compress snd_pcm_dmaengine ac97_bus snd_pcm fjes snd_timer intel_hid snd sparse_keymap i2c_designware_platform(+) soundcore i2c_designware_core 8250_dw spi_pxa2xx_platform tpm_crb int3406_thermal video acpi_pad int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel asus_wireless tpm_tis pinctrl_cherryview ac tpm button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 mbcache mmc_block xhci_pci xhci_hcd usbcore usb_common sdhci_acpi
00:00.0 Host bridge: Intel Corporation Device 2280 (rev 22) Subsystem: ASUSTeK Computer Inc. Device 10b0 Kernel driver in use: iosf_mbi_pci 00:02.0 VGA compatible controller: Intel Corporation Device 22b0 (rev 22) Subsystem: ASUSTeK Computer Inc. Device 10b0 Kernel driver in use: i915 Kernel modules: i915 00:0b.0 Signal processing controller: Intel Corporation Device 22dc (rev 22) Subsystem: ASUSTeK Computer Inc. Device 10b0 Kernel driver in use: proc_thermal Kernel modules: processor_thermal_device 00:14.0 USB controller: Intel Corporation Device 22b5 (rev 22) Subsystem: ASUSTeK Computer Inc. Device 10b0 Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 00:1a.0 Encryption controller: Intel Corporation Device 2298 (rev 22) Subsystem: ASUSTeK Computer Inc. Device 10b0 Kernel driver in use: mei_txe Kernel modules: mei_txe 00:1c.0 PCI bridge: Intel Corporation Device 22c8 (rev 22) Kernel driver in use: pcieport Kernel modules: shpchp 00:1f.0 ISA bridge: Intel Corporation Device 229c (rev 22) Subsystem: ASUSTeK Computer Inc. Device 10b0 Kernel driver in use: lpc_ich Kernel modules: lpc_ich 01:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30) Subsystem: AzureWave Device 2b31 Kernel driver in use: ath10k_pci Kernel modules: ath10k_pci

I don’t think any of those are the soundcard.

Читайте также:  Создать файл linux через cat

The Asus website says the device has «SonicMaster Audio Technology», but I assume that’s just marketing speak.

Источник

Ubuntu 22.04 Sound Card Exists but is not Detected

I have been using Ubuntu 22.04 for some time now, but today when I booted up I found that the only output device for sound is Dummy Output and there are no Input Devices. Prior to this, both my microphones and various output devices were being correctly detected in Ubuntu 22.04 Based on inxi -A

Audio: Device-1: Intel Cannon Lake PCH cAVS driver: N/A Device-2: NVIDIA TU106 High Definition Audio driver: N/A Device-3: Samson C01U Pro condenser microphone type: USB driver: hid-generic,usbhid Device-4: Sunplus Innovation ezcap U3 capture type: USB driver: N/A Device-5: M-Audio Hammer 88 type: USB driver: N/A Device-6: Razer USA Kraken Tournament Edition type: USB driver: hid-generic,usbhid Sound Server-1: ALSA v: k5.15.0-46-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes 

I think I’ve been using the Intel Cannon Lake PCH cAVS. aplay -l reports no soundcards found. So far, I’ve purge and reinstalled alsa and pulse, rebooted, attempted

sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio systemctl --user restart pipewire-session-manager 

as per Upgrade from 21.04 to 22.04, audio lost (Dummy output only) , and generally rebooted/shutdown several times along with attempting to reboot pulseaudio control, start it in daemon mode, and so on. I also attempted to add options snd-hda-intel dmic_detect=0 , as per Ubuntu no sound, dummy output, and no sound card detected , which did not work either. Any help is greatly appreciated

Источник

Оцените статью
Adblock
detector