lintpkgsrc comes from pkgtools/lintpkgsrc
[ikiwiki.git] / docs / howtos / HowToSound.mdwn
1 # HowtoSound 
2
3 The first step is to figure out if DragonFly supports your sound card.
4
5 As root:
6
7     # kldload snd_driver
8     # cat /dev/sndstat
9
10 If it found your sound device it might say something like this:
11
12     FreeBSD Audio Driver (newpcm)
13     Installed devices:
14     pcm0: <Intel 82801G High Definition Audio Controller> at memory 0xdfef8000 irq 3 snd_hda [20061009_0031] (1p/1r/0v channels duplex)
15
16 My device is supported and it is using the snd_hda module.  So now(still as root):
17
18     # kldunload snd_driver
19     # kldload snd_hda
20     # cd /dev
21     # sh MAKEDEV snd0
22
23
24 If I want my sound devices loaded on boot I should add the following lines to /boot/loader.conf:
25
26     sound_load="YES"
27     snd_hda_load="YES"
28
29 And that's it, sound now works.
30