Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2005, 01:09 PM
jaideep_jdof jaideep_jdof is offline
Member
 
Join Date: Nov 2005
Location: India
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sound Card Drivers
Why does PCBSD loads all the sound drivers, i came across this script which can solve this problem:

#!/bin/sh

kldload snd_driver
DRIVER=$(cut -d " " -f 9- /dev/sndstat|awk '{print $2}'|tr -d "\n")

if [ $DRIVER -eq ""]
then
echo "Unknown soundcard."
else
cut -d " " -f 9- /dev/sndstat|awk '{print $2}'|tr -d "\n" && echo "_load=\"YES\"" >> /boot/loader.conf
kldunload snd_driver
kldload $(cut -d " " -f 9- /dev/sndstat|awk '{print $2}'|tr -d "\n")
fi
__________________
Played with tux to feed the good in me, never realized I am all devil inside.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound card driver matthias Sound and Multimedia 1 03-07-2010 02:07 AM
Sound drivers ximensions Installing PC-BSD 2 10-07-2007 10:31 AM
Envy24 Sound Card mark310784 Sound and Multimedia 7 01-31-2007 08:22 AM
No sound 2nd Card Lost General Questions 4 10-19-2005 12:32 PM
Atheros card drivers? Tachyon Installing PC-BSD 4 08-18-2005 12:44 PM


All times are GMT. The time now is 06:37 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.