From: Takashi Iwai Subject: Re: [PATCH 0/6] snd-usb endpoint rework, version 7 Date: Fri, 13 Apr 2012 08:23:26 +0200 Message-ID: References: <1334231475-20980-1-git-send-email-zonque@gmail.com> <4F87C587.9000101@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 0767F10B8C0 for ; Fri, 13 Apr 2012 08:23:27 +0200 (CEST) In-Reply-To: <4F87C587.9000101@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Daniel Mack Cc: blablack@gmail.com, Grant Diffey , clemens@ladisch.de, alsa-devel@alsa-project.org, linuxaudio@showlabor.de List-Id: alsa-devel@alsa-project.org At Fri, 13 Apr 2012 08:19:51 +0200, Daniel Mack wrote: > > On 13.04.2012 03:39, Grant Diffey wrote: > > On Fri, Apr 13, 2012 at 9:59 AM, Grant Diffey > > wrote: > > > > On Thu, Apr 12, 2012 at 9:51 PM, Daniel Mack > > wrote: > > > > Here's the 7th iteration of patches that reimplement the > > streaming logic of > > the ALSA USB audio driver. > > > > There were some bugs reportes by Felix and Grant, which have > > been resolved. > > > > More testing is definitely important, but maybe the code will > > get a wider > > test coverage when merged to the development tree? > > > > > > So I've also tested this against the current -rt head and can report > > that it solves the clicking problem with playback there as well. > > > > Grant. > > Good, thanks. > > > so dumb question... > > > > is setting a sane set of alsa controls a problem for the driver or > > userspace/distributions? > > > > the problem is. > > > > if all volumes are max on module insert. the ftu is essentially unusable > > untill they're corrected > > What about alsactl? Set the mixers once, then call "alsactl store". Does > that help? Basically "alsactl init" then "alsactl restore" should initialize to a sane state. But in the case of usb-audio, many things are still missing. The usb-audio driver doesn't initialize the mixer states unlike other drivers, and alsactl init seems assuming that the mixers are all muted / cleared when it's called. So, partly a problem of alsactl init. Takashi