From owner-freebsd-questions@FreeBSD.ORG Fri Jan 12 01:49:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B5E516A403 for ; Fri, 12 Jan 2007 01:49:14 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id DBD6213C448 for ; Fri, 12 Jan 2007 01:49:13 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l0C1mn9M030914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 Jan 2007 03:48:55 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l0C1mU2L041512; Fri, 12 Jan 2007 03:48:42 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l0C1mUOv041511; Fri, 12 Jan 2007 03:48:30 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Fri, 12 Jan 2007 03:48:30 +0200 From: Giorgos Keramidas To: "Lion G." Message-ID: <20070112014829.GB41417@kobe.laptop> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.737, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.66, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Laptop speaker vs earphone X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 01:49:14 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-01-11 00:29, "Lion G." 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: mem=20 > 0xc0000000-0xc0003fff irq 16 at device 20.2 on pci0 > pcm0: > pcm0: 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--