Click to See Complete Forum and Search --> : sound in freebsd


Milo7777
10-19-2000, 05:51 PM
how do i config sound card (ie is there is a soundconfig similar to som linux distros)

Glaurung
10-20-2000, 02:01 PM
I think there's some section on sound in the freebsd handbook...

I haven't tried it out, though ...

freebsd
10-20-2000, 03:43 PM
>>how do i config sound card

FreeBSD doesn't have sound support out of the box, you MUST recompile a kernel, not the default GENERIC kernel.

>>is there is a soundconfig similar to som linux distros

No.

Read up /usr/src/sys/i386/conf/LINT

:strain:
10-20-2000, 10:39 PM
Likely you will have to buildworld to keep the kernel and system programs in sync.
WARNING you will want to read manpages and the handbook on updating to do this correctly.

so

$ cp /usr/share/defaults/cvsup/stable-supfile /usr/src and edit as desired
$ cvsup -g /usr/src/stable-supfile
$ cp /usr/src/sys/i386/conf/DEFAULT /usr/src/sys/i386/conf/MYKERNEL
add: device pcm to MYKERNEL
$ cd /usr/src && make buildworld
$ shutdown now
$ cd /usr/src && make installworld
$ cp /usr/src/etc/MAKEDEV /dev
$ cd /dev && sh MAKEDEV all
$ make buildkernel KERNEL=MYKERNEL
$ make installkernel KERNEL=MYKERNEL
$ cd /usr/src/release/sysinstall && make all install
$ cp -Rp /etc /etc.old # BACKUP /etc !!!
$ /usr/sbin/mergemaster -a {this IS where you will likely have a brain spasm. RTFM
$ shutdown -r now
$ cd /dev && sh MAKEDEV snd0
$ echo "done"

this WILL take a very long time, on a 400mhz celeron with 64MB ram the buildworld takes about 2 hours 15 minutes. it rebuilds all system binaries

please please RTFM before you try this, because you likely will fail the first or second time. prepardness is the key.

good luck. i can't put into words how much you need to RTFM before you do this.

in the case that you do not have a PCI/PnP sound card you will have to read the LINT configuration and substitute your settings for device pcm appropriately.

[This message has been edited by :strain: (edited 20 October 2000).]