From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 17 05:57:59 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 795D016A4E9 for ; Mon, 17 Jul 2006 05:57:59 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2F9E43D5E for ; Mon, 17 Jul 2006 05:57:52 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 7637 invoked from network); 17 Jul 2006 15:57:51 +1000 Received: from andromeda.lef.com.au (HELO localhost) (210.8.93.2) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 17 Jul 2006 15:57:51 +1000 Date: Mon, 17 Jul 2006 15:57:47 +1000 From: Norberto Meijome To: Andrea Bittau Message-ID: <20060717155747.6170bcf2@localhost> In-Reply-To: <20060717113622.7ee97e3a@localhost> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <20060709141724.GA33010@shorty.sorbonet.org> <20060717113622.7ee97e3a@localhost> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 05:57:59 -0000 On Mon, 17 Jul 2006 11:36:22 +1000 Norberto Meijome wrote: > On Sun, 9 Jul 2006 15:17:24 +0100 > Andrea Bittau wrote: > > > by the way, I got a version which should record stuff too: > > http://darkircop.org/hdac-rec.tgz > > Hi all, > I downloaded and tried this last night . It works great, including with Skype > (for me, main reason for having sound really :) ). Thanks!! > > Some things though (and you probably know them already): > - /usr/sbin/mixer (6.1 from yesterday) sees 2 devices, vol and rec, but no > recording device (even setting =rec rec doesnt work). BUT setting the volume > to the rec device does work.... strange: > > > [betom@ayiin] [Mon Jul 17 11:27:36 2006] > /usr/home/betom > $ mixer > Mixer vol is currently set to 100:100 > Mixer rec is currently set to 90:90 > Recording source: > > [betom@ayiin] [Mon Jul 17 11:31:36 2006] > /usr/home/betom > $ mixer =rec rec > mixer: unknown recording device: rec > usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ... > mixer [-f device] [-s | -S] recsrc ... > mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ... > devices: vol, rec > rec devices: > > - How stable is the support for resume on a laptop? I got a couple of crashes > on resume ( one a hard lock, the other what seemed like really slow access to > HD, but in-memory apps were ok...ended up having to hard boot it). Just now, > it has worked fine, so I haven't any hard evidence yet to point it to > hdac.ko . > > Unloading from devd , suspend, resume, reload from devd works every time, but > hdac cannot be unloaded when XFCE is running as xfce4-panel and > xfce-mcs-manager keep mixer0 open: > > [betom@ayiin] [Mon Jul 17 11:31:45 2006] > /usr/home/betom > $ fstat | grep mixer > betom xfce4-panel 1237 12 /dev 113 crw-rw-rw- mixer0 rw > betom xfce-mcs-manager 1223 5 /dev 113 crw-rw-rw- mixer0 rw > > I'm thinking of installing one of the sound daemons (arts ? ) and route > everything sound-related through it. then shut down artsd from my > acpi_shutdown script , unload hdac and bring it back up... we'll see how > that goes. Another strange thing, not sure if related to the hdac-rec driver: - videos from youtube dont have any sound. Flash 7, FFox firefox-1.5.0.4,1 Web browser based on the browser portion of Mozilla firefox-remote-20040803 Wrapper scripts for firefox web browser linux-flashplugin-7.0r63 The official Macromedia Flash Player for Linux Mozilla and Sound *does* work in other flash-powered sites : http://www.adobe.com/products/flash/flashpro/ has a marketing video from adobe, and it works just fine. FWIW, i get a completely hung FFox when using video.google.com (when trying to watch a video), or any site that references video.google.com. Beto