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.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.14.4; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: Gerudo Valley.mp3 ...
MPEG 1.0 layer III, VBR, 44100 Hz joint-stereo
Title: Gerudo Valley Artist: Koji Kondo
Comment: PCCG-00475
Album: The Legend of Zelda Ocarina of Time Original Sound Track
Year: 1998 Genre: Game
There's no output sound. After that I booted into Ubuntu and chrooted to LFS 7.2, I run the same comands and it worked.
There's any package to output sound in LFS that I'm missing?
Yep! I'm currently running as root and I've configured correctly the group file adding the proper privileges.
I tried to troubleshoot that with aplay tool, alsamixer and sound-test, no one worked. I think I'm lacking some drivers to detect my soundcard because in alsamixer I only have:
0 Dummy
1 VirMIDI
2 pcsp
3 HDA Intel PCH
Just works the card0, others ones display errors.
I also recompiled the kernel and added some features to menuconfig, none worked.
I am having the same problem. LFS 7.2, mpg123 works in chroot but not independently. The kernel is configured with my laptop Intel HD audio drivers. Have you found a solution?
Actually, I had only installed alsa-lib prior to mpg123. I noticed that alsa-lib did NOT put any default *.conf files anywhere so I:
Code:
cat > /etc/skel/.asoundrc <<"EOF"
# Begin .asoundrc
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
# end
EOF
cp /etc/skel/.asoundrc /root/
Which may not have necessary. Then I continued on to build alsa-plugins & alsa-utils according to LFS 7.2 instructions and mpg123 just started working. Now I have sound on my LFS machine, its on to X11 ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.