Date: Sun, 27 Jul 2014 01:42:08 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Alexander Motin <mav@freebsd.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Mark Johnston <markj@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r268584 - head/sys/dev/sound/pci/hda Message-ID: <CAJ-Vmok06k=SmtkBeWaa-aQUQVsmeQAB6BFir4aBv6ojD8%2BUBQ@mail.gmail.com> In-Reply-To: <CAJ-Vmok0U%2B=Or2_vtLjpBqoPZ9bsHUFXMTrwV2E8K=f%2BQxVcSg@mail.gmail.com> References: <201407131031.s6DAVTja093433@svn.freebsd.org> <CAJ-Vmo=hsK6k6VPcig69srL%2BV_AO5yQo4z%2B2XycvGB6_fRwSGg@mail.gmail.com> <53C335EF.2090606@FreeBSD.org> <CAJ-VmomUm7JdNk-aX2UOKQMO9LhRh6LhPTNBQu8MCJ%2BPtnWLKw@mail.gmail.com> <CAJ-Vmo=SXQYHFFB3wg=CaC1w_ZJG7M1Hq5mW-nL1GRPYrq9tqQ@mail.gmail.com> <CAJ-Vmo=UTQeETt3sqPSApFfoes-oRS7Akq_WOOd3Mdbi_Kr3Ug@mail.gmail.com> <53D4BA51.7070505@FreeBSD.org> <CAJ-Vmok0U%2B=Or2_vtLjpBqoPZ9bsHUFXMTrwV2E8K=f%2BQxVcSg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
... aaand it worked. Woo! So how'd it actually map the correct selection between headphones and speaker? That's now cutting back and forth correctly as I plug in and out the headphone jack. -a On 27 July 2014 01:40, Adrian Chadd <adrian@freebsd.org> wrote: > ok, with that it looks like: > > root@lucy-11i386:/home/adrian/work/freebsd/head/src # kldload sound ; > kldload snd_hda > root@lucy-11i386:/home/adrian/work/freebsd/head/src # dmesg > snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024] > feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 > feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25 > pci0: driver added > found-> vendor=0x8086, dev=0x2a44, revid=0x07 > domain=0, bus=0, slot=3, func=0 > class=07-80-00, hdrtype=0x00, mfdev=1 > cmdreg=0x0006, statreg=0x0010, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=16 > powerspec 3 supports D0 D3 current D0 > MSI supports 1 message, 64 bit > pci0:0:3:0: reprobing on driver added > found-> vendor=0x8086, dev=0x293e, revid=0x03 > domain=0, bus=0, slot=27, func=0 > class=04-03-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0506, statreg=0x0010, cachelnsz=16 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=b, irq=17 > powerspec 2 supports D0 D3 current D0 > MSI supports 1 message, 64 bit > pci0:0:27:0: reprobing on driver added > hdac0: <Intel 82801I HDA Controller> mem 0xfc020000-0xfc023fff irq 17 > at device 27.0 on pci0 > hdac0: PCI card vendor: 0x17aa, device: 0x20f2 > hdac0: HDA Driver Revision: 20120126_0002 > hdac0: Config options: on=0x00000000 off=0x00000000 > hdac0: attempting to allocate 1 MSI vectors (1 supported) > msi: routing MSI IRQ 258 to local APIC 0 vector 52 > hdac0: using IRQ 258 for MSI > hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 > found-> vendor=0x8086, dev=0x2930, revid=0x03 > domain=0, bus=0, slot=31, func=3 > class=0c-05-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0103, statreg=0x0280, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=23 > pci0:0:31:3: reprobing on driver added > pci2: driver added > pci3: driver added > pci5: driver added > pci13: driver added > pci21: driver added > found-> vendor=0x1180, dev=0x0832, revid=0x04 > domain=0, bus=21, slot=0, func=1 > class=0c-00-10, hdrtype=0x00, mfdev=1 > cmdreg=0x0106, statreg=0x0210, cachelnsz=16 (dwords) > lattimer=0x20 (960 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns) > intpin=b, irq=17 > powerspec 2 supports D0 D1 D2 D3 current D0 > pci0:21:0:1: reprobing on driver added > hdacc0: <Conexant CX20561 (Hermosa) HDA CODEC> at cad 0 on hdac0 > hdaa0: <Conexant CX20561 (Hermosa) Audio Function Group> at nid 1 on hdacc0 > hdaa0: Subsystem ID: 0x17aa211c > hdaa0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 > hdaa0: GPIO0: disabled > hdaa0: GPIO1: disabled > hdaa0: GPIO2: disabled > hdaa0: GPIO3: disabled > hdaa0: Original pins configuration: > hdaa0: nid 0x as seq device conn jack loc color misc > hdaa0: 22 022140f0 15 0 Headphones Jack 1/8 Front Green 0 > hdaa0: 23 61a190f0 15 0 Mic None 1/8 Ext-Rear Pink 0 > hdaa0: 24 02a190f0 15 0 Mic Jack 1/8 Front Pink 0 > hdaa0: 25 40f000f0 15 0 Other None Unknown 0x00 Unknown 0 > hdaa0: 26 901701f0 15 0 Speaker Fixed Analog Internal Unknown 1 > hdaa0: 27 40f001f0 15 0 Other None Unknown 0x00 Unknown 1 > hdaa0: 28 40f001f0 15 0 Other None Unknown 0x00 Unknown 1 > hdaa0: 29 90a601f0 15 0 Mic Fixed Digital Internal Unknown 1 > hdaa0: Patching pin config nid=22 0x022140f0 -> 0x0221401f > hdaa0: Patching pin config nid=24 0x02a190f0 -> 0x02a1902e > hdaa0: Patching pin config nid=26 0x901701f0 -> 0x90170110 > hdaa0: Patching pin config nid=29 0x90a601f0 -> 0x90a60120 > hdaa0: Patched pins configuration: > hdaa0: nid 0x as seq device conn jack loc color misc > hdaa0: 22 0221401f 1 15 Headphones Jack 1/8 Front Green 0 > hdaa0: 23 61a190f0 15 0 Mic None 1/8 Ext-Rear Pink 0 DISA > hdaa0: 24 02a1902e 2 14 Mic Jack 1/8 Front Pink 0 > hdaa0: 25 40f000f0 15 0 Other None Unknown 0x00 Unknown 0 DISA > hdaa0: 26 90170110 1 0 Speaker Fixed Analog Internal Unknown 1 > hdaa0: 27 40f001f0 15 0 Other None Unknown 0x00 Unknown 1 DISA > hdaa0: 28 40f001f0 15 0 Other None Unknown 0x00 Unknown 1 DISA > hdaa0: 29 90a60120 2 0 Mic Fixed Digital Internal Unknown 1 > hdaa0: 2 associations found: > hdaa0: Association 0 (1) out: > hdaa0: Pin nid=26 seq=0 > hdaa0: Pin nid=22 seq=15 > hdaa0: Association 1 (2) in: > hdaa0: Pin nid=29 seq=0 > hdaa0: Pin nid=24 seq=14 > hdaa0: Tracing association 0 (1) > hdaa0: Pin 26 traced to DAC 16 > hdaa0: Pin 22 traced to DAC 16 and hpredir 0 > hdaa0: Association 0 (1) trace succeeded > hdaa0: Tracing association 1 (2) > hdaa0: Pin 29 traced to ADC 20 > hdaa0: Unable to trace pin 24 to ADC 20, undo traces > hdaa0: Unable to trace pin 29 to ADC 21, undo traces > hdaa0: Association 1 (2) trace failed > hdaa0: Looking for additional DAC for association 0 (1) > hdaa0: Tracing input monitor > hdaa0: Tracing other input monitors > hdaa0: Tracing beeper > hdaa0: Headphones redirection for association 0 nid=22 using > unsolicited responses. > hdaa0: Redirect output to: main > hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref > pcm0: <Conexant CX20561 (Hermosa) (Analog 2.0+HP)> at nid 26,22 on hdaa0 > pcm0: Playback: > pcm0: Stream cap: 0x00000001 PCM > pcm0: PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz > pcm0: DAC: 16 > pcm0: > pcm0: nid=26 [pin: Speaker (Fixed)] > pcm0: + <- nid=16 [audio output] [src: pcm] > pcm0: > pcm0: nid=22 [pin: Headphones (Green Jack)] > pcm0: + <- nid=16 [audio output] [src: pcm] > pcm0: > pcm0: Master Volume (OSS: vol): -74/0dB > pcm0: +- ctl 1 (nid 16 out): -74/0dB (75 steps) > pcm0: > pcm0: PCM Volume (OSS: pcm): -74/0dB > pcm0: +- ctl 1 (nid 16 out): -74/0dB (75 steps) > pcm0: > pcm0: Speaker/Beep Volume (OSS: speaker): -18/0dB > pcm0: +- ctl 3 (nid 19 out): -18/0dB (4 steps) > pcm0: > pcm0: Mixer "vol": > pcm0: Mixer "pcm": > pcm0: Mixer "speaker": > pcm0: Mixer "ogain": > pcm0: Playback channel set is: Front Left, Front Right, > pcm0: Playback channel matrix is: 2.0 (unknown) > unknown: <Conexant CX20561 (Hermosa) HDA CODEC Modem Function Group> > at nid 2 on hdacc0 (no driver attached) > hdacc0: Subsystem ID: 0xf24f684c > > -a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmok06k=SmtkBeWaa-aQUQVsmeQAB6BFir4aBv6ojD8%2BUBQ>