From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C786C433F5 for ; Fri, 15 Oct 2021 15:55:15 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6B98C610E8 for ; Fri, 15 Oct 2021 15:55:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6B98C610E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4C79417F2; Fri, 15 Oct 2021 17:54:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4C79417F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1634313311; bh=wHKl0c38xhddOdxDvOhy8pMfyO9meyoLd7ttHGuh1mQ=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=X5C+msX7Cq1bXGw+MrH2cjfoUmv/cptrvtjsfNaXO79rvoaGT4ZkMLQwWAICobIDA HZO1Gk5476DbURJfm3dGCpK+ZHtZNJVeML97fkrGn+B8mq1wotg+JDjpphT+3Bf75V ON5yzhaWAG8MhQ17aqZaAFfELYTOeog1aeXy+lmU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C3773F8025B; Fri, 15 Oct 2021 17:54:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 90093F80269; Fri, 15 Oct 2021 17:54:18 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E5843F8012E for ; Fri, 15 Oct 2021 17:54:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E5843F8012E Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="PP8wIgEK"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="TyQgHxIu" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 65B341FD50; Fri, 15 Oct 2021 15:54:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1634313254; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LbqNA8+P6OoKrNPfc0tZC1NsZMF03fcBD/4WGxA+h7E=; b=PP8wIgEKaEja9rcwRDYbu81McPlW3w9yA/vTqAotq+iZCsZbDGPfz8d0pmzoukx6CfXkVB K2m5B1ruxEl1AsDHvsETy7u7E0r/8ZokUH/aI4aoJt+cp0WaOKoCMpNwzosQi4AJlr6RvF G76CoUS8e5cmaO7SXHT+Kl0otwg6pJg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1634313254; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LbqNA8+P6OoKrNPfc0tZC1NsZMF03fcBD/4WGxA+h7E=; b=TyQgHxIuYsp/LwxPMkPQaQntGDNiANMVObFHdG42Y0P/O5NPmT0QOO0QRSxlX1JGHO1tpn iRDV/eYTTbpz0iAw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 4EBB8A3B81; Fri, 15 Oct 2021 15:54:13 +0000 (UTC) Date: Fri, 15 Oct 2021 17:54:13 +0200 Message-ID: From: Takashi Iwai To: Takashi Sakamoto Subject: Re: [PATCH 00/11] ALSA: firewire-motu: add ioctl commands to retrieve information in messages delivered by isoc packet In-Reply-To: <20211015080826.34847-1-o-takashi@sakamocchi.jp> References: <20211015080826.34847-1-o-takashi@sakamocchi.jp> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: ffado-devel@lists.sourceforge.net, alsa-devel@alsa-project.org, clemens@ladisch.de X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Fri, 15 Oct 2021 10:08:15 +0200, Takashi Sakamoto wrote: > > Hi, > > The purpose of this patchset is to add message parser to ALSA > firewire-motu driver so that userspace applications can read information > in message delivered by isochronous packet as well as PCM frames. > The message includes information about hardware meter and user action > over hardware component such as knob, and MIDI message bytes. > > Models in MOTU FireWire series can be categorized to 4 groups in regard > of message mechanism: > > Group 1. 828 and 896 > * quadlet message to registered destination address > Group 2. 828mk2, 896hd, Traveler, 8 pre, Ultralite, 4 pre, and Audio Express > * quadlet message to registered destination address > * message delivered by isochronous packet > Group 3. 828mk3, 896mk3, Ultralite mk3, Traveler mk3, and Track 16 > * quadlet message to registered destination address > * message delivered by isochronous packet > * block message to registered destination address, including command > Group 4. V3HD/V4HD > * quadlet message to registered destination address > * block message to registered destination address > > The patchset is for message delivered by isochronous packet in group 2 > and 3. In Group 2, the message includes information of hardware meter, > information of user action over hardware component. The model in Group > 2 is called as 'register DSP' in the patchset since parameters of DSP > can be configured by asynchronous transaction for register access. In > Group 3, the message includes information of hardware meter only. The > model in Group 3 is called as 'command DSP' since software and device > communicate with commands transferred by asynchronous transaction in > regard of DSP parameters. Two types of message parser is going to be > added so that the driver caches images for the information. The cache > is available for userspace application by ioctl commands newly introduced. > > I note that no control element is added for the hardware meters and user > actions. It's expected for userspace application to retrieve and parse the > information of image then operate for user-defined control element set. > > Takashi Sakamoto (11): > ALSA: firewire-motu: add message parser to gather meter information in > register DSP model > ALSA: firewire-motu: add message parser for meter information in > command DSP model > ALSA: firewire-motu: add ioctl command to read cached hardware meter > ALSA: firewire-motu: parse messages for mixer source parameters in > register-DSP model > ALSA: firewire-motu: parse messages for mixer output parameters in > register DSP model > ALSA: firewire-motu: parse messages for output parameters in register > DSP model > ALSA: firewire-motu: parse messages for line input parameters in > register DSP model > ALSA: firewire-motu: parse messages for input parameters in register > DSP model > ALSA: firewire-motu: add ioctl command to read cached DSP parameters > ALSA: firewire-motu: queue event for parameter change in register DSP > model > ALSA: firewire-motu: notify event for parameter change in register DSP > model Applied all patches now. Thanks. Takashi