From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 18 09:32:31 2008 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 253681065676; Thu, 18 Sep 2008 09:32:31 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id 93BC68FC16; Thu, 18 Sep 2008 09:32:25 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id m8I9WMwu026806; Thu, 18 Sep 2008 10:32:22 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KgFs6-0007Qr-F4; Thu, 18 Sep 2008 10:32:22 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id m8I9WMUp025516; Thu, 18 Sep 2008 10:32:22 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id m8I9WLxd025515; Thu, 18 Sep 2008 10:32:21 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Alexander Motin In-Reply-To: <48C19944.1090005@FreeBSD.org> References: <1220628355.99079.31.camel@buffy.york.ac.uk> <48C19944.1090005@FreeBSD.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 18 Sep 2008 10:32:20 +0100 Message-Id: <1221730340.19986.15.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-multimedia@FreeBSD.org Subject: Re: HDA patch 20080903 experience 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: Thu, 18 Sep 2008 09:32:31 -0000 Sorry for the delay in replying, I only have intermittent access to the laptop in question. On Fri, 2008-09-05 at 23:40 +0300, Alexander Motin wrote: > Gavin Atkinson wrote: > > The only problem I have so far with the new driver is that I get a short > > high-pitched scream when the module is loaded. I believe this is > > feedback from the internal speakers to the internal microphone, as I get > > a very similar sound if I turn the "monitor" channel up. Is there any > > way to fix this? Maybe by setting it's volume to zero before enabling > > it or similar? > > During initialization driver was used to set all used amplifiers to the > maximum position. That caused audio loop in your case (via monitor => > mix => vol) until mixer initialization restored their normal level. I > have changed defaults from maximum to 0dB amplification. I think it > should help in your case. This does seem to be fixed with hda.7.20080913.patch, many thanks! > > I also cannot get sound from the internal CD ROM drive, but this didn't > > work with the old HDA driver either. Is this something that can be made > > to work somehow? > > Your system vendor does not declare CD pin in codec configuration. But > it is still possible that it is present on usual for this codec place. > You may try to declare it with such device hint: > hint.hdac.0.cad0.nid28.config="as=2 seq=1 device=CD" > If you also have any other audio connectors on your notebook not > detected by driver, you may try to add alike hints for other disabled pins. > Tell me please if you succeed with this to make a permanent quirk. I haven't managed to find the correct way to do this yet. Even with the above hint in place, the output of dev.hdac.0.pindump shows them as [DISABLED], is that correct? > Also in new driver version (20080905) I have tuned mixer detection a > bit, so now you should get working master volume control. Also I have > added some quirks which should give you PCBEEP signal working and > controlled (using "speaker"+"mix" controls) if is appropriately > connected in hardware. Master volume and PCBEEP do work correctly now, although I can't say for sure that they didn't work in the previous version. Thanks again! Gavin