Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware 2128 not working with 2i2 4G #23

Open
Bert636 opened this issue Oct 6, 2024 · 7 comments
Open

Firmware 2128 not working with 2i2 4G #23

Bert636 opened this issue Oct 6, 2024 · 7 comments

Comments

@Bert636
Copy link

Bert636 commented Oct 6, 2024

I upgraded a new fourth generation 2i2 to Firmware version 2128 using "scarlett2 update". Scarlett2 did not report any errors. The 2i2 unit lost the light-up volume indicator on input 1, and audacity showed no signal coming from either channel. I downgraded using "scarlett2 erase-firmware" and the unit regained functionality. The issue is repeatable: I can upgrade and lose functionality, then downgrade to restore functionality. I am running Ubuntu 24.04.1 LTS, kernel 6.8.0-45-generic. The upgraded 2i2 is also non-functional with Ubuntu 22.04.5 LTS. The problem seems to be with the firmware and not with the installer, because updating the firmware on the 2i2 using an Apple computer then returning the 2i2 to the linux computer results in the same behavior.

@geoffreybennett
Copy link
Owner

How strange! When it's in the not-working state, could you provide the output of dmesg | grep -A 5 -B 5 -i scarlett and get a dump of the config: alsactl store Gen -f /tmp/scarlett.state and upload that here. I'm wondering if the issue is a bogus config that alsa is loading when you connect your 2i2. Do you have a file /var/lib/alsa/asound.state? If so, also try removing that file or moving it aside and unplugging/replugging your interface.

@Bert636
Copy link
Author

Bert636 commented Oct 6, 2024

sudo dmesg | grep -A 5 -B 5 -i scarlett

[ 1.919549] usb 1-3.1: New USB device found, idVendor=05ac, idProduct=820a, bcdDevice= 1.00
[ 1.919567] usb 1-3.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.031621] usb 1-7: new high-speed USB device number 7 using xhci_hcd
[ 2.158500] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 2.158533] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 2.158540] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 2.158545] usb 1-7: Manufacturer: Focusrite
[ 2.158549] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 2.180399] hid: raw HID events driver (C) Jiri Kosina
[ 2.190093] usbcore: registered new interface driver usbhid
[ 2.190099] usbhid: USB HID core driver

[ 6.012710] usb 1-3.2: USB disconnect, device number 8
[ 6.026305] intel_rapl_common: Found RAPL domain package
[ 6.026313] intel_rapl_common: Found RAPL domain core
[ 6.026314] intel_rapl_common: Found RAPL domain uncore
[ 6.026316] intel_rapl_common: Found RAPL domain dram
[ 7.139719] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 7.139937] usb 1-7: Firmware version 1999
[ 7.140522] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[ 7.140865] usbcore: registered new interface driver snd-usb-audio
[ 7.356747] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.356756] Bluetooth: BNEP filters: protocol multicast
[ 7.356762] Bluetooth: BNEP socket layer initialized
[ 7.372636] Bluetooth: MGMT ver 1.22

