Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: meschi@posteo.de
Cc: alsa-devel@alsa-project.org
Subject: Re: Steinberg UR22 Crackling and Clicks
Date: Wed, 09 Dec 2020 07:58:27 +0100	[thread overview]
Message-ID: <s5ha6unv52k.wl-tiwai@suse.de> (raw)
In-Reply-To: <4188489e2967b44e57653193cab9d1cb@posteo.de>

On Tue, 08 Dec 2020 23:14:41 +0100,
meschi@posteo.de wrote:
> 
> >> >> >> > It's likely the issues with the implicit feedback.
> >> >> >> >
> >> >> >> > The latest development tree (either linux-next tree or
> >> >> >> > topic/usb-audio-refactoring branch of my sound.git tree) contains the
> >> >> >> > improvements of the implicit feedback mode.
> >> >> >> >
> >> >> >> >
> >> >> >> > Takashi
> >> >> When I try to play a file now this happens:
> >> >> $ aplay -D plughw:CARD=UR22 ./file.wav
> >> >> Playing WAVE './file.wav' : Signed 16 bit Little Endian, Rate 44100
> >> >> Hz, Stereo
> >> >> aplay: set_params:1407: Unable to install hw params:
> >> >
> >> > It's a known side-effect of the implicit feedback mode, and the latest
> >> > patchset I mentioned earlier addresses the issue.
> >> >
> >> >
> >> > Takashi
> >>
> >> I'm already running the kernel built from the linux-next tree...
> >> I built next-20201208 from
> >> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >> Is there another patch set that I'm missing?
> >
> > Hm, strange.
> >
> > Please check the contents of /proc/asound/card*/stream* file.  With
> > the latest patches and the implicit feedback mode, you should see the
> > lines like "Sync Endpoint: 0x...." and "Implicit Feedback Mode: yes".
> >
> >
> > Takashi
> 
> Yes, I see this:
> 
> Yamaha Corporation Steinberg UR22 at usb-0000:00:1a.7-3, high speed :
> USB Audio
> 
> Playback:
>   Status: Stop
>   Interface 1
>     Altset 1
>     Format: S24_3LE
>     Channels: 2
>     Endpoint: 0x07 (7 OUT) (ASYNC)
>     Rates: 44100, 48000
>     Data packet interval: 125 us
>     Bits: 24
>     Channel map: FL FR
>     Sync Endpoint: 0x81 (1 IN)
>     Sync EP Interface: 2
>     Sync EP Altset: 1
>     Implicit Feedback Mode: Yes
>   Interface 1
>     Altset 2
>     Format: S24_3LE
>     Channels: 2
>     Endpoint: 0x07 (7 OUT) (ASYNC)
>     Rates: 88200, 96000
>     Data packet interval: 125 us
>     Bits: 24
>     Channel map: FL FR
>     Sync Endpoint: 0x81 (1 IN)
>     Sync EP Interface: 2
>     Sync EP Altset: 1
>     Implicit Feedback Mode: Yes
>   Interface 1
>     Altset 3
>     Format: S24_3LE
>     Channels: 2
>     Endpoint: 0x07 (7 OUT) (ASYNC)
>     Rates: 176400, 192000
>     Data packet interval: 125 us
>     Bits: 24
>     Channel map: FL FR
>     Sync Endpoint: 0x81 (1 IN)
>     Sync EP Interface: 2
>     Sync EP Altset: 1
>     Implicit Feedback Mode: Yes
> 
> Capture:
>   Status: Stop
>   Interface 2
>     Altset 1
>     Format: S24_3LE
>     Channels: 2
>     Endpoint: 0x86 (6 IN) (ASYNC)
>     Rates: 44100, 48000
>     Data packet interval: 125 us
>     Bits: 24
>     Channel map: FL FR
>   Interface 2
>     Altset 2
>     Format: S24_3LE
>     Channels: 2
>     Endpoint: 0x86 (6 IN) (ASYNC)
>     Rates: 88200, 96000
>     Data packet interval: 125 us
>     Bits: 24
>     Channel map: FL FR
>   Interface 2
>     Altset 3
>     Format: S24_3LE
>     Channels: 2
>     Endpoint: 0x86 (6 IN) (ASYNC)
>     Rates: 176400, 192000
>     Data packet interval: 125 us
>     Bits: 24
>     Channel map: FL FR

OK, then it means that your device isn't compatible with UR22C.
It has a different endpoint assignment.

What happens if you run this kernel without quirk_alias option?
Is the implicit feedback still set?


Takashi

  reply	other threads:[~2020-12-09  6:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 10:15 Steinberg UR22 Crackling and Clicks meschi
2020-12-08 10:34 ` Takashi Iwai
2020-12-08 14:50   ` meschi
2020-12-08 14:57     ` Takashi Iwai
2020-12-08 19:41       ` meschi
2020-12-08 20:23         ` Takashi Iwai
2020-12-08 20:53           ` meschi
2020-12-08 21:29             ` Takashi Iwai
2020-12-08 22:14               ` meschi
2020-12-09  6:58                 ` Takashi Iwai [this message]
2020-12-09 11:56                   ` meschi
2020-12-09 12:00                     ` Takashi Iwai
2020-12-09 12:10                       ` meschi
2020-12-09 12:13                         ` Takashi Iwai
2020-12-09 16:07                           ` Kilian
2020-12-09 16:09                             ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2020-12-08 14:00 meschi

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=s5ha6unv52k.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=meschi@posteo.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