bluebell wrote: ↑Sun Apr 16, 2023 7:28 am
Then I guess it's no hardware problem.
It may be a issue with USB power management.
See https://www.kernel.org/doc/html/v4.16/d ... ement.html
Try plugging your Scarlett out, then
Code: Select all
sudo echo -1 > /sys/module/usbcore/parameters/autosuspend
and plugging it back in.
If that helps then you can make it permanent by adding configuration file in /etc/modprobe.d with a line saying
For others who might encounter the same problem: It turned out t be a bit more complicated to make it permanent. Under Pop! OS 22.04 LTS -- and presumably Ubuntu 22.04 LTS -- usbcore is not built as a separate module, but, rather baked into the kernel. So, adding the option in a /etc/modprobe.d/ file is ignored.
The documentation suggests that adding it as a grub boot option is the thing to do. But possibilities there include /boot/grub/grub.cfg -- which has a comment saying "Don't" -- and /etc/default/grub. I suppose that might have worked but...
Other documentation suggests that editing /etc/kernelstub/configuration is the right thing to do. One might think that setting the preferred default kernel options in the stanza "kernel options" nested under "default" would be the logical and obvious thing to do. But no. It was completely ignored.
The thing that fiinally worked was adding "usbcore.autosuspend=-1" in the "kernel options" stanza nested under "user". This can be accomplished with the command:
Code: Select all
sudo kernelstub -a "usbcore.autosuspend=-1"
The end result (in my case) looks like:
Code: Select all
{
"default": {
"kernel_options": [
"quiet",
"splash"
],
"esp_path": "/boot/efi",
"setup_loader": false,
"manage_mode": false,
"force_update": false,
"live_mode": false,
"config_rev": 3
},
"user": {
"kernel_options": [
"quiet",
"loglevel=0",
"systemd.show_status=false",
"splash",
"usbcore.autosuspend=-1"
],
"esp_path": "/boot/efi",
"setup_loader": true,
"manage_mode": true,
"force_update": false,
"live_mode": false,
"config_rev": 3
}
}