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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9C8AC54E49 for ; Sun, 10 May 2020 07:44:13 +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 504F620801 for ; Sun, 10 May 2020 07:44:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="M7KDZ3NL"; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="M6/4imBI"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="tVHDai2n" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 504F620801 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@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 90EF786F; Sun, 10 May 2020 09:43:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 90EF786F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1589096651; bh=LWUB7076vqMu0m6r/o5RUjnEW83znKl0kD8FxMxvoeA=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=M7KDZ3NLwI7iEYkfH4Q4WJ79QLOpuoN6SOzkJLsB5BEJ0F+rtZhRo0RijXwjkYsG8 myitjx7Ar2s5oc5c0ES8z1eUOQg+D3yXOyy+YyYIYL3gkRc0s1sl2Jf2poERiEFio3 1MHAEtXO4nfROMX2PL1oTlKa2KRtwwhe4FPpFAak= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 94F13F80258; Sun, 10 May 2020 09:43:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0955BF8027D; Sun, 10 May 2020 09:43:16 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 943E6F800B7 for ; Sun, 10 May 2020 09:43:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 943E6F800B7 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="M6/4imBI"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="tVHDai2n" Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id D7BBC5C008B; Sun, 10 May 2020 03:43:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 10 May 2020 03:43:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=GDUhZXPT/eAGvL5U1cG30lyfHP 9vPHvwUKtyOzKZxnI=; b=M6/4imBI3lMFmH2L1cyTXJIfDBG1rcpZ8dM96c7/sR GiDe1pBSOT01IMKFCSV5S/RTDH6x6HNhQyug9MTUcpG3NvoYJ+HRcMZCl4LRXHjt FshCactvq1SSmpyVx/qoUtMojopfCLeFUNOPYbsqNm+3fLH/ZoU4Ur6WTKOhO+my xVUikt30gBAYWyVs7So+2YHjP/ExLbZrRzeiIVnJCOaGS4kdz5FQa3cj+FI5SZjZ /twmW0Q7Sjmf/c85Oh3PJNlee7q5G/7UDzMax9VF8jN07V+mXFYzPq+GUu5skdD6 8I71zcc5jUj9e4Y4HekJyCihHPqHC97Ln4bfDlo+lKYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=GDUhZXPT/eAGvL5U1 cG30lyfHP9vPHvwUKtyOzKZxnI=; b=tVHDai2ncd4pgzk6mMLnk81fhZg9NLsqC MZI1XCrsgyzr6vmgjyCEZs9Qw/hDU1yNQqEhCna3qpYgyR0C9cpNEdpwTZGJSQV1 Zm71IG2etwZ4LNQDCyNZ7EvNWiPgUzVU+paHSd++RSq1WcaOwQ64b0MvI6R0KOpm iurD2Yo/HDYIi4AyJd+gkhyP4C9nrj1KdORS19yFzAfSCUjL5IUsSGTFf2tgzlOY /+TQwRRMpKsJJ0IwPjELdaa+TfgNzeDjGuWSy8Z8+LreGyVVYIo6zkPVGEvHv9R8 bXoyEVPLE+aJTPr9FTJvDP/6rTWYxuilFW9ph58vcxyErm6qlzIhA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrkeejgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefvrghkrghshhhiucfurghkrghmohhtohcuoehoqdhtrghkrghshhhi sehsrghkrghmohgttghhihdrjhhpqeenucggtffrrghtthgvrhhnpedujeetlefhtddtke fgtdeuieelhffgteejjeehkeegveduvdevgeeiheeuueekjeenucfkphepudektddrvdef hedrfedrheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepohdqthgrkhgrshhhihesshgrkhgrmhhotggthhhirdhjph X-ME-Proxy: Received: from workstation.flets-east.jp (ad003054.dynamic.ppp.asahi-net.or.jp [180.235.3.54]) by mail.messagingengine.com (Postfix) with ESMTPA id 29B773066258; Sun, 10 May 2020 03:43:04 -0400 (EDT) From: Takashi Sakamoto To: clemens@ladisch.de, tiwai@suse.de Subject: [PATCH 0/6] ALSA: fireface: add support for Fireface 802 and UFX Date: Sun, 10 May 2020 16:42:55 +0900 Message-Id: <20200510074301.116224-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: alsa-devel@alsa-project.org, ffado-devel@lists.sourceforge.net 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" Hi, Fireface 802 was shipped by RME GmbH in 2014. This model is one of latter models of Fireface series and support both of IEEE 1394 bus and USB. Furthermore, it supports two types of remote control unit (Basic Remote and Advanced Remote Control) with by 9pin mini-din connector. This patchset adds support for this model as a part of devices available by ALSA firewire stack (therefore it's not a device of USB). Userspace applications can transfer PCM frames and MIDI messages via ALSA PCM and Rawmidi interfaces. Fireface UFX is also supported since its internal design is almost the same as Fireface 802 in a point of packet communication. The support is untested and the status is 'request for test'. As well as the other models of RME Fireface series, audio output includes periodical hissing noise. This is not solved yet. Furthermore, capture of MIDI messages requires assist of userspace application. For the detail, please read comment in 'sound/firewire/fireface/ff-protocol-latter.c'. Regards Takashi Sakamoto (6): ALSA: fireface: fix configuration error for nominal sampling transfer frequency ALSA: fireface: start IR context immediately ALSA: fireface: code refactoring to add enumeration constants for model identification ALSA: fireface: code refactoring for name of sound card ALSA: fireface: add support for RME FireFace 802 ALSA: fireface: add support for Fireface UFX (untested) sound/firewire/Kconfig | 2 + sound/firewire/fireface/ff-protocol-latter.c | 58 +++++++++++++------ sound/firewire/fireface/ff-stream.c | 10 +--- sound/firewire/fireface/ff.c | 61 +++++++++++++++++--- sound/firewire/fireface/ff.h | 11 +++- 5 files changed, 103 insertions(+), 39 deletions(-) -- 2.25.1