Date: Sun, 15 Jan 2012 21:36:37 -0200 From: Marcel Bonnet <marcelbonnet@gmail.com> To: Alexander Motin <mav@freebsd.org> Cc: freebsd-multimedia@freebsd.org, FreeBSD current <freebsd-current@freebsd.org> Subject: Re: [RFT] Major snd_hda rewrite Message-ID: <CAPe0dBm2YEEnAqhMxoExVRK118Tz6_g6-ZNb2YtAin=bA5jr_g@mail.gmail.com> In-Reply-To: <4F12D66C.4080202@FreeBSD.org> References: <4F0DE3FD.2020203@FreeBSD.org> <4F12D66C.4080202@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 January 2012 11:36, Alexander Motin <mav@freebsd.org> wrote: > On 01/11/12 21:33, Alexander Motin wrote: > >> I would like request for testing of my work on further HDA sound driver >> improvement. >> > > ... > > > Patch can be found here: >> http://people.freebsd.org/~**mav/hda.rewrite.patch<http://people.freebsd.org/%7Emav/hda.rewrite.patch> >> >> Patch was generated for 10-CURRENT, but should apply to fresh 9-STABLE >> and 8-STABLE branches also. >> >> Special thanks to iXsystems, Inc. for supporting this work. >> >> Comments and tests results are welcome! >> > > Big thanks to everybody who tried it! As soon as no regressions were > found, I've just committed slightly updated code into the HEAD branch. I > plan to merge it down to 8/9-STABLE in about two months. > > Congratulations for this great work. I cvsup(-ed) the 9-STABLE in January 11 and installed today. Until now (from 7.1) I never had my on board HDA Audio working. With your patch it just works and very well. I've got sound from speakers or headphones when playing music. I could record with audacity using internal mic or external mic jack. I did not test the line input. I did not upgrade the ports yet, like oss and others, but until now everything is great. $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: <Realtek ALC268 HDA CODEC PCM (Analog)> on hdaa0 (1p:1v/1r:1v) default pcm1: <Realtek ALC268 HDA CODEC PCM (Rear Digital)> on hdaa0 (1p:1v/0r:0v) $ sysctl -a | grep hda device snd_hda dev.hdac.0.%desc: VIA VT8251/8237A HDA Controller dev.hdac.0.%driver: hdac dev.hdac.0.%location: slot=1 function=0 handle=\_SB_.PCI0.P2PE.AZAC dev.hdac.0.%pnpinfo: vendor=0x1106 device=0x3288 subvendor=0x1509 subdevice=0x1d42 class=0x040300 dev.hdac.0.%parent: pci4 dev.hdac.0.wake: 0 dev.hdac.0.pindump: 0 dev.hdacc.0.%desc: Realtek ALC268 HDA CODEC dev.hdacc.0.%driver: hdacc dev.hdacc.0.%location: cad=0 dev.hdacc.0.%pnpinfo: vendor=0x10ec device=0x0268 revision=0x00 stepping=0x03 dev.hdacc.0.%parent: hdac0 dev.hdacc.1.%desc: Unknown CODEC HDA CODEC dev.hdacc.1.%driver: hdacc dev.hdacc.1.%location: cad=1 dev.hdacc.1.%pnpinfo: vendor=0x1057 device=0x3055 revision=0x07 stepping=0x00 dev.hdacc.1.%parent: hdac0 dev.hdaa.0.%desc: Realtek ALC268 HDA CODEC Audio Function Group dev.hdaa.0.%driver: hdaa dev.hdaa.0.%location: nid=1 dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x15091d42 dev.hdaa.0.%parent: hdacc0 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.nid19_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid19_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid20_config: 0x99130110 as=1 seq=0 device=Speaker conn=Fixed ctype=ATAPI loc=Onboard color=Unknown misc=1 dev.hdaa.0.nid20_original: 0x99130110 as=1 seq=0 device=Speaker conn=Fixed ctype=ATAPI loc=Onboard color=Unknown misc=1 dev.hdaa.0.nid21_config: 0x0121401f as=1 seq=15 device=Headphones conn=Jack ctype=1/8 loc=Rear color=Green misc=0 dev.hdaa.0.nid21_original: 0x0121401f as=1 seq=15 device=Headphones conn=Jack ctype=1/8 loc=Rear color=Green misc=0 dev.hdaa.0.nid22_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid22_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1 dev.hdaa.0.nid24_config: 0x01a19c40 as=4 seq=0 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=12 dev.hdaa.0.nid24_original: 0x01a19c40 as=4 seq=0 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=12 dev.hdaa.0.nid25_config: 0x99a30941 as=4 seq=1 device=Mic conn=Fixed ctype=ATAPI loc=Onboard color=Unknown misc=9 dev.hdaa.0.nid25_original: 0x99a30941 as=4 seq=1 device=Mic conn=Fixed ctype=ATAPI loc=Onboard color=Unknown misc=9 dev.hdaa.0.nid26_config: 0x01813c4e as=4 seq=14 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue misc=12 dev.hdaa.0.nid26_original: 0x01813c4e as=4 seq=14 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue misc=12 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: 0x40048605 as=0 seq=5 device=Line-out conn=None ctype=RCA loc=0x00 color=Purple misc=6 dev.hdaa.0.nid29_original: 0x40048605 as=0 seq=5 device=Line-out conn=None ctype=RCA loc=0x00 color=Purple misc=6 dev.hdaa.0.nid30_config: 0x01454130 as=3 seq=0 device=SPDIF-out conn=Jack ctype=Optical loc=Rear color=Green misc=1 dev.hdaa.0.nid30_original: 0x01454130 as=3 seq=0 device=SPDIF-out conn=Jack ctype=Optical loc=Rear color=Green misc=1 dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref dev.hdaa.0.gpio_config: 0=keep 1=keep 2=keep 3=keep dev.hdaa.0.reconfig: 0 dev.pcm.0.%parent: hdaa0 dev.pcm.1.%parent: hdaa0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPe0dBm2YEEnAqhMxoExVRK118Tz6_g6-ZNb2YtAin=bA5jr_g>