Presonus 1810c | Ubuntu | sample rates are missing

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

Moderators: MattKingUSA, khz

Post Reply
User avatar
Primeval_Mudd
Established Member
Posts: 55
Joined: Fri Feb 11, 2022 10:46 pm
Location: Garlinge, Kent, UK
Has thanked: 31 times
Been thanked: 12 times
Contact:

Presonus 1810c | Ubuntu | sample rates are missing

Post by Primeval_Mudd »

Hi,

I'm using a PreSonus Studio 1810c interface which can run at 44100, 48000, 88200, 96000, 176400, 192000.

However, in Ubuntu Studio and Mint I can only pick 88200 and 96000, both of which are far above my requirements and lead to pops, crackles and x-runs in Reaper, even at 512 spls.

The rest are missing from the Studio Controls drop-down and the stream0 file:

Code: Select all

PreSonus Studio 1810c at usb-0000:00:14.0-6.4, high speed : USB Audio

Playback:
  Status: Stop
  Interface 1
    Altset 2
    Format: S32_LE
    Channels: 8
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 88200, 96000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR FC LFE RL RR FLC FRC
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 1
    Sync EP Altset: 2
    Implicit Feedback Mode: No

Capture:
  Status: Stop
  Interface 2
    Altset 2
    Format: S32_LE
    Channels: 14
    Endpoint: 0x82 (2 IN) (ASYNC)
    Rates: 88200, 96000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR FC LFE RL RR FLC FRC RC SL SR TC TFL TFC

For comparison, this is the stream0 file for the Focusrite S4i4 which I've fallen back on:

Code: Select all

Focusrite Scarlett 4i4 USB at usb-0000:00:14.0-6.1, high speed : USB Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S32_LE
    Channels: 4
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR FC LFE
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 2
    Sync EP Altset: 1
    Implicit Feedback Mode: Yes

Capture:
  Status: Stop
  Interface 2
    Altset 1
    Format: S32_LE
    Channels: 6
    Endpoint: 0x81 (1 IN) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR FC LFE RL RR

The full range of sample rates is available in the AVLinux Pipewire Metadata box. When I tried to test it out in Reaper the inputs kept on being disconnected and reconnected in a different order, but at least I could select the sample rates in the Metadata box.

Does anybody know what's happening and how I can fix it?

Thanks.

Dave Plummer/Primeval Mudd*

Ubuntu Studio | Reaper (Linux native)

Facebook | YouTube

  • Should you be wondering, Primeval Mudd is an anagram of David Plummer.
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by puleglot »

This device is somewhat non-standard: [1]. It supports different set of sampling frequencies per altsetting. IIUC from the patch, you need to pass device_setup parameter to the snd-usb-audio module. Something like this:

echo "options snd-usb-audio device_setup=1" > /etc/modprobe.d/alsa.conf

and then reboot or reload the module. Then you should see something like this in dmesg:

Presonus Studio 1810c, device_setup: 1
... (8out/18in @ 48KHz)

[1] https://git.kernel.org/pub/scm/linux/ke ... 9c83317f54

User avatar
Primeval_Mudd
Established Member
Posts: 55
Joined: Fri Feb 11, 2022 10:46 pm
Location: Garlinge, Kent, UK
Has thanked: 31 times
Been thanked: 12 times
Contact:

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by Primeval_Mudd »

Thanks puleglot,

I tried that but was denied, both as myself and as root:

Code: Select all

dave@pmuddstudio:~$ echo "options snd-usb-audio device_setup=1" > /etc/modprobe.d/alsa.conf
bash: /etc/modprobe.d/alsa.conf: Permission denied
dave@pmuddstudio:~$ sudo echo "options snd-usb-audio device_setup=1" > /etc/modprobe.d/alsa.conf
bash: /etc/modprobe.d/alsa.conf: Permission denied

It looks like the file doesn't exist in that folder.

The modprobe.d folder:

Image

Search results for alsa.conf:

Image

There are loads of them, but none of them are in mopdrobe.d.

Dave Plummer/Primeval Mudd*

Ubuntu Studio | Reaper (Linux native)

Facebook | YouTube

  • Should you be wondering, Primeval Mudd is an anagram of David Plummer.
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by puleglot »

Primeval_Mudd wrote: Fri Jan 26, 2024 11:27 pm

dave@pmuddstudio:~$ sudo echo "options snd-usb-audio device_setup=1" > /etc/modprobe.d/alsa.conf
bash: /etc/modprobe.d/alsa.conf: Permission denied
[/code]

This should work:

Code: Select all

$ sudo bash -c 'echo "options snd-usb-audio device_setup=1" > /etc/modprobe.d/alsa.conf'
User avatar
Primeval_Mudd
Established Member
Posts: 55
Joined: Fri Feb 11, 2022 10:46 pm
Location: Garlinge, Kent, UK
Has thanked: 31 times
Been thanked: 12 times
Contact:

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by Primeval_Mudd »

puleglot wrote: Fri Jan 26, 2024 11:39 pm
Primeval_Mudd wrote: Fri Jan 26, 2024 11:27 pm

dave@pmuddstudio:~$ sudo echo "options snd-usb-audio device_setup=1" > /etc/modprobe.d/alsa.conf
bash: /etc/modprobe.d/alsa.conf: Permission denied
[/code]

This should work:

Code: Select all

$ sudo bash -c 'echo "options snd-usb-audio device_setup=1" > /etc/modprobe.d/alsa.conf'

Cheers, that bit seems to have worked.

Code: Select all

[   68.234268] usb 3-6.1: Presonus Studio 1810c, device_setup: 0
[   68.234270] usb 3-6.1: (8out/14in @ 96kHz)
[   68.286441] usb 3-6.1: Quirk or no altest; falling back to MIDI 1.0

What do I do next? I've had a read of the ALSA: usb-audio: Add support for Presonus Studio 1810c you linked to in your first reply but it's way over my head.

Dave Plummer/Primeval Mudd*

Ubuntu Studio | Reaper (Linux native)

Facebook | YouTube

  • Should you be wondering, Primeval Mudd is an anagram of David Plummer.
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by puleglot »

Primeval_Mudd wrote: Sat Jan 27, 2024 12:46 am

Code: Select all

[   68.234268] usb 3-6.1: Presonus Studio 1810c, device_setup: 0
[   68.234270] usb 3-6.1: (8out/14in @ 96kHz)

Interesting. Module parameter device_setup didn't apply for some reason. Is 1810c the only USB card connected?

puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by puleglot »

Or you can also try these module options instead:

Code: Select all

options snd-usb-audio vid=0x194f pid=0x010c device_setup=1
User avatar
Primeval_Mudd
Established Member
Posts: 55
Joined: Fri Feb 11, 2022 10:46 pm
Location: Garlinge, Kent, UK
Has thanked: 31 times
Been thanked: 12 times
Contact:

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by Primeval_Mudd »

puleglot wrote: Sat Jan 27, 2024 10:56 am
Primeval_Mudd wrote: Sat Jan 27, 2024 12:46 am

Code: Select all

[   68.234268] usb 3-6.1: Presonus Studio 1810c, device_setup: 0
[   68.234270] usb 3-6.1: (8out/14in @ 96kHz)

Interesting. Module parameter device_setup didn't apply for some reason. Is 1810c the only USB card connected?

Ah, the S4i4 was still connected.

My head scratching hand is currently being kept occupied with assorted controllers, loopers, mute groups and the like.

I'll have another go with everything else unplugged when I can, and give this a go if necessary:

puleglot wrote: Mon Jan 29, 2024 12:05 am

Code: Select all

options snd-usb-audio vid=0x194f pid=0x010c device_setup=1

I'll let you know how I get on.

Thanks for your help.

Dave Plummer/Primeval Mudd*

Ubuntu Studio | Reaper (Linux native)

Facebook | YouTube

  • Should you be wondering, Primeval Mudd is an anagram of David Plummer.
User avatar
Primeval_Mudd
Established Member
Posts: 55
Joined: Fri Feb 11, 2022 10:46 pm
Location: Garlinge, Kent, UK
Has thanked: 31 times
Been thanked: 12 times
Contact:

Re: Presonus 1810c | Ubuntu | sample rates are missing

Post by Primeval_Mudd »

puleglot wrote: Mon Jan 29, 2024 12:05 am

Or you can also try these module options instead:

Code: Select all

options snd-usb-audio vid=0x194f pid=0x010c device_setup=1

Hi,

I still couldn't get that to work so I've given up and am giving AV Linux another go.

Thanks again for your help.

Dave Plummer/Primeval Mudd*

Ubuntu Studio | Reaper (Linux native)

Facebook | YouTube

  • Should you be wondering, Primeval Mudd is an anagram of David Plummer.
Post Reply