🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3230

Bug#1152963: linux-image-6.12.115+deb13.1-amd64: no audio on Audient iD4 USB interface (playback never advances)

#3230
From: Johannes Krottmayer
Date: Thu, 05 Nov 2026 10:20
59 lines
3435 bytes
Hello,

I have the same issue with the device Focusrite Scarlett 8i6.

After investigating the source from the Kernel module
'snd_usb_audio' I found the issue and (partially) fixed it
on my system.

Since Kernel v6.12.115 there was a modification in the source
from the module, which result in this issue.

Linux-src/sound/usb/pcm.c:prepare_playback_urb():

v6.12.115:

for (i = 0; i < ctx->packets; i++) {
      counts = snd_usb_endpoint_next_packet_size(ep, ctx, i, avail);
      if (counts < 0 || frames + counts >= ep->max_urb_frames)
          break;
      /* set up descriptor */
      urb->iso_frame_desc[i].offset = frames * stride;
      urb->iso_frame_desc[i].length = counts * stride;

It seems the 'if' logic isn't correct here, which cause the issue
on my system.

v6.12.113:


for (i = 0; i < ctx->packets; i++) {
     counts = snd_usb_endpoint_next_packet_size(ep, ctx, i, avail);
     if (counts < 0)
        break;
     /* set up descriptor */
     urb->iso_frame_desc[i].offset = frames * stride;
     urb->iso_frame_desc[i].length = counts * stride;

This was the old code.

v7.4.x

for (i = 0; i < ctx->packets; i++) {
     counts = snd_usb_endpoint_next_packet_size(ep, ctx, i, avail);
     if (counts < 0 ||
         (frames + counts) * stride > ctx->buffer_size)
         break;
     /* set up descriptor */
     urb->iso_frame_desc[i].offset = frames * stride;
     urb->iso_frame_desc[i].length = counts * stride;

I used the code from Kernel v7.4.x in this module, which fixes
the issue for me.

Hope this help.

-- 
Kind regards,

Johannes K.
Technical Details
Message-ID: <NW2Jz-9Ymy-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NW2Jz-9Ymy-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Johannes Krottmayer <krotti83@proton.me>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1152963: linux-image-6.12.115+deb13.1-amd64: no audio on Audient iD4 USB interface (playback never advances)
Date: Thu, 05 Nov 2026 11:20:01 +0100
Message-ID: <NW2Jz-9Ymy-1@gated-at.bofh.it>
References: <NW2Jz-9Ymy-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov  5 10:15:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Johannes Krottmayer <krotti83@proton.me>, 1152963@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: followup 1152963
X-Debian-Pr-Package: src:linux
X-Debian-Pr-Keywords: confirmed upstream moreinfo
X-Debian-Pr-Source: linux
Feedback-ID: 148511850:user:proton
X-Pm-Message-ID: a00f1e7174b47dacec915f5f72f5fa5e2160fdc6
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000776
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 59
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 05 Nov 2026 10:12:28 +0000
X-Original-Message-ID: <b2d9e11c-fa29-4eb1-aa7e-875f93ca5552@proton.me>
X-Original-References: <AM9PR02MB736353A86A396DDD9015D541F3692@AM9PR02MB7363.eurprd02.prod.outlook.com>