I've reached my next hurdle in setting up my FreeBSD laptop. I can get no sound output at all. I have verified that none of the channels are muted.
When I run
It has no output, and there is no sound coming out of the speakers.
My /boot/loader.conf
I read about checking the gpio pins, but I'm not sure where to find them or how to modify them if needed.
My /etc/sysctl.conf
If I load in my /boot/loader.conf
It shows two pcm0 devices. Intel ICH6 and Conexant.
I'm out of ideas getting this configured right. Thank you for your help!
When I run
Code:
# cat /dev/random > /dev/dsp
My /boot/loader.conf
Code:
boot_verbose="YES"
sound_enable="YES"
#snd_driver_load="YES"
snd_hda_load="YES"
#snd_ihc_load="YES"
if_bwi_load="YES"
kern.vty=vt
I read about checking the gpio pins, but I'm not sure where to find them or how to modify them if needed.
My /etc/sysctl.conf
Code:
dev.hdac.5.pindump=1
hw.snd.default_auto=1
hw.snd.default_unit=0
hw.snd.verbose=4
Code:
#cat /dev/sndstat
FreeBSD Audio Driver (32bit 2009061500/i386)
Installed devices:
pcm0: <Intel ICH6 (82801FB)> at io 0xb0040800, 0xb0040400 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 7182, underruns 0, feed 7182, 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 0x00201000/0x00200010, flags 0x10000000, 0x0000002b
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:131072/4096/32]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00201000) -> feeder_format(0x00201000 -> 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}
File Versions:
$FreeBSD: releng/10.1/sys/dev/sound/pcm/vchan.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/sound.c 243459 2012-11-23 15:31:00Z mav $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/sndstat.c 248381 2013-03-16 17:57:00Z joel $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/mixer.c 271193 2014-09-06 15:24:48Z mav $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder_volume.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder_rate.c 209193 2010-06-15 07:06:54Z avg $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder_mixer.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder_matrix.c 243138 2012-11-16 07:05:57Z mav $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder_format.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder_eq.c 209193 2010-06-15 07:06:54Z avg $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder_chain.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/feeder.c 227293 2011-11-07 06:44:47Z ed $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/dsp.c 249585 2013-04-17 11:45:15Z gabor $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/channel.c 243138 2012-11-16 07:05:57Z mav $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/buffer.c 243450 2012-11-23 13:43:51Z mav $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/ac97_patch.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pcm/ac97.c 227293 2011-11-07 06:44:47Z ed $
$FreeBSD: releng/10.1/sys/dev/sound/pci/hda/hdacc.c 264961 2014-04-26 01:00:28Z marius $
$FreeBSD: releng/10.1/sys/dev/sound/pci/hda/hdac.c 264961 2014-04-26 01:00:28Z marius $
$FreeBSD: releng/10.1/sys/dev/sound/pci/hda/hdaa_patches.c 269546 2014-08-05 01:03:10Z markj $
$FreeBSD: releng/10.1/sys/dev/sound/pci/hda/hdaa.c 264961 2014-04-26 01:00:28Z marius $
$FreeBSD: releng/10.1/sys/dev/sound/pci/via8233.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pci/ich.c 216518 2010-12-18 14:21:28Z tijl $
$FreeBSD: releng/10.1/sys/dev/sound/pci/es137x.c 254263 2013-08-12 23:30:01Z scottl $
$FreeBSD: releng/10.1/sys/dev/sound/pci/csapcm.c 193640 2009-06-07 19:12:08Z ariff $
$FreeBSD: releng/10.1/sys/dev/sound/pci/csa.c 254263 2013-08-12 23:30:01Z scottl $
$FreeBSD: releng/10.1/sys/dev/sound/pci/cmi.c 254263 2013-08-12 23:30:01Z scottl $
$FreeBSD: releng/10.1/sys/dev/sound/isa/sndbuf_dma.c 193640 2009-06-07 19:12:08Z ariff $
Code:
# dmesg | grep pcm
pcm0: chn_trigger() pcm0:play:dsp0.p0: calling go=0xffffffff , prev=0x00000001
pcm0: chn_trigger() pcm0:virtual:dsp0.vp0: calling go=0xffffffff , prev=0x00000001
pcm0: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=21 b[4096/2048/2] bs[4096/2048/2] limit=0
pcm0: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=21 b[0/0/0] bs[131072/4096/32] limit=7526
If I load in my /boot/loader.conf
Code:
snd_driver_load="YES"
It shows two pcm0 devices. Intel ICH6 and Conexant.
Code:
# dmesg | grep pcm
pcm0: <Intel ICH6 (82801FB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 17 at device 30.2 on pci0
pcm0: <Conexant CX20468-21 AC97 Codec (id = 0x43585430)>
pcm0: Codec features reserved, headphone, 18 bit DAC, 18 bit ADC, 5 bit master volume, no 3D Stereo Enhancement
pcm0: Primary codec extended features reserved 1, AMAP, reserved 5
pcm0: ac97 codec dac ready count: 0
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "speaker":
pcm0: Mixer "line":
pcm0: Mixer "mic":
pcm0: Mixer "cd":
pcm0: Mixer "rec":
pcm0: Mixer "igain":
pcm0: Mixer "ogain":
pcm0: measured ac97 link rate at 48005 Hz, will use 48000 Hz
firmware: 'bwi_v3_pcm4' version 0: 1320 bytes loaded at 0xc780a810
firmware: 'bwi_v3_pcm5' version 0: 1320 bytes loaded at 0xc780ad38
I'm out of ideas getting this configured right. Thank you for your help!