From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 9 10:55:33 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93FA91065672 for ; Tue, 9 Aug 2011 10:55:33 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id ECAAF8FC13 for ; Tue, 9 Aug 2011 10:55:32 +0000 (UTC) Received: by ewy1 with SMTP id 1so1247382ewy.13 for ; Tue, 09 Aug 2011 03:55:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=NljO9NNK++VDC40L0w3Nc/QPywtz9sYYahwyZNVZs/Y=; b=hdlDrmgVVMKUoEofEZr8uGNotn4SEGKP0UIB1ao1MO97EibiuYhpwOQZmGG3PxZ8ft D75WYIvCSjfVOUZ1tniH/SrMuNzwRe/MZg2F5fFkgyncmznVIKV2HSL5VRug7gORUEkT AVWvTHGbBepAKg/E2wgQeRPwLzGobbnBPsSuQ= Received: by 10.14.94.80 with SMTP id m56mr1937629eef.155.1312885473724; Tue, 09 Aug 2011 03:24:33 -0700 (PDT) Received: from laptop (minsk.agava.net [212.98.174.157]) by mx.google.com with ESMTPS id v20sm2946909eeh.12.2011.08.09.03.24.31 (version=SSLv3 cipher=OTHER); Tue, 09 Aug 2011 03:24:32 -0700 (PDT) Date: Tue, 9 Aug 2011 13:24:18 +0300 From: "Sergey V. Dyatko" To: freebsd-multimedia@freebsd.org Message-ID: <20110809132418.5b18549b@laptop> In-Reply-To: References: <4E3C2ACE.7090708@gmail.com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: Re: Again, snd_hda headphones problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2011 10:55:33 -0000 χ Tue, 9 Aug 2011 05:04:59 -0500 Zhihao Yuan ΠΙΫΕΤ: > Here is my full dmesg when boot with -v. > > On Fri, Aug 5, 2011 at 12:39 PM, David Demelier > wrote: > > On 03/08/2011 20:43, Zhihao Yuan wrote: > >> > >> Hi, > >> > >> I posted this message on FreeBSD forum, but got no response. So I'm > >> seeking some help here. > >> > >> I bought a laptop, HP Elitebook 8540w. > >> > >> ~> šuname -a > >> FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #4 r224501: > >> Fri Jul 29 22:28:38 CDT 2011 > >> > >> šlichray@compaq.yuetime:/usr/obj/home/lichray/devel/freebsd-stable/sys/HOUKAGO > >> šamd64 > >> > >> > >> I have already set up the default_unit: > >> > >> ~> šcat /dev/sndstat > >> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > >> Installed devices: > >> pcm0: š(play) > >> pcm1: š(play) > >> pcm2: š(play) > >> pcm3: š(play) > >> pcm4: š(play/rec) default > >> pcm5: š(play) > >> > >> > >> pindump: > >> > >> hdac1: Dumping AFG cad=0 nid=1 pins: > >> hdac1: šnid 10 0x2121101f as š1 seq 15 š šHeadphones šJack jack š1 > >> loc 33 color š Black misc 0 > >> hdac1: š š š šCaps: š šOUT HP š š š š š Sense: 0x00000000 > >> hdac1: šnid 11 0x03a1102e as š2 seq 14 š š š š š Mic šJack jack š1 > >> loc 3 color š Black misc 0 > >> hdac1: š š š šCaps: IN š š š š š š VREF Sense: 0x00000000 > >> hdac1: šnid 12 0x90a70120 as š2 seq š0 š š š š š Mic Fixed jack š7 > >> loc 16 color Unknown misc 1 > >> hdac1: š š š šCaps: IN š š š š š š VREF Sense: 0x00000000 > >> hdac1: šnid 13 0x90170110 as š1 seq š0 š š š Speaker Fixed jack š7 > >> loc 16 color Unknown misc 1 > >> hdac1: š š š šCaps: š šOUT š š š š š š šSense: 0x00000000 > >> hdac1: šnid 14 0x21811040 as š4 seq š0 š š š Line-in šJack jack š1 > >> loc 33 color š Black misc 0 [DISABLED] > >> hdac1: š š š šCaps: IN š š š š š š VREF Sense: 0x00000000 > >> hdac1: šnid 15 0x03211030 as š3 seq š0 š šHeadphones šJack jack š1 > >> loc 3 color š Black misc 0 > >> hdac1: š š š šCaps: š šOUT š š š š š š šSense: 0x00000000 > >> hdac1: šnid 20 0x40f000f0 as 15 seq š0 š š š š Other šNone jack š0 > >> loc 0 color Unknown misc 0 [DISABLED] > >> hdac1: š š š šCaps: IN OUT > >> hdac1: šnid 24 0x40f000f0 as 15 seq š0 š š š š Other šNone jack š0 > >> loc 0 color Unknown misc 0 [DISABLED] > >> hdac1: š š š šCaps: IN > >> hdac1: šnid 25 0x40f000f0 as 15 seq š0 š š š š Other šNone jack š0 > >> loc 0 color Unknown misc 0 [DISABLED] > >> hdac1: š š š šCaps: IN > >> hdac1: šnid 30 0x40f000f0 as 15 seq š0 š š š š Other šNone jack š0 > >> loc 0 color Unknown misc 0 [DISABLED] > >> hdac1: š š š šCaps: š šOUT > >> hdac1: šnid 31 0x40f000f0 as 15 seq š0 š š š š Other šNone jack š0 > >> loc 0 color Unknown misc 0 [DISABLED] > >> hdac1: š š š šCaps: š šOUT š šEAPD > >> hdac1: šnid 32 0x40f000f0 as 15 seq š0 š š š š Other šNone jack š0 > >> loc 0 color Unknown misc 0 [DISABLED] > >> hdac1: š š š šCaps: š šOUT > >> hdac1: NumGPIO=8 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 > >> hdac1: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000 > >> hdac1: š š š wake=0x00000000 šunsol=0x00000000 š šsticky=0x00000000 > >> > >> > >> And the sound comes from the internal speaker, and the internal > >> record works. But the sound does not work on the headphones. > >> > >> I read many posts and the snd_hda(4), and I know I need to bind the > >> headphones and the internal speaker to the same as, and I need to > >> do the same on output. But I don't know which device is which, and > >> I just don't know how to deal with the seq. Please help me if you > >> are pro on this. > >> I'm not 'pro' but.. you may try: kenv hint.hdac.0.cad0.nid15.config="as=1 seq=15" before loading snd_hda > > > > Please paste somewhere a *full* verbose boot (boot -v) > > > > -- > > David Demelier > > _______________________________________________ > > 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" > > > > > -- wbr, tiger