Solid State Logic SSL2 - problems while playback

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

Post Reply
dpavlushko
Established Member
Posts: 3
Joined: Sun Jun 14, 2020 3:14 am

Solid State Logic SSL2 - problems while playback

Post by dpavlushko »

Recently I've bought an SSL2 usb interface. It works out of the box, only one problem it make clicks (every ~5 sec) while playing test file:

Code: Select all

> sox -V -r 192000 -n -b 24 -c 2 sin2-192kk.wav synth 30 sin 24
> play 192k.wav
I tested different buffer settings with no luck. Similar interface EVO4 and SoundBlusterX G6 works on that computer.
Also, I tested the interface on Mac and Windows - all good.

Any idea how to fix the issue, what else can I check/change?

Here is some alsa info:

Code: Select all

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.65
!!################################

!!Script ran on: Sun Jun 14 03:43:58 UTC 2020


!!Linux Distribution
!!------------------

DISTRIB_ID="Funtoo"


!!DMI Information
!!---------------

Manufacturer:      Dell Inc.
Product Name:      Precision Tower 3620
Product Version:   
Firmware Version:  2.13.1
Board Vendor:      Dell Inc.
Board Name:        09WH54


!!ACPI Device Status Information
!!---------------

/sys/bus/acpi/devices/ACPI000C:00/status 	 15
/sys/bus/acpi/devices/INT33A1:00/status 	 15
/sys/bus/acpi/devices/INT340E:00/status 	 15
/sys/bus/acpi/devices/INT3F0D:00/status 	 15
/sys/bus/acpi/devices/LNXPOWER:01/status 	 1
/sys/bus/acpi/devices/LNXPOWER:02/status 	 1
/sys/bus/acpi/devices/LNXPOWER:03/status 	 1
/sys/bus/acpi/devices/LNXPOWER:04/status 	 1
/sys/bus/acpi/devices/LNXPOWER:05/status 	 1
/sys/bus/acpi/devices/LNXPOWER:06/status 	 1
/sys/bus/acpi/devices/LNXPOWER:07/status 	 1
/sys/bus/acpi/devices/LNXPOWER:08/status 	 1
/sys/bus/acpi/devices/LNXPOWER:09/status 	 1
/sys/bus/acpi/devices/LNXPOWER:0a/status 	 1
/sys/bus/acpi/devices/LNXPOWER:0b/status 	 1
/sys/bus/acpi/devices/LNXPOWER:0c/status 	 1
/sys/bus/acpi/devices/LNXPOWER:0d/status 	 1
/sys/bus/acpi/devices/LNXPOWER:0e/status 	 1
/sys/bus/acpi/devices/LNXPOWER:0f/status 	 1
/sys/bus/acpi/devices/LNXPOWER:10/status 	 1
/sys/bus/acpi/devices/LNXPOWER:11/status 	 1
/sys/bus/acpi/devices/LNXPOWER:12/status 	 1
/sys/bus/acpi/devices/LNXPOWER:13/status 	 1
/sys/bus/acpi/devices/LNXPOWER:14/status 	 1
/sys/bus/acpi/devices/LNXPOWER:15/status 	 1
/sys/bus/acpi/devices/LNXPOWER:16/status 	 1
/sys/bus/acpi/devices/PNP0103:00/status 	 15
/sys/bus/acpi/devices/PNP0501:00/status 	 15
/sys/bus/acpi/devices/PNP0C02:02/status 	 15
/sys/bus/acpi/devices/PNP0C02:04/status 	 3
/sys/bus/acpi/devices/PNP0C02:06/status 	 3
/sys/bus/acpi/devices/PNP0C04:00/status 	 31
/sys/bus/acpi/devices/PNP0C0C:00/status 	 15
/sys/bus/acpi/devices/PNP0C0E:00/status 	 11
/sys/bus/acpi/devices/PNP0C0F:00/status 	 11
/sys/bus/acpi/devices/PNP0C0F:01/status 	 11
/sys/bus/acpi/devices/PNP0C0F:02/status 	 11
/sys/bus/acpi/devices/PNP0C0F:03/status 	 11
/sys/bus/acpi/devices/PNP0C0F:04/status 	 11
/sys/bus/acpi/devices/PNP0C0F:05/status 	 11
/sys/bus/acpi/devices/PNP0C0F:06/status 	 11
/sys/bus/acpi/devices/PNP0C0F:07/status 	 11
/sys/bus/acpi/devices/device:68/status 	 15
/sys/bus/acpi/devices/device:77/status 	 11


!!Kernel Information
!!------------------

Kernel release:    5.7.1
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k5.7.1
Library version:    1.1.9
Utilities version:  1.1.9


!!Loaded ALSA modules
!!-------------------

snd_usb_audio
snd_usb_audio


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Webcam         ]: USB-Audio - C922 Pro Stream Webcam
                      C922 Pro Stream Webcam at usb-0000:00:14.0-3, high speed
 1 [S2             ]: USB-Audio - SSL 2
                      Solid State Logic SSL 2 at usb-0000:00:14.0-2, high speed


!!PCI Soundcards installed in the system
!!--------------------------------------



!!Modprobe options (Sound related)
!!--------------------------------

snd_usb_audio: index=-2
snd_hda_intel: enable=0,0


!!Loaded sound module options
!!---------------------------

!!Module: snd_usb_audio
	autoclock : Y
	delayed_register : (null),(null),(null),(null),(null),(null),(null),(null)
	device_setup : 0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	id : (null),(null),(null),(null),(null),(null),(null),(null)
	ignore_ctl_error : N
	index : -2,-1,-1,-1,-1,-1,-1,-1
	pid : -1,-1,-1,-1,-1,-1,-1,-1
	quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null)
	skip_validation : N
	use_vmalloc : Y
	vid : -1,-1,-1,-1,-1,-1,-1,-1

!!Module: snd_usb_audio
	autoclock : Y
	delayed_register : (null),(null),(null),(null),(null),(null),(null),(null)
	device_setup : 0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y
	id : (null),(null),(null),(null),(null),(null),(null),(null)
	ignore_ctl_error : N
	index : -2,-1,-1,-1,-1,-1,-1,-1
	pid : -1,-1,-1,-1,-1,-1,-1,-1
	quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null)
	skip_validation : N
	use_vmalloc : Y
	vid : -1,-1,-1,-1,-1,-1,-1,-1


!!USB Mixer information
!!---------------------
--startcollapse--

USB Mixer: usb_id=0x046d085c, ctrlif=2, ctlerr=0
Card: C922 Pro Stream Webcam at usb-0000:00:14.0-3, high speed
  Unit: 5
    Control: name="Mic Capture Volume", index=0
    Info: id=5, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=5120, max=12800, dBmin=2000, dBmax=5000
  Unit: 5
    Control: name="Mic Capture Switch", index=0
    Info: id=5, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
USB Mixer: usb_id=0x31e90001, ctrlif=0, ctlerr=0
Card: Solid State Logic SSL 2 at usb-0000:00:14.0-2, high speed
  Unit: 41
    Control: name="SSL 2 Internal Clock Validity", index=0
    Info: id=41, control=2, cmask=0x0, channels=1, type="BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 52
    Control: name="Extension Unit Switch", index=0
    Info: id=52, control=1, cmask=0x0, channels=1, type="BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  0 Jun 13 03:58 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 32 Jun 13 03:58 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 24 Jun 13 03:58 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 56 Jun 13 14:10 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116, 48 Jun 13 20:30 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116,  1 Jun 13 03:58 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jun 13 03:58 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root  80 Jun 13 03:58 .
drwxr-xr-x 4 root root 220 Jun 13 03:58 ..
lrwxrwxrwx 1 root root  12 Jun 13 03:58 usb-046d_C922_Pro_Stream_Webcam_8DF49E5F-02 -> ../controlC0
lrwxrwxrwx 1 root root  12 Jun 13 03:58 usb-Solid_State_Logic_SSL_2-00 -> ../controlC1

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Jun 13 03:58 .
drwxr-xr-x 4 root root 220 Jun 13 03:58 ..
lrwxrwxrwx 1 root root  12 Jun 13 03:58 pci-0000:00:14.0-usb-0:2:1.0 -> ../controlC1
lrwxrwxrwx 1 root root  12 Jun 13 03:58 pci-0000:00:14.0-usb-0:3:1.2 -> ../controlC0


!!ALSA configuration files
!!------------------------

!!User specific config file (~/.asoundrc)

pcm.!default {
    type hw
    card S2
}

ctl.!default {
    type hw
    card S2
}

!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 1: S2 [SSL 2], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Webcam [C922 Pro Stream Webcam], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: S2 [SSL 2], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card Webcam

Card hw:0 'Webcam'/'C922 Pro Stream Webcam at usb-0000:00:14.0-3, high speed'
  Mixer name	: 'USB Mixer'
  Components	: 'USB046d:085c'
  Controls      : 4
  Simple ctrls  : 1
Simple mixer control 'Mic',0
  Capabilities: cvolume cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 15
  Mono: Capture 11 [73%] [42.00dB] [on]

!!-------Mixer controls for card S2

Card hw:1 'S2'/'Solid State Logic SSL 2 at usb-0000:00:14.0-2, high speed'
  Mixer name	: 'USB Mixer'
  Components	: 'USB31e9:0001'
  Controls      : 5
  Simple ctrls  : 1
Simple mixer control 'Extension Unit',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.Webcam {
	control.1 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.2 {
		iface MIXER
		name 'Mic Capture Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'Mic Capture Volume'
		value 11
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 15'
			dbmin 2000
			dbmax 5000
			dbvalue.0 4200
		}
	}
	control.4 {
		iface CARD
		name 'Keep Interface'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
state.S2 {
	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
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.3 {
		iface CARD
		name 'SSL 2 Internal Clock Validity'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'Extension Unit Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface CARD
		name 'Keep Interface'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

8250
8250_base
aesni_intel
auth_rpcgss
autofs4
backlight
coretemp
dns_resolver
e1000e
evdev
fan
fuse
ghash_clmulni_intel
grace
hwmon
i2c_i801
i915
intel_gtt
intel_pch_thermal
iosf_mbi
ipv6
lockd
mei
mei_me
mousedev
nfs
nfsv4
pps_core
ptp
rpcsec_gss_krb5
rtc_cmos
serial_core
snd
snd_hwdep
snd_pcm
snd_rawmidi
snd_seq_device
snd_timer
snd_usb_audio
snd_usbmidi_lib
soundcore
sunrpc
usb_common
usbcore
usbhid
uvcvideo
video
videobuf2_common
videobuf2_memops
videobuf2_v4l2
videobuf2_vmalloc
videodev
wmi
wmi_bmof
x86_pkg_temp_thermal
xhci_hcd
xhci_pci


!!ALSA/HDA dmesg
!!--------------

[    0.335338] ACPI: Added _OSI(Linux-Dell-Video)
[    0.335338] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.335338] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[    2.474429] random: 7 urandom warning(s) missed due to ratelimiting
[    2.635634] usbcore: registered new interface driver snd-usb-audio
[    2.642395] videodev: Linux video capture interface: v2.00


!!Packages installed
!!--------------------

Strange errors in the log:

Code: Select all

Jun 14 02:58:14 [pulseaudio] [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Jun 14 02:58:14 [pulseaudio] [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Jun 14 02:58:14 [pulseaudio] [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: Solid State Logic SSL2 - problems while playback

Post by lilith »

Did you try different sampling rates too?
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Solid State Logic SSL2 - problems while playback

Post by puleglot »

I guess it requires implicit feedback quirk, just like SSL2+
https://git.kernel.org/pub/scm/linux/ke ... 308f7ffcbf
dpavlushko
Established Member
Posts: 3
Joined: Sun Jun 14, 2020 3:14 am

Re: Solid State Logic SSL2 - problems while playback

Post by dpavlushko »

Thank you so much!

I added this line, rebuild the kernel and it works:

case USB_ID(0x31e9, 0x0002): /* Solid State Logic SSL2+ */
+case USB_ID(0x31e9, 0x0001): /* Solid State Logic SSL2 */
dpavlushko
Established Member
Posts: 3
Joined: Sun Jun 14, 2020 3:14 am

Re: Solid State Logic SSL2 - problems while playback

Post by dpavlushko »

Problem fixed in Linux Kernel 5.4.x and up
MoonDragon
Established Member
Posts: 3
Joined: Wed Apr 08, 2015 11:47 am

Re: Solid State Logic SSL2 - problems while playback

Post by MoonDragon »

dpavlushko wrote: Wed Dec 02, 2020 11:59 pm Problem fixed in Linux Kernel 5.4.x and up
Phew, what a relief! I just bought one.
gianbulls23
Established Member
Posts: 7
Joined: Thu Jan 11, 2018 5:37 pm
Location: Rome, Italy

Re: Solid State Logic SSL2 - problems while playback

Post by gianbulls23 »

puleglot wrote: Sun Jun 14, 2020 12:29 pm I guess it requires implicit feedback quirk, just like SSL2+
https://git.kernel.org/pub/scm/linux/ke ... 308f7ffcbf
I confirm SSL2+ works 100% after kernel rebuilding with that line added.
Distro: AVlinux 2020.05
Kernel: 5.6.17-rt10-avl1

So happy, thank you very much :D
Post Reply