had sound working, updated machine now lost sound
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
Re: had sound working, updated machine now lost sound
Dear all, Following advice from thread(s) : http://forums.pcbsd.org/showthread.php?t=13976 http://forums.freebsd.org/showthread.php?t=5136 root@grullahighschool:~ # sysctl hw.snd.default_unit=0 hw.snd.default_unit: 1 - 0 Got the sound working like it was. How do I get it to stick across reboots? Which would be the preferred way? ie, use file root@grullahighschool:~ # cat /etc/sysctl.conf # $FreeBSD: release/8.4.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # # Uncomment this to prevent users from seeing information about processes that # are being run under another UID. #security.bsd.see_other_uids=0 vfs.usermount=1 hw.snd.vpc_autoreset=0 kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules You have new mail. root@grullahighschool:~ # or place in /boot/loader.conf the line: hw.snd.default_unit=0 ? Thanks for helping figure things out. I had working sound but maybe updating to 8.4-RELEASE changed things around? Best Regards, Antonio On Mon, Aug 26, 2013 at 11:08 AM, Antonio Olivares olivares14...@gmail.com wrote: 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
Re: had sound working, updated machine now lost sound
Antonio Olivares olivares14...@gmail.com writes: Dear all, Following advice from thread(s) : http://forums.pcbsd.org/showthread.php?t=13976 http://forums.freebsd.org/showthread.php?t=5136 root@grullahighschool:~ # sysctl hw.snd.default_unit=0 hw.snd.default_unit: 1 - 0 Got the sound working like it was. How do I get it to stick across reboots? Which would be the preferred way? Since you can set it with sysctl then sysctl.conf is the logical place, although loader.conf might also work. I use sysctl.conf so I know that works. -- Carl Johnsonca...@peak.org ___ 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