For people following this issue or discovering this thread because of a problem with USB-connected audio on the x86_64/amd64 platform, this thread is a call for testing! Please read this entire post to understand the problem, the fix, and how to contribute information on testing.
Problem Statement
In order to address the problem, it has been decided the most reasonable fix that is maintainable over time is to use the current Linux LTS kernel contained in the bookworm-backports
Debian repository. Using bookworm-backports
will install Linux 6.12 which is the most-current LTS kernel version and is the kernel that will likely appear in Debian 13. After much discussion and testing, it has been decided that this will NOT be automatically imposed on systems, however.
Upon installation of the package ASL3 v.3.6.3-3 (and any update of the ASL3 package thereafter) and if the running kernel is not 6.11 or later, the platform is Debian 12, and the platform is not a Raspberry Pi device, the following warning will appear and be held in place for 5 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Some Debian 6.1.0 kernel versions (those after 6.1.0-28) have exhibited
performance issues with OSS-based USB devices like those used by
AllStarLink.
!!! Your system is running one of the affected kernels !!!
To address this issue we recommend that your system be configured to use
Debian Bookworm-Backports to obtain the latest 6.11.0 based kernel. The
newer kernel restores proper Asterisk/app_rpt support for AllStarLink.
When this upgrade completes, run /usr/bin/asl-kernel-manager and reboot
the system when prompted
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The intention is to very visibly prompt a system administrator as to the problem and the solution.
Currently in the devel
package stream there is an update to asl-3.6.3-3
, dahdi-dkms-3.4.0-6+asl
, and dahdi-linux-3.4.0-6+asl
.
How to Test
In order to test these changes, please do the following (all commands as root):
- Note the current version of your kernel with the command
uname -r
- Change the ASL3 repository to include the devel stream with the command
asl-repo-switch -l devel
. - Update the apt cache with
apt update
- Execute a standard upgrade with
apt upgrade
- Follow any on-screen prompting such as the example above. In some cases, you may not receive prompting (e.g. on a Raspberry Pi) but that’s okay and those use cases need to be tested as well.
- Verify a working audio stream following all steps prompted in #4 including reboot(s) as necessary.
- Note the final version of your kernel with the command
uname -r
- Change your repository back to beta or main as desired using
asl-repo-switch -l main
orasl-repo-switch -l beta
. If you don’t know what it was before, use-l main
.
Reporting Test Results
To report test results and keep this thread manageable, please report tests in the following format:
Platform: PLATFORM
Original Kernel: OUTPUT_OF_STEP_1
Final Kernel: OUTPUT_OF_STEP_7
Audio Problems: Y|N
For the above, please state if PLATFORM is a hardware “PC”, “thin client”, etc.(“PC”), a virtual machine (“VM”), or a Rasberry Pi (“Pi”).
If you have no audio problems please do not post anything further to this thread other than your testing report. Irrelevant or off-topic posts to this thread will be deleted to focus on the problem at hand.
If you do have audio problems, please report as part of your reply if the audio problems are the same as before (stuttering throughout the whole audio stream) or is something else/new. Please be as succinct as possible and an audio sample would be greatly appreciated.
(Note: Currently some of the material refers to 6.11 because the bookworm-backports kernel version changed while this fix was being developed. The final release of the package will uniformly reference 6.12).