geoffreybennett / scarlett-gen2

Linux kernel source tree with additional Focusrite Scarlett and Clarett support ("Scarlett2 USB Protocol Mixer Driver")
196 stars 6 forks source link

Sometimes it fails to initialize, kernel 6.9.2, firmware 2128 #15

Open joaoantoniocardoso opened 4 months ago

joaoantoniocardoso commented 4 months ago

Sometimes it fails to initialize, kernel 6.9.2, firmware 2128

uname -a:

Linux archmkrd 6.9.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000 x86_64 GNU/Linux

dmesg:

[ 5065.112607] usb 3-4.1.1: new high-speed USB device number 19 using xhci_hcd
[ 5065.204478] usb 3-4.1.1: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 5065.204488] usb 3-4.1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 5065.204492] usb 3-4.1.1: Product: Scarlett 2i2 4th Gen
[ 5065.204495] usb 3-4.1.1: Manufacturer: Focusrite
[ 5065.204498] usb 3-4.1.1: SerialNumber: S283AD4371469B
[ 5066.856576] usb 3-4.1.1: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 5066.857977] usb 3-4.1.1: Firmware version 2128
[ 5066.862321] usb 3-4.1.1: Scarlett Gen 4 USB response result cmd 800000 was -71 expected 18
[ 5066.862329] usb 3-4.1.1: Error initialising Scarlett Gen 4 Mixer Driver: -22
[ 5066.862776] snd-usb-audio 3-4.1.1:1.0: probe with driver snd-usb-audio failed with error -22

This is not a critical issue, I can just unplug and plug it again and it seems to be fine:

dmesg:

[ 5082.518954] usb 3-4.1.1: new high-speed USB device number 20 using xhci_hcd
[ 5082.630736] usb 3-4.1.1: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 5082.630746] usb 3-4.1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 5082.630751] usb 3-4.1.1: Product: Scarlett 2i2 4th Gen
[ 5082.630754] usb 3-4.1.1: Manufacturer: Focusrite
[ 5082.630757] usb 3-4.1.1: SerialNumber: S283AD4371469B
[ 5084.265196] usb 3-4.1.1: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 5084.266672] usb 3-4.1.1: Firmware version 2128

thanks!

geoffreybennett commented 4 months ago

Hi @joaoantoniocardoso,

I found the same thing too and wasn't able to reliably reproduce it, but I think I found a fix anyway. How often does it happen for you? Can you make it happen intentionally?

Please try the "6.10 backport plus Vocaster support (v1.3)" version of the driver from here: https://github.com/geoffreybennett/scarlett-gen2/releases/tag/v6.9-v1.3 and let me know if that helps or not. Possibly we can get this fix backported to stable kernels if you can confirm that it fixes the problem.

Thanks, Geoffrey.

arnd-s commented 3 months ago

I had the same problem and tried the mentioned backport. It happened roughly every second boot. The problem never occured since installing the "6.10 backport plus Vocaster support (v1.3)" driver

Kernel 6.8.11-1kali2 FW Version 1605

geoffreybennett commented 3 months ago

@arnd-s that's great news! Thank you very much for the confirmation.

joaoantoniocardoso commented 2 months ago

Hi,

I didn't apply that patch, but it seems to behave much better now in kernel 6.9.10-arch1-1.