Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750737AbWIFMOB (ORCPT ); Wed, 6 Sep 2006 08:14:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750775AbWIFMOB (ORCPT ); Wed, 6 Sep 2006 08:14:01 -0400 Received: from mail.suse.de ([195.135.220.2]:45494 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1750737AbWIFMOA (ORCPT ); Wed, 6 Sep 2006 08:14:00 -0400 Date: Wed, 06 Sep 2006 14:13:58 +0200 Message-ID: From: Takashi Iwai To: john stultz Cc: Benjamin Herrenschmidt , Johannes Berg , lkml Subject: Re: [BUG] no sound on ppc mac mini In-Reply-To: <1157504924.2222.4.camel@localhost> References: <1152821370.6845.9.camel@localhost> <1152831309.23037.31.camel@localhost.localdomain> <1f1b08da0607312337l34eabc56jdee7b056acd9a71a@mail.gmail.com> <1153.153.96.175.159.1154423993.squirrel@secure.sipsolutions.net> <1157502802.28296.58.camel@localhost> <1157503851.22705.160.camel@localhost.localdomain> <1157504924.2222.4.camel@localhost> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta25) (eggplant) (+CVS-20060326) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2305 Lines: 54 At Tue, 05 Sep 2006 18:08:44 -0700, john stultz wrote: > > On Wed, 2006-09-06 at 10:50 +1000, Benjamin Herrenschmidt wrote: > > > However... ;) > > > > > > It seems the new device doesn't have any volume control. I know the old > > > toonie driver used some form of softvol support, but "it just worked", > > > where as now I have no control over my system's audio volume. > > > > It's a userland problem :) Your alsa config needs to enable the softvol > > plugin for it. > > Yea. I figured. :( I've played around a bit w/ the .asoundrc file to > re-enable softvol (A similar hack was needed originally after the toonie > driver went in), but so far I've been unsuccessful. I guess adding the following to /usr/share/alsa/cards/aliases.conf (or equivalent path depending on your distro) should suffice: AppleOnbdAudio cards.PMacToonie > > > While not the most terrible of regressions, its a bit irritating (waking > > > to loud mail notifications, specifically :). Is this something that I > > > have to wait for an alsa userland update to fix, or is the new kernel > > > driver just not fully functional yet? > > > > Part of the problem is that you can't anymore identify the type of codec > > based on the card name thus Alsa old mecanism of having a specific > > toonie config file that includes softvol doesn't work any more. The > > trick was bad in the first place though because you can have multiple > > different codecs anyway, so it didn't scale. (The old driver couldn't > > deal with it, but the new one can, though we haven't yet implemented > > support for any of the topaz digital codecs). > > > > I remember a discussion with the Alsa folks where it was question to > > have Alsa userland automatically instanciate softvol if there is no > > volume provided by the driver, which is a better approach. > > > > Takashi, was this ever implemented ? John, what is your Alsa userland > > version ? > > 1.0.10-4ubuntu4 Could you try alsa-lib 1.0.12? Then you'll have more bonus, not only the fixes for this softvol problem ;) Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/