Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 03:48:30 +0200
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        "Lion G." <liontanker@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Laptop speaker vs earphone
Message-ID:  <20070112014829.GB41417@kobe.laptop>
In-Reply-To: <BAY21-F22038C9A959D56253D9756CCB10@phx.gbl>
References:  <BAY21-F22038C9A959D56253D9756CCB10@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-01-11 00:29, "Lion G." <liontanker@hotmail.com> wrote:
> Hi all, I have a weird question.
>=20
> In my previous many laptops, whenever I plug in the earphone, the
> laptop speaker would stop (and I would only hear music through the
> earphone)

Which is what *should* happen.  After all, when you plug headphones into
the proper jack, it's a sort of 'signal' that you want to hear something
without disturbing all the people around with it too :)

When I asked:

    "Is automute of headphone/speakers always handled by the snd_hda
    driver?"

Ariff explained why this happens to me by writing:

    "It all depends on the internal wiring, codecs, vendor preferences,
    etc, but mostly yes, it is handled by the driver itself: cheaper,
    flexible."

> With my newest laptop (Acer Aspire 5050), the laptop speaker stays on
> no-matter-what.  I would hear the same music in both the speaker and
> the earphone.
>=20
> I'm using Ariff Abdullah's snd_hda driver on 6.2-RC2.
> The driver reports:
> pcm0: <ATI SB450 High Definition Audio Controller> mem=20
> 0xc0000000-0xc0003fff irq 16 at device 20.2 on pci0
> pcm0: <HDA Codec: Realtek ALC883>
> pcm0: <HDA Driver Revision: 20061210_0037>

Try contacting Ariff.  He is pretty responsive and he will most probably
reply with a patch that fixes the problem for you.  This is *exactly*
what happened when I asked him about my own laptop, a Toshiba Satellite
U200, which had the same 'bug'.

The fix for my laptop is now part of FreeBSD 7.0-CURRENT:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci/hda/hdac.c?rev=
=3D1.21&content-type=3Dtext/x-cvsweb-markup

Before contacting Ariff, it will be helpful (and will save you at least
one round-trip of email exchanges), if you boot in ``verbose mode'', and
save a copy of ``/var/run/dmesg.boot''.

Then, make sure you include this file and the output of ``pciconf -lv''
in your report.

Good luck,
Giorgos


--ZGiS0Q5IWpPtfppv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (FreeBSD)

iD8DBQFFpujs1g+UGjGGA7YRApNcAJ0aFivc9eOQB7bOQW8Pw1Nt/3tNQQCgp6Fk
KTsjX5FVLohvPoBakAPDzmg=
=o8sl
-----END PGP SIGNATURE-----

--ZGiS0Q5IWpPtfppv--



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