Presonus Studio1810c no sound

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

Moderators: MattKingUSA, khz

vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Presonus Studio1810c no sound

Post by vladanl »

Hi everyone,

I'm new on this list, worked for few decades under Linux, but just starting with audio. In short, I cannot play any sound on my Presonus Studio 1810c usb interface. I spent quite some time searching for related info. Here's how far I got so far.

I'm running on a laptop:

OS: Ubuntu Studio 19.04
Kernel: 5.0.0-16-lowlatency
Processor: i5-2520M @ 2.5GHz
Memory: 8 GB
Graphics: Nvidia 4200M

The manual states that no driver is necessary on Mac, so should be usb class compliant. The device is recognized (S1810c) and snd_usb_audio module is loaded:

Code: Select all

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD90BXX Analog [92HD90BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: S1810c [Studio 1810c], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
However, there is no sound:

Code: Select all

speaker-test -D plughw:S1810c -c 2 -l 2

speaker-test 1.1.8

Playback device is plughw:S1810c
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 12 to 43690
Period size range from 6 to 21845
Using max buffer size 43688
Periods = 4
Unable to set hw params for playback: Broken pipe
Setting of hwparams failed: Broken pipe
Subsequent executions of speaker-test give:

Code: Select all

Unable to set hw params for playback: Input/output error
Setting of hwparams failed: Input/output error
At the same time in syslog:

Code: Select all

usb 2-1.3: cannot submit urb 0, error -2: endpoint not enabled
usb 2-1.3: 1:3: usb_set_interface failed (-32)
The following didn't help:
  • Changing usb port (all ports are usb2) and removing all external usb devices
    KXStudio live on the same laptop, Kubuntu 18.04, 19.04 on a faster laptop
    Nouveau graphics driver instead of nvidia
    Disabling built-in sound cards (HDA Intel PCH and HDA NVidia)
    With or without Jack running
However, the interface works under Windows. Furthermore, another usb sound interface (small DAC for headphones, Cambridge audio C20) works fine.

Results from alsa-info are at http://alsa-project.org/db/?f=82494d8c1 ... e9193658f5 . Additional info (note that all three usb ports on my laptop are on bus 002):

Code: Select all

lsusb
Bus 002 Device 004: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 002 Device 034: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 036: ID 056d:4002 EIZO Corp. 
Bus 002 Device 035: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 033: ID 0451:8044 Texas Instruments, Inc. 
Bus 002 Device 032: ID 0bda:5401 Realtek Semiconductor Corp. RTL 8153 USB 3.0 hub with gigabit ethernet
Bus 002 Device 037: ID 194f:010c PreSonus Audio Electronics, Inc. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 05ca:181c Ricoh Co., Ltd 
Bus 001 Device 003: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth Module
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
At this point I can only guess the usb driver is the problem because:
  • Syslog message (see above)
    No interrupts are associated with the device (see below)
    It is not listed by lspci (see below)

Code: Select all

cat /proc/interrupts 
           CPU0       CPU1       
  0:          8          0  IR-IO-APIC   2-edge      timer
  1:         97          0  IR-IO-APIC   1-edge      i8042
  8:          0          1  IR-IO-APIC   8-edge      rtc0
  9:       6410        762  IR-IO-APIC   9-fasteoi   acpi
 12:       3819        791  IR-IO-APIC  12-edge      i8042
 16:       4458       4455  IR-IO-APIC  16-fasteoi   ehci_hcd:usb1
 17:     144465      89703  IR-IO-APIC  17-fasteoi   ehci_hcd:usb2, snd_hda_intel:card1
 18:          0          0  IR-IO-APIC  18-fasteoi   i801_smbus, mmc0
 23:          0          0  IR-IO-APIC  23-edge      smo8800
 24:          0          0  DMAR-MSI   0-edge      dmar0
 25:     117797       9585  IR-PCI-MSI 512000-edge      ahci[0000:00:1f.2]
 26:          0         21  IR-PCI-MSI 360448-edge      mei_me
 27:          0       1109  IR-PCI-MSI 442368-edge      snd_hda_intel:card0
 28:     358989     846573  IR-PCI-MSI 1572864-edge      iwlwifi
 29:        586       1084  IR-PCI-MSI 409600-edge      eno1
 30:      49061     213820  IR-PCI-MSI 524288-edge      nvidia

lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)
Any help or hint would be highly appreciated.
merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: Presonus Studio1810c no sound

Post by merlyn »

viadani wrote:With or without Jack running
So JACK starts? That means an ALSA driver has been successfully created. Look in the JACK log and you will see the ALSA parameters that worked. Or try playing something back through JACK.
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 135 times

Re: Presonus Studio1810c no sound

Post by Linuxmusician01 »

vladanl wrote:[...]

Code: Select all

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD90BXX Analog [92HD90BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: S1810c [Studio 1810c], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
However, there is no sound:

Code: Select all

speaker-test -D plughw:S1810c -c 2 -l 2

speaker-test 1.1.8

Playback device is plughw:S1810c
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 12 to 43690
Period size range from 6 to 21845
Using max buffer size 43688
Periods = 4
Unable to set hw params for playback: Broken pipe
Setting of hwparams failed: Broken pipe
[...]
I can't get speaker-test to work like that either. Try it with "hw:2" instead of "plughw:S1810c" like so:

Code: Select all

speaker-test -D hw:2 -c 2 -l 2
Good luck and don't give up! :)
vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Re: Presonus Studio1810c no sound

Post by vladanl »

merlyn wrote:
viadani wrote:With or without Jack running
So JACK starts? That means an ALSA driver has been successfully created. Look in the JACK log and you will see the ALSA parameters that worked. Or try playing something back through JACK.
Jack starts, but I can't play any sound. There are no S1810c playback in Pachage or Qjackctl. All 18 captures are there, midis also, system playbacks are there but not S1810c playbacks. I couldn't play anything via Audacity either. However, Cambridge audio C20 usb DAC shows up and works fine in Jack.

Correct me if I'm wrong, I thought that because the basic ALSA functionality is missing (speaker-test) and Jack sits on top of ALSA, the problem lies in ALSA. In other words, is it possible to have a device work properly in Jack while it doesn't work in ALSA?
vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Re: Presonus Studio1810c no sound

Post by vladanl »

Linuxmusician01 wrote:
vladanl wrote:[...]
I can't get speaker-test to work like that either. Try it with "hw:2" instead of "plughw:S1810c" like so:

Code: Select all

speaker-test -D hw:2 -c 2 -l 2
Good luck and don't give up! :)
Unfortunately neither of plughw:2, plughw2,0, plughw:S1810c,0 worked. Thanks
merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: Presonus Studio1810c no sound

Post by merlyn »

viadani wrote:In other words, is it possible to have a device work properly in Jack while it doesn't work in ALSA?
No, but JACK won't start if ALSA isn't working. Did you look in the JACK log?
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 135 times

Re: Presonus Studio1810c no sound

Post by Linuxmusician01 »

vladanl wrote:
Linuxmusician01 wrote:
vladanl wrote:[...]
I can't get speaker-test to work like that either. Try it with "hw:2" instead of "plughw:S1810c" like so:

Code: Select all

speaker-test -D hw:2 -c 2 -l 2
Good luck and don't give up! :)
Unfortunately neither of plughw:2, plughw2,0, plughw:S1810c,0 worked. Thanks
I opted for you to use the option "hw:xxx" insted of "plughw". Yet you did use "plughw" again. I cannot get any sound out of speakers test if I use plughw instead of the term hw.
vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Re: Presonus Studio1810c no sound

Post by vladanl »

merlyn wrote: No, but JACK won't start if ALSA isn't working. Did you look in the JACK log?
Here's my sequence:
  • Start jack (using Ubuntu studio controls) with S1810c off (snd_usb* modules unloaded)
  • Switch on S1810c:
    - nothing in JACK log
    - neither capture nor playback for S1810c shown in patchage
    - can't chose S1810c in Audacity neither as the recording nor as the playback device (Audio host set to JACK)
    - syslog shows

    Code: Select all

    usb 2-1.1: 1:2: usb_set_interface failed (-32)
  • Restart jack (S1810c stays on):
    - JACK log:

    Code: Select all

     New client 'S1810c,0,0-in' with PID 9327
    - patchage shows 18 captures for S1810c but no playback
    - can chose S1810c for recording in Audacity, but not for playback
Please let me know if there's something else you had in mind, I'd be happy to try. I checked many different combinations, reboots for about two months, read many things, but I can't figure it out.
vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Re: Presonus Studio1810c no sound

Post by vladanl »

Linuxmusician01 wrote: I opted for you to use the option "hw:xxx" insted of "plughw". Yet you did use "plughw" again. I cannot get any sound out of speakers test if I use plughw instead of the term hw.
Sorry I missed that, here it is:

Code: Select all

speaker-test -D hw:2 -c 2 - l 2

speaker-test 1.1.8

Playback device is hw:2
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument
I get the same for hw:2,0, hw:S1810c and hw:S1810c,0. So it seems it gets bit further with plughw
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 135 times

Re: Presonus Studio1810c no sound

Post by Linuxmusician01 »

vladanl wrote:
Linuxmusician01 wrote: I opted for you to use the option "hw:xxx" insted of "plughw". Yet you did use "plughw" again. I cannot get any sound out of speakers test if I use plughw instead of the term hw.
Sorry I missed that, here it is:

Code: Select all

speaker-test -D hw:2 -c 2 - l 2

speaker-test 1.1.8

Playback device is hw:2
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument
I get the same for hw:2,0, hw:S1810c and hw:S1810c,0. So it seems it gets bit further with plughw
Hmmmmm. Weird. Strictly spoken the error you get now is different. See old error below:

Code: Select all

speaker-test -D plughw:S1810c -c 2 -l 2

speaker-test 1.1.8

Playback device is plughw:S1810c
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 12 to 43690
Period size range from 6 to 21845
Using max buffer size 43688
Periods = 4
Unable to set hw params for playback: Broken pipe
Setting of hwparams failed: Broken pipe
If you use "hw" instead of "plughw" then it complains that the sample format is invalid. You could try to force it to be 48 kHz like so:

Code: Select all

speaker-test -D hw:2 -c 2 - l 2 -r 48000
But that might give another error. Can't you try w/ an audio player like Audacity (not to be mistaken for Audacity)? Or, if PulseAudio is active, try to play a video in Chrome in Youtube and then use PAVUControl to choose your USB Presonus Studio 1810c device.
merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: Presonus Studio1810c no sound

Post by merlyn »

Your JACK log looks a bit different from mine. Not a problem. So JACK has fallen back to capture only. I've never seen that before. I've seen 'falling back to playback only'.

That would imply this device isn't class compliant. If you get confirmation from Presonus that it is then it would be good to let the ALSA developers know on a mailing list.

I think you're right that the fix would be with the driver = kernel. There is a new version of ALSA (1.1.9). I don't think that would fix it, maybe worth a try. Is there a firmware update for the 1810c?
viadani wrote:At this point I can only guess the usb driver is the problem because:

Syslog message (see above)
No interrupts are associated with the device (see below)
It is not listed by lspci (see below)
I agree with the first point. The other two are normal. The USB controller gets an interrupt, not individual devices. And the third point -- why would a USB device appear in lspci?

I hope you can find a fix, and let us know how you get on.
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 135 times

Re: Presonus Studio1810c no sound

Post by Linuxmusician01 »

Another tip. My 4 IN and 4 OUT usb audio device (Behringer 404HD) won't work properly in Alsa/PulseAudio. Will only work good w/ Jack. So you might have luck w/ Jack. Start Jack for audio device number 2 like so:

Code: Select all

jackd -d alsa --device hw:2
Then start QJackctl and look for IN and OUT-puts of your card. Then try a Jack-aware audio app like Audacious (not to be mistaken w/ Audacity).

Good luck! :)
vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Re: Presonus Studio1810c no sound

Post by vladanl »

Linuxmusician01 wrote: You could try to force it to be 48 kHz like so:

Code: Select all

speaker-test -D hw:2 -c 2 - l 2 -r 48000
The same error: with hw it's "Sample format not available for playback ...", and with plughw "Unable to set hw params for playback ..."
Linuxmusician01 wrote: Can't you try w/ an audio player like Audacity (not to be mistaken for Audacity)? Or, if PulseAudio is active, try to play a video in Chrome in Youtube and then use PAVUControl to choose your USB Presonus Studio 1810c device.
You mean Audacious, right? It plays, but via the internal sound card. I can not select S1810c in PAVUControl (doesn't show up). If Jack is on, the only playback available is system, that is PulseOut. So far I haven't found any application that sees S1810c outputs.
vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Re: Presonus Studio1810c no sound

Post by vladanl »

Linuxmusician01 wrote:Another tip. My 4 IN and 4 OUT usb audio device (Behringer 404HD) won't work properly in Alsa/PulseAudio. Will only work good w/ Jack.
Just to repeat, that means a device can work properly in Jack even if it doesn't in Alsa / PulseAudio. This is an important info for me, thanks.

Also, thanks for another info, if I don't manage to solve this problem, Behringer 404HD might be a good alternative.
Linuxmusician01 wrote: So you might have luck w/ Jack. Start Jack for audio device number 2 like so:

Code: Select all

jackd -d alsa --device hw:2
Then start QJackctl and look for IN and OUT-puts of your card.
I tried the command you specified and variations: 2,0, S1810c, S1810c,0, -P instead of --device, specified the number of out channels with -o, in all these cases jack fails. For example:

Code: Select all

jackd -d alsa --device hw:2 
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio2
creating alsa driver ... hw:2|hw:2|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
ALSA: cannot set hardware parameters for playback
ALSA: cannot configure playback channel
Released audio card Audio2
audio_reservation_finish
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Increasing verbocity didn't provide more info, ALSA lines were the same.
vladanl
Established Member
Posts: 12
Joined: Mon Jun 10, 2019 8:13 pm

Re: Presonus Studio1810c no sound

Post by vladanl »

merlyn wrote:That would imply this device isn't class compliant. If you get confirmation from Presonus that it is then it would be good to let the ALSA developers know on a mailing list.
The Presonus manual states the following:
Your Studio-series interfaces are class-compliant Core Audio devices in macOS. No driver installation is necessary. However, to take full advantage of your Studio 1824c and 1810c’s mixing capabilities, you must install Universal Control ...
Thanks for the advice, I'll check ALSA mailing lists.
merlyn wrote: I think you're right that the fix would be with the driver = kernel. There is a new version of ALSA (1.1.9). I don't think that would fix it, maybe worth a try. Is there a firmware update for the 1810c?
I'll check the device on a Mac and update firmware if available.
merlyn wrote:
viadani wrote:At this point I can only guess the usb driver is the problem because:

Syslog message (see above)
No interrupts are associated with the device (see below)
It is not listed by lspci (see below)
I agree with the first point. The other two are normal. The USB controller gets an interrupt, not individual devices. And the third point -- why would a USB device appear in lspci?
Thanks for the explanations, good to know what to pay attention to and what to ignore. I saw the other two audio devices on lspci, but you're right, the usb device is not attached to pci.

In any case, many thanks to both of you, merlyn and Linuxmusician01 for your help, I appreciate it. I learned something. I'll continue trying and will let you know. Of course, I'll be happy to hear any other suggestion from you
Post Reply