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 25C4FC433F5 for ; Thu, 4 Nov 2021 21:38:38 +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 D2E7E61101 for ; Thu, 4 Nov 2021 21:38:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D2E7E61101 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=thevertigo.com 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 68CB5167B; Thu, 4 Nov 2021 22:37:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 68CB5167B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1636061914; bh=DWFhm9oEwYN58A9BFL9zVAClCVM5XOC07ZV8hkiKwgQ=; h=Subject:From:To:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RKTp9Ba7gnMCEet2WJO3TAvlPQQPZQs/xuBghqcVqN0yfck2xg73seFsykAsUYGMB ihjOiNYQG/Qtas9b9yMB00sxpbHZQrj68qMsPL6io0N6CZaYQJOb08FW8fFAZeer62 Lm0XnkxzdCYmqcnGAc4lWhOe5C5URH5ApjlRg8nQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DFD9BF80229; Thu, 4 Nov 2021 22:37:43 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8D2F7F8025D; Thu, 4 Nov 2021 22:37:42 +0100 (CET) Received: from cyan.ash.relay.mailchannels.net (cyan.ash.relay.mailchannels.net [23.83.222.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 70011F80224 for ; Thu, 4 Nov 2021 22:37:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 70011F80224 Authentication-Results: alsa1.perex.cz; dkim=fail reason="signature verification failed" (1024-bit key) header.d=thevertigo.com header.i=@thevertigo.com header.b="f24s0fJ9" X-Sender-Id: dreamhost|x-authsender|kip@thevertigo.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 87D8A6216B8; Thu, 4 Nov 2021 21:37:28 +0000 (UTC) Received: from pdx1-sub0-mail-a271.central1.pdx1.dh-int.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 28BE3621191; Thu, 4 Nov 2021 21:37:28 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|kip@thevertigo.com Received: from pdx1-sub0-mail-a271.central1.pdx1.dh-int.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.118.34.197 (trex/6.4.3); Thu, 04 Nov 2021 21:37:28 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|kip@thevertigo.com X-MailChannels-Auth-Id: dreamhost X-Battle-Name: 04fe496f636f6951_1636061848327_2888693879 X-MC-Loop-Signature: 1636061848327:2037722758 X-MC-Ingress-Time: 1636061848326 Received: from kip-desktop.kip-router (unknown [192.252.230.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kip@thevertigo.com) by pdx1-sub0-mail-a271.central1.pdx1.dh-int.com (Postfix) with ESMTPSA id 4HlcRq4MXBz1RV; Thu, 4 Nov 2021 14:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=thevertigo.com; s=thevertigo.com; t=1636061847; bh=XG4INMkjyaYPK9eJCgalHh2o1MY=; h=Subject:From:To:Cc:Date:Content-Type; b=f24s0fJ9nCCQiaNitugqiaz33Q1pBMtp41ZftAMgb/zV1Jh18Bmkt65aXZutqEiGn I6T2GNMQXJ+ZTnXuMeyuk4Rx03pyY8cjdrLB5Ssu6BdQ7uUzM30PleuUOZyY5j6ldc 7Y/8Z+uTWpGgTlPc0vjG5xYaleVeO/+L3QMlMo98= Message-ID: Subject: Re: [Alsa-user] USB audio on riscv64 From: Kip Warner To: Dmitri Seletski Date: Thu, 04 Nov 2021 14:37:26 -0700 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-uwLt9ht8sPk+av+v7NoT" User-Agent: Evolution 3.40.0-1 MIME-Version: 1.0 Cc: Alsa-user@lists.sourceforge.net, 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" --=-uwLt9ht8sPk+av+v7NoT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2021-11-04 at 08:40 +0000, Dmitri Seletski wrote: > I am just a user. > Can't help but wonder if usb snd modules were compiled in or loaded? Hey Dmitri, CC'ing the lists. When I plug in the device, I see the following on the bus: $ lsusb ... Bus 001 Device 003: ID 1908:2070 GEMBIRD Honk HK-5002 USB Speaker ... The kernel logs the following in kern.log: [ 291.681086] usb 1-2.3: new full-speed USB device number 3 using xhci_= hcd [ 291.850299] usb 1-2.3: New USB device found, idVendor=3D1908, idProdu= ct=3D2070, bcdDevice=3D 1.00 [ 291.850333] usb 1-2.3: New USB device strings: Mfr=3D1, Product=3D2, = SerialNumber=3D3 [ 291.850345] usb 1-2.3: Product: USB2.0 Device [ 291.850355] usb 1-2.3: Manufacturer: Generic [ 291.850365] usb 1-2.3: SerialNumber: 20130100ph0 [ 292.434209] mc: Linux media interface: v0.10 [ 292.734949] usb 1-2.3: 1:1: cannot get freq at ep 0x2 [ 292.802612] usb 1-2.3: 2:0: bogus dB values (-12800/-12700), disablin= g dB reporting [ 292.803733] usbcore: registered new interface driver snd-usb-audio The device still doesn't appear to be visible to ALSA: $ aplay -l aplay: device_list:276: no soundcards found... If I try playing an Ogg/Vorbis file with mpv, I see the following with no sound: $ mpv "/usr/share/games/lincity-ng/music/default/01 - pronobozo - lincit= y.ogg" (+) Audio --aid=3D1 (vorbis 2ch 44100Hz) AO: [pulse] 44100Hz stereo 2ch float =20 A: 00:01:00 / 00:03:30 (28%) The device works fine on arm64 via a Raspberry Pi 4. --=20 Kip Warner -- Senior Software Engineer OpenPGP=C2=A0signed/encrypted mail preferred https://www.thevertigo.com --=-uwLt9ht8sPk+av+v7NoT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEaUi0dj/qpTzsKe4xRLRlxF7U4wQFAmGEUpYACgkQRLRlxF7U 4wQhGBAAiYrwyeMovyeOpTLVaGukFYIiRXknHTrP7Ergexp6dzkGHO9Qedw3F/cn qfDavuOLCWpCRchhHh/E8raxLU1W/bbL/pV30mptnfzxfm7FihGa3s9Bj//2Jt+4 QjuajBVj6yqFeNoGMD44hhNb6xGDsgAVWrn318GCs4FxjAbfdnSCib8LjUNJxZ3N 1IyiK5K4KhEOWmhJyvv/D0+85s6BIzUxBynWfKMR8upbXFSfjOYKVrMBOSitbC3f F5S5d8ZEBIN/QP/Jhj17CkHzqe0uWYBY8NhhKJqSwnpQocMeJOzHcfVFj5E9KA83 H3R6NgdS3sx1RrP/oHnvfpiuf0anaILqPjhj8VvlnrDxeZVQWasKG71YTHdgomDC 5+WEddahdMRgdx1LI4XUnbNh/L+MXKToU9b+dyt3X/YKIS1RCmdv9rx9vHKFNJSc 6H5GCZqx1PCKSFFebBvJCA7Vq8NWHSB5HI5eG5tMFR5AYeaRLQtQ0BJqWNbCECLv jHdiiiDcpJ1lgq7sWDgEUo3399JAhyRa+X2oVB4BuNsJgcTbFpJfLT7BNGXeH7TG DDf0Ig0xhi384UUgXKx4j8GC9+5eP+RU9RkqAM700saM+P1L0PbY9Ck0EWwyKucm zhlOeOU5YClms4p1IcVOdVu4YQrp97WKhqW6EAy/d9cFGSoMgSE= =nZte -----END PGP SIGNATURE----- --=-uwLt9ht8sPk+av+v7NoT--