Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Sound not working with FreeBSD

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  Make World on FreeBSD 5.1  
Author Message
Bingrui Foo

External


Since: Oct 03, 2003
Posts: 2



(Msg. 1) Posted: Fri Oct 03, 2003 8:43 pm
Post subject: Sound not working with FreeBSD
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Hi all,

I used the info in the FreeBSD handbook to reinstall the kernel with extra
'device pcm' option to get my sound blaster live sound card to work. Also
did cd /dev; sh MAKEDEV snd0 too.

But there is still no sound from xmms and mplayer. Wondering what could
the problem be?

Anybody can help me out it would be great.
Thanks.

Foo

 >> Stay informed about: Sound not working with FreeBSD 
Back to top
Login to vote
Bingrui Foo

External


Since: Oct 03, 2003
Posts: 2



(Msg. 2) Posted: Fri Oct 03, 2003 9:53 pm
Post subject: Re: Sound not working with FreeBSD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

The previous suggestion didn't work.

When I type dmesg | grep pcm, I get:
pcm0: <CMedia CMI8738> port 0xa400-0xa4ff irq 10 at device 5.0 on pci0
pcm1: <Creative EMU10K1> at device 9.0 on pci0
pcm1: unable to map register space
device_probe_and_attach: pcm1 attach returned 6

So I changed it to cd /dev; sh MAKEDEV snd1.

But now xmms and mplayer give error like can't open audio device /dev/dsp:
Device not configured.

Hope this helps narrow the problem done.

Foo

On Fri, 3 Oct 2003, Tommy wrote:

> Bingrui Foo wrote:
>
> > Hi all,
> >
> > I used the info in the FreeBSD handbook to reinstall the kernel with extra
> > 'device pcm' option to get my sound blaster live sound card to work. Also
> > did cd /dev; sh MAKEDEV snd0 too.
> >
> > But there is still no sound from xmms and mplayer. Wondering what could
> > the problem be?
> >
> > Anybody can help me out it would be great.
> > Thanks.
> >
> > Foo
>
> Sounds like BSD isn't seeing your sound-card.
>
> I had the same problem and this worked for me: login as root. hit quick
> browser/root/boot/ Open up boot in file manager. open up the defaults
> folder, open up loader config.
>
>
> scroll down and you will see this.
>
> ##############################################################
> ### Sound modules ##########################################
> ##############################################################
>
> snd_ad1816_load="NO" # ad1816 isa
> snd_cmi_load="NO" # cmi8738 pci
> snd_csa_load="NO" # cs46xx/cs4280 pci
> snd_cs4281_load="NO" # cs4281 pci
> snd_ds1_load="NO" # yamaha ds1/dsxg pci
> snd_emu10k1_load="NO" # creative Sound Blaster Live
> snd_ess_load="NO" # ess isa
> snd_es137x_load="NO" # es1370/es1371/es1373/ct5880 pci
> snd_fm801_load="NO" # forte media fm801 pci
> snd_ich_load="NO" # Intel ICH
> snd_maestro_load="NO" # ess maestro-2 pci
> snd_maestro3_load="NO" # ess maestro-3 pci
> snd_mss_load="NO" # mss-compatible isa
> snd_neomagic_load="NO" # neomagic nm256av/nm256zx pci
> snd_sb8_load="NO" # Sound Blaster (Pro) isa
> snd_sb16_load="NO" # Sound Blaster 16/awe32/awe64 isa
> snd_solo_load="NO" # ess solo-1 pci
> snd_t4dwave_load="NO" # trident 4dwave dx/nx pci
> snd_via8233_load="NO" # via8233 pci
> snd_via82c686_load="NO" # via82c686 pci
> snd_load="NO" # All sound drivers (use instead of above)
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Change snd_load="NO" (to yes) # All sound drivers (use instead of
> above)
>
> Its the bottom one. Reboot and you will have sound.
>
>

 >> Stay informed about: Sound not working with FreeBSD 
Back to top
Login to vote
Tommy

External


Since: Oct 03, 2003
Posts: 1



(Msg. 3) Posted: Fri Oct 03, 2003 10:16 pm
Post subject: Re: Sound not working with FreeBSD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bingrui Foo wrote:

> Hi all,
>
> I used the info in the FreeBSD handbook to reinstall the kernel with extra
> 'device pcm' option to get my sound blaster live sound card to work. Also
> did cd /dev; sh MAKEDEV snd0 too.
>
> But there is still no sound from xmms and mplayer. Wondering what could
> the problem be?
>
> Anybody can help me out it would be great.
> Thanks.
>
> Foo

Sounds like BSD isn't seeing your sound-card.

I had the same problem and this worked for me: login as root. hit quick
browser/root/boot/ Open up boot in file manager. open up the defaults
folder, open up loader config.


scroll down and you will see this.

##############################################################
### Sound modules ##########################################
##############################################################

