I am missing sound in my laptop. I have:
1) In /boot/loader.conf
2) The /dev/sndstat shows:
3)[CMD=]sysctl[/CMD] shows:
4) mixer values are:
5) The hw.snd sysctl tree:
6) The dev.pcm sysctl tree:
I could not figure out what prevents the sound? Thanks!
PS: With FreeBSD8.2, I solved as stated at http://forums.pcbsd.org/showpost.php?p=86074&postcount=2, but /usr/ports/sound/oss is missing in FreeBSD9-RELEASE!
UPDATE: The solution posted below (http://forums.freebsd.org/showpost.php?p=172851&postcount=12) works fine. Thanks ring_zero!
1) In /boot/loader.conf
Code:
#for Sound
sound_enable="YES"
snd_hda_load="YES"
snd_uaudio_load="YES"
2) The /dev/sndstat shows:
Code:
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Conexant CX20585 PCM #0 Analog> (play/rec) default
pcm1: <HDA Conexant CX20585 PCM #1 Analog> (play/rec)
3)[CMD=]sysctl[/CMD] shows:
Code:
# sysctl hw.snd.default_unit
hw.snd.default_unit: 0
4) mixer values are:
Code:
# mixer
Mixer vol is currently set to 75:75
Mixer pcm is currently set to 75:75
Mixer speaker is currently set to 75:75
Mixer mic is currently set to 0:0
Mixer rec is currently set to 75:75
Recording source: mic
5) The hw.snd sysctl tree:
Code:
# sysctl hw.snd
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.latency_profile: 1
hw.snd.latency: 7
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 1
6) The dev.pcm sysctl tree:
Code:
# sysctl dev.pcm
dev.pcm.0.%desc: HDA Conexant CX20585 PCM #0 Analog
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: hdac0
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanmode: fixed
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le:2.0
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanmode: fixed
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le:2.0
dev.pcm.0.buffersize: 65536
dev.pcm.0.bitperfect: 0
dev.pcm.1.%desc: HDA Conexant CX20585 PCM #1 Analog
dev.pcm.1.%driver: pcm
dev.pcm.1.%parent: hdac0
dev.pcm.1.play.vchans: 1
dev.pcm.1.play.vchanmode: fixed
dev.pcm.1.play.vchanrate: 48000
dev.pcm.1.play.vchanformat: s16le:2.0
dev.pcm.1.rec.vchans: 1
dev.pcm.1.rec.vchanmode: fixed
dev.pcm.1.rec.vchanrate: 48000
dev.pcm.1.rec.vchanformat: s16le:2.0
dev.pcm.1.buffersize: 65536
dev.pcm.1.bitperfect: 0
I could not figure out what prevents the sound? Thanks!
PS: With FreeBSD8.2, I solved as stated at http://forums.pcbsd.org/showpost.php?p=86074&postcount=2, but /usr/ports/sound/oss is missing in FreeBSD9-RELEASE!
UPDATE: The solution posted below (http://forums.freebsd.org/showpost.php?p=172851&postcount=12) works fine. Thanks ring_zero!