Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-19-2004, 10:40 PM
|
#1
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
Slackware 9.0 only plays CDs, no audio files
I have installed Slackware 9.0 on a Compaq Armada 1530DM laptop and got the built in sound hardware to work by using the SoundBlaster drivers found in rc.modules (from what I have read, the audio hardware should be 100% SB compatible).
I installed by doing a minimal install (text only) and did expert selection, and I was pretty picky with the packages (small HDD) so it is possible I just missed a package, in which case I hope somebody knows which one.
Anyway, the problem is that while I can play audio CDs, I can't seem to play any audio file. I have tried "amp" and "mpg123" and I can't play MP3s, or WAVs. There are no errors, and the programs both say that decoding completed, so from what I can tell they play the file, there is just no sound being generated.
I have no problems accessing the mixer from "rexima", and all the volumes are up.
It also doesn't matter which user I am, since it doesn't work as root either.
What could be the problem?
|
|
|
04-19-2004, 10:48 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
try mpg321. that worked for me once when amp didn't.
|
|
|
04-19-2004, 11:12 PM
|
#3
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
mpg123 and mpg321 are the same thing.
I was thinking it may be a libao issue, since the first time I didn't install it, and it gave me errors. I installed the Slackware package that included it, and later downloaded the latest version, but didn't help.
Does anyone have a libao.conf, and if so, what is in it?
|
|
|
04-19-2004, 11:23 PM
|
#4
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
Quote:
Originally posted by MS3FGX
mpg123 and mpg321 are the same thing.
I was thinking it may be a libao issue, since the first time I didn't install it, and it gave me errors. I installed the Slackware package that included it, and later downloaded the latest version, but didn't help.
Does anyone have a libao.conf, and if so, what is in it?
|
well, they're not exactly the same. mpg321 is open source and uses different libraries, while afaik, mpg123 is not open source.
you might need the libao development libraries:
http://www.xiph.org/ogg/vorbis/download/
|
|
|
04-19-2004, 11:28 PM
|
#5
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
i don't think you need a libao.conf. I never touched it and i have still been able to play mp3s with xmms on any linux or bsd i have used. try installing libmikmod , libaudiofile to see if it gets any better.
|
|
|
04-20-2004, 12:18 AM
|
#6
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
Libaudiofile isn't a Slackware 9.0 package, but there is a audiofile lib, which is already installed. And libmikmod is a GNOME XMMS, so that wouldn't be needed.
I have booted the same machine with a Slackware LiveCD (SLAX) and it can play MP3s with mpg123, so hardware doesn't seem to be the problem. It also had all of the same sound modules loaded under the LiveCD as it does under the normal system, though a few were "(autoclean)" on the LiveCD.
I have found out that mpg123 is using "/dev/dsp" to play audio files, changing this to use "/dev/mixer" causes an error saying the device may be busy. Is this normal?
|
|
|
04-20-2004, 02:51 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
check the rights on theses devices first...change them if necessary
|
|
|
04-20-2004, 05:09 PM
|
#8
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
Already did, but like I said, the problem persists even as root.
|
|
|
04-20-2004, 09:21 PM
|
#9
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
Possibilities: Could this be a hardware issue? Are you using headphones that are plugged into the CD player instead of the soundcard? Are the speakers turned on? Are you sure that the file itself is audible? (Is the same MP# or whatever playable under Windows)? -- J.W.
|
|
|
04-21-2004, 03:33 AM
|
#10
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
As I said before, I booted the machine with SLAX and played the same MP3, and it worked fine.
|
|
|
All times are GMT -5. The time now is 05:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|