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

sound works with kldload, but not /boot/loader.conf?

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  Handbook copyright license?  
Author Message
Robert William Vesterman

External


Since: Dec 13, 2004
Posts: 2



(Msg. 1) Posted: Mon Dec 13, 2004 9:17 am
Post subject: sound works with kldload, but not /boot/loader.conf?
Archived from groups: mailing>freebsd>questions (more info?)

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 research (mostly in the FreeBSD handbook), and
eventually got my sound working by doing a "kldload snd_driver".

I then changed /boot/loader.conf to contain the line:

snd_driver_load="YES"

So that I wouldn't have to "kldload snd_driver" every time. After
rebooting, xmms acted like it was playing the song - no error message,
equalizer lights happily jumping around, et cetera - but no sound came out.

If I try "kldload snd_driver" at this point, it says that snd_driver is
already loaded. If I comment out the line from /boot/loader.conf,
reboot and do a "kldload snd_driver", the sound works fine (as it did
before).

So, am I doing something wrong? Is there a way to get the
/boot/loader.conf line to work? Is there anything else I could investigate?

If it's just screwed up and that's all there is to it, could I just
manually put "kldload snd_driver" into some automatic startup script? If
so, what is the appropriate script?

Thanks,

Bob Vesterman.

_______________________________________________
freebsd-questions.TakeThisOut@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

 >> Stay informed about: sound works with kldload, but not /boot/loader.conf? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Sound not working with FreeBSD - 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....

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...

/dev/ttyd0 as an Input Device Works on some Systems but no.. - I posted a question a few hours ago about the strange problems I had been having with some FreeBSD systems and the use of /dev/ttyd0 as an input device for logging data. After searching the FreeBSD handbook, I found the discussion of the "callout ...

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,...

Help: Speeding up Boot Process - Sir, I've heard a lot of comments about the booting process of freebsd, that it is much faster than booting into Linux. I'm not experiencing quite as much as what their saying right now. Is there any link that you can give me so that I could learn ho...
   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 ]