From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 5 10:05:46 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C55D8106566B for ; Mon, 5 Oct 2009 10:05:46 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id 4AAFD8FC2B for ; Mon, 5 Oct 2009 10:05:45 +0000 (UTC) Received: (qmail 46427 invoked from network); 5 Oct 2009 13:40:11 +0400 Received: from 217.151.66.62 ([217.151.66.62]) by mail.sub.ru ([88.212.205.2]) with ESMTP via TCP; 05 Oct 2009 09:40:11 -0000 Message-ID: <4AC9BE79.8050506@webmail.sub.ru> Date: Mon, 05 Oct 2009 13:38:01 +0400 From: Alex Povolotsky User-Agent: Thunderbird 2.0.0.23 (X11/20090914) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: ACPI on HP Compaq 615/amd64 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 10:05:46 -0000 Hello! I've installed FreeBSD 7.2/amd64 on Compaq 615, and the only working ACPI function is battery info. Neither sleep nor screen brightness are working. Is it possible at all to activate, at least, brightness control? Alex. From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 10 10:37:54 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 570B11065670 for ; Sat, 10 Oct 2009 10:37:54 +0000 (UTC) (envelope-from glimmheiser@gmail.com) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by mx1.freebsd.org (Postfix) with ESMTP id 7197C8FC12 for ; Sat, 10 Oct 2009 10:37:53 +0000 (UTC) Received: by bwz23 with SMTP id 23so1106586bwz.43 for ; Sat, 10 Oct 2009 03:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=lA9ObCtqcllZNvub6jp18o67nW1yRMNXLi/o3+LMMn0=; b=PG1fBu3tF/pJRjP40ahtcKO3X9meAmHiJK6B3zIRZNcUEnKTo1gC68YQa7FnwGrbB/ PdJblLsPAPcdwJh88JYo/gSO0j+QKDM3L3qsAU8AyQb8PpsZx1HnczsqLewLSJQpExON ll4z9E8m8glfonXf6Ldtva7hUYAw0MaK/pb48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=V6E4xd5yHfRO/vl57jyRJUMFmPI+6s2DmQ2XTXd0JT7f/HsdtZVXKJYjAOf8Wr7d/K lcCDhQd5Hmv1d2+ZVyg4yJszrltTxcK7LyG9wqVdfjRvFPrxW9Cl2yP49Wa9ULY/W2ow SKs6s/GFDhVE04QqcNijw9/R37gPkMFoMTTZ4= MIME-Version: 1.0 Received: by 10.239.141.155 with SMTP id c27mr194568hba.48.1255169134590; Sat, 10 Oct 2009 03:05:34 -0700 (PDT) Date: Sat, 10 Oct 2009 10:05:34 +0000 Message-ID: <1eef4f890910100305m5fa8ed4ah32a83d4eb072637f@mail.gmail.com> From: glimm - To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: snd_hda, freebsd 8 and headphones X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 10:37:54 -0000 Hello. After updating to 8.0 my headphones stopped working on my laptop. I think that should fix hdac.c file, but can not imagine how. Help me:) Model - Sony VAIO SZ650 snd_hda verbose: pci0: driver added found-> vendor=0x8086, dev=0x284b, revid=0x03 domain=0, bus=0, slot=27, func=0 class=04-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=21 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added hdac0: mem 0xfc300000-0xfc303fff irq 21 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090624_0136 hdac0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 48 hdac0: using IRQ 256 for MSI hdac0: [MPSAFE] hdac0: [ITHREAD] hdac0: Probing codec #0... hdac0: HDA Codec #0: Sigmatel STAC9872AK hdac0: HDA Codec ID: 0x83847662 hdac0: Vendor: 0x8384 hdac0: Device: 0x7662 hdac0: Revision: 0x02 hdac0: Stepping: 0x01 hdac0: PCI Subvendor: 0x9008104d hdac0: Found audio FG nid=1 startnode=2 endnode=25 total=23 hdac0: Probing codec #1... hdac0: HDA Codec #1: Conexant (Unknown) hdac0: HDA Codec ID: 0x14f12c06 hdac0: Vendor: 0x14f1 hdac0: Device: 0x2c06 hdac0: Revision: 0x00 hdac0: Stepping: 0x00 hdac0: PCI Subvendor: 0x9008104d hdac0: Found modem FG nid=2 startnode=112 endnode=116 total=4 hdac0: hdac0: Processing audio FG cad=0 nid=1... hdac0: GPIO: 0xc0000005 NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 hdac0: nid 10 0x03211020 as 2 seq 0 Headphones Jack jack 1 loc 3 color Black misc 0 hdac0: nid 11 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 12 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 13 0x03a15030 as 3 seq 0 Mic Jack jack 1 loc 3 color Red misc 0 hdac0: nid 14 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 15 0x90170110 as 1 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 hdac0: nid 17 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 19 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 20 0x90a7013e as 3 seq 14 Mic Fixed jack 7 loc 16 color Unknown misc 1 hdac0: Patched pins configuration: hdac0: nid 10 0x03211020 as 2 seq 0 Headphones Jack jack 1 loc 3 color Black misc 0 hdac0: nid 11 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 12 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 13 0x03a15030 as 3 seq 0 Mic Jack jack 1 loc 3 color Red misc 0 hdac0: nid 14 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 15 0x90170110 as 1 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 hdac0: nid 17 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 19 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 20 0x90a7013e as 3 seq 14 Mic Fixed jack 7 loc 16 color Unknown misc 1 hdac0: 3 associations found: hdac0: Association 0 (1) out: hdac0: Pin nid=15 seq=0 hdac0: Association 1 (2) out: hdac0: Pin nid=10 seq=0 hdac0: Association 2 (3) in: hdac0: Pin nid=13 seq=0 hdac0: Pin nid=20 seq=14 hdac0: Tracing association 0 (1) hdac0: Pin 15 traced to DAC 5 hdac0: Association 0 (1) trace succeeded hdac0: Tracing association 1 (2) hdac0: Pin 10 traced to DAC 2 hdac0: Association 1 (2) trace succeeded hdac0: Tracing association 2 (3) hdac0: Unable to trace pin 13 to ADC 6, undo traces hdac0: Pin 13 traced to ADC 8 hdac0: Pin 20 traced to ADC 8 hdac0: Association 2 (3) trace succeeded hdac0: Tracing input monitor hdac0: Tracing beeper hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref hdac0: hdac0: +-------------------+ hdac0: | DUMPING HDA NODES | hdac0: +-------------------+ hdac0: hdac0: Default Parameter hdac0: ----------------- hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: IN amp: 0x80050f00 hdac0: OUT amp: 0x80027f7f hdac0: hdac0: nid: 2 hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Association: 1 (0x00000001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 3 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 4 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 5 hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Association: 0 (0x00000001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 6 [DISABLED] hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=7 [audio selector] [DISABLED] hdac0: hdac0: nid: 7 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x00300903 hdac0: LRSWAP STEREO hdac0: Input amp: 0x80050f00 hdac0: mute=1 step=15 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=14 [pin: Speaker (None)] [DISABLED] hdac0: hdac0: nid: 8 hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Association: 2 (0x00004001) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=9 [audio selector] hdac0: hdac0: nid: 9 hdac0: Name: audio selector hdac0: Widget cap: 0x00300903 hdac0: LRSWAP STEREO hdac0: Association: 2 (0x00004001) hdac0: OSS: mic, monitor hdac0: Input amp: 0x80050f00 hdac0: mute=1 step=15 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=21 [audio selector] hdac0: hdac0: nid: 10 hdac0: Name: pin: Headphones (Black Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000001) hdac0: Pin cap: 0x0000173c hdac0: PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x03211020 hdac0: Pin control: 0x000000c0 HP OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=2 [audio output] hdac0: hdac0: nid: 11 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000014 hdac0: PDC OUT hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=4 [audio output] [DISABLED] hdac0: hdac0: nid: 12 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000014 hdac0: PDC OUT hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3 [audio output] [DISABLED] hdac0: hdac0: nid: 13 hdac0: Name: pin: Mic (Red Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 2 (0x00000001) hdac0: OSS: mic (mic) hdac0: Pin cap: 0x0000173c hdac0: PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x03a15030 hdac0: Pin control: 0x00000024 IN VREFs hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=2 [audio output] hdac0: hdac0: nid: 14 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400081 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000024 hdac0: PDC IN hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: hdac0: nid: 15 hdac0: Name: pin: Speaker (Fixed) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 0 (0x00000001) hdac0: Pin cap: 0x00000014 hdac0: PDC OUT hdac0: Pin config: 0x90170110 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=5 [audio output] hdac0: hdac0: nid: 16 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x00040211 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e03e0 hdac0: 16 20 24 bits, 44 48 88 96 176 KHz hdac0: hdac0: nid: 17 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 2 hdac0: | hdac0: + <- nid=16 [audio output] [DISABLED] (selected) hdac0: + <- nid=9 [audio selector] hdac0: hdac0: nid: 18 [DISABLED] hdac0: Name: audio input hdac0: Widget cap: 0x00140311 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e0160 hdac0: 16 20 24 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=19 [pin: Speaker (None)] [DISABLED] hdac0: hdac0: nid: 19 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00440381 hdac0: DIGITAL UNSOL STEREO hdac0: Pin cap: 0x00000034 hdac0: PDC OUT IN hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=24 [audio output] [DISABLED] hdac0: hdac0: nid: 20 hdac0: Name: pin: Mic (Fixed) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Association: 2 (0x00004000) hdac0: OSS: monitor (monitor) hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x90a7013e hdac0: Pin control: 0x00000020 IN hdac0: hdac0: nid: 21 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 2 (0x00004001) hdac0: OSS: mic, monitor hdac0: Output amp: 0x80270400 hdac0: mute=1 step=4 size=39 offset=0 hdac0: connections: 4 hdac0: | hdac0: + [DISABLED] <- nid=10 [pin: Headphones (Black Jack)] hdac0: + <- nid=13 [pin: Mic (Red Jack)] (selected) hdac0: + <- nid=20 [pin: Mic (Fixed)] hdac0: + [DISABLED] <- nid=2 [audio output] hdac0: hdac0: nid: 22 hdac0: Name: beep widget hdac0: Widget cap: 0x0070000c hdac0: Association: -2 (0x00000000) hdac0: OSS: speaker (speaker) hdac0: Output amp: 0x00170303 hdac0: mute=0 step=3 size=23 offset=3 hdac0: hdac0: nid: 23 [DISABLED] hdac0: Name: volume widget hdac0: Widget cap: 0x00600000 hdac0: connections: 4 hdac0: | hdac0: + <- nid=2 [audio output] (selected) hdac0: + <- nid=3 [audio output] [DISABLED] hdac0: + <- nid=4 [audio output] [DISABLED] hdac0: + <- nid=5 [audio output] hdac0: hdac0: nid: 24 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x00040201 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: hdac0: Processing modem FG cad=1 nid=2... hdac0: found-> vendor=0x8086, dev=0x283e, revid=0x03 domain=0, bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=22 pci0:0:31:3: reprobing on driver added pci1: driver added pci2: driver added pci6: driver added found-> vendor=0x8086, dev=0x4229, revid=0x61 domain=0, bus=6, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=17 powerspec 3 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci7: driver added pci8: driver added pci9: driver added found-> vendor=0x104c, dev=0x803b, revid=0x00 domain=0, bus=9, slot=4, func=2 class=01-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x39 (1710 ns), mingnt=0x07 (1750 ns), maxlat=0x04 (1000 ns) intpin=c, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:9:4:2: reprobing on driver added pcm0: at cad 0 nid 1 on hdac0 pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e07e0 pcm0: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm0: DAC: 5 pcm0: pcm0: Record: pcm0: pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e07e0 pcm0: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm0: ADC: 8 pcm0: pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: nid=15 [pin: Speaker (Fixed)] pcm0: | pcm0: + <- nid=5 [audio output] [src: pcm] pcm0: pcm0: Record: pcm0: pcm0: nid=8 [audio input] pcm0: | pcm0: + <- nid=9 [audio selector] [src: mic, monitor] pcm0: | pcm0: + <- nid=21 [audio selector] [src: mic, monitor] pcm0: | pcm0: + <- nid=13 [pin: Mic (Red Jack)] [src: mic] pcm0: + <- nid=20 [pin: Mic (Fixed)] [src: monitor] pcm0: pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- ctl 4 (nid 5 out): -95/0dB (128 steps) + mute pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- ctl 4 (nid 5 out): -95/0dB (128 steps) + mute pcm0: pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 8 (nid 22 out): -18/0dB (4 steps) pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- ctl 6 (nid 9 in 0): 0/22dB (16 steps) + mute pcm0: +- ctl 7 (nid 21 out): 0/40dB (5 steps) + mute pcm0: pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "rec": pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap 4b170000, 4000; 0xe61ba000 -> 4b170000 pcm0: sndbuf_setmap 4b210000, 4000; 0xea5ff000 -> 4b210000 pcm1: at cad 0 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1: pcm1: Playback: pcm1: pcm1: Stream cap: 0x00000001 pcm1: PCM pcm1: PCM cap: 0x000e07e0 pcm1: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm1: DAC: 2 pcm1: pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1: pcm1: Playback: pcm1: pcm1: nid=10 [pin: Headphones (Black Jack)] pcm1: | pcm1: + <- nid=2 [audio output] [src: pcm] pcm1: pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1: pcm1: Master Volume (OSS: vol) pcm1: | pcm1: +- ctl 1 (nid 2 out): -95/0dB (128 steps) + mute pcm1: pcm1: PCM Volume (OSS: pcm) pcm1: | pcm1: +- ctl 1 (nid 2 out): -95/0dB (128 steps) + mute pcm1: pcm1: Mixer "vol": pcm1: Mixer "pcm": pciconf -lv hdac0@pci0:0:27:0: class=0x040300 card=0x9008104d chip=0x284b8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel audio controller embedded with the 82801H chipset ( ICH8 chipset ) (82801H)' class = multimedia subclass = HDA uname -a FreeBSD laptop 8.0-RC1 FreeBSD 8.0-RC1 #0: Tue Oct 6 17:31:40 UTC 2009 username@laptop:/usr/obj/usr/src/sys/laptop i386 Thank you. From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 10 17:47:49 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3477E106566B for ; Sat, 10 Oct 2009 17:47:49 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by mx1.freebsd.org (Postfix) with ESMTP id A75888FC0A for ; Sat, 10 Oct 2009 17:47:48 +0000 (UTC) Received: by bwz23 with SMTP id 23so1227701bwz.43 for ; Sat, 10 Oct 2009 10:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=71YA/iMEzbW/tyn/0GEdyPVFgw6cWPHjqON4469ScHQ=; b=oY4T1tCb94j8mMHwR0SVIFgkQ9jAOsHCRw8F8Mx8KWOVQtajZ37i/oaXvpSbwFWh0h PzFsxLmcapdv/BoOarJLzAqdxEW8LlnqHC9AFpdWjQX1z1NRnZ0eu2D430ff23mXj9D8 a2E2c84XW+acpd2/DsGb/RNFjdunmu/hdQiqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=rPzs4cOKhMZfz0qhvUiDb526fx056iu+shObjQDjFojemEMfGOoY0b4deCla52ZTBw fu35xmJ9NO5S8Sqc0BE4ZilmiXKd4RHwc2EJzRGoVFs6MYmmBBZHH0wP/9KpOE20iyP0 OCz9Y2nqHhdjoaIIS6X0GdZohKnM5zBhGYIp8= Received: by 10.103.126.9 with SMTP id d9mr1664832mun.103.1255194897816; Sat, 10 Oct 2009 10:14:57 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id s10sm3810829muh.24.2009.10.10.10.14.56 (version=SSLv3 cipher=RC4-MD5); Sat, 10 Oct 2009 10:14:57 -0700 (PDT) Sender: Alexander Motin Message-ID: <4AD0C10E.1020709@FreeBSD.org> Date: Sat, 10 Oct 2009 20:14:54 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20090901) MIME-Version: 1.0 To: glimm - References: <1255184582.00171852.1255172403@10.7.7.3> In-Reply-To: <1255184582.00171852.1255172403@10.7.7.3> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: snd_hda, freebsd 8 and headphones X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 17:47:49 -0000 glimm - wrote: > After updating to 8.0 my headphones stopped working on my laptop. I > think that should fix hdac.c file, but can not imagine how. Help me:) > > Model - Sony VAIO SZ650 > > snd_hda verbose: > > hdac0: mem > 0xfc300000-0xfc303fff irq 21 at device 27.0 on pci0 hdac0: HDA Driver > Revision: 20090624_0136 hdac0: attempting to allocate 1 MSI vectors (1 > supported) msi: routing MSI IRQ 256 to local APIC 0 vector 48 > hdac0: using IRQ 256 for MSI > hdac0: [MPSAFE] > hdac0: [ITHREAD] > hdac0: Probing codec #0... > hdac0: HDA Codec #0: Sigmatel STAC9872AK > hdac0: HDA Codec ID: 0x83847662 > hdac0: Vendor: 0x8384 > hdac0: Device: 0x7662 > hdac0: Revision: 0x02 > hdac0: Stepping: 0x01 > hdac0: PCI Subvendor: 0x9008104d > hdac0: Found audio FG nid=1 startnode=2 endnode=25 total=23 > hdac0: Probing codec #1... > hdac0: HDA Codec #1: Conexant (Unknown) > hdac0: HDA Codec ID: 0x14f12c06 > hdac0: Vendor: 0x14f1 > hdac0: Device: 0x2c06 > hdac0: Revision: 0x00 > hdac0: Stepping: 0x00 > hdac0: PCI Subvendor: 0x9008104d > hdac0: Found modem FG nid=2 startnode=112 endnode=116 total=4 > hdac0: > hdac0: Processing audio FG cad=0 nid=1... > hdac0: GPIO: 0xc0000005 NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 > GPIUnsol=1 hdac0: nid 10 0x03211020 as 2 seq 0 Headphones Jack > jack 1 loc 3 color Black misc 0 hdac0: nid 11 0x411111f0 as 15 > seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: > nid 12 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 > color Black misc 1 hdac0: nid 13 0x03a15030 as 3 seq 0 > Mic Jack jack 1 loc 3 color Red misc 0 hdac0: nid 14 0x411111f0 > as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 > hdac0: nid 15 0x90170110 as 1 seq 0 Speaker Fixed jack 7 loc > 16 color Unknown misc 1 hdac0: nid 17 0x411111f0 as 15 seq 0 > Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 19 > 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color > Black misc 1 hdac0: nid 20 0x90a7013e as 3 seq 14 Mic Fixed > jack 7 loc 16 color Unknown misc 1 hdac0: Patched pins configuration: > hdac0: nid 10 0x03211020 as 2 seq 0 Headphones Jack jack 1 loc > 3 color Black misc 0 hdac0: nid 11 0x411111f0 as 15 seq 0 > Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: > nid 12 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 > color Black misc 1 [DISABLED] hdac0: nid 13 0x03a15030 as 3 seq > 0 Mic Jack jack 1 loc 3 color Red misc 0 hdac0: nid > 14 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color > Black misc 1 [DISABLED] hdac0: nid 15 0x90170110 as 1 seq 0 > Speaker Fixed jack 7 loc 16 color Unknown misc 1 hdac0: nid 17 > 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color > Black misc 1 [DISABLED] hdac0: nid 19 0x411111f0 as 15 seq 0 > Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: > nid 20 0x90a7013e as 3 seq 14 Mic Fixed jack 7 loc 16 color > Unknown misc 1 hdac0: 3 associations found: hdac0: Association 0 (1) > out: hdac0: Pin nid=15 seq=0 hdac0: Association 1 (2) out: hdac0: Pin > nid=10 seq=0 hdac0: Association 2 (3) in: hdac0: Pin nid=13 seq=0 > hdac0: Pin nid=20 seq=14 hdac0: Tracing association 0 (1) hdac0: Pin > 15 traced to DAC 5 hdac0: Association 0 (1) trace succeeded hdac0: > Tracing association 1 (2) hdac0: Pin 10 traced to DAC 2 > hdac0: Association 1 (2) trace succeeded > hdac0: Tracing association 2 (3) > hdac0: Unable to trace pin 13 to ADC 6, undo traces > hdac0: Pin 13 traced to ADC 8 > hdac0: Pin 20 traced to ADC 8 > hdac0: Association 2 (3) trace succeeded It is difficult to read this without original formatting, but below we can see that you codec configured to provide separate audio devices for speaker and headphones: > pcm0: at cad 0 nid 1 on hdac0 > pcm0: +-------------------------------+ > pcm0: | DUMPING Playback/Record Paths | > pcm0: +-------------------------------+ > pcm0: > pcm0: Playback: > pcm0: > pcm0: nid=15 [pin: Speaker (Fixed)] > pcm0: | > pcm0: + <- nid=5 [audio output] [src: pcm] > pcm0: > pcm0: Record: > pcm0: > pcm0: nid=8 [audio input] > pcm0: | > pcm0: + <- nid=9 [audio selector] [src: mic, monitor] > pcm0: | > pcm0: + <- nid=21 [audio selector] [src: mic, monitor] > pcm0: | > pcm0: + <- nid=13 [pin: Mic (Red Jack)] [src: mic] > pcm0: + <- nid=20 [pin: Mic (Fixed)] [src: monitor] > pcm0: > pcm1: at cad 0 nid 1 on hdac0 > pcm1: +-------------------------------+ > pcm1: | DUMPING Playback/Record Paths | > pcm1: +-------------------------------+ > pcm1: > pcm1: Playback: > pcm1: > pcm1: nid=10 [pin: Headphones (Black Jack)] > pcm1: | > pcm1: + <- nid=2 [audio output] [src: pcm] Usually in such cases codec configured to do automatic audio redirection on headphones plug-in, but for some reason not in your case. So you may try to either playback via pcm1 device to headphones, or add line: hint.hdac.0.cad0.nid10.config="as=1 seq=15" into /boot/loader.conf to configure automatic redirection. Also you may want to read snd_hda man page, which describes it. -- Alexander Motin