Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julian Sikorski <belegdol@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Yamaha YIT-W12TX not working
Date: Mon, 27 Nov 2023 11:57:42 +0100	[thread overview]
Message-ID: <a4208a2e-b284-49c8-855b-3346045d6ecf@gmail.com> (raw)
In-Reply-To: <87v89no8k3.wl-tiwai@suse.de>



Am 27.11.23 um 10:21 schrieb Takashi Iwai:
> On Mon, 27 Nov 2023 10:15:05 +0100,
> Julian Sikorski wrote:
>>
>> 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.
> 
> OK, then it's easy to apply the quirk.
> 
>>>> 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.
> 
> Could you give alsa-info.sh outputs?  The device may have multiple I/O
> endpoints that end up with multiple PCM streams for som purpose.
> 

Sure:
http://alsa-project.org/db/?f=f746a30850445f70e0879e273e5bcd87763014f9
> 
> thanks,
> 
> Takashi

  reply	other threads:[~2023-11-27 10:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13  9:51 Yamaha YIT-W12TX not working Julian Sikorski
2023-11-17 14:31 ` Julian Sikorski
2023-11-26  9:12   ` Julian Sikorski
2023-11-27  8:11     ` Takashi Iwai
2023-11-27  9:15       ` Julian Sikorski
2023-11-27  9:21         ` Takashi Iwai
2023-11-27 10:57           ` Julian Sikorski [this message]
2023-11-27 16:19             ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a4208a2e-b284-49c8-855b-3346045d6ecf@gmail.com \
    --to=belegdol@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox