Date: Sat, 13 Jun 2009 22:20:02 -0400 From: "Joseph S. Atkinson" <jsa@wickedmachine.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: ariff@FreeBSD.org Subject: kern/135556: Sound (mostly) broken w/ snd_hda on -CURRENT Message-ID: <1244946002.2329@shaitan.wickedmachine.net> Resent-Message-ID: <200906140230.n5E2U15o091516@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135556 >Category: kern >Synopsis: Sound (mostly) broken w/ snd_hda on -CURRENT >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 14 02:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Joseph S. Atkinson >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD 8.0-CURRENT #0 r194047: Fri Jun 12 04:13:43 EDT 2009 jsa@shaitan.wickedmachine.net:/usr/obj/usr/src/sys/SHAITAN >Description: snd_hda will not play audio when loaded from /boot/loader.conf I've read the lists about this, and I do have a video card w/ and HDMI port that is detect as hdac0 first. Setting hw.snd.default_unti=1 has no effect, though I can confirm the sysctl is being set properly. The only way I can get audio is by `kldload snd_hda` after boot, which makes the devices discover in reverse order and sets the ATI SB600 as hdac0 and pcm0. The detection order seems like it needs to be stabilized so devices are in predictable places unless hotplugged. Here's output from the last kld_load. hdac0: <ATI SB600 High Definition Audio Controller> mem 0xfe024000-0xfe027fff irq 16 at device 20.2 on pci0 hdac0: HDA Driver Revision: 20090608_0134 hdac0: [ITHREAD] hdac0: HDA Codec #0: Realtek ALC888 hdac1: <ATI RV730 High Definition Audio Controller> mem 0xfdffc000-0xfdffffff irq 19 at device 0.1 on pci1 hdac1: HDA Driver Revision: 20090608_0134 hdac1: [ITHREAD] hdac1: HDA Codec #0: ATI R6xx HDMI pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0 pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0 pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0 pcm3: <HDA ATI R6xx HDMI PCM #0 Digital> at cad 0 nid 1 on hdac1 >How-To-Repeat: Boot w/ snd_hda_load="YES" (loader.conf), no sound through desired device. Boot w/ snd_hda_load="YES" (loader.conf) and hw.snd.default_unit=1 (sysctl.conf), still no sound through desired device. Boot without snd_hda_load, then kldload snd_hda after boot. Sound plays through desired device. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1244946002.2329>