🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.kernel
1 messages
1 total messages Started by Johannes Krottmayer Thu, 05 Nov 2026 10:20
Bug#1152963: linux-image-6.12.115+deb13.1-amd64: no audio on Audient iD4 USB interface (playback never advances)
#417
Author: Johannes Krottmayer
Date: Thu, 05 Nov 2026 10:20
59 lines
3515 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads