Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Roy Vegard Ovesen <roy.vegard.ovesen@gmail.com>
To: fenugrec@mail.com
Cc: linux-sound@vger.kernel.org, Takashi Iwai <tiwai@suse.de>
Subject: Re: accidental revert of Presonus 1824c quirk ?
Date: Fri, 9 Jan 2026 21:45:04 +0100	[thread overview]
Message-ID: <aWFo0EV2eWhJrNTk@corsair> (raw)
In-Reply-To: <trinity-46fb2e4e-993c-4225-b831-2d03dc541780-1767918098396@3c-app-mailcom-lxa07>

On Fri, Jan 09, 2026 at 01:21:38AM +0100, fenugrec@mail.com wrote:
> That is so strange ! At least we're running the exact same system & kernel so we can rule out a few things .
> 
> I wonder if pulseaudio/pw settings could have an impact on the hopping between altsettings ?
> I'm not running pipewire, and in pulse's pavucontrol I had the presonus "profile" disabled.

Normally I'm running pw, but for this testing I have stopped pipewire completely
and use alsa directly. So far I have observed:

- Reaper, Ardour and arecord are working fine.

- When testing arecord I have to use -D plughw:S1824c to get direct control of
the device. If I use -D sysdefault:CARD=S1824c it always uses sampling rate 176400
for the device and, I assume, converts in software to the sample rate that I requested.

- By monitoring USB traffic with Wireshark I see that when for example I run arecord
it first checks and sets the clock selector, then it checks and sets the sample
rate, next it sets the interface with altsetting according to the sample rate.
When recording is done it sets the interface with altsetting to 0.

I'm wondering if one way to make the 1824c panic is by setting an invalid
sample rate and interface/altsetting combination. For example setting
sample rate to 96000 and interface/altsetting to 1/1 for playback
and/or 2/1 for recording. Are you able to monitor USB traffic when
arecord fails and check if it tries to set an invalid sample rate
and interface/altsetting combo?

So far I have not been able to break the device in this testing session,
but I will crack on.

-- 
Roy Vegard

  reply	other threads:[~2026-01-09 20:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-07 16:57 accidental revert of Presonus 1824c quirk ? fenugrec
2026-01-08  7:22 ` Takashi Iwai
2026-01-08 15:33   ` fenugrec
2026-01-08 23:59     ` Roy Vegard Ovesen
2026-01-09  0:21       ` fenugrec
2026-01-09 20:45         ` Roy Vegard Ovesen [this message]
2026-01-18 22:05           ` fenugrec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aWFo0EV2eWhJrNTk@corsair \
    --to=roy.vegard.ovesen@gmail.com \
    --cc=fenugrec@mail.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox