You are not logged in.

#1 2022-12-31 14:16:21

Wenders
Member
From: Slovakia
Registered: 2022-12-31
Posts: 3

Focusrite Scarrlet 2i4 goes silent, then mouse stops working

Hello,
I have a problem regarding my external sound card Focusrite Scarrlet 2i4 . I haven't used my desktop for quite a long while now, about half a year. Few days ago I booted perfectly fine and updated + updated archlinux-keyring .
I was watching a YouTube video when out of the sudden the audio went silent. The device still was on ( LEDs were on ) and lsusb showed that it was in fact connected.

 $ lsusb
    Bus 001 Device 003: ID 1bcf:0053 Sunplus Innovation Technology Inc. USB Optical Mouse
    Bus 002 Device 003: ID 1235:8200 Focusrite-Novation Scarlett 2i4 USB
    ... 

So I thought just unplugging and plugging back the USB might fix it. Which it did. But my mouse stopped working! neutral  Even lsusb didn't show the mouse connected anymore!

I replugged the mouse. Didn't fix it. Rebooted. Fixed it. But again sound was silent. Plus mouse started "freezing" every couple of seconds for just a short moment. And then after few minutes again stopped working. So I searched a similar issue on google for a few hours.
Someone had a similar issue with autosuspend on. So I blacklisted both mouse and the sound card for autosuspend.
/etc/udev/rules.d/50-usb_power_save.rules :

#blacklist for usb autosuspend
# Mouse                                                  
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1bcf", ATTR{idProduct}=="0053"
# Sound card
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1235", ATTR{idProduct}=="8200"

Turns out that this wasn't my issue. So I tried switching to LTS kernel. Also didn't fix it. I looked up dmesg before and  after replugging the mouse. I tried plugging it to a different USB port and it worked.

I was so exausted that I just turned off my computer and went to sleep. So that was yesterday. This morning I started my pc and everything was fine again. The sound card was working and the mouse was working too. After an hour of music playing the sound went silent again. And I'm not even going to try unplugging it because I need my mouse!

Please if someone had something similar happen to them, give me some tips on how to fix it. I'm currently running on

$ uname -r
  5.15.85-1-lts

Edit:
#1 Cables on both the sound card and the mouse are working. I had a thought for a brief second if bad PC grounding wouldn't cause these issues. Don't know.
#2 The audio shows up on pavucontrol monitor playing, just the sound isn't coming out.

Last edited by Wenders (2022-12-31 18:37:13)


When an old man dies a library burns to the ground

Offline

#2 2022-12-31 17:38:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,653

Re: Focusrite Scarrlet 2i4 goes silent, then mouse stops working

And, what is the output of pacman -Q linux-lts   ?
BTW, this is purely a sanity check because you are running the latest LTS kernel

Any interesting messages about the situation in the journal?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2022-12-31 18:29:13

Wenders
Member
From: Slovakia
Registered: 2022-12-31
Posts: 3

Re: Focusrite Scarrlet 2i4 goes silent, then mouse stops working

Thanks for the reply!

$ pacman -Q linux-lts
    linux-lts 5.15.85-1

