Re: Steinberg UR22 Crackling and Clicks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 09 Dec 2020 12:56:55 +0100,
meschi@xxxxxxxxx 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
> 
> When running it without the quirk_alias option implicit feedback isn't
> set.

Then try to pass implicit_fb=1 option to snd-usb-audio module.
It's a new option that was added recently.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux