Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 12:04:14 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Mario Sergio Fujikawa Ferreira <lioux-list@uol.com.br>
Cc:        freebsd-multimedia@FreeBSD.org
Subject:   Re: snd_hda(4): headphone not detected
Message-ID:  <20071120120414.4da09751.ariff@FreeBSD.org>
In-Reply-To: <4742500D.3020308@uol.com.br>
References:  <20071116174429.49043.qmail@nexxus.fedaykin.here> <20071118003003.49f2c046.ariff@FreeBSD.org> <47418769.5060008@uol.com.br> <20071119212845.68ef67a1.ariff@FreeBSD.org> <4742500D.3020308@uol.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Tue__20_Nov_2007_12_04_14_+0800_=UmgV9k10.jeIBEm
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 20 Nov 2007 01:10:05 -0200
Mario Sergio Fujikawa Ferreira <lioux-list@uol.com.br> wrote:
> Ariff Abdullah wrote:
> > On Mon, 19 Nov 2007 10:54:01 -0200
> > Mario Sergio Fujikawa Ferreira <lioux-list@uol.com.br> wrote:
> >> Ariff Abdullah wrote:
> >>> On Fri, 16 Nov 2007 15:44:29 -0200
> >>> Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> 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,
> >>>>
> >>> Try various configuration options of "ovref" or "gpio" through
> >>> hint.pcm.%d.config .
> >>    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  > hint.pcm.0.config options to get it working.
> >>
> >>    Any ideas on the lack of mention on mixer or headphone jack
> >not  > disabling the speakers?
> >>
> >=20
> > The driver need to handle all these kind of plug in/out events,
> > that's for sure.
> >=20
> > Try this one (-> sys/dev/sound/pci/hda/hdac.c):
> >=20
> >   http://people.freebsd.org/~ariff/test/hdac.c
>=20
> 	Sweet. Plugging the headphones mutes the speakers. Removing
> 	the=20
> headphones un-mutes the speakers. :) Nothing on mixer about
> headphones  but that is totally secondary. :-D
>
Having unified / abstract control for *everything* is the key to
reduce confusions and possible abuses in this case.

> 	Will this be released with 7.0-RELEASE?
>=20
Porbably.



--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

--Signature=_Tue__20_Nov_2007_12_04_14_+0800_=UmgV9k10.jeIBEm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHQly+lr+deMUwTNoRAuxPAJsGTggsnlpVO8WnDhClfBTKCg3EvQCg6O3K
Sbo2Ko8yaZeAFGbmBhJO0/c=
=mV0i
-----END PGP SIGNATURE-----

--Signature=_Tue__20_Nov_2007_12_04_14_+0800_=UmgV9k10.jeIBEm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071120120414.4da09751.ariff>