From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 9 10:58:01 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 F05BC106564A for ; Tue, 9 Aug 2011 10:58:01 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF00E8FC08 for ; Tue, 9 Aug 2011 10:58:01 +0000 (UTC) Received: by ywm39 with SMTP id 39so3908151ywm.13 for ; Tue, 09 Aug 2011 03:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=DmWMI5/Cb9gEhvvL2HCul8JO4WrgfudLzOtItEsZyXg=; b=f0XChixWmggu3xj/6//o5iopyeC3LDjD19k3Tf/9a+L9aUYvnICXASogTocJQjjWOU LNfnTRN0l3YNXtjCrGPJ9k6K+j6hll7ibqtE7OB9WNUOMeFIrDDTDprpaFoa4q8zSSze hpGzKfM7Hx2/dS9Bosw/cPjH4z1sUO+PV5YL8= MIME-Version: 1.0 Received: by 10.42.150.196 with SMTP id b4mr7650644icw.153.1312887480927; Tue, 09 Aug 2011 03:58:00 -0700 (PDT) Received: by 10.231.33.205 with HTTP; Tue, 9 Aug 2011 03:58:00 -0700 (PDT) In-Reply-To: <20110809132418.5b18549b@laptop> References: <4E3C2ACE.7090708@gmail.com> <20110809132418.5b18549b@laptop> Date: Tue, 9 Aug 2011 05:58:00 -0500 Message-ID: From: Zhihao Yuan To: "Sergey V. Dyatko" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org 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:58:02 -0000 2011/8/9 Sergey V. Dyatko : > =D0=92 Tue, 9 Aug 2011 05:04:59 -0500 > Zhihao Yuan =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> 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. >> >> >> >> ~> =C2=A0uname -a >> >> FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #4 r224501: >> >> Fri Jul 29 22:28:38 CDT 2011 >> >> >> >> =C2=A0lichray@compaq.yuetime:/usr/obj/home/lichray/devel/freebsd-stab= le/sys/HOUKAGO >> >> =C2=A0amd64 >> >> >> >> >> >> I have already set up the default_unit: >> >> >> >> ~> =C2=A0cat /dev/sndstat >> >> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) >> >> Installed devices: >> >> pcm0: =C2=A0(play) >> >> pcm1: =C2=A0(play) >> >> pcm2: =C2=A0(play) >> >> pcm3: =C2=A0(play) >> >> pcm4: =C2=A0(play/rec) default >> >> pcm5: =C2=A0(play) >> >> >> >> >> >> pindump: >> >> >> >> hdac1: Dumping AFG cad=3D0 nid=3D1 pins: >> >> hdac1: =C2=A0nid 10 0x2121101f as =C2=A01 seq 15 =C2=A0 =C2=A0Headpho= nes =C2=A0Jack jack =C2=A01 >> >> loc 33 color =C2=A0 Black misc 0 >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: =C2=A0 =C2=A0OUT HP =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 Sense: 0x00000000 >> >> hdac1: =C2=A0nid 11 0x03a1102e as =C2=A02 seq 14 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 Mic =C2=A0Jack jack =C2=A01 >> >> loc 3 color =C2=A0 Black misc 0 >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: IN =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 VREF Sense: 0x00000000 >> >> hdac1: =C2=A0nid 12 0x90a70120 as =C2=A02 seq =C2=A00 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 Mic Fixed jack =C2=A07 >> >> loc 16 color Unknown misc 1 >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: IN =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 VREF Sense: 0x00000000 >> >> hdac1: =C2=A0nid 13 0x90170110 as =C2=A01 seq =C2=A00 =C2=A0 =C2=A0 = =C2=A0 Speaker Fixed jack =C2=A07 >> >> loc 16 color Unknown misc 1 >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: =C2=A0 =C2=A0OUT =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sense: 0x00000000 >> >> hdac1: =C2=A0nid 14 0x21811040 as =C2=A04 seq =C2=A00 =C2=A0 =C2=A0 = =C2=A0 Line-in =C2=A0Jack jack =C2=A01 >> >> loc 33 color =C2=A0 Black misc 0 [DISABLED] >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: IN =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 VREF Sense: 0x00000000 >> >> hdac1: =C2=A0nid 15 0x03211030 as =C2=A03 seq =C2=A00 =C2=A0 =C2=A0He= adphones =C2=A0Jack jack =C2=A01 >> >> loc 3 color =C2=A0 Black misc 0 >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: =C2=A0 =C2=A0OUT =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sense: 0x00000000 >> >> hdac1: =C2=A0nid 20 0x40f000f0 as 15 seq =C2=A00 =C2=A0 =C2=A0 =C2=A0= =C2=A0 Other =C2=A0None jack =C2=A00 >> >> loc 0 color Unknown misc 0 [DISABLED] >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: IN OUT >> >> hdac1: =C2=A0nid 24 0x40f000f0 as 15 seq =C2=A00 =C2=A0 =C2=A0 =C2=A0= =C2=A0 Other =C2=A0None jack =C2=A00 >> >> loc 0 color Unknown misc 0 [DISABLED] >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: IN >> >> hdac1: =C2=A0nid 25 0x40f000f0 as 15 seq =C2=A00 =C2=A0 =C2=A0 =C2=A0= =C2=A0 Other =C2=A0None jack =C2=A00 >> >> loc 0 color Unknown misc 0 [DISABLED] >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: IN >> >> hdac1: =C2=A0nid 30 0x40f000f0 as 15 seq =C2=A00 =C2=A0 =C2=A0 =C2=A0= =C2=A0 Other =C2=A0None jack =C2=A00 >> >> loc 0 color Unknown misc 0 [DISABLED] >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: =C2=A0 =C2=A0OUT >> >> hdac1: =C2=A0nid 31 0x40f000f0 as 15 seq =C2=A00 =C2=A0 =C2=A0 =C2=A0= =C2=A0 Other =C2=A0None jack =C2=A00 >> >> loc 0 color Unknown misc 0 [DISABLED] >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: =C2=A0 =C2=A0OUT =C2=A0 =C2= =A0EAPD >> >> hdac1: =C2=A0nid 32 0x40f000f0 as 15 seq =C2=A00 =C2=A0 =C2=A0 =C2=A0= =C2=A0 Other =C2=A0None jack =C2=A00 >> >> loc 0 color Unknown misc 0 [DISABLED] >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 =C2=A0Caps: =C2=A0 =C2=A0OUT >> >> hdac1: NumGPIO=3D8 NumGPO=3D0 NumGPI=3D0 GPIWake=3D1 GPIUnsol=3D1 >> >> hdac1: GPIO: data=3D0x00000000 enable=3D0x00000000 direction=3D0x0000= 0000 >> >> hdac1: =C2=A0 =C2=A0 =C2=A0 wake=3D0x00000000 =C2=A0unsol=3D0x0000000= 0 =C2=A0 =C2=A0sticky=3D0x00000000 >> >> >> >> >> >> 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=3D"as=3D1 seq=3D15" > before loading snd_hda > This does not looks correctly, since my working pcm is on hdac1, at least. hdac0 is TV out. >> > >> > 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 > _______________________________________________ > 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" > --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/