From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Regressions <regressions@lists.linux.dev>,
Linux ALSA Subsystem Development <alsa-devel@alsa-project.org>,
Linux USB <linux-usb@vger.kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Fwd: Apple USB-C 3.5mm dongle cannot output 41000hz
Date: Tue, 30 May 2023 19:50:41 +0700 [thread overview]
Message-ID: <dbb825e9-f92b-6c17-c1d7-b7e6cfb9b474@gmail.com> (raw)
Hi,
I notice a regression report on Bugzilla [1]. Quoting from it:
> Overview:
> With an A2049 Apple USB-C to 3.5mm DAC dongle, I have the same issue as outlined in this link: ALSA won't detect 44100Hz as an available sample rate:
> https://github.com/mikebrady/shairport-sync/issues/1504
>
>
> Steps to Reproduce:
> Play a 44.1Khz audio file.
>
>
> Actual Results:
> Pipewire reports that the output is locked to 48000hz, and ALSA reports that this is the only detected supported rate:
>
> $ cat /proc/asound/card0/stream0
> Playback:
> Status: Running
> Interface = 1
> Altset = 1
> Packet Size = 288
> Momentary freq = 48000 Hz (0x30.0000)
> Interface 1
> Altset 1
> Format: S24_3LE
> Channels: 2
> Endpoint: 0x02 (2 OUT) (SYNC)
> Rates: 48000 - 48000 (continuous)
> Bits: 0
> Channel map: FL FR
> Interface 1
> Altset 2
> Format: S16_LE
> Channels: 2
> Endpoint: 0x02 (2 OUT) (SYNC)
> Rates: 48000 - 48000 (continuous)
> Bits: 0
> Channel map: FL FR
>
>
> Expected Result:
> It should be switching between 44100-48000hz, the only two rates it supports.
>
>
> Build Date and Hardware:
> Running Arch Linux with kernel 6.3.4-arch1-1, alsa-lib 1.2.9-1.
> AMD Ryzen 3600 on a MSI B450M Mortar Max motherboard
>
>
> Additional Information:
> It seems like a regression between Linux 4.x and 5.x, and halfway through the above thread the user "quantonian" added the device to the ALSA quirks table and has posted a patch:
>
> https://github.com/mikebrady/shairport-sync/issues/1504#issuecomment-1193355701
>
> Thanks if this can be fixed in the kernel. The dongle in question is US $9:
> https://www.apple.com/shop/product/MU7E2AM/A/usb-c-to-35-mm-headphone-jack-adapter
See bugzilla for the full thread.
Unfortunately, the reporter said that he can only run kernel as
old as 5.6, as older than that, he experiences unrelated GPU crashes,
so he can't bisect this regression.
Anyway, I'm adding it to regzbot:
#regzbot introduced: v4.19..v5.10 https://bugzilla.kernel.org/show_bug.cgi?id=217501
#regzbot title: 44100hz is mistaken as 48000hz on Apple Headphone Jack Adapter
#regzbot link: https://github.com/mikebrady/shairport-sync/issues/1504
#regzbot link: https://www.audiosciencereview.com/forum/index.php?threads/review-apple-vs-google-usb-c-headphone-adapters.5541/page-32
Thanks.
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217501
--
An old man doll... just what I always wanted! - Clara
reply other threads:[~2023-05-30 12:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=dbb825e9-f92b-6c17-c1d7-b7e6cfb9b474@gmail.com \
--to=bagasdotme@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=perex@perex.cz \
--cc=regressions@lists.linux.dev \
--cc=tiwai@suse.com \
/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
all inboxes | Powered by JetHome®