LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-07-2022, 04:17 PM   #1
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Rep: Reputation: 31
How Do I Update Kernel Modules (to Fix No Sound/Audio Issue)


Hi All,

I'm having a sound issue between a TUF X570 Gaming Plus Wi-Fi motherboard and Mint 21 Mate. The audio in the front jack is dead. I tried Ubuntu and OpenSus as well, and it was dead.

I want to try to implement the following change, but I think it has to do with updating a module in the kernel, and I don't know the best way to do this. The change seems to directly apply to my issue.

Code:
Which mainboard do you have? Which codec is on your mainboard? Is support for your codec enabled in your kernel config?
Example: I have a new Asus TUF B550-Pro mainboard. It has a Realtek S1200A codec. In order to get sound, I have to enable CONFIG_SND_HDA, CONFIG_SND_HDA_INTEL and CONFIG_SND_HDA_CODEC_REALTEK.
Code:
Asus TUF GAMING X570-PRO
I assumed (also based on Neddy's replies in other threads) that it is the AMD:
Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Starship/Matisse HD Audio Controller
...
Okay, I enabled the drivers, rebuilt, installed, rebooted, and now have working sound after selecting correct controller in KDE.
Thanks for your help
I want to do what is listed in bold. Can anyone provide some guidance as to how to do this in Linux Mint Mate.

I appreciate any guidance how to accomplish what is mentioned in the linked thread.

TIA...

Reference:
Yet Another new install Ryzen sound problem [Solved]
https://forums.gentoo.org/viewtopic-...9-start-0.html

TIA...
 
Old 09-07-2022, 08:28 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,179

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
The modules listed are in the kernel, not sure were you got that post, but they are probability built and enabled.
If sound it working by other outputs, it might be the port is broken.

The system may have the HDMI set as the primary output, as per this post; https://bbs.archlinux.org/viewtopic.php?id=260683
The second post has the command to change the default output.
 
Old 09-08-2022, 01:07 AM   #3
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by uteck View Post
The modules listed are in the kernel, not sure were you got that post, but they are probability built and enabled.
If sound it working by other outputs, it might be the port is broken.

The system may have the HDMI set as the primary output, as per this post; https://bbs.archlinux.org/viewtopic.php?id=260683
The second post has the command to change the default output.
Thanks for the lead. There is a link to the source post at the hiding at the bottom of my original post.

I will follow up and see where I can take it.

I think I'm becoming a fan of USB audio, at least in concept, but I am new to that world as well.
 
Old 09-08-2022, 11:01 AM   #4
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,179

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Ah. now I see the link.
That goes to the Gentoo forum, which if you don't know is, a Linux distro that compiles source code to make a working system. So thus the need to recompile the kernel to enable the modules.
Most other Linux distros will come with all common and not so common modules already compiled so they can work out of the box with as much hardware as possible.

If the other audio outputs are working, then I suspect that port or the cable is the problem.
 
Old 09-08-2022, 11:43 AM   #5
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
Open a console and run
Code:
inxi -A
That will give device and driver info about the sound system.
If you don't have inxi you can download it from your repos.
 
Old 09-08-2022, 01:14 PM   #6
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by uteck View Post
The modules listed are in the kernel, not sure were you got that post, but they are probability built and enabled.
If sound it working by other outputs, it might be the port is broken.

The system may have the HDMI set as the primary output, as per this post; https://bbs.archlinux.org/viewtopic.php?id=260683
The second post has the command to change the default output.
Ah, that makes sense on Gentoo now. Creating and compiling kernels is what the do. Makes sense.

OK, I tried my best to follow the principles in the link you highlighted, but I ended up losing my sound out of the back panel and now pulseaudio is not automatically running. Pacmd produces...

Code:
No PulseAudio daemon running, or not running as session daemon.
Should I just reset back to a recent snapshot, or can something be learned by trying to work through the problem from here.

Before I rebooted into my current state, these are the results from my computer...

Code:
$ pacmd list-sinks
1 sink(s) available.
  * index: 21
	name: <alsa_output.pci-0000_0a_00.4.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 47024 /  72% / -8.65 dB,   front-right: 47024 /  72% / -8.65 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 16.66 ms
	max request: 2 KiB
	max rewind: 2 KiB
	monitor source: 31
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 7
	configured latency: 16.00 ms; range is 16.00 .. 1999.82 ms
	card: 1 <alsa_card.pci-0000_0a_00.4>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALCS1200A Analog"
		alsa.id = "ALCS1200A Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfca00000 irq 93"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Starship/Matisse HD Audio Controller Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>
$ pacmd set-default-sink alsa_output.pci-0000_0a_00.4.analog-stereo
$
After I ran the above set-default-sink code, pulseaudio no longer runs and I lost my rear audio.
 
Old 09-08-2022, 01:17 PM   #7
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by petelq View Post
Open a console and run
Code:
inxi -A
That will give device and driver info about the sound system.
If you don't have inxi you can download it from your repos.
Here are my results. My post just previous to this has some data before my pulseaudio went dark on me (and should explain why it happened).

Code:
$ inxi -A
Audio:
  Device-1: NVIDIA TU116 High Definition Audio driver: snd_hda_intel
  Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.15.0-41-generic running: yes
  Sound Server-2: PipeWire v: 0.3.48 running: yes
 
Old 09-08-2022, 03:13 PM   #8
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,179

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Check in the audio controls to see if it got muted, either the desktop panel run run alsamixer if installed.
 
  


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
Cannot fix broken package using "sudo apt --fix-broken install" to fix XFCE packages for Zorin OS 16 Core AltFantasy Zorin OS 8 09-25-2021 06:51 AM
suddenly vlc audio chunky. got sound then no sound then got sound then no sound.. andrewysk Linux - Newbie 4 04-21-2021 08:19 PM
Kernel modules: why are some kernel modules zipped? hampel Slackware 3 06-30-2003 06:33 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:49 AM.

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