Linux From ScratchThis 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
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.
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.
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?
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.-::-
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?
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
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?
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
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?
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.