LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-05-2016, 03:04 AM   #1
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Rep: Reputation: 35
No audio BLFS 7.8 systemd


I can't seem to get my audio working despite installing everything necessary *as far as I know*, several alsa packages and pulseaudio. My audio works fine in my linux from scratch but if I go to alsamixer in LFS it just says "This sound device does not have any controls." I have no idea if I'm missing a driver or anything. Here's the following.

Here's my lspci output
Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B) (rev 02)
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port B)
00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port H)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] (rev f1)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tonga HDMI Audio [Radeon R9 285/380]
02:00.0 USB controller: Etron Technology, Inc. EJ188/EJ198 USB 3.0 Host Controller
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
My pulseaudio -C
Code:
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_14.2" card_name="alsa_card.pci-0000_00_14.2" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
I also noticed that my dmesg has this message so I don't know if I just don't have my kernel compiled correctly
Code:
[    0.769520] ALSA device list:
[    0.769629]   No soundcards found.
[    0.769793] hdaudio hdaudioC0D0: Unable to bind the codec
[    0.770740] hdaudio hdaudioC1D0: Unable to bind the codec
Does anyone have any ideas or point me into the right direction?

Last edited by kc3; 03-05-2016 at 01:25 PM.
 
Old 03-05-2016, 08:37 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
It looks like you have two sound cards.

Code:
Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA
Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tonga HDMI Audio [Radeon R9 285/380]
I have the same sound card like you (Azalia) but my Radeon card also was seen as an audio device and I wasn't able to figure out what the hang up was. I had the Azalia set in alsamixer as the primary card.

Running aplay -l should show you your main snd card.

I had the same error message as you about the module not loading and couldn't figure out which module it was otherwise I would of installed the needed module.
Code:
Failed to load module "module-alsa-card"
I tried for 4 weeks to get the sound working in Open Suse and nothing I tried worked.

-::-Maybe try recompiling the kernel. Sometimes that makes things that don't work, work afterwards.-::-

Open the Alsamixer in the terminal and turn the pcm and the master all the way up.
https://www.youtube.com/watch?v=wWmXG-e6yzI

Read through these Sound WiKi they may be of some use.
https://wiki.archlinux.org/index.php...d_Architecture
https://wiki.archlinux.org/index.php...roubleshooting

Maybe you need the Alsa Driver, Alsa Plugin or Alsa Utilites? (if there not already installed)

http://www.linuxfromscratch.org/blfs...sa-driver.html
http://www.linuxfromscratch.org/blfs...a-plugins.html
http://www.linuxfromscratch.org/blfs...lsa-utils.html

I wish you the best in getting this sound issue working. Sorry I don't know more.
 
1 members found this post helpful.
Old 03-05-2016, 10:20 PM   #3
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Original Poster
Rep: Reputation: 35
No you're good, I appreciate the help. You're at least pointing me into the right direction. My aplay -l doesn't show any devices
Code:
**** List of PLAYBACK Hardware Devices ****
My alsamixer also shows no controls, despite working on arch. If I hit f6 it does let me select a sound card but still no device controls. I have Alsa-Plugins and Alsa-Utils however the Alsa-Drivers package is very old and the configure command on that page doesn't even work as it so I'm fairly hesitant. Is there an older firmware in there that might be necessary?
 
Old 03-05-2016, 10:34 PM   #4
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Original Poster
Rep: Reputation: 35
I just recompiled my kernel with a Realtek HD-audio codec support, Analog Device HD-audio codec support and HDMRI/DisplayPort audio codec support and it worked
 
1 members found this post helpful.
Old 03-05-2016, 10:40 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by kc3 View Post
I just recompiled my kernel with a Realtek HD-audio codec support, Analog Device HD-audio codec support and HDMRI/DisplayPort audio codec support and it worked
Congrads! That's great news.

I've never recompiled the kernel because I've never had to.
It it fairly easy to walk through in the konsole?
 
Old 03-05-2016, 10:46 PM   #6
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Original Poster
Rep: Reputation: 35
Yeah it's not bad, I had done it before when I used to use Gentoo. I also had to recompile to get my wifi working as well as usb3 support lol I turned off everything but the Realtek HD-audio codec and it still worked, looks like that's all I needed

Last edited by kc3; 03-05-2016 at 10:49 PM.
 
Old 03-05-2016, 10:56 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by kc3 View Post
Yeah it's not bad, I had done it before when I used to use Gentoo. I also had to recompile to get my wifi working as well as usb3 support lol I turned off everything but the Realtek HD-audio codec and it still worked, looks like that's all I needed
Cool, glad everything is working for you.

How long did it take you to recompile your kernel?
 
Old 03-05-2016, 10:58 PM   #8
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Original Poster
Rep: Reputation: 35
Hm... I've never timed it but for a clean compile maybe twenty to thirty minutes, if you have already compiled one it doesn't have to rebuild everything and that takes just a minute. Now that I have everything working I might be ready to switch everything to my LFS build.

Last edited by kc3; 03-05-2016 at 11:03 PM.
 
Old 03-05-2016, 11:06 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by kc3 View Post
Hm... I've never timed it but for a clean compile maybe twenty to thirty minutes, if I have already compiled one it doesn't have to rebuild everything and that takes just a minute. Now that I have everything working I might be ready to switch everything to my LFS build.
Not bad on the time.
So if rebuilding anything is required the compile would take longer. Got it-

What's the red flag for modules/drivers or other things that would require a rebuild?

Congrads on your LFS build. I bet it's neat to see what goes into a distribution.
 
Old 03-06-2016, 01:03 AM   #10
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Original Poster
Rep: Reputation: 35
Hm only red flags I've really had was that some piece of hardware isn't being loaded at all in dmesg. I've had it where my kernel was configured but the driver was missing, when that happened that also appeared in dmesg.

Last edited by kc3; 03-06-2016 at 01:04 AM.
 
Old 03-06-2016, 04:46 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by kc3 View Post
Hm only red flags I've really had was that some piece of hardware isn't being loaded at all in dmesg. I've had it where my kernel was configured but the driver was missing, when that happened that also appeared in dmesg.
Thanks-
 
  


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
[SOLVED] Cannot startx, BLFS 7.8 Systemd version with R9 380 GPU kc3 Linux From Scratch 2 03-04-2016 07:35 PM
Can't access full journalctl from script via systemd service even though user is in systemd-journal group iwtbf Linux - Newbie 0 02-19-2016 02:44 PM
how to install systemd units in BLFS Carl_cj Linux From Scratch 4 09-24-2014 05:10 AM
[SOLVED] BLFS: Udev Extras (from systemd) error erkant Linux From Scratch 2 12-06-2012 12:47 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:15 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