No sound after tinkering with drivers

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

No sound after tinkering with drivers

Post by blizzard384 »

Hello, I was trying to get my jack output to work and while tinkering with it also my USB headphones stopped working after restarting. No I want atleast my USB audio to work. Here are some diagnostic commands:

Code: Select all

$ inxi -Fxz
System:    Host: berger-personal-notebook Kernel: 5.3.0-42-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
           Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Micro-Star product: GE75 Raider 9SF v: REV:1.0 serial: <filter> 
           Mobo: Micro-Star model: MS-17E2 v: REV:1.0 serial: <filter> UEFI: American Megatrends v: E17E2IMS.112 
           date: 06/14/2019 
Battery:   ID-1: BAT1 charge: 29.8 Wh condition: 49.6/53.4 Wh (93%) model: MSI BIF0_9 status: Unknown 
CPU:       Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
           Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 3: 801 4: 800 5: 800 6: 800 7: 800 8: 800 
           9: 800 10: 800 11: 800 12: 800 
Graphics:  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA vendor: Micro-Star MSI driver: N/A bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.5 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~144Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 19.2.8 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI driver: N/A bus ID: 00:1f.3 
           Device-2: NVIDIA vendor: Micro-Star MSI driver: N/A bus ID: 01:00.1 
Network:   Device-1: Intel Wireless-AC 9560 [Jefferson Peak] vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 5000 
           bus ID: 00:14.3 
           IF: wlo1 state: down mac: <filter> 
           Device-2: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Micro-Star MSI driver: alx v: kernel port: 3000 
           bus ID: 03:00.0 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: br-9e2341ebd631 state: up speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: docker0 state: down mac: <filter> 
           IF-ID-3: enp0s20f0u2c4i2 state: down mac: <filter> 
           IF-ID-4: veth9dc69c2 state: up speed: 10000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 4.10 TiB used: 39.03 GiB (0.9%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 SDAPNUW-512G-1032 size: 476.94 GiB 
           ID-2: /dev/sda vendor: Samsung model: SSD 860 QVO 4TB size: 3.64 TiB 
Partition: ID-1: / size: 91.19 GiB used: 19.50 GiB (21.4%) fs: ext4 dev: /dev/nvme0n1p5 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-0 
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 335 Uptime: 18m Memory: 31.21 GiB used: 4.12 GiB (13.2%) Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 

Code: Select all

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

Code: Select all

$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: front-left: 46530 /  71% / -8,92 dB,   front-right: 46530 /  71% / -8,92 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 344 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	module: 11
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
Can anyone help pleasae? I want to get my USB headphones to work again atleast. Audio jack output would be bonus.

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Hi blizzard384, and welcome to the forum.

We're probably going to need some clue as to what you've changed. Some hints:
1. Did you modify something in /etc/modprobe.d
2. Did you modify something in /etc/pulse
3. Did you create a .asoundrc file or a .pulse folder

For your line out issue, run dmseg | grep snd in the terminal. If this line exists in the output:

Code: Select all

snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, aborting probe
Then you need to run this to get your built-in sound card detected with the new kernel:

Code: Select all

sudo tee /etc/modprobe.d/alsa-fix.conf <<<'options snd-hda-intel dmic_detect=0'

blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

Re: No sound after tinkering with drivers

Post by blizzard384 »

1. Did you modify something in /etc/modprobe.d
2. Did you modify something in /etc/pulse
3. Did you create a .asoundrc file or a .pulse folder
I know this is going to sound stupid but I simply don't know. I was trying a lot of stuff from random guides to make it work and then at some point restarted computer and sound stopped working. But I don't think that I modify or create any files.

Code: Select all

dmesg | grep snd
doesn't return anything

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

All right. Start a song or video then run this command and paste it's output:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999

blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

Re: No sound after tinkering with drivers

Post by blizzard384 »

Code: Select all

$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   2980      0 --:--:-- --:--:-- --:--:--  2976
ls: cannot access '/dev/snd/*': No such file or directory
lsof: WARNING: can't stat() overlay file system /var/lib/docker/overlay2/aedb1a031131e64c5904ad032626799fb343e191ab23d675ad740478d1face6e/merged
      Output information may be incomplete.
lsof: WARNING: can't stat() tmpfs file system /var/lib/docker/containers/495cc39c1a4023853c9bb50851a1affae650d925d6677d16efb2b0c0c0530409/mounts/shm
      Output information may be incomplete.
lsof: WARNING: can't stat() nsfs file system /run/docker/netns/b76ac3ec3751
      Output information may be incomplete.
lsof: status error on /dev/snd/*: No such file or directory
lsof 4.89
 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
 latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
 latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
 usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]
 [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
 [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
ls: cannot access '/proc/asound/card[0-9]': No such file or directory
cat: /proc/asound/version: No such file or directory
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
cat: /proc/asound/modules: No such file or directory
ls: cannot access '/dev/snd/*': No such file or directory
grep: /proc/asound/cards: No such file or directory
/usr/sbin/alsactl: save_state:1595: No soundcards found...
cat: /tmp/alsa-info.UkpaOmYYfh/alsactl.tmp: No such file or directory
https://termbin.com/bpz6
Thanks!

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Okay, try these.

First, delete the files in /home/YourUserName/.config/pulse, then run this command followed with a reboot:

Code: Select all

apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2
If there's still issues, see if this command produces any output and paste it here:

Code: Select all

dmesg | grep snd

blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

Re: No sound after tinkering with drivers

Post by blizzard384 »

Thanks for lookint into it. Really appreciate it.

Still the same though:

Code: Select all

$ dmesg | grep snd
[    5.098391] sof_pci_dev: Unknown symbol snd_sof_runtime_idle (err -2)
[    5.098413] sof_pci_dev: Unknown symbol snd_sof_runtime_resume (err -2)
[    5.098423] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_bxt_machines (err -2)
[    5.098448] sof_pci_dev: Unknown symbol snd_soc_acpi_find_machine (err -2)
[    5.098458] sof_pci_dev: Unknown symbol snd_sof_device_remove (err -2)
[    5.098468] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_glk_machines (err -2)
[    5.098479] sof_pci_dev: Unknown symbol snd_sof_runtime_suspend (err -2)
[    5.098489] sof_pci_dev: Unknown symbol snd_sof_resume (err -2)
[    5.098515] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_icl_machines (err -2)
[    5.098535] sof_pci_dev: Unknown symbol snd_sof_device_probe (err -2)
[    5.098546] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_cnl_machines (err -2)
[    5.098556] sof_pci_dev: Unknown symbol snd_sof_suspend (err -2)

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Okay, that helps partly. Run this then reboot:

Code: Select all

sudo tee /etc/modprobe.d/alsa-fix.conf <<<'options snd-hda-intel dmic_detect=0'
I'm hoping that's going to work, but there's a possibility there's still some weird issue.

And if still no worky, once more with dmesg | grep snd.

blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

Re: No sound after tinkering with drivers

Post by blizzard384 »

Still no luck:

Code: Select all

$ dmesg | grep snd
[    5.097196] sof_pci_dev: Unknown symbol snd_sof_runtime_idle (err -2)
[    5.097221] sof_pci_dev: Unknown symbol snd_sof_runtime_resume (err -2)
[    5.097232] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_bxt_machines (err -2)
[    5.097257] sof_pci_dev: Unknown symbol snd_soc_acpi_find_machine (err -2)
[    5.097268] sof_pci_dev: Unknown symbol snd_sof_device_remove (err -2)
[    5.097280] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_glk_machines (err -2)
[    5.097292] sof_pci_dev: Unknown symbol snd_sof_runtime_suspend (err -2)
[    5.097303] sof_pci_dev: Unknown symbol snd_sof_resume (err -2)
[    5.097329] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_icl_machines (err -2)
[    5.097352] sof_pci_dev: Unknown symbol snd_sof_device_probe (err -2)
[    5.097365] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_cnl_machines (err -2)
[    5.097376] sof_pci_dev: Unknown symbol snd_sof_suspend (err -2)

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Did you reboot after running that? That should have prevented the sof_pci_dev stuff from loading. I'm guessing something is stopping alsa so the sof_pci is gettting through.

Maybe we should try the kernel config path instead. remove the edit we did with sudo rm /etc/modprobe.d/alsa-fix.conf

Then follow the steps in this post.

Reboot when done. If that doesn't change anything I have another idea, but it's going to take some time to find the command and I have to head to work right now.

I'll check in later once I find what I'm looking for.

blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

Re: No sound after tinkering with drivers

Post by blizzard384 »

There is a change after the reboot:

Code: Select all

$ dmesg | grep snd
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-42-generic root=UUID=51438eae-f67d-4a90-9e97-0906a4ec0b05 ro quiet splash snd_hda_intel.dmic_detect=0 vt.handoff=1
[    0.123161] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-42-generic root=UUID=51438eae-f67d-4a90-9e97-0906a4ec0b05 ro quiet splash snd_hda_intel.dmic_detect=0 vt.handoff=1
[    5.090746] sof_pci_dev: Unknown symbol snd_sof_runtime_idle (err -2)
[    5.090782] sof_pci_dev: Unknown symbol snd_sof_runtime_resume (err -2)
[    5.090792] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_bxt_machines (err -2)
[    5.090813] sof_pci_dev: Unknown symbol snd_soc_acpi_find_machine (err -2)
[    5.090828] sof_pci_dev: Unknown symbol snd_sof_device_remove (err -2)
[    5.090993] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_glk_machines (err -2)
[    5.091003] sof_pci_dev: Unknown symbol snd_sof_runtime_suspend (err -2)
[    5.091012] sof_pci_dev: Unknown symbol snd_sof_resume (err -2)
[    5.091035] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_icl_machines (err -2)
[    5.091054] sof_pci_dev: Unknown symbol snd_sof_device_probe (err -2)
[    5.091065] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_cnl_machines (err -2)
[    5.091138] sof_pci_dev: Unknown symbol snd_sof_suspend (err -2)

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Not enough of a change I'm afraid.

Just got home and am looking for that other idea that I think you need.

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Okay, I'm still having difficulty, but I realized this may fix this issue:

Delete the files in /home/YourUserName/.config/pulse then run pulseaudio -k in the terminal. Based on a post I found, there's a decent chance that's all you need here.

blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

Re: No sound after tinkering with drivers

Post by blizzard384 »

Still the same even after reboot:

Code: Select all

$ dmesg | grep snd
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-42-generic root=UUID=51438eae-f67d-4a90-9e97-0906a4ec0b05 ro quiet splash snd_hda_intel.dmic_detect=0 vt.handoff=1
[    0.123844] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-42-generic root=UUID=51438eae-f67d-4a90-9e97-0906a4ec0b05 ro quiet splash snd_hda_intel.dmic_detect=0 vt.handoff=1
[    5.268889] sof_pci_dev: Unknown symbol snd_sof_runtime_idle (err -2)
[    5.268928] sof_pci_dev: Unknown symbol snd_sof_runtime_resume (err -2)
[    5.268945] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_bxt_machines (err -2)
[    5.268980] sof_pci_dev: Unknown symbol snd_soc_acpi_find_machine (err -2)
[    5.268996] sof_pci_dev: Unknown symbol snd_sof_device_remove (err -2)
[    5.269011] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_glk_machines (err -2)
[    5.269027] sof_pci_dev: Unknown symbol snd_sof_runtime_suspend (err -2)
[    5.269044] sof_pci_dev: Unknown symbol snd_sof_resume (err -2)
[    5.269081] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_icl_machines (err -2)
[    5.269113] sof_pci_dev: Unknown symbol snd_sof_device_probe (err -2)
[    5.269131] sof_pci_dev: Unknown symbol snd_soc_acpi_intel_cnl_machines (err -2)
[    5.269147] sof_pci_dev: Unknown symbol snd_sof_suspend (err -2)

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Wow, this is a stubborn SOB.

What does it show when you run sudo alsa force-reload?

blizzard384
Level 1
Level 1
Posts: 8
Joined: Wed Mar 25, 2020 5:28 am

Re: No sound after tinkering with drivers

Post by blizzard384 »

Code: Select all

$ sudo alsa force-reload    
Unloading ALSA sound driver modules: (none loaded).
Loading ALSA sound driver modules: (none to reload).

User avatar
MrEen
Level 17
Level 17
Posts: 7826
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound after tinkering with drivers

Post by MrEen »

Okay, try alsactl init and paste any messages, then do pulseaudio --start and paste any messages. If pulse says already running, run pulseaudio -k so it'll restart and hopefully recognize that alsa is now running.

Post Reply

Return to “Sound, Multimedia, & Codecs”