LinuxQuestions.org
Visit Jeremy's Blog.
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 12-17-2012, 02:55 PM   #1
rogerfernandezg
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
Mpg123 not working - no audio output


Hi, I just installed Mpg123-1.14.4 in my LFS 7.2.

I run the command:

mpg123 Gerudo Valley.mp3

The output was:

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?

Thanks in advance.
 
Old 12-17-2012, 03:18 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Have you tried running it as root from lfs

And is the user a member of the audio group

Dont know if this helps
 
Old 12-17-2012, 06:46 PM   #3
rogerfernandezg
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.

Please help.
 
Old 02-06-2013, 10:35 AM   #4
pikill
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
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?
 
Old 02-08-2013, 01:31 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Have you tried initing alsa? I had to do this:
Code:
alsactl init
alsactl store
as root before I had sound ( but I do use the proprietary nvidia driver )
 
Old 02-08-2013, 04:37 PM   #6
pikill
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
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 ...
 
  


Reply

Tags
not working, output, sound



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
Multimedia audio output not working in Suse 11.2? brianpbarnes Linux - Software 2 11-25-2009 07:51 PM
Audio not working..no output while playing vambhan Linux - Newbie 7 03-09-2009 06:37 AM
Listen to Audio CD From Command Line with mpg123 anamericanjoe Linux - Software 2 07-07-2007 01:33 PM
mpg123 no audio rate supported PowerZ24 Linux - Software 1 12-20-2006 04:42 AM
mixer or audio output not working hellfire73 Linux - Software 1 03-22-2006 12:11 AM

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

All times are GMT -5. The time now is 06:47 PM.

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