snd_ad1816_load="NO" # ad1816 isa
snd_cmi_load="NO" # cmi8738 pci
snd_csa_load="NO" # cs46xx/cs4280 pci
snd_cs4281_load="NO" # cs4281 pci
snd_ds1_load="NO" # yamaha ds1/dsxg pci
snd_emu10k1_load="NO" # creative Sound Blaster Live
snd_ess_load="NO" # ess isa
snd_es137x_load="NO" # es1370/es1371/es1373/ct5880 pci
snd_fm801_load="NO" # forte media fm801 pci
snd_ich_load="NO" # Intel ICH
snd_maestro_load="NO" # ess maestro-2 pci
snd_maestro3_load="NO" # ess maestro-3 pci
snd_mss_load="NO" # mss-compatible isa
snd_neomagic_load="NO" # neomagic nm256av/nm256zx pci
snd_sb8_load="NO" # Sound Blaster (Pro) isa
snd_sb16_load="NO" # Sound Blaster 16/awe32/awe64 isa
snd_solo_load="NO" # ess solo-1 pci
snd_t4dwave_load="NO" # trident 4dwave dx/nx pci
snd_via8233_load="NO" # via8233 pci
snd_via82c686_load="NO" # via82c686 pci
snd_load="NO" # All sound drivers (use instead of above)
-------------------------------------------------------------------------------------------------------------------------------------------------------------

Change snd_load="NO" (to yes) # All sound drivers (use instead of
above)

Its the bottom one. Reboot and you will have sound.
 >> Stay informed about: Sound not working with FreeBSD 
Back to top
Login to vote
Two Ravens

External


Since: Oct 04, 2003
Posts: 2



(Msg. 4) Posted: Sat Oct 04, 2003 8:07 am
Post subject: Re: Sound not working with FreeBSD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bingrui Foo wrote:

> Hi,
> The previous suggestion didn't work.

As someone trying to learn FreeBSD I finally managed to get 5.1
installed, and this was the first error message I got, Sound not
working etc. I tried your solution and it worked, It's just that BSD is
storing it's modules in a different place to Slackware.
--
Two Ravens
"...hit the squirrel!"
 >> Stay informed about: Sound not working with FreeBSD 
Back to top
Login to vote
MH

External


Since: Oct 04, 2003
Posts: 1



(Msg. 5) Posted: Sat Oct 04, 2003 6:52 pm
Post subject: Re: Sound not working with FreeBSD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If its FreeBSD 5.x you wont need to compile anything. Just load the
module for your soundcard and it will work straight away.
Look in the handbook to find if your card is supported and if so what
module to load.
You then edit loader.conf (i think) to make the kernel load that module
at every boot.


Two Ravens wrote:

> Bingrui Foo wrote:
>
>
>>Hi,
>>The previous suggestion didn't work.
>
>
> As someone trying to learn FreeBSD I finally managed to get 5.1
> installed, and this was the first error message I got, Sound not
> working etc. I tried your solution and it worked, It's just that BSD is
> storing it's modules in a different place to Slackware.
 >> Stay informed about: Sound not working with FreeBSD 
Back to top
Login to vote
Two Ravens

External


Since: Oct 04, 2003
Posts: 2



(Msg. 6) Posted: Sat Oct 04, 2003 6:52 pm
Post subject: Re: Sound not working with FreeBSD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

MH wrote:

> If its FreeBSD 5.x you wont need to compile anything. Just load the
> module for your soundcard and it will work straight away.
> Look in the handbook to find if your card is supported and if so what
> module to load.
> You then edit loader.conf (i think) to make the kernel load that
> module at every boot.

What I did was find the :
snd_via82c686_load"NO" #via82c686
copy it to loader.conf, which was empty and then alter No to YES
Luckily I hadve recompiled Linux kernels and know what my harware is and
needs.

--
Two Ravens
"...hit the squirrel!"
 >> Stay informed about: Sound not working with FreeBSD 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IS freebsd.org working - Trying to get to FreeBSD handbook and www.freebsd.org is coming up as not reachable. Any body else having same problem???? _______________________________________________ freebsd-questions@freebsd.org mailing list..

Sound on Dell Optiplex GX1 - Hi, I have a Dell Optiplex GX1 which has a Crystal CS4236B sound chip. I know the hardware is not faulty because it works in Windows (perhaps not the best test but its all I have). However, I can't get it to work in FreeBSD 5.2 The man page for pcm say...

Sound card driver data formats - I want to play synthetic sounds through my sound card. I've recompiled the kernel and made the devices. The sound card is working. cat /kernel > /dev/dsp clicks and hisses as expected. I've written a program to generate a ramp, but is sounds wrong,...

sound works with kldload, but not /boot/loader.conf? - Hi, I just tried playing a WAV file using xmms (this is the first time I've tried anything with sound on my installation). It issued a very generic error message, telling me things like "make sure your device is installed". I did some res...

console and bash - how to get Delete key working properly ? - Hi, I searched BSD docs and Google for answers, but none of them works. By "working properly" I mean for Del key to delete char under the cursor and not the previous one. It works in gnome xterm, but not in console. It works in sh with confi...
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]