Dear folks,

I have a machine recently updated to 8.4-RELEASE-p3 and ports tree
updated from 05/27 to Friday of last week. I had sound, but now have
lost sound.  I had the usual snd_hda_ in /boot/loader.conf

root@grullahighschool:~ # uname -a
FreeBSD grullahighschool.rgccisd.org 8.4-RELEASE-p3 FreeBSD
8.4-RELEASE-p3 #0: Wed Aug 21 19:23:44 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC888 (Analog 2.0+HP)> (play)
pcm1: <Realtek ALC888 (Rear Digital)> (play/rec) default
root@grullahighschool:~ # clear

root@grullahighschool:~ # cat /boot/loader.conf
loader_logo="beastie"
snd_hda_load="YES"
sem_load="YES"
atapicam_load="YES"

root@grullahighschool:~ # cat /boot/device.hints
# $FreeBSD: release/8.4.0/sys/amd64/conf/GENERIC.hints 235947
2012-05-24 23:55:08Z bz $
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.uart.0.at="isa"
hint.uart.0.port="0x3F8"
hint.uart.0.flags="0x10"
hint.uart.0.irq="4"
hint.uart.1.at="isa"
hint.uart.1.port="0x2F8"
hint.uart.1.irq="3"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.atrtc.0.at="isa"
hint.atrtc.0.port="0x70"
hint.atrtc.0.irq="8"
hint.pcm.0.vol="100"
hint.pcm.1.vol="100"
hint.pcm.0.pcm="100"
hint.pcm.1.pcm="100"
hint.hdac.0.cad0.nid27.config="as=1 seq=15 device=Headphones"
hint.hdac.0.cad0.nid25.config="as=4 seq=0"
hint.wbwd.0.at="isa"

root@grullahighschool:~ #

Here's some information from Sound Page at FreeBSD Wiki :

root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC888 (Analog 2.0+HP)> (play)
pcm1: <Realtek ALC888 (Rear Digital)> (play/rec) default
root@grullahighschool:~ # dmesg | grep 'pcm[0-9]'
pcm0: <Realtek ALC888 (Analog 2.0+HP)> at nid 20,27 on hdaa0
pcm1: <Realtek ALC888 (Rear Digital)> at nid 30 and 31 on hdaa0
root@grullahighschool:~ # sysctl dev.pcm
dev.pcm.0.%desc: Realtek ALC888 (Analog 2.0+HP)
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: nid=20,27
dev.pcm.0.%parent: hdaa0
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.play.32bit: 24
dev.pcm.0.buffersize: 65536
dev.pcm.0.bitperfect: 0
dev.pcm.1.%desc: Realtek ALC888 (Rear Digital)
dev.pcm.1.%driver: pcm
dev.pcm.1.%location: nid=30,31
dev.pcm.1.%parent: hdaa0
dev.pcm.1.play.vchans: 1
dev.pcm.1.play.vchanmode: passthrough
dev.pcm.1.play.vchanrate: 48000
dev.pcm.1.play.vchanformat: s16le:2.0
dev.pcm.1.play.32bit: 24
dev.pcm.1.rec.vchans: 1
dev.pcm.1.rec.vchanmode: passthrough
dev.pcm.1.rec.vchanrate: 48000
dev.pcm.1.rec.vchanformat: s16le:2.0
dev.pcm.1.rec.32bit: 24
dev.pcm.1.rec.autosrc: 2
dev.pcm.1.buffersize: 65536
dev.pcm.1.bitperfect: 0
root@grullahighschool:~ # sysctl hw.sn
sysctl: unknown oid 'hw.sn'
root@grullahighschool:~ # sysctl hw.snd
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.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.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 0
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: 1
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 1
root@grullahighschool:~ # mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
Recording source: dig1
root@grullahighschool:~ # uname -a
FreeBSD grullahighschool.rgccisd.org 8.4-RELEASE-p3 FreeBSD
8.4-RELEASE-p3 #0: Wed Aug 21 19:23:44 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC888 (Analog 2.0+HP)> (play)
pcm1: <Realtek ALC888 (Rear Digital)> (play/rec) default
root@grullahighschool:~ #

When I send
# cat /dev/sndstat > /dev/pcm0

I get:

root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC888 (Analog 2.0+HP)> (play)
pcm1: <Realtek ALC888 (Rear Digital)> (play/rec) default
root@grullahighschool:~ # cat /dev/random > /dev/pcm0
/dev/pcm0: Operation not supported.
root@grullahighschool:~ # cat /dev/random > /dev/dsp0
^C
root@grullahighschool:~ #

When I do last command cat /dev/random > /dev/dsp0 I hear the sound,
how can I redirect it to have sound.  The headphones used to work, but
now also have no sound.

Thanks for any advice and suggestions to fix this issue.

Best Regards,


Antonio
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to