[ 586.823755] usb 1-7: device descriptor read/64, error -71
[ 587.046743] usb 1-7: device descriptor read/64, error -71
[ 588.440704] usb 1-7: new high-speed USB device number 12 using xhci_hcd
[ 588.567202] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 588.567220] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 588.567227] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 588.567232] usb 1-7: Manufacturer: Focusrite
[ 588.567236] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 590.074739] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 590.075009] usb 1-7: Firmware version 2128
[ 694.114786] usb 1-7: USB disconnect, device number 12
[ 695.265598] usb 1-7: new high-speed USB device number 13 using xhci_hcd
[ 695.379690] usb 1-7: device descriptor read/64, error -71
[ 695.601612] usb 1-7: device descriptor read/64, error -71
[ 696.996607] usb 1-7: new high-speed USB device number 15 using xhci_hcd
[ 697.122984] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 697.123001] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 697.123007] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 697.123012] usb 1-7: Manufacturer: Focusrite
[ 697.123017] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 698.629437] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 698.629723] usb 1-7: Firmware version 1999
[ 698.630366] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[ 1491.119097] warning: `kioslave5' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[ 1491.571995] audit: type=1400 audit(1728172757.696:198): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/proc/9473/maps" pid=9473 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1915.327365] usb 1-7: USB disconnect, device number 15
[ 1916.476626] usb 1-7: new high-speed USB device number 16 using xhci_hcd
[ 1916.590716] usb 1-7: device descriptor read/64, error -71
[ 1916.810709] usb 1-7: device descriptor read/64, error -71
[ 1918.202618] usb 1-7: new high-speed USB device number 18 using xhci_hcd
[ 1918.329157] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 1918.329175] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 1918.329181] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 1918.329186] usb 1-7: Manufacturer: Focusrite
[ 1918.329191] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 1919.836347] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 1919.836883] usb 1-7: Firmware version 2128
[ 1938.035585] usb 1-7: USB disconnect, device number 18
[ 1939.186823] usb 1-7: new high-speed USB device number 19 using xhci_hcd
[ 1939.301935] usb 1-7: device descriptor read/64, error -71
[ 1939.521897] usb 1-7: device descriptor read/64, error -71
[ 1940.924856] usb 1-7: new high-speed USB device number 21 using xhci_hcd
[ 1941.051360] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 1941.051378] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 1941.051385] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 1941.051390] usb 1-7: Manufacturer: Focusrite
[ 1941.051394] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 1942.556912] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 1942.557188] usb 1-7: Firmware version 1999
[ 1942.558047] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[ 3929.485830] usb 1-7: USB disconnect, device number 21
[ 3930.635633] usb 1-7: new high-speed USB device number 22 using xhci_hcd
[ 3930.749657] usb 1-7: device descriptor read/64, error -71
[ 3930.970639] usb 1-7: device descriptor read/64, error -71
[ 3932.370574] usb 1-7: new high-speed USB device number 24 using xhci_hcd
[ 3932.496999] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 3932.497013] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 3932.497018] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 3932.497022] usb 1-7: Manufacturer: Focusrite
[ 3932.497026] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 3934.017183] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 3934.017552] usb 1-7: Firmware version 2128
[ 4032.725719] usb 1-7: USB disconnect, device number 24
[ 4033.878838] usb 1-7: new high-speed USB device number 25 using xhci_hcd
[ 4033.992984] usb 1-7: device descriptor read/64, error -71
[ 4034.215829] usb 1-7: device descriptor read/64, error -71
[ 4035.616881] usb 1-7: new high-speed USB device number 27 using xhci_hcd
[ 4035.743416] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 4035.743434] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 4035.743441] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 4035.743446] usb 1-7: Manufacturer: Focusrite
[ 4035.743450] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 4037.262008] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 4037.262269] usb 1-7: Firmware version 1999
[ 4037.262922] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[ 7957.164277] usb 1-7: USB disconnect, device number 27
[ 8514.403425] usb 1-7: new high-speed USB device number 28 using xhci_hcd
[ 8514.529830] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 8514.529848] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 8514.529855] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 8514.529860] usb 1-7: Manufacturer: Focusrite
[ 8514.529865] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 8516.040210] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 8516.040653] usb 1-7: Firmware version 2128
[ 8569.917373] usb 1-7: USB disconnect, device number 28
[ 8571.068576] usb 1-7: new high-speed USB device number 29 using xhci_hcd
[ 8571.182223] usb 1-7: device descriptor read/64, error -71
[ 8571.399211] usb 1-7: device descriptor read/64, error -71
[ 8572.789071] usb 1-7: new high-speed USB device number 31 using xhci_hcd
[ 8572.915674] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 8572.915692] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 8572.915699] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 8572.915704] usb 1-7: Manufacturer: Focusrite
[ 8572.915708] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 8574.422310] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 8574.422570] usb 1-7: Firmware version 1999
[ 8574.423274] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[ 8593.397769] usb 1-7: USB disconnect, device number 31
[ 8607.613690] usb 1-7: new high-speed USB device number 32 using xhci_hcd
[ 8607.740212] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 8607.740230] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 8607.740237] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 8607.740242] usb 1-7: Manufacturer: Focusrite
[ 8607.740246] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 8609.249510] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 8609.249894] usb 1-7: Firmware version 1999
[ 8609.250722] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[ 8780.275048] audit: type=1400 audit(1728180046.713:199): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firmware-updater" name="/proc/14239/maps" pid=14239 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 8780.467007] audit: type=1400 audit(1728180046.905:200): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=14219 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 8781.350931] perf: interrupt took too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
[ 8844.417280] usb 1-7: USB disconnect, device number 32
[ 9049.968169] usb 1-7: new high-speed USB device number 33 using xhci_hcd
[ 9050.094543] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 9050.094554] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 9050.094558] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 9050.094561] usb 1-7: Manufacturer: Focusrite
[ 9050.094563] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 9051.617249] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 9051.617456] usb 1-7: Firmware version 2128
[ 9123.689205] usb 1-7: USB disconnect, device number 33
[ 9124.840190] usb 1-7: new high-speed USB device number 34 using xhci_hcd
[ 9124.954093] usb 1-7: device descriptor read/64, error -71
[ 9125.176096] usb 1-7: device descriptor read/64, error -71
[ 9126.567045] usb 1-7: new high-speed USB device number 36 using xhci_hcd
[ 9126.693545] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 9126.693562] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 9126.693569] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 9126.693574] usb 1-7: Manufacturer: Focusrite
[ 9126.693578] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 9128.199246] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 9128.199538] usb 1-7: Firmware version 1999
[ 9128.200329] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[ 9305.883313] usb 1-7: USB disconnect, device number 36
[ 9464.667530] usb 1-7: new high-speed USB device number 37 using xhci_hcd
[ 9464.793948] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 9464.793959] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 9464.793963] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 9464.793966] usb 1-7: Manufacturer: Focusrite
[ 9464.793969] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 9466.306151] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 9466.306359] usb 1-7: Firmware version 2128
[ 9466.716220] usb 1-7: Scarlett Gen 4 USB response result cmd 800000 was -71 expected 18
[ 9466.716898] usb 1-7: 2:0: usb_set_interface failed (-71)
[ 9466.721581] usb 1-7: uac_clock_source_is_valid(): cannot get clock validity for id 41
[ 9466.721585] usb 1-7: clock source 41 is not valid, cannot use
[ 9466.721827] usb 1-7: 1:1: cannot get freq (v2/v3): err -71
[ 9466.721947] usb 1-7: 1:1: cannot set freq 48000 (v2/v3): err -71

[ 9466.727948] usb 1-7: 1:1: cannot set freq 48000 (v2/v3): err -71
[ 9466.728685] usb 1-7: uac_clock_source_is_valid(): cannot get clock validity for id 41
[ 9466.728690] usb 1-7: clock source 41 is not valid, cannot use
[ 9466.728926] usb 1-7: 1:1: cannot get freq (v2/v3): err -71
[ 9466.729043] usb 1-7: 1:1: cannot set freq 48000 (v2/v3): err -71
[ 9472.311272] usb 1-7: Scarlett Gen 4 USB request result cmd 800000 was -110
[ 9477.943025] usb 1-7: Scarlett Gen 4 USB request result cmd 800000 was -110
[ 9546.036305] usb 1-7: Scarlett Gen 4 USB request result cmd 4002 was -110
[ 9664.815284] usb 1-7: Scarlett Gen 4 USB request result cmd 4002 was -110
[ 9697.581707] usb 1-7: Scarlett Gen 4 USB request result cmd 4002 was -110
[ 9716.012985] usb 1-7: Scarlett Gen 4 USB request result cmd 4002 was -110
[ 9738.540114] usb 1-7: Scarlett Gen 4 USB request result cmd 4002 was -110
[ 9741.809568] usb 1-7: USB disconnect, device number 37
[ 9746.823549] usb 1-7: new high-speed USB device number 38 using xhci_hcd
[ 9746.949995] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[ 9746.950013] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 9746.950019] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 9746.950025] usb 1-7: Manufacturer: Focusrite
[ 9746.950029] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 9748.460210] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 9748.460772] usb 1-7: Firmware version 2128
[ 9756.935291] usb 1-7: USB disconnect, device number 38
[ 9758.086043] usb 1-7: new high-speed USB device number 39 using xhci_hcd
[ 9758.200012] usb 1-7: device descriptor read/64, error -71
[ 9758.421094] usb 1-7: device descriptor read/64, error -71
[ 9759.813992] usb 1-7: new high-speed USB device number 41 using xhci_hcd
[ 9759.940451] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 7.cf
[ 9759.940469] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 9759.940475] usb 1-7: Product: Scarlett 2i2 4th Gen
[ 9759.940480] usb 1-7: Manufacturer: Focusrite
[ 9759.940485] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[ 9761.445834] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[ 9761.446154] usb 1-7: Firmware version 1999
[ 9761.446818] usb 1-7: Focusrite Scarlett Gen 4 firmware version 1999 is too old; need 2115
[10783.895564] perf: interrupt took too long (3142 > 3132), lowering kernel.perf_event_max_sample_rate to 63000
[14914.297087] perf: interrupt took too long (3955 > 3927), lowering kernel.perf_event_max_sample_rate to 50000
[19533.257260] audit: type=1400 audit(1728190800.156:201): apparmor="DENIED" operation="capable" class="cap" profile="/usr/sbin/cupsd" pid=18618 comm="cupsd" capability=12 capname="net_admin"
[19579.700466] audit: type=1400 audit(1728190846.601:202): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firmware-updater" name="/proc/18707/maps" pid=18707 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[19579.751926] audit: type=1400 audit(1728190846.652:203): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=18693 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[78517.993397] usb 1-7: device descriptor read/64, error -71
[78518.210402] usb 1-7: device descriptor read/64, error -71
[78519.607191] usb 1-7: new high-speed USB device number 44 using xhci_hcd
[78519.733801] usb 1-7: New USB device found, idVendor=1235, idProduct=8219, bcdDevice= 8.50
[78519.733820] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[78519.733826] usb 1-7: Product: Scarlett 2i2 4th Gen
[78519.733831] usb 1-7: Manufacturer: Focusrite
[78519.733836] usb 1-7: SerialNumber: S2CYBZQ3A9380E
[78521.238936] usb 1-7: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8219); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues
[78521.239276] usb 1-7: Firmware version 2128

@Bert636
Copy link
Author

Bert636 commented Oct 6, 2024

state.Gen {
control.1 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.2 {
iface PCM
name 'Capture Channel Map'
value.0 0
value.1 0
value.2 0
value.3 0
comment {
access read
type INTEGER
count 4
range '0 - 36'
}
}
control.3 {
iface CARD
name 'USB Internal Validity'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.4 {
iface CARD
name 'Firmware Version'
value 2128
comment {
access read
type INTEGER
count 1
range '0 - 0'
}
}
control.5 {
iface CARD
name 'Minimum Firmware Version'
value 2115
comment {
access read
type INTEGER
count 1
range '0 - 0'
}
}
control.6 {
iface MIXER
name 'Line In 1 Level Capture Enum'
value Inst
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Line
item.1 Inst
}
}
control.7 {
iface MIXER
name 'Line In 2 Level Capture Enum'
value Inst
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Line
item.1 Inst
}
}
control.8 {
iface MIXER
name 'Line In 1 Air Capture Enum'
value Off
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 Presence
item.2 'Presence + Drive'
}
}
control.9 {
iface MIXER
name 'Line In 2 Air Capture Enum'
value Off
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 Presence
item.2 'Presence + Drive'
}
}
control.10 {
iface MIXER
name 'Line In 1-2 Phantom Power Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.11 {
iface MIXER
name 'Input Select Capture Enum'
value 'Input 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Input 1'
item.1 'Input 2'
}
}
control.12 {
iface MIXER
name 'Line In 1 Gain Capture Volume'
value 7
comment {
access 'read write'
type INTEGER
count 1
range '0 - 70 (step 1)'
dbmin 0
dbmax 6900
dbvalue.0 690
}
}
control.13 {
iface MIXER
name 'Line In 1 Autogain Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.14 {
iface MIXER
name 'Line In 1 Autogain Status Capture Enum'
value Success
comment {
access read
type ENUMERATED
count 1
item.0 Running
item.1 Success
item.2 SuccessDRover
item.3 WarnMinGainLimit
item.4 FailDRunder
item.5 FailMaxGainLimit
item.6 FailClipped
item.7 Cancelled
item.8 Invalid
}
}
control.15 {
iface MIXER
name 'Line In 1 Safe Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.16 {
iface MIXER
name 'Line In 1-2 Link Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.17 {
iface MIXER
name 'Line In 2 Gain Capture Volume'
value 9
comment {
access 'read write'
type INTEGER
count 1
range '0 - 70 (step 1)'
dbmin 0
dbmax 6900
dbvalue.0 887
}
}
control.18 {
iface MIXER
name 'Line In 2 Autogain Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.19 {
iface MIXER
name 'Line In 2 Autogain Status Capture Enum'
value Success
comment {
access read
type ENUMERATED
count 1
item.0 Running
item.1 Success
item.2 SuccessDRover
item.3 WarnMinGainLimit
item.4 FailDRunder
item.5 FailMaxGainLimit
item.6 FailClipped
item.7 Cancelled
item.8 Invalid
}
}
control.20 {
iface MIXER
name 'Line In 2 Safe Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.21 {
iface MIXER
name 'Analogue Output 01 Playback Enum'
value 'Mix A'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.22 {
iface MIXER
name 'Analogue Output 02 Playback Enum'
value 'Mix B'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.23 {
iface MIXER
name 'Mixer Input 01 Capture Enum'
value 'PCM 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.24 {
iface MIXER
name 'Mixer Input 02 Capture Enum'
value 'PCM 2'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.25 {
iface MIXER
name 'Mixer Input 03 Capture Enum'
value 'DSP 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.26 {
iface MIXER
name 'Mixer Input 04 Capture Enum'
value 'DSP 2'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.27 {
iface MIXER
name 'DSP Input 1 Capture Enum'
value Off
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.28 {
iface MIXER
name 'DSP Input 2 Capture Enum'
value 'Analogue 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.29 {
iface MIXER
name 'PCM 01 Capture Enum'
value 'Mix D'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.30 {
iface MIXER
name 'PCM 02 Capture Enum'
value 'DSP 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.31 {
iface MIXER
name 'PCM 03 Capture Enum'
value 'Mix C'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.32 {
iface MIXER
name 'PCM 04 Capture Enum'
value 'Mix D'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 'Analogue 1'
item.2 'Analogue 2'
item.3 'Mix A'
item.4 'Mix B'
item.5 'Mix C'
item.6 'Mix D'
item.7 'DSP 1'
item.8 'DSP 2'
item.9 'PCM 1'
item.10 'PCM 2'
}
}
control.33 {
iface MIXER
name 'Mix A Input 01 Playback Volume'
value 150
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -500
}
}
control.34 {
iface MIXER
name 'Mix A Input 02 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.35 {
iface MIXER
name 'Mix A Input 03 Playback Volume'
value 160
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 0
}
}
control.36 {
iface MIXER
name 'Mix A Input 04 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.37 {
iface MIXER
name 'Mix B Input 01 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.38 {
iface MIXER
name 'Mix B Input 02 Playback Volume'
value 150
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -500
}
}
control.39 {
iface MIXER
name 'Mix B Input 03 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.40 {
iface MIXER
name 'Mix B Input 04 Playback Volume'
value 160
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 0
}
}
control.41 {
iface MIXER
name 'Mix C Input 01 Playback Volume'
value 160
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 0
}
}
control.42 {
iface MIXER
name 'Mix C Input 02 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.43 {
iface MIXER
name 'Mix C Input 03 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.44 {
iface MIXER
name 'Mix C Input 04 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.45 {
iface MIXER
name 'Mix D Input 01 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.46 {
iface MIXER
name 'Mix D Input 02 Playback Volume'
value 160
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 0
}
}
control.47 {
iface MIXER
name 'Mix D Input 03 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.48 {
iface MIXER
name 'Mix D Input 04 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.49 {
iface PCM
name 'Level Meter'
value.0 0
value.1 0
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
value.8 0
value.9 0
value.10 0
value.11 0
comment {
access 'read volatile'
type INTEGER
count 12
range '0 - 4095 (step 1)'
}
}
control.50 {
iface MIXER
name 'Sync Status'
value Locked
comment {
access read
type ENUMERATED
count 1
item.0 Unlocked
item.1 Locked
}
}
control.51 {
iface MIXER
name 'Direct Monitor Playback Enum'
value Stereo
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Off
item.1 Mono
item.2 Stereo
}
}
control.52 {
iface MIXER
name 'Monitor 1 Mix A Input 01 Playback Volume'
value 150
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -500
}
}
control.53 {
iface MIXER
name 'Monitor 1 Mix A Input 02 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.54 {
iface MIXER
name 'Monitor 1 Mix A Input 03 Playback Volume'
value 154
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -300
}
}
control.55 {
iface MIXER
name 'Monitor 1 Mix A Input 04 Playback Volume'
value 154
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -300
}
}
control.56 {
iface MIXER
name 'Monitor 1 Mix B Input 01 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.57 {
iface MIXER
name 'Monitor 1 Mix B Input 02 Playback Volume'
value 150
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -500
}
}
control.58 {
iface MIXER
name 'Monitor 1 Mix B Input 03 Playback Volume'
value 154
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -300
}
}
control.59 {
iface MIXER
name 'Monitor 1 Mix B Input 04 Playback Volume'
value 154
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -300
}
}
control.60 {
iface MIXER
name 'Monitor 2 Mix A Input 01 Playback Volume'
value 150
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -500
}
}
control.61 {
iface MIXER
name 'Monitor 2 Mix A Input 02 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.62 {
iface MIXER
name 'Monitor 2 Mix A Input 03 Playback Volume'
value 160
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 0
}
}
control.63 {
iface MIXER
name 'Monitor 2 Mix A Input 04 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.64 {
iface MIXER
name 'Monitor 2 Mix B Input 01 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.65 {
iface MIXER
name 'Monitor 2 Mix B Input 02 Playback Volume'
value 150
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -500
}
}
control.66 {
iface MIXER
name 'Monitor 2 Mix B Input 03 Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 -8000
}
}
control.67 {
iface MIXER
name 'Monitor 2 Mix B Input 04 Playback Volume'
value 160
comment {
access 'read write'
type INTEGER
count 1
range '0 - 172 (step 1)'
dbmin -8000
dbmax 600
dbvalue.0 0
}
}
}

@Bert636
Copy link
Author

Bert636 commented Oct 6, 2024

I do have an /var/lib/alsa/asound.state. I tried moving it as you suggested - no change.

@geoffreybennett
Copy link
Owner

geoffreybennett commented Oct 7, 2024

Okay, that config you've got there will make things not work. I'm guessing that config is also in your asound.state file and being automatically reloaded by ALSA whenever you plug your interface in. The older Scarlett firmware version is only supported by the kernel driver for firmware updates, so ALSA doesn't have a chance to break things when you have the factory firmware loaded.

This procedure should fix your issues: after making sure the /var/lib/alsa/asound.state file is gone, run scarlett2 reset-config. Let me know what happens then. If it's still not working, please do alsactl store again and upload here (use the github file upload thing rather than pasting into a comment — you may need to gzip the file or call it something.txt).

FYI, this is the routing config you've got there, as shown by alsa-scarlett-gui:

image

It should be looking more like this:

image

(note DSP Inputs 1/2 and PCM Inputs 1/2 connected wrong in yours compared to what it should be)

@Bert636
Copy link
Author

Bert636 commented Oct 8, 2024

Thanks for the help. I reset the config and re-updated the firmware and it all works. The alsa gui is now also working and I have unplugged and replugged the 2i2 with nothing breaking. The /var/lib/alsa/asound.state file did not reappear. I also tested it on a different linux machine without changing anything on that machine, and it now works.

I wish I could explain with certainty how I messed this up in the first place so others could be warned, but I am not sure. I had first attempted to update the firmware using the debian package, then later installed the scarlett2 utility. I would imagine I somehow messed it up in the debian attempt.

The play-by-play on the eventual fix:

scarlett2 reset-config
Selected device Scarlett 4th Gen 2i2
Resetting to default configuration...
Erase progress: Done!
Rebooting interface...
scarlett2
Found 1 supported device:
card1: Scarlett 4th Gen 2i2 (firmware 1999, update to 2128 available)
scarlett2 update
Selected device Scarlett 4th Gen 2i2
Found firmware version 2128 for Scarlett 4th Gen 2i2:
/usr/lib/firmware/scarlett2/scarlett2-1235-8219-2128.bin
Updating Scarlett 4th Gen 2i2 from firmware version 1999 to 2128
Resetting to default configuration...
Erase progress: Done!
Erasing upgrade firmware...
Erase progress: Done!
Firmware write progress: Done!
Rebooting interface...

@geoffreybennett
Copy link
Owner

That's great news, thanks for reporting back!

Watch out for that asound.state being created again if you shut your system down while the device is plugged in; whatever config is on the device then will again be restored every time you connect your interface. Masking the systemd alsa-state service should prevent this from happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants