ffa1
![]() |
|
|
|
|
|||||||
| Multimedia Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.? |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello, I'm a bit of a newbie when it comes to FreeBSD, so please bear with me.
I have downloaded the mpg123 media player and I'm trying to play an mp3 file. When I do, I get the following output: Code:
[oss.c:182] error: Can't open default sound device! [audio.c:625] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: oss [audio.c:527] error: Failed to open audio output module [mpg123.c:779] error: Failed to initialize output, goodbye. |
|
#2
|
||||
|
||||
|
Do you have any sound devices loaded in
$ kldstat? See also: http://www.freebsd.org/doc/en_US.ISO...ultimedia.html
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#3
|
|||
|
|||
|
That command gives me four entries:
kernel ipl.ko snd_emu10k1.ko sound.ko So I think the answer is yes. I read the document you linked to, but my eyes start to cross around the point of compiling kernel modules. As I said, I'm really fresh off the turnip wagon where FreeBSD is concerned. I ventured to install OSS using "pkg_add -r -v oss" and that chugged away for a while, but the process locked up while installing python. |
|
#4
|
|||
|
|||
|
Don't know if you're still around, but I get the same error message from mpg123. mplayer, ogg123 and others work fine. 8.0-RELEASE-p1 with updated ports, mpg123 1.9.1.
|
|
#5
|
||||
|
||||
|
What's the output of
cat /dev/sndstat? That will tell you if the correct sound driver is loaded.You can load all the sound drivers via kldload snd_driver, then run the cat command above to see which driver it uses.
Last edited by DutchDaemon; December 8th, 2009 at 22:27. Reason: use one of [cmd=] [cmd=$] [cmd=#] |
|
#6
|
|||
|
|||
|
Quote:
Code:
$ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: <HDA Analog Devices AD1986A PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex default) pcm1: <HDA Analog Devices AD1986A PCM #1 Digital> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex) Code:
$ mpg123 Tender\ Wind.mp3 [module.c:138] error: Failed to open module oss: file not found [audio.c:180] error: Unable to find a working output module in this list: oss [audio.c:527] error: Failed to open audio output module [mpg123.c:779] error: Failed to initialize output, goodbye. |
|
#7
|
|||
|
|||
|
I had the same issue, and it seems to just be mpg123 that isn't working. I get the same error stating it failed to open the oss module. When I tried installing oss, the package manager stalls when installing Python.
|
|
#8
|
|||
|
|||
|
Try using audio/mpg321, should be drop-in replacement and it handles broken mp3s better.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Heads up anyone playing WoW under FreeBSD | caesius | Multimedia | 4 | January 23rd, 2010 03:03 |
| [Solved] Sound card detected, but no sound on freebsd 7.2 | sasha-fbsd | System Hardware | 6 | September 12th, 2009 04:04 |
| System hangs when playing video (freeBSD7.2) | Detective | Multimedia | 8 | July 31st, 2009 08:47 |
| Playing CDs | maxrussell | Multimedia | 1 | July 19th, 2009 22:06 |
| [Solved] Playing Audio CDs with no sound output. | shuxuef | Multimedia | 21 | July 10th, 2009 04:17 |