Date: Wed, 6 Sep 2006 13:38:34 -0700 From: Christian Caldwell <cvcaldwell@gallie3436.ucr.edu> To: freebsd-multimedia@FreeBSD.org Subject: Re: RFC: snd_hda(4) -- Intel High Definition Audio driver Message-ID: <20060906203834.GA42742@gallie3436.ucr.edu> In-Reply-To: <20060906202020.GA42605@gallie3436.ucr.edu> References: <1157390268.673.57.camel@localhost> <20060906202020.GA42605@gallie3436.ucr.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Somehow, my "sysctl hw.snd" results were lost. Here it is: hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 On Wed, Sep 06, 2006 at 01:20:20PM -0700, C Caldwell wrote: > On Mon, Sep 04, 2006 at 07:17:48PM +0200, Joel Dahl wrote: > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > %% It doesn't work! What should I do? %% > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > > > If you can kldload the driver, do this: > > > > # sysctl debug.bootverbose=1 > > # kldunload snd_hda > > # kldload snd_hda > > # dmesg | grep ^pcm > > > > ...and send us the output along with a description of your problem. > > Also, include the output of: > > > > # uname -a > > # pciconf -lv | grep -B 4 audio > > # sysctl hw.snd.verbose=2 ; cat /dev/sndstat > > # sysctl hw.snd > > # /usr/sbin/mixer > > > > If you cannot get any sound, it is important that you test to plug > > in speakers/headset into any jacks available. BIOS bugs, vendor > > issues etc can cause screwed up audio routing. > > Thank you for your work on this driver. > I was not able to get any sound through the speakers or headphones > except a small and short "click" sort of noise-sound you get when > you first push a plug into a jack; and that was only from the > microphone (red-colored) jack. > > My board is an Intel D945GNT Media series. The Media series sound > is apparently different from the Desktop series. Media series > supports 7.1 channels. Desktop series supports 5.1 (? or at least > not 7.l) channels. I don't know if that information will make any > difference, but there it is. :) > > There was nothing returned with the command > pciconf -lv | grep -B 4 audio > so I am attaching the results of > pciconf -lv > > Here is the information you requested: > > > pcm0: <Intel 82801G High Definition Audio Controller> mem 0x281a0000-0x281a3fff irq 22 at device 27.0 on pci0 > pcm0: detached > pcm0: <Intel 82801G High Definition Audio Controller> mem 0x281a0000-0x281a3fff irq 22 at device 27.0 on pci0 > pcm0: [MPSAFE] > pcm0: Vendor: 0x00008384 > pcm0: Device: 0x00007681 > pcm0: Revision: 0x00000032 > pcm0: Stepping: 0x00000001 > pcm0: PCI Subvendor: 0x03038086 > pcm0: Nodes: start=2 endnode=28 total=26 > pcm0: sndbuf_setmap 1eae7000, 4000; 0xd644f000 -> 1eae7000 > pcm0: sndbuf_setmap 1eae3000, 4000; 0xd6453000 -> 1eae3000 > pcm0: > pcm0: +-------------------+ > pcm0: | DUMPING HDA NODES | > pcm0: +-------------------+ > pcm0: > pcm0: Default Parameter > pcm0: ----------------- > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: IN amp: 0x80050e00 > pcm0: OUT amp: 0x80027f7f > pcm0: > pcm0: nid: 2 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 3 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 4 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 5 [ANALOG] > pcm0: name: audio output > pcm0: widget_cap: 0x000d0c05 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: Output amp: 0x80027f7f > pcm0: mute=1 step=127 size=2 offset=127 > pcm0: connections: 0 > pcm0: > pcm0: nid: 6 [ANALOG] > pcm0: name: audio input > pcm0: widget_cap: 0x001d0541 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=23 [audio selector] > pcm0: > pcm0: nid: 7 [ANALOG] > pcm0: name: audio input > pcm0: widget_cap: 0x001d0541 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=24 [audio selector] > pcm0: > pcm0: nid: 8 [DIGITAL] [DISABLED] > pcm0: name: audio output > pcm0: widget_cap: 0x00040211 > pcm0: Stream cap: 0x00000005 > pcm0: Format: AC3 PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 0 > pcm0: > pcm0: nid: 9 [DIGITAL] [DISABLED] > pcm0: name: audio input > pcm0: widget_cap: 0x00140311 > pcm0: Stream cap: 0x00000005 > pcm0: Format: AC3 PCM > pcm0: PCM cap: 0x000e0160 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 22 44 48 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=17 [pin: other (none)] [DISABLED] > pcm0: > pcm0: nid: 10 [ANALOG] > pcm0: name: pin: headphones out (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x0000173f > pcm0: ISC TRQD HP OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=2 [audio output] > pcm0: > pcm0: nid: 11 [ANALOG] > pcm0: name: pin: Mic in (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x00001737 > pcm0: ISC TRQD OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=4 [audio output] > pcm0: > pcm0: nid: 12 [ANALOG] > pcm0: name: pin: line in (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x00001737 > pcm0: ISC TRQD OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=3 [audio output] > pcm0: > pcm0: nid: 13 [ANALOG] > pcm0: name: pin: speaker (jack) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x0000173f > pcm0: ISC TRQD HP OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=2 [audio output] > pcm0: > pcm0: nid: 14 [ANALOG] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400081 > pcm0: Pin cap: 0x00000024 > pcm0: IN : UNSOL > pcm0: connections: 0 > pcm0: > pcm0: nid: 15 [ANALOG] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400181 > pcm0: Pin cap: 0x00000037 > pcm0: ISC TRQD OUT IN : UNSOL > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=5 [audio output] > pcm0: > pcm0: nid: 16 [DIGITAL] [DISABLED] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400301 > pcm0: Pin cap: 0x00000010 > pcm0: OUT > pcm0: connections: 3 > pcm0: | > pcm0: + <- nid=8 [audio output] [DISABLED] > pcm0: | > pcm0: + <- nid=23 [audio selector] > pcm0: | > pcm0: + <- nid=25 [vendor widget] [DISABLED] > pcm0: > pcm0: nid: 17 [DIGITAL] [DISABLED] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00430681 > pcm0: Pin cap: 0x00010024 > pcm0: IN EAPD : UNSOL > pcm0: connections: 0 > pcm0: > pcm0: nid: 18 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x0030010d > pcm0: Output amp: 0x270400 > pcm0: mute=0 step=4 size=39 offset=0 > pcm0: connections: 7 > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] (selected) > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: nid: 19 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x0030010d > pcm0: Output amp: 0x270400 > pcm0: mute=0 step=4 size=39 offset=0 > pcm0: connections: 7 > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] (selected) > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: nid: 20 [ANALOG] > pcm0: name: beep widget > pcm0: widget_cap: 0x0070000c > pcm0: Output amp: 0x170303 > pcm0: mute=0 step=3 size=23 offset=3 > pcm0: connections: 0 > pcm0: > pcm0: nid: 21 [ANALOG] > pcm0: name: pin: Mic in (jack) > pcm0: widget_cap: 0x00400001 > pcm0: Pin cap: 0x00000020 > pcm0: IN > pcm0: connections: 0 > pcm0: > pcm0: nid: 22 [ANALOG] > pcm0: name: volume widget > pcm0: widget_cap: 0x00600000 > pcm0: connections: 4 > pcm0: | > pcm0: + <- nid=2 [audio output] (selected) > pcm0: | > pcm0: + <- nid=3 [audio output] > pcm0: | > pcm0: + <- nid=4 [audio output] > pcm0: | > pcm0: + <- nid=5 [audio output] > pcm0: > pcm0: nid: 23 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x00300903 > pcm0: Input amp: 0x80050e00 > pcm0: mute=1 step=14 size=5 offset=0 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=18 [audio selector] > pcm0: > pcm0: nid: 24 [ANALOG] > pcm0: name: audio selector > pcm0: widget_cap: 0x00300903 > pcm0: Input amp: 0x80050e00 > pcm0: mute=1 step=14 size=5 offset=0 > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=19 [audio selector] > pcm0: > pcm0: nid: 25 [DIGITAL] [DISABLED] > pcm0: name: vendor widget > pcm0: widget_cap: 0x00f30201 > pcm0: connections: 0 > pcm0: > pcm0: nid: 26 [DIGITAL] [DISABLED] > pcm0: name: audio output > pcm0: widget_cap: 0x00030201 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: connections: 0 > pcm0: > pcm0: nid: 27 [DIGITAL] [DISABLED] > pcm0: name: pin: other (none) > pcm0: widget_cap: 0x00400301 > pcm0: Pin cap: 0x00000010 > pcm0: OUT > pcm0: connections: 1 > pcm0: | > pcm0: + <- nid=26 [audio output] [DISABLED] > pcm0: > pcm0: +-----------------------------------+ > pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS | > pcm0: +-----------------------------------+ > pcm0: > pcm0: Master Volume (OSS: vol) > pcm0: | > pcm0: +- nid: 20 index: 0 mute: 0 step: 3 size: 23 off: 3 dir=0x1 > pcm0: > pcm0: Recording Level (OSS: rec) > pcm0: | > pcm0: +- nid: 23 index: 0 (nid: 18) mute: 1 step: 14 size: 5 off: 0 dir=0x2 > pcm0: | > pcm0: +- nid: 24 index: 0 (nid: 19) mute: 1 step: 14 size: 5 off: 0 dir=0x2 > pcm0: > pcm0: Speaker/Beep (OSS: speaker) > pcm0: | > pcm0: +- nid: 20 index: 0 mute: 0 step: 3 size: 23 off: 3 dir=0x1 > pcm0: > pcm0: Recording sources: > pcm0: > pcm0: nid=18 [audio selector] > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: nid=19 [audio selector] > pcm0: | > pcm0: + <- nid=14 [pin: other (none)] > pcm0: | > pcm0: + <- nid=21 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=15 [pin: other (none)] > pcm0: | > pcm0: + <- nid=11 [pin: Mic in (jack)] > pcm0: | > pcm0: + <- nid=12 [pin: line in (jack)] > pcm0: | > pcm0: + <- nid=13 [pin: speaker (jack)] > pcm0: | > pcm0: + <- nid=10 [pin: headphones out (jack)] > pcm0: > pcm0: +--------------------------------------+ > pcm0: | DUMPING PCM Playback/Record Channels | > pcm0: +--------------------------------------+ > pcm0: > pcm0: PCM Playback: 1 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > pcm0: > pcm0: PCM Record: 1 > pcm0: Stream cap: 0x00000001 > pcm0: Format: PCM > pcm0: PCM cap: 0x000e07e0 > pcm0: PCM size: 16 20 24 > pcm0: PCM rate: 11 16 22 32 44 48 > FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > hostb0@pci0:0:0: class=0x060000 card=0x544e8086 chip=0x27708086 rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82945 Series Memory Controller Hub (MCH)' > class = bridge > subclass = HOST-PCI > none0@pci0:2:0: class=0x030000 card=0x544e8086 chip=0x27728086 rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Integrated Graphics Controller' > class = display > subclass = VGA > pcm0@pci0:27:0: class=0x040300 card=0x03038086 chip=0x27d88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) High Definition Audio' > class = multimedia > pcib1@pci0:28:0: class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib2@pci0:28:2: class=0x060400 card=0x00000040 chip=0x27d48086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib3@pci0:28:3: class=0x060400 card=0x00000040 chip=0x27d68086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib4@pci0:28:4: class=0x060400 card=0x00000040 chip=0x27e08086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > pcib5@pci0:28:5: class=0x060400 card=0x00000040 chip=0x27e28086 rev=0x01 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port' > class = bridge > subclass = PCI-PCI > uhci0@pci0:29:0: class=0x0c0300 card=0x544e8086 chip=0x27c88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > uhci1@pci0:29:1: class=0x0c0300 card=0x544e8086 chip=0x27c98086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > uhci2@pci0:29:2: class=0x0c0300 card=0x544e8086 chip=0x27ca8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > uhci3@pci0:29:3: class=0x0c0300 card=0x544e8086 chip=0x27cb8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > ehci0@pci0:29:7: class=0x0c0320 card=0x544e8086 chip=0x27cc8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' > class = serial bus > subclass = USB > pcib6@pci0:30:0: class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xe1 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' > class = bridge > subclass = PCI-PCI > isab0@pci0:31:0: class=0x060100 card=0x544e8086 chip=0x27b88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801GB/GR (ICH7 Family) LPC Interface Controller' > class = bridge > subclass = PCI-ISA > atapci0@pci0:31:1: class=0x01018a card=0x544e8086 chip=0x27df8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) Ultra ATA Storage Controller' > class = mass storage > subclass = ATA > atapci1@pci0:31:2: class=0x01018f card=0x544e8086 chip=0x27c08086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' > class = mass storage > subclass = ATA > none1@pci0:31:3: class=0x0c0500 card=0x544e8086 chip=0x27da8086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) SMBus Controller' > class = serial bus > subclass = SMBus > none2@pci6:1:0: class=0x040000 card=0x40111554 chip=0x036e109e rev=0x11 hdr=0x00 > vendor = 'Conexant (Was: Brooktree Corp)' > device = 'Bt878/Fusion 878A Mediastream Controller' > class = multimedia > subclass = video > none3@pci6:1:1: class=0x048000 card=0x40111554 chip=0x0878109e rev=0x11 hdr=0x00 > vendor = 'Conexant (Was: Brooktree Corp)' > device = 'Bt878/Fusion878A Video Capture (Audio Section)' > class = multimedia > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: <Intel 82801G High Definition Audio Controller> at memory 0x281a0000 irq 22 kld snd_hda (1p/1r/0v channels duplex default) > [pcm0:play:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 > interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:0/0/0] > {userland} -> feeder_root(0x00000000) -> {hardware} > [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 > interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0] > {hardware} -> feeder_root(0x00000000) -> {userland} > Mixer vol is currently set to 75:75 > Mixer speaker is currently set to 75:75 > Mixer rec is currently set to 0:0 > Recording source: mic > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060906203834.GA42742>