Since 22/12/29 I rebooted totally 14 times ( 15 including the first bootup ) so there's a lot to lookup in the journal.
But just skimming through yesterdays journal around 6pm ( that's the time I was fighting with the mouse ) there are few interesting entries

At 5:40pm:

Dec 30 17:39:59 archdesktop pulseaudio[499]: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Dec 30 17:39:59 archdesktop pulseaudio[499]: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Dec 30 17:39:59 archdesktop pulseaudio[499]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Dec 30 17:40:10 archdesktop rtkit-daemon[698]: Supervising 2 threads of 2 processes of 1 users.
Dec 30 17:40:10 archdesktop rtkit-daemon[698]: Supervising 2 threads of 2 processes of 1 users.
Dec 30 17:40:19 archdesktop rtkit-daemon[698]: Supervising 2 threads of 2 processes of 1 users.
Dec 30 17:40:19 archdesktop rtkit-daemon[698]: Supervising 2 threads of 2 processes of 1 users.
Dec 30 17:40:45 archdesktop dbus-daemon[466]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.37' (uid=0 pi>
Dec 30 17:40:45 archdesktop dbus-daemon[466]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Dec 30 17:40:45 archdesktop sudo[1440]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Dec 30 17:40:45 archdesktop audit[1440]: USER_ACCT pid=1440 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="wenders" exe="/usr/bin/sudo" hostnam>
Dec 30 17:40:45 archdesktop kernel: audit: type=1101 audit(1672418445.439:92): pid=1440 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="wenders">
Dec 30 17:40:45 archdesktop systemd[492]: Starting Sound Service...
Dec 30 17:40:45 archdesktop pulseaudio[1445]: Failed to open cookie file '/home/wenders/.config/pulse/cookie': No such file or directory
Dec 30 17:40:45 archdesktop pulseaudio[1445]: Failed to load authentication key '/home/wenders/.config/pulse/cookie': No such file or directory

This repeats a couple of times. Then I suppose I replugged the sound card and after that comes this at 5:52pm:

Dec 30 17:52:45 archdesktop kernel: usb 2-1-port3: disabled by hub (EMI?), re-enabling...
Dec 30 17:52:45 archdesktop kernel: usb 2-1.3: USB disconnect, device number 6
Dec 30 17:52:46 archdesktop kernel: usb 2-1.3: new low-speed USB device number 7 using ehci-pci
Dec 30 17:52:46 archdesktop kernel: usb 2-1.3: New USB device found, idVendor=1bcf, idProduct=0053, bcdDevice= 0.72
Dec 30 17:52:46 archdesktop kernel: usb 2-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Dec 30 17:52:46 archdesktop kernel: usb 2-1.3: Product: USB Optical Mouse 
Dec 30 17:52:46 archdesktop kernel: input: USB Optical Mouse  Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:1BCF:0053.0005/input/input20
Dec 30 17:52:46 archdesktop kernel: input: USB Optical Mouse  Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:1BCF:0053.0005/input/input21
Dec 30 17:52:46 archdesktop kernel: hid-generic 0003:1BCF:0053.0005: input,hidraw2: USB HID v1.10 Keyboard [USB Optical Mouse ] on usb-0000:00:1d.0-1.3/input0
Dec 30 17:52:46 archdesktop systemd-logind[467]: Watching system buttons on /dev/input/event5 (USB Optical Mouse  Keyboard)

This block of messages just goes on and on, again and again. I don't know if it's relevant, just looks weird.
If you'd like me to search for specific messages. please let me know.

Edit:
#1 I completely shut off the computer, then turned off the extension cord and waited a minute or so. After booting up everything works. I wouldn't call that solved though as it happens randomly.

#2 Then also this is interesting

Dec 30 18:05:09 archdesktop kernel: usb 2-1-port3: disabled by hub (EMI?), re-enabling...
Dec 30 18:05:09 archdesktop kernel: usb 2-1.3: USB disconnect, device number 34
Dec 30 18:05:10 archdesktop kernel: usb 2-1.3: new low-speed USB device number 35 using ehci-pci
Dec 30 18:05:10 archdesktop kernel: usb 2-1.3: device descriptor read/64, error -32
Dec 30 18:05:10 archdesktop kernel: usb 2-1.3: device descriptor read/64, error -32
Dec 30 18:05:10 archdesktop kernel: usb 2-1.3: new low-speed USB device number 36 using ehci-pci
Dec 30 18:05:11 archdesktop kernel: usb 2-1.3: device not accepting address 36, error -32
Dec 30 18:05:11 archdesktop kernel: usb 2-1-port3: attempt power cycle
Dec 30 18:05:12 archdesktop kernel: usb 2-1.3: new low-speed USB device number 38 using ehci-pci
Dec 30 18:05:12 archdesktop kernel: usb 2-1.3: device descriptor read/8, error -32
Dec 30 18:05:12 archdesktop kernel: usb 2-1.3: device descriptor read/8, error -32
Dec 30 18:05:12 archdesktop pulseaudio[1724]: Got POLLNVAL from ALSA
Dec 30 18:05:12 archdesktop kernel: usb 2-1-port3: unable to enumerate USB device
Dec 30 18:05:12 archdesktop kernel: usb 2-1.4: USB disconnect, device number 5
Dec 30 18:05:12 archdesktop pulseaudio[1724]: Got POLLNVAL from ALSA
Dec 30 18:05:13 archdesktop pulseaudio[1724]: Error opening PCM device _ucm0005.hw:USB: No such device
Dec 30 18:05:13 archdesktop pulseaudio[1724]: Error opening PCM device _ucm0005.hw:USB: No such device
Dec 30 18:05:17 archdesktop kernel: usb 2-1.3: new low-speed USB device number 40 using ehci-pci
Dec 30 18:05:18 archdesktop kernel: usb 2-1-port3: attempt power cycle
Dec 30 18:05:19 archdesktop kernel: usb 2-1.3: new low-speed USB device number 42 using ehci-pci
Dec 30 18:05:19 archdesktop kernel: usb 2-1.3: device descriptor read/8, error -32
Dec 30 18:05:19 archdesktop kernel: usb 2-1.3: device descriptor read/8, error -32
Dec 30 18:05:20 archdesktop kernel: usb 2-1-port3: unable to enumerate USB device
Dec 30 18:05:20 archdesktop kernel: usb 2-1.1: new high-speed USB device number 43 using ehci-pci
Dec 30 18:05:20 archdesktop kernel: usb 2-1.1: New USB device found, idVendor=1235, idProduct=8200, bcdDevice= 4.1b
Dec 30 18:05:20 archdesktop kernel: usb 2-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
Dec 30 18:05:20 archdesktop kernel: usb 2-1.1: Product: Scarlett 2i4 USB
Dec 30 18:05:20 archdesktop kernel: usb 2-1.1: Manufacturer: Focusrite

Wenders

Last edited by Wenders (2022-12-31 18:55:23)


When an old man dies a library burns to the ground

Offline

Board footer

Powered by FluxBB