Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 20:03:01 GMT
From:      Tomasz CEDRO <cederom@tlen.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/175306: kernel/audio: snd_hda does not produce 7.1 sound on ALC892 chip
Message-ID:  <201301142003.r0EK31VK060608@red.freebsd.org>
Resent-Message-ID: <201301142010.r0EKA088087405@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175306
>Category:       kern
>Synopsis:       kernel/audio: snd_hda does not produce 7.1 sound on ALC892 chip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 14 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Tomasz CEDRO
>Release:        9.1-RELEASE
>Organization:
CeDeROM
>Environment:
FreeBSD hexagon 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I have switched from SB Audigy to onboard audio device using snd_hda driver with speakers connected to the back panel of the motherboard (Asus M4A88TD-V EVO/USB3), however I can hear only stereo sound, changing the configuration switches replugging cables etc does not help and the configuration seems okay. Please advise :-)
>How-To-Repeat:
% cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC892 (Rear Analog 7.1/2.0)> (play/rec) default
pcm1: <Realtek ALC892 (Front Analog)> (play/rec)
pcm2: <Realtek ALC892 (Rear Digital)> (play)
pcm3: <Realtek ALC892 (Onboard Digital)> (play)

% sysctl -a |grep pcm
dev.pcm.0.%desc: Realtek ALC892 (Rear Analog 7.1/2.0)
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: nid=20,22,21,23,24,26
dev.pcm.0.%parent: hdaa0
dev.pcm.0.play.vchans: 3
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.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.rec.32bit: 24
dev.pcm.0.rec.autosrc: 2
dev.pcm.0.buffersize: 65536
dev.pcm.0.bitperfect: 0
dev.pcm.1.%desc: Realtek ALC892 (Front Analog)
dev.pcm.1.%driver: pcm
dev.pcm.1.%location: nid=27,25
dev.pcm.1.%parent: hdaa0
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.play.32bit: 24
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.rec.32bit: 24
dev.pcm.1.rec.autosrc: 2
dev.pcm.1.buffersize: 65536
dev.pcm.1.bitperfect: 0
dev.pcm.2.%desc: Realtek ALC892 (Rear Digital)
dev.pcm.2.%driver: pcm
dev.pcm.2.%location: nid=30
dev.pcm.2.%parent: hdaa0
dev.pcm.2.play.vchans: 1
dev.pcm.2.play.vchanmode: passthrough
dev.pcm.2.play.vchanrate: 48000
dev.pcm.2.play.vchanformat: s16le:2.0
dev.pcm.2.play.32bit: 24
dev.pcm.2.buffersize: 65536
dev.pcm.2.bitperfect: 0
dev.pcm.3.%desc: Realtek ALC892 (Onboard Digital)
dev.pcm.3.%driver: pcm
dev.pcm.3.%location: nid=17
dev.pcm.3.%parent: hdaa0
dev.pcm.3.play.vchans: 1
dev.pcm.3.play.vchanmode: passthrough
dev.pcm.3.play.vchanrate: 48000
dev.pcm.3.play.vchanformat: s16le:2.0
dev.pcm.3.play.32bit: 24
dev.pcm.3.buffersize: 65536
dev.pcm.3.bitperfect: 0

% sysctl -a | grep hdaa
dev.hdaa.0.%desc: Realtek ALC892 Audio Function Group
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x1043841b
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.nid17_config: 0x99430140 as=4 seq=0 device=SPDIF-out conn=Fixed ctype=ATAPI loc=Onboard color=Unknown misc=1
dev.hdaa.0.nid17_original: 0x99430140 as=4 seq=0 device=SPDIF-out conn=Fixed ctype=ATAPI loc=Onboard color=Unknown misc=1
dev.hdaa.0.nid18_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid18_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid20_config: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Green misc=0
dev.hdaa.0.nid20_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Green misc=0
dev.hdaa.0.nid21_config: 0x01011012 as=1 seq=2 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Black misc=0
dev.hdaa.0.nid21_original: 0x01011012 as=1 seq=2 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Black misc=0
dev.hdaa.0.nid22_config: 0x01016011 as=1 seq=1 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Orange misc=0
dev.hdaa.0.nid22_original: 0x01016011 as=1 seq=1 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Orange misc=0
dev.hdaa.0.nid23_config: 0x01012014 as=1 seq=4 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Grey misc=0
dev.hdaa.0.nid23_original: 0x01012014 as=1 seq=4 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Grey misc=0
dev.hdaa.0.nid24_config: 0x01a19850 as=5 seq=0 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=8
dev.hdaa.0.nid24_original: 0x01a19850 as=5 seq=0 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=8
dev.hdaa.0.nid25_config: 0x02a19960 as=6 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Pink misc=9
dev.hdaa.0.nid25_original: 0x02a19960 as=6 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Pink misc=9
dev.hdaa.0.nid26_config: 0x0181305f as=5 seq=15 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue misc=0
dev.hdaa.0.nid26_original: 0x0181305f as=5 seq=15 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue misc=0
dev.hdaa.0.nid27_config: 0x02214120 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front color=Green misc=1
dev.hdaa.0.nid27_original: 0x02214120 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front color=Green misc=1
dev.hdaa.0.nid28_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid28_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid29_config: 0x4005e601 as=0 seq=1 device=Line-out conn=None ctype=Optical loc=0x00 color=White misc=6
dev.hdaa.0.nid29_original: 0x4005e601 as=0 seq=1 device=Line-out conn=None ctype=Optical loc=0x00 color=White misc=6
dev.hdaa.0.nid30_config: 0x01456130 as=3 seq=0 device=SPDIF-out conn=Jack ctype=Optical loc=Rear color=Orange misc=1
dev.hdaa.0.nid30_original: 0x01456130 as=3 seq=0 device=SPDIF-out conn=Jack ctype=Optical loc=Rear color=Orange misc=1
dev.hdaa.0.nid31_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid31_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.gpi_state: 
dev.hdaa.0.gpio_state: 0=disabled 1=disabled
dev.hdaa.0.gpio_config: 0=keep 1=keep
dev.hdaa.0.gpo_state: 
dev.hdaa.0.gpo_config: 
dev.hdaa.0.reconfig: 0
dev.pcm.0.%parent: hdaa0
dev.pcm.1.%parent: hdaa0
dev.pcm.2.%parent: hdaa0
dev.pcm.3.%parent: hdaa0

% pciconf -lv
hostb0@pci0:0:0:0:	class=0x060000 card=0x843e1043 chip=0x96011022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'RS880 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:2:0:	class=0x060400 card=0x843e1043 chip=0x96031022 rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'RS780 PCI to PCI bridge (ext gfx port 0)'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:9:0:	class=0x060400 card=0x843e1043 chip=0x96081022 rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'RS780/RS880 PCI to PCI bridge (PCIE port 4)'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:10:0:	class=0x060400 card=0x843e1043 chip=0x96091022 rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'RS780/RS880 PCI to PCI bridge (PCIE port 5)'
    class      = bridge
    subclass   = PCI-PCI
ahci0@pci0:0:17:0:	class=0x01018f card=0x84431043 chip=0x43901002 rev=0x40 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]'
    class      = mass storage
    subclass   = ATA
ohci0@pci0:0:18:0:	class=0x0c0310 card=0x84431043 chip=0x43971002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:18:2:	class=0x0c0320 card=0x84431043 chip=0x43961002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass   = USB
ohci1@pci0:0:19:0:	class=0x0c0310 card=0x84431043 chip=0x43971002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass   = USB
ehci1@pci0:0:19:2:	class=0x0c0320 card=0x84431043 chip=0x43961002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass   = USB
none0@pci0:0:20:0:	class=0x0c0500 card=0x00000000 chip=0x43851002 rev=0x42 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SBx00 SMBus Controller'
    class      = serial bus
    subclass   = SMBus
atapci1@pci0:0:20:1:	class=0x01018a card=0x84431043 chip=0x439c1002 rev=0x40 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 IDE Controller'
    class      = mass storage
    subclass   = ATA
hdac0@pci0:0:20:2:	class=0x040300 card=0x841b1043 chip=0x43831002 rev=0x40 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SBx00 Azalia (Intel HDA)'
    class      = multimedia
    subclass   = HDA
isab0@pci0:0:20:3:	class=0x060100 card=0x84431043 chip=0x439d1002 rev=0x40 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 LPC host controller'
    class      = bridge
    subclass   = PCI-ISA
pcib4@pci0:0:20:4:	class=0x060401 card=0x00000000 chip=0x43841002 rev=0x40 hdr=0x01
    vendor     = 'ATI Technologies Inc'
    device     = 'SBx00 PCI to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
ohci2@pci0:0:20:5:	class=0x0c0310 card=0x84431043 chip=0x43991002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller'
    class      = serial bus
    subclass   = USB
pcib5@pci0:0:21:0:	class=0x060400 card=0x00001002 chip=0x43a01002 rev=0x00 hdr=0x01
    vendor     = 'ATI Technologies Inc'
    device     = 'SB700/SB800 PCI to PCI bridge (PCIE port 0)'
    class      = bridge
    subclass   = PCI-PCI
pcib6@pci0:0:21:1:	class=0x060400 card=0x00001002 chip=0x43a11002 rev=0x00 hdr=0x01
    vendor     = 'ATI Technologies Inc'
    device     = 'SB700/SB800 PCI to PCI bridge (PCIE port 1)'
    class      = bridge
    subclass   = PCI-PCI
ohci3@pci0:0:22:0:	class=0x0c0310 card=0x84431043 chip=0x43971002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass   = USB
ehci2@pci0:0:22:2:	class=0x0c0320 card=0x84431043 chip=0x43961002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass   = USB
hostb1@pci0:0:24:0:	class=0x060000 card=0x00000000 chip=0x12001022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'Family 10h Processor HyperTransport Configuration'
    class      = bridge
    subclass   = HOST-PCI
hostb2@pci0:0:24:1:	class=0x060000 card=0x00000000 chip=0x12011022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'Family 10h Processor Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb3@pci0:0:24:2:	class=0x060000 card=0x00000000 chip=0x12021022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'Family 10h Processor DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb4@pci0:0:24:3:	class=0x060000 card=0x00000000 chip=0x12031022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'Family 10h Processor Miscellaneous Control'
    class      = bridge
    subclass   = HOST-PCI
hostb5@pci0:0:24:4:	class=0x060000 card=0x00000000 chip=0x12041022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'Family 10h Processor Link Control'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:1:0:0:	class=0x030000 card=0x34d01458 chip=0x061410de rev=0xa2 hdr=0x00
    vendor     = 'nVidia Corporation'
    device     = 'G92 [GeForce 9800 GT]'
    class      = display
    subclass   = VGA
fwohci0@pci0:2:0:0:	class=0x0c0010 card=0x83741043 chip=0x34031106 rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT6315 Series Firewire Controller'
    class      = serial bus
    subclass   = FireWire
atapci0@pci0:2:0:1:	class=0x010185 card=0x838f1043 chip=0x04151106 rev=0xa0 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT6415 PATA IDE Host Controller'
    class      = mass storage
    subclass   = ATA
xhci0@pci0:3:0:0:	class=0x0c0330 card=0x84131043 chip=0x01941033 rev=0x04 hdr=0x00
    vendor     = 'NEC Corporation'
    device     = 'uPD720200 USB 3.0 Host Controller'
    class      = serial bus
    subclass   = USB
re0@pci0:6:0:0:	class=0x020000 card=0x84321043 chip=0x816810ec rev=0x06 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301142003.r0EK31VK060608>