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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 829D9C4167B for ; Mon, 27 Nov 2023 09:16:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 946459F6; Mon, 27 Nov 2023 10:15:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 946459F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701076565; bh=zsUnwLYF57JwgEX+4alLLjUkB4UAT6zat01aRQR3XaM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=G3qZop4+vGif0WBMkzDoxIdot2XWqroJkQLp2tdNlcXK4k5AispdUGbhaPyPO82Kh DbdFbsyE437H9XspxhJ6QWUPYCBpkx/52kVxhgQMO6C7pwRdxyYkixqHy/8iZu0TPN KTK/8VZQjzzdXjhBbFp273NcmNv5VbewIHlnQD8A= Received: by alsa1.perex.cz (Postfix, from userid 50401) id CDAF7F8057B; Mon, 27 Nov 2023 10:15:33 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 188D3F80587; Mon, 27 Nov 2023 10:15:33 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C8D4BF801D5; Mon, 27 Nov 2023 10:15:26 +0100 (CET) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9BF25F80104 for ; Mon, 27 Nov 2023 10:15:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9BF25F80104 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=D5ztcO95 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a03a900956dso757811866b.1 for ; Mon, 27 Nov 2023 01:15:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701076508; x=1701681308; darn=alsa-project.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ncw788SGLKClmdYdu+/lYok5y2gFmKPGDfkSsp0Mdjk=; b=D5ztcO953/vVbAB9z+5wdKeNDViGAhkGkgOV4Gsbe1aml9GDQVJRnlcG0nvhXn/gVW xX/2k7ohgSRyF9/Nkvwnh5J05qDjPtfEBvQUj+0PB36z29IM0H63+RXJr8hrPXZRyjFM 0VT+ZI4GfgYgigqXg2BDXvJyunu+v2ahFAasWT9032FUxu5kuxdFI+0kBx2XMSkM9J3X sU3gXEOUNOy2ueG5zYjgAqzW2C40Ol5TkXgV7OTSsGILxW3jyRtB/RbTAqasHNwSe1Db FwKA9DkbeRJt3nUl44Uoh2e6PrrO3akb2XjgW9cQ+3CI4ai8wbSfsoJaw/cItjTYBm3j 9Ybg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701076508; x=1701681308; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ncw788SGLKClmdYdu+/lYok5y2gFmKPGDfkSsp0Mdjk=; b=tjoXl6PEJzszmBqemovuQ27YruHdAeFbkdulzqM6JA4qsjhw4vSJSezGlzeR+gkJeo Oz+PbmAe0vCy69L2gDS4VLUx+fYBwyCl2d3DWYLX7rl9+mezU6X7bxdxHKsCCGO6sIf7 CtrLRENyR2JWwb0sdoI3B3Cxzdt7QQT13WRQXA/kn/RZl/j567A1MAm+wucZdJ1cDWhb rGNNCHGH7v9SHjI2JH+YkGkmDJlPHMCf/AXZ7MOBWWrLH2eOwjnafRsv6IhvmyPVgJoV 9u8SeOO7h57JQTgnsKP6u40AtMGnnDSuKnQq6hXKGMPDDkdYwlVG9OgKP1iegQqS5FXz A8Fg== X-Gm-Message-State: AOJu0YzZGNcUPgr3FzYFkxAgEVP7uSvT5D10TxKMVUsoTrJXY+9FNQ0R Zi/6rVuxJm3jCXB39QdzrRE= X-Google-Smtp-Source: AGHT+IE+9MYOsNO7jqHxV0VXRBzSyWvI1xEds7WpvbeeyK1JXq/9ZuX8Z1Q0GwGaWKY9F9Gefu+ITA== X-Received: by 2002:a17:906:3e58:b0:9ad:cbc0:9f47 with SMTP id t24-20020a1709063e5800b009adcbc09f47mr12671697eji.12.1701076507888; Mon, 27 Nov 2023 01:15:07 -0800 (PST) Received: from [192.168.125.116] (ip-109-43-113-81.web.vodafone.de. [109.43.113.81]) by smtp.gmail.com with ESMTPSA id bj15-20020a170906b04f00b00a01763d21f7sm5459698ejb.31.2023.11.27.01.15.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Nov 2023 01:15:07 -0800 (PST) Message-ID: <0fbebd11-cbcc-4595-b9b0-fff2bba937e6@gmail.com> Date: Mon, 27 Nov 2023 10:15:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Yamaha YIT-W12TX not working To: Takashi Iwai Cc: ALSA Development Mailing List References: <47549112-b2c6-1957-9055-888a4191c6ab@gmail.com> <204b6079-7348-418e-8d97-82d798a28d69@gmail.com> <98d10b80-40cb-4511-898e-c287663f0882@gmail.com> <877cm3pqd3.wl-tiwai@suse.de> Content-Language: en-US From: Julian Sikorski In-Reply-To: <877cm3pqd3.wl-tiwai@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: R4PQ2QK33QYCQ5V7HWD3YKQJCHE2JBXX X-Message-ID-Hash: R4PQ2QK33QYCQ5V7HWD3YKQJCHE2JBXX X-MailFrom: belegdol@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Am 27.11.23 um 09:11 schrieb Takashi Iwai: > On Sun, 26 Nov 2023 10:12:56 +0100, > Julian Sikorski wrote: >> >> Am 17.11.23 um 15:31 schrieb Julian Sikorski: >>> Am 13.12.2020 um 10:51 schrieb Julian Sikorski: >>>> Hi list, >>>> >>>> Yamaha YIT-W12TX is a USB dongle which allows to transmit audio >>>> from PC to the YSP-4300 sound bar [1][2]. While it is quite old and >>>> no longer sold, I recently tried to make it work under >>>> linux. Unfortunately, it did not work: >>>> >>>> [ 3676.366404] usb 2-1.1: new full-speed USB device number 5 using >>>> ehci-pci >>>> [ 3676.445995] usb 2-1.1: config 1 has an invalid interface number: >>>> 4 but max is 3 >>>> [ 3676.446001] usb 2-1.1: config 1 has no interface number 2 >>>> [ 3676.446664] usb 2-1.1: New USB device found, idVendor=0499, >>>> idProduct=3108, bcdDevice= 1.00 >>>> [ 3676.446666] usb 2-1.1: New USB device strings: Mfr=2, Product=1, >>>> SerialNumber=0 >>>> [ 3676.446679] usb 2-1.1: Product: YIT-W12TX >>>> [ 3676.446683] usb 2-1.1: Manufacturer: YAMAHA Corp. >>>> [ 3676.449508] hid-generic 0003:0499:3108.0001: hiddev96,hidraw0: >>>> USB HID v0.01 Device [YAMAHA Corp. YIT-W12TX] on >>>> usb-0000:00:1d.0-1.1/input3 >>>> [ 3676.450846] input: YAMAHA Corp. YIT-W12TX as >>>> /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.4/0003:0499:3108.0002/input/input34 >>>> [ 3676.503844] hid-generic 0003:0499:3108.0002: input,hidraw1: USB >>>> HID v1.00 Device [YAMAHA Corp. YIT-W12TX] on >>>> usb-0000:00:1d.0-1.1/input4 >>>> [ 3676.671641] usb 2-1.1: 1:1: cannot get freq at ep 0x1 >>>> [ 3676.675786] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.676476] usbcore: registered new interface driver snd-usb-audio >>>> [ 3676.731911] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.735658] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.739399] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.743131] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.746920] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.750648] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.754445] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.758524] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.762274] usb 2-1.1: 5:0: cannot get min/max values for >>>> control 2 (id 5) >>>> [ 3676.789671] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.790049] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.790414] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.790773] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.791169] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.792134] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.792547] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.792899] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.793254] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.793634] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.794900] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.795255] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.795634] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.796008] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.796384] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.797543] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.797879] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.798254] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.798634] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.799007] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.813819] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.814281] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.814686] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.815281] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.815929] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.817807] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.818155] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.818592] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.819165] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.819801] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.822163] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.822802] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.823284] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.824161] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.824907] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.827683] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.828159] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.828675] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.829415] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.830157] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.841801] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.842155] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.842551] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.843158] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.843785] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.844909] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.845283] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.845673] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.846156] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.846800] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.848287] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.848799] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.849280] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.850031] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.850799] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.852677] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.853154] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.853674] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.854429] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.855155] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.858916] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.859277] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.859672] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.860280] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.860909] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.862033] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.862418] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.862797] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.863279] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.863923] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.865471] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.866033] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.866590] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.867410] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.868157] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.870162] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.870674] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.871155] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.871908] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.872676] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> [ 3676.900672] usb 2-1.1: USB disconnect, device number 5 >>>> [ 3676.900688] usb 2-1.1: 1:1: cannot set freq 44100 to ep 0x1 >>>> >>>> This is with kernel-5.9.13-200.fc33.x86_64 and >>>> alsa-lib-1.2.4-5.fc33.x86_64 on Fedora 33. Under Windows 10 the >>>> dongle works without any special drivers from Yamaha, everything >>>> appears to be downloaded by Windows automatically, so I was hoping >>>> the device could be made to work under Linux relatively easily. >>>> >>>> Best regards, >>>> Julian >>>> >>>> [1] >>>> https://europe.yamaha.com/en/products/audio_visual/accessories/yit-w12/downloads.html#product-tabs >>>> [2] >>>> https://europe.yamaha.com/en/products/audio_visual/sound_bar/ysp-4300/downloads.html#product-tabs >>> >>> Hello, >>> >>> 3 years later I am still hoping for getting the device working. I am >>> on 6.5 kernel and Fedora 39. >>> I am attaching Windows' driver details screenshot as well as the inf >>> file used. >>> Does USB audio driver under linux have any parameters I could try? >>> >>> Best regards, >>> Julian >> >> Hi again, >> >> turns out that getting the sound out was easier than expected: >> >> options snd-usb-audio quirk_flags=0x1 > > And this alone helps to get the card working? > Once after confirmation, we can add the quirk to the static table. > Yes, no other changes were needed. I am on kernel 6.6.2 now. I have been listening to music via the dongle for several hours yesterday and today. Even s2idle is working. >> One cosmetic issue remains: in pavucontrol I can see 3 configuration >> options: >> - Analog Stereo output >> - Digital Stereo (IEC958) output >> - Pro Audio >> The first and the third one work normally whereas digital stereo >> output very quiet audio only. >> By contrast, both my built-in audio cards (AMD Renoir HDMI and analog >> output) only have two options: >> - Play HiFi quality Music >> - Pro Audio >> Is this expected? > > When the device provides multiple outputs, yes, it's a sort of default > setup. Different boards may have different own UCM configs to > override the default. > Check each output and verify what actual I/O they correspond. > Well, the dongle does not have any physical outputs. Input-wise, it can be connected to a PC via USB or to an old iPod/iPhone via the 30-pin dock connector. As far as output is concerned, the dongle connects wirelessly, via a proprietary AirWired protocol, to the Yamaha sound bar and its accompanying wireless subwoofer. Analog and pro output selection produce reasonably loud sound on the soundbar, in line with other inputs like FM radio, analog input or HDMI. Digital output, on the other hand, produces barely audible volume level. While it can be adjusted with the volume setting on the sound bar, the level needs to be so high that it would be unbearably loud for other inputs. > > Takashi Best regards, Julian