Anyone's (Focusrite Scarlett Solo 3rd Gen) Interface's output randomly going silent in GNU/LINUX?

For all other computers and operating systems, including Atari, Linux and mobile apps.
Post Reply

Anyone's (Focusrite Scarlett Solo 3rd Gen) Interface's output randomly going silent in GNU/LINUX?

Post by dfira »

The problem:
  • It seems to go silent right when some kind of event happens (often, but not always), like a play/pause or loop reset.

    Every application, Pulseaudio and JACK etc still show audio flowing in the meters.

    Recording INPUT is fine, no problems. Only sound to the output is silent.

    Hitting direct monitoring lets me hear my microphone, so the physical audio outs are fine.

    I need to trigger it one way or another to get sound to output again
Here's what I've tried:
  • Changing the cable

    Changing the USB port

    Changing the kernel (I have not tried it on a machine other than Linux)

    Disabling USB autosuspend

Here are the triggers to get it to work again:

  • Have another app request access to the output (But important, must close down the current audio stream first)

    This script:

    Code: Select all

    #!/usr/bin/bash
    SEARCH="Focusrite-Novation" 
    DEVICE=$(lsusb | grep ${SEARCH} | awk '{print "/dev/bus/usb/"$2"/"$4}' | sed 's/://')
    sudo python3 << EOT
    import fcntl, sys, os, subprocess
    USBDEVFS_RESET = ord('U') << (4*2) | 20
    fd = os.open('${DEVICE}', os.O_WRONLY)
    if fd < 0: sys.exit(1)
    fcntl.ioctl(fd, USBDEVFS_RESET, 0)
    os.close(fd)
    sys.exit(0)
    EOT
    
    Plugging in the cable again
The triggering will exhibit some kind of digital scratch/click/pop sound and that's how I know things are good again.

Any ideas?
Last edited by dfira on Sun Apr 04, 2021 6:47 pm, edited 2 times in total.
dfira
Poster
Posts: 81 Joined: Tue Nov 03, 2020 2:56 pm
Post Reply