After some testing on older kernels I was indeed able to recreate these
issues. The only thing I can think of is that somehow the hardware has
partially degraded such that it causes some issues with however the
drivers are implemented in linux but not in windows. I think it may have
something to do with current protection, because when reconnecting it to
the same port it does not power back on, but if I switch ports it does.
Although, if I switch ports it still does not work even though it does
power on. It also causes pulseaudio to lock up until I disconnect the
device, which causes many other applications to hang when they try to
play audio.

I was able to get it working well enough by dedicating a powered USB hub
to the audio interface, it has been a couple days with no issues, which
is what leads me to believe it is something related to power.

I'm not sure if this issue is fixable, or even worth dedicating
resources to, but if this points to some deficiency in the kernel seeing
as it *does* work fine in windows, I would be happy to provide any
further diagnostics required to get a better idea of what's happening.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1877887

Title:
  [USB-Audio - Scarlett 2i2 USB, playback] fails after a while

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I am encountering some very bizarre and difficult to reliably
  replicate issues.

  I am using a Focusrite Scarlett 2i2 USB audio interface, and am having
  a number of issues that I did not have in older version of ubuntu
  (these issues started occuring sometime in 19.04-19.10, can't remember
  which).

  I am having three major issues. Number one is, if USB autosuspend is
  enabled, it will stop working completely until reboot after anywhere
  from a few minutes to several hours. Reconnecting the device does not
  fix it and it seems to not power on at all, with dmesg reporting a
  "usb_set_interface failed -110" error. Sometimes this bug can be
  recreated by manually disconnecting and reconnecting the device,
  however I was unable to replicate it in this manner at the time of
  filing the bug.

  EDIT: Ignore the two more issue below, however I'm leaving them in the
  post in case they end up being relevant.

  Another (presumably related) issue I am having is that if I reconnect
  the device and it doesn't fail, it outputs very crackly audio, as if
  the bitrate or sample rate were set incorrectly. This persists until a
  restart of pulseaudio. Previously, I had a similar bug where it would
  randomly start doing the crackly audio thing until reconnecting the
  device and in this case a restart of pulse did *not* fix the problem.
  I am unsure if this issue still happens as it was fairly rare.

  The third problem is that sometimes when performing a suspend/wake
  cycle, the interface will power cycle several times, in intervals of
  15-30 seconds or so before staying on properly.

  As previously mentioned, these issues are fairly new and did not occur
  in older versions of ubuntu. I have confirmed that the audio interface
  works fine under windows.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  Uname: Linux 5.4.0-29-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sun May 10 14:09:28 2020
  InstallationDate: Installed on 2020-05-08 (2 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_Card: USB-Audio - microKEY-37
  Symptom_PulseAudioLog:

  Symptom_Type: Sound works for a while, then breaks
  Title: [USB-Audio - Scarlett 2i2 USB, playback] fails after a while
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/19/2018
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P5.40
  dmi.board.name: AB350 Gaming K4
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP5.40:bd12/19/2018:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnAB350GamingK4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.
  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2020-05-08 (2 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  IwConfig:
   enp37s0   no wireless extensions.

   lo        no wireless extensions.
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  Package: linux (not installed)
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-29-generic 
root=UUID=6108192f-9dc3-480d-9a32-517609064dcd ro rootflags=subvol=@ quiet 
splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-29-generic N/A
   linux-backports-modules-5.4.0-29-generic  N/A
   linux-firmware                            1.187
  RfKill:

  Tags:  focal
  Uname: Linux 5.4.0-29-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: sudo
  WifiSyslog:

  _MarkForUpload: True
  dmi.bios.date: 12/19/2018
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P5.40
  dmi.board.name: AB350 Gaming K4
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP5.40:bd12/19/2018:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnAB350GamingK4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1877887/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to