From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 19 13:29:14 2007 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from misaki (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with SMTP id 43A4216A418; Mon, 19 Nov 2007 13:29:13 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Mon, 19 Nov 2007 21:28:45 +0800 From: Ariff Abdullah To: Mario Sergio Fujikawa Ferreira Message-Id: <20071119212845.68ef67a1.ariff@FreeBSD.org> In-Reply-To: <47418769.5060008@uol.com.br> References: <20071116174429.49043.qmail@nexxus.fedaykin.here> <20071118003003.49f2c046.ariff@FreeBSD.org> <47418769.5060008@uol.com.br> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__19_Nov_2007_21_28_45_+0800_jByaznXlGN/Jy0Ua" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_hda(4): headphone not detected 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: Mon, 19 Nov 2007 13:29:14 -0000 --Signature=_Mon__19_Nov_2007_21_28_45_+0800_jByaznXlGN/Jy0Ua Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 19 Nov 2007 10:54:01 -0200 Mario Sergio Fujikawa Ferreira wrote: > Ariff Abdullah wrote: > > On Fri, 16 Nov 2007 15:44:29 -0200 > > Mario Sergio Fujikawa Ferreira wrote: > >> Hi, > >> > >> I own a Toshiba Satellite A135-S4527 laptop with a snd_hda(4) > >> audio device > >> > >> pcm0@pci0:0:27:0: class=3D0x040300 card=3D0xff011179 > >> chip=3D0x27d88086 rev=3D0x02 hdr=3D0x00 > >> vendor =3D 'Intel Corporation' > >> device =3D '82801G (ICH7 Family) High Definition Audio' > >> class =3D multimedia > >> > >> running FreeBSD 7-STABLE > >> > >> FreeBSD nexxus.fedaykin.here 7.0-BETA2 FreeBSD 7.0-BETA2 #7: Thu > >Nov > 15 14:02:59 BRST 2007 =20 > >lioux@nexxus:/usr/obj/usr/src/sys/LIOUX > i386 > >> > >> Sound is working through the laptop speakers. However, I > >> do get any sound on the headphone jack. The driver does not seem > >> to be able to detect the headphone jack. Headphone jack works as > >> expected under Windows Vista though. > >> > >> I am attaching all the information I could gather. Let me > >> know if there is anything I can do to help. > >> > >> Regards, > >> > >=20 > > Try various configuration options of "ovref" or "gpio" through > > hint.pcm.%d.config . >=20 > Somehow a cvsup src got it all going. With some random luck,=20 > headphone is working though there is no mention of it in the mixer. > Only the standard pcm, vol, rec, mic. Furthermore, connecting the > headphone does not disable the speakers. I did not need to set any=20 > hint.pcm.0.config options to get it working. >=20 > Any ideas on the lack of mention on mixer or headphone jack not=20 > disabling the speakers? >=20 The driver need to handle all these kind of plug in/out events, that's for sure. Try this one (-> sys/dev/sound/pci/hda/hdac.c): http://people.freebsd.org/~ariff/test/hdac.c -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Mon__19_Nov_2007_21_28_45_+0800_jByaznXlGN/Jy0Ua Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHQY+Nlr+deMUwTNoRAsUZAJ9DrA5hOFY8YkG8WvBVzUdT/53t7wCeJl7+ xkZMeEos/omf7Vl4BQh+muY= =QcYI -----END PGP SIGNATURE----- --Signature=_Mon__19_Nov_2007_21_28_45_+0800_jByaznXlGN/Jy0Ua--