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 E9D85C433F5 for ; Fri, 5 Nov 2021 10:18:03 +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 275656125F for ; Fri, 5 Nov 2021 10:18:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 275656125F 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 57766828; Fri, 5 Nov 2021 11:17:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 57766828 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1636107480; bh=QYDd1VmTS74y+0BgaZNgNmySWgiLb3o7dcbTZEJrfpQ=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=jyl5UjAK+4k8KQn51RocpLv2AI379tYoasrtePUJpwXbf4Rb9Y1fUN3IVGOQ9dmSi oq0R4Tf0qXzYFhkXyaSKribTotUHnCv8k92es6ykXQWk1YvWVMRr/F3khH7W4Hvvzy w6tY6Xg02Xjn30wCvJfnxAqpkcHKVSuwI0gz7Z1s= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D02D2F80269; Fri, 5 Nov 2021 11:17:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 90F03F8026A; Fri, 5 Nov 2021 11:17:08 +0100 (CET) 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 A7758F80148 for ; Fri, 5 Nov 2021 11:17:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A7758F80148 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="ZjG56Yxq"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="krGWWGge" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id E78F81FD43; Fri, 5 Nov 2021 10:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1636107424; 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=JH7Mhc39jRAN7uaCAivgMMpeLYOdzY0qygOqgH+ahGQ=; b=ZjG56Yxqtjm4RqiP+sci12cFZa6HU4/VTU4I/ky5/U/3Wiqa7N7ckO1q/gD1cm/91YjQM5 qS1JOXO0Vaccc+qntj0FroB+MFvEQ1hWrtCG8FdcLUdvlfDJyS5YGoo7Flr/75KG2Z7wlk qbU+m7XFLcsITwvtT0scShS/oTrBpso= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1636107424; 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=JH7Mhc39jRAN7uaCAivgMMpeLYOdzY0qygOqgH+ahGQ=; b=krGWWGgeiYX4xJLwSbTo+X1/59LNoICPY1B74JSCgnIpTui50zwgTvCVHo18KdLIMn9hdZ oeKuNH0jJIqjFCBA== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id DD2FA2C154; Fri, 5 Nov 2021 10:17:04 +0000 (UTC) Date: Fri, 05 Nov 2021 11:17:04 +0100 Message-ID: From: Takashi Iwai To: Kip Warner Subject: Re: [Alsa-user] USB audio on riscv64 In-Reply-To: References: 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: Alsa-user@lists.sourceforge.net, alsa-devel@alsa-project.org, Dmitri Seletski 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 Thu, 04 Nov 2021 22:37:26 +0100, Kip Warner wrote: > > 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=1908, idProduct=2070, bcdDevice= 1.00 > [ 291.850333] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > [ 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), disabling 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... Check the contents in /proc/asound/cards. Is that empty as well? If the card is recognized there, check the /sys/class/sound/*. If a PCM device is found there, it must be the lack of the corresponding device in /dev/snd/* that is usually created via udev. Takashi