Code:
$uname -a
FreeBSD mybsd.zsoft.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012
root@obrian.cse.buffalo.edu:[FILE]/usr/obj/usr/src/sys/GENERIC[/FILE] i386
$sudo sysctl -w hw.snd.verbose=2
$cat [FILE]/dev/sndstat [/FILE]
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0xde081000, 0xde082000 irq 17 bufsz 16384 (1p:1v/1r:1v) default
snddev flags=0x2e2<AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC>
[pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004
interrupts 44126, underruns 0, feed 44126, ready 0 [b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{userland} -> feeder_mixer(0x00200010) -> {hardware}
pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:65536/2048/32]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware}
[pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005
interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland}
pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000
interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
channel flags=0x10000000<VIRTUAL>
{hardware} -> feeder_root(0x00000000) -> {userland}
$cat [FILE]/boot/loader.conf [/FILE]
autoboot_delay="3"
beastie_disable="YES"
kern.coredump="0"
snd_ich_load="YES" # [color="Red"]Intel ICH[/color]
$kldstat
Id Refs Address Size Name
1 7 0xc0400000 e9ece4 kernel
2 1 0xc3728000 9000 i915.ko
3 1 0xc3731000 16000 drm.ko
The sound does not work!
Any suggestion is appreciated!