You are not logged in.
Pages: 1
I've got an Audioengine D1 that's misreporting the sample rate. The device should have QUIRK_FLAG_GET_SAMPLE_RATE applied, but it currently doesn't.
In the kernel, I see another Audioengine D1 device that does have QUIRK_FLAG_GET_SAMPLE_RATE, but it's under a different vendor & device ID. The one I have is 1101:0003.
$ lsusb | grep Audio
Bus 001 Device 002: ID 1101:0003 EasyPass Industrial Co., Ltd Audioengine D1
This isn't causing any significant issue other than the kernel continuously complaining in the syslog:
kernel: usb 1-2: current rate 8436480 is different from the runtime rate 48000
If anyone knows a way to stop these logs (without also disabling other kernel warning logs), I'd greatly appreciate it.
I can learn how to compile the kernel with that quirk applied, but is that really the best solution? Is such a change something that should be submitted upstream? If so, what's the process for that: ask an arch maintainer for help or do it myself?
I haven't contributed to open-source projects before, so I'm unfamiliar with all of this.
Offline
Hey I have just compiled a kernel with the following patch applied:
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 9112313a9dbc0..93464277e1c5d 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2336,6 +2336,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
QUIRK_FLAG_IGNORE_CTL_ERROR),
DEVICE_FLG(0x2912, 0x30c8, /* Audioengine D1 */
QUIRK_FLAG_GET_SAMPLE_RATE),
+ DEVICE_FLG(0x1101, 0x0003, /* Audioengine D1 */
+ QUIRK_FLAG_GET_SAMPLE_RATE),
DEVICE_FLG(0x2b53, 0x0023, /* Fiero SC-01 (firmware v1.0.0 @ 48 kHz) */
QUIRK_FLAG_GENERIC_IMPLICIT_FB),
DEVICE_FLG(0x2b53, 0x0024, /* Fiero SC-01 (firmware v1.0.0 @ 96 kHz) */
You can find the package here:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-6.14.6.arch1-1.1-x86_64.pkg.tar.zst
If you find it working I could send it to the upstream kernel for inclusion
If you also want some credit for it you can leave your name and email adress here and I can add a "Reported-by: " to the patch
Offline
Yes, it's working. No more journal spam.
I think that quirk list is sorted by vendor ID and device ID. That entry might need to be moved.
Don't worry about credit- I'm just glad it's working now.
Thank you for taking the time to help me
Offline
Now sent to the lists: https://lore.kernel.org/all/20250512-au … @heusel.eu
(it might take a moment until the link works)
Offline
Pages: 1