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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 43597C433E0 for ; Wed, 13 Jan 2021 15:44:34 +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 2E8B3206D8 for ; Wed, 13 Jan 2021 15:44:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E8B3206D8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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 552821719; Wed, 13 Jan 2021 16:43:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 552821719 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1610552671; bh=vxuEN8KIs1gi757ktD6CmjkZe/p2bB53+cmAHnXYgkU=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=J71vnjjk97Dw0fqtuu1H5EB4Qv4b9hBUCkLnuVPQwCMX+Pb8wVTD5cPUs83W6pbFY X+yvdx6FBqYJUUSfa+2uwQipytMc2o2lwmdyTBY/f2VTvrKV5jwLGwwd8VhS3lXVU+ O6mRVBqpz04aCbgqoHY8oWYDC7j49/ZtjuF+/Uoo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E0AC9F8014D; Wed, 13 Jan 2021 16:43:40 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 98B87F8016D; Wed, 13 Jan 2021 16:43:37 +0100 (CET) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3D772F8014D for ; Wed, 13 Jan 2021 16:43:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3D772F8014D X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 85B65AFF0; Wed, 13 Jan 2021 15:43:29 +0000 (UTC) Date: Wed, 13 Jan 2021 16:43:29 +0100 Message-ID: From: Takashi Iwai To: Bastien Nocera Subject: Re: USB Wireless device support In-Reply-To: <7cdad520564986148739d4756ad1e6f35ea4295e.camel@hadess.net> References: <3b322bb54a1df4b2a45586bc687fba3be5f9e3d8.camel@hadess.net> <8adebcef15874187b18b930d5a71e79c6297ee80.camel@hadess.net> <06de89645b182ce8367d23c2bb2dbc6e2a895da7.camel@hadess.net> <7cdad520564986148739d4756ad1e6f35ea4295e.camel@hadess.net> 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=UTF-8 Content-Transfer-Encoding: 8bit Cc: alsa-devel@alsa-project.org 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 Wed, 13 Jan 2021 16:41:04 +0100, Bastien Nocera wrote: > > On Wed, 2021-01-13 at 16:17 +0100, Takashi Iwai wrote: > > On Wed, 13 Jan 2021 16:13:40 +0100, > > Bastien Nocera wrote: > > > > > > On Wed, 2021-01-13 at 16:08 +0100, Takashi Iwai wrote: > > > > > > > > Nothing so far, and that's the problem.  HID is managed in a > > > > completely different layer, hence the integration needs to be > > > > done in > > > > a higher level like PA, I suppose.  In theory we might be able to > > > > extend UCM to handle the other external devices, though. > > > > > > hid-prodikeys.c seems to do some MIDI stuff... > > > > It creates its own sound card.  But you want to use the mixer switch > > for the existing audio interface, right? > > My idea was to create my own sound card (it's a separate USB interface > after all) exporting the sidetone mixer, and figure out how to merge it > with the USB audio interface at PulseAudio's level. It would work, then. OTOH, if integrating in PA, it's not necessarily to be ALSA mixer interface but a simple input device, too... Takashi