• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

OpenBSD 3.6 - Need help getting the sound to work

Submit

Senior member
The installation went fine, everything is working except for the sound. I would like to use the built in sound on the Asus P4C800 Deluxe.

Here is my dmesg

auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02: irq 5, ICH5 AC97
ac97: codec id 0x41445375 (Analog Devices AD1985)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0

auich0: measured ac97 link rate at 47997 Hz, will use 48000 Hz

Any ideas on what I need to do?

Thanks
 
Originally posted by: Submit
I tried playing a few different sound files using xmms and nothing happens

Did you add support to XMMS for those file types? If they're mp3s, try mpg321 instead.

These are the XMMS packages I have installed (version numbers may differ because I'm using an old snapshot):
$ pkg_info | grep xmms
xmms-1.2.10 Multimedia player for the X Window System
xmms-esd-1.2.10 Esound output plugin for XMMS
xmms-mikmod-1.2.10 Mikmod input plugin for XMMS
xmms-mp3-1.2.10 MP3 input plugin for XMMS
xmms-vorbis-1.2.10 Ogg Vorbis input plugin for XMMS
 
Hey drag,

For now, I am logged in as root. These are the packages I installed:

xmms-1.2.10.tgz
xmms-mp3-1.2.10.tgz
xmms-vorbis-1.2.10.tgz
xmms-smpeg-0.3.5.tgz

...

This is what I get

** ERROR **: /dev/audio: Device busy
aborting...
Abort trap (core dumped)
tango#


 
If you're using KDE, either add arts support for XMMS or turn off artsd. If ESD is running, either kill it or add support for it to xmms.
 
I am running KDE 3.2, what are the names of the packes for arts and how can I tell if ESD is running?

tango# pkg_info | grep xmms
xmms-1.2.10 Multimedia player for the X Window System
xmms-esd-1.2.10 Esound output plugin for XMMS
xmms-mp3-1.2.10 MP3 input plugin for XMMS
xmms-smpeg-0.3.5 MPEG and VCD video playback in XMMS
xmms-vorbis-1.2.10 Ogg Vorbis input plugin for XMMS
 
Originally posted by: Submit
I am running KDE 3.2, what are the names of the packes for arts and how can I tell if ESD is running?

tango# pkg_info | grep xmms
xmms-1.2.10 Multimedia player for the X Window System
xmms-esd-1.2.10 Esound output plugin for XMMS
xmms-mp3-1.2.10 MP3 input plugin for XMMS
xmms-smpeg-0.3.5 MPEG and VCD video playback in XMMS
xmms-vorbis-1.2.10 Ogg Vorbis input plugin for XMMS

I believe KDE uses arts. So you can try ps -auxww | grep art to see if it is running.

OpenBSD's sound drivers are pretty "dumb," in that only one thing can bind to /dev/audio at a time. artsd binds to /dev/audio, and I think it should handle allowing multiple processes go through it to get to the audio hardware.

Unfortunately there doesn't seem to be an arts xmms... I'll post again if I can find something. Try killing arts for now. 😛
 
Originally posted by: n0cmonkey
Originally posted by: Submit
I am running KDE 3.2, what are the names of the packes for arts and how can I tell if ESD is running?

tango# pkg_info | grep xmms
xmms-1.2.10 Multimedia player for the X Window System
xmms-esd-1.2.10 Esound output plugin for XMMS
xmms-mp3-1.2.10 MP3 input plugin for XMMS
xmms-smpeg-0.3.5 MPEG and VCD video playback in XMMS
xmms-vorbis-1.2.10 Ogg Vorbis input plugin for XMMS

I believe KDE uses arts. So you can try ps -auxww | grep art to see if it is running.

OpenBSD's sound drivers are pretty "dumb," in that only one thing can bind to /dev/audio at a time. artsd binds to /dev/audio, and I think it should handle allowing multiple processes go through it to get to the audio hardware.

Unfortunately there doesn't seem to be an arts xmms... I'll post again if I can find something. Try killing arts for now. 😛

Kiling arts will allow the file to play, so xmms doesn't crash, but still no sound. The volume is turned up🙂
 
It looks like someone started an XMMS-arts port, but it was never finished.

Seriously, kill arts and try mpg321. I don't trust xmms. 😛
 
Originally posted by: Submit
mpg123-0.59rp2-esd.tgz

0r

mpg123-0.59rp2.tgz

ps -auxww | grep esd should tell you if you are using ESD. I think ESD is like arts, but by a different person/group.
 
Ok, I will try that.

Does this look right?

auich0: measured ac97 link rate at 48006 Hz, will use 48000 Hz

Shouldn't it be 44kHz?
 
Originally posted by: Submit
Ok, I will try that.

Does this look right?

auich0: measured ac97 link rate at 48006 Hz, will use 48000 Hz

Shouldn't it be 44kHz?

I don't have a line like that in my dmesg for either ac97 (which is disabled) or my soundblaster...
 
Back
Top