From: chihhao chen <chihhao.chen@mediatek.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: missing sound on kernel-5.15
Date: Tue, 30 Aug 2022 16:08:51 +0800 [thread overview]
Message-ID: <04ecea78ade006c6c7f4575158d1973feb9a6062.camel@mediatek.com> (raw)
In-Reply-To: <87bks28b8c.wl-tiwai@suse.de>
Hi Takashi,
I also think it should be a firmware problem but it happens with many
different devices because of new set sampling rate behavior in k5.15.
Device 1 UAC1
[ 134.924359][T1000005] kworker/0:0: usb 1-1: [name:usbcore&]New USB
device found, idVendor=04e8, idProduct=a04f, bcdDevice= 1.00
[ 134.925944][T1000005] kworker/0:0: usb 1-1: [name:usbcore&]New USB
device strings: Mfr=1, Product=2, SerialNumber=3
[ 134.927338][T1000005] kworker/0:0: usb 1-1: [name:usbcore&]Product:
Samsung USB C Earphone
[ 134.928426][T1000005] kworker/0:0: usb 1-1:
[name:usbcore&]Manufacturer: bestechnic
[ 134.929432][T1000005] kworker/0:0: usb 1-1:
[name:usbcore&]SerialNumber: 20160406.1
Device 2 UAC3
[ 779.645324][T1003414] kworker/0:1: usb 1-1: [name:usbcore&]New USB
device found, idVendor=05ac, idProduct=110a, bcdDevice=26.11
[ 779.647376][T1003414] kworker/0:1: usb 1-1: [name:usbcore&]New USB
device strings: Mfr=1, Product=2, SerialNumber=3
[ 779.649492][T1003414] kworker/0:1: usb 1-1: [name:usbcore&]Product:
USB-C to 3.5mm Headphone Jack Adapter
[ 779.652262][T1003414] kworker/0:1: usb 1-1:
[name:usbcore&]Manufacturer: Apple, Inc.
[ 779.652273][T1003414] kworker/0:1: usb 1-1:
[name:usbcore&]SerialNumber: DWH126301CLJKLTAF
Device 3
A XiaoMi adapter but it not in my hand now.
I will try to integrate k5.19 into my codebase.
Thanks
On Tue, 2022-08-30 at 09:02 +0200, Takashi Iwai wrote:
> On Tue, 30 Aug 2022 08:13:44 +0200,
> chihhao chen wrote:
> >
> > Hi Takashi,
> >
> > I tried the patch but this problem still happens.
> >
> > I add some logs in snd_usb_init_sample_rate() in kernel-5.10
> > [ 146.260105][T1702328] writer: usb 1-1: [name:snd_usb_audio&]2:2
> > Set
> > sample rate 96000, clock 0 protocol 0
> > [ 146.289892][T1002328] writer: usb 1-1: [name:snd_usb_audio&]2:2
> > Set
> > sample rate 48000, clock 0 protocol 0
> >
> > Because TinyAlsa tends to set highest rate for initialization and
> > real
> > rate for playback, it will still trigger two-times
> > SAMPLING_FREQ_CONTROL USB requests.
>
> Then this is a firmware problem of your device.
> The same problem would happen even with the old kernel if you run the
> application with different sample rates. Does the device work with
> 96kHz at all?
>
> Could you give the lsusb -v output of the device, too?
>
> > Which kernel version should I try? kernel-5.19 or?
>
> Yes, 5.19 should suffice.
>
>
> Takashi
next prev parent reply other threads:[~2022-08-30 8:10 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 8:06 missing sound on kernel-5.15 chihhao chen
2022-08-22 11:57 ` Geraldo Nascimento
2022-08-29 7:56 ` chihhao chen
2022-08-29 8:06 ` Takashi Iwai
2022-08-29 8:50 ` chihhao chen
2022-08-29 12:16 ` Takashi Iwai
2022-08-29 18:15 ` Takashi Iwai
2022-08-30 5:54 ` Takashi Iwai
2022-08-30 6:02 ` Takashi Iwai
2022-08-30 6:13 ` chihhao chen
2022-08-30 7:02 ` Takashi Iwai
2022-08-30 8:08 ` chihhao chen [this message]
2022-08-30 8:24 ` Takashi Iwai
2022-08-31 3:39 ` chihhao chen
2022-08-31 5:18 ` Takashi Iwai
2022-08-31 7:03 ` chihhao chen
2022-08-31 8:04 ` Takashi Iwai
2022-08-31 9:26 ` chihhao chen
2022-08-31 10:48 ` Takashi Iwai
2022-08-31 13:16 ` chihhao chen
2022-08-31 13:40 ` Takashi Iwai
2022-09-01 5:50 ` chihhao chen
2022-09-01 7:51 ` Takashi Iwai
2022-09-01 8:28 ` Takashi Iwai
2022-09-01 10:06 ` chihhao chen
2022-09-01 10:25 ` Takashi Iwai
2022-11-11 7:58 ` Chihhao Chen (陳志豪)
[not found] <1661150747490509987-webhooks-bot@alsa-project.org>
2022-08-22 6:45 ` GitHub issues - opened
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=04ecea78ade006c6c7f4575158d1973feb9a6062.camel@mediatek.com \
--to=chihhao.chen@mediatek.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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