From: Hui Wang <hui.wang@canonical.com>
To: Kai-Heng Feng <kai.heng.feng@canonical.com>,
Takashi Iwai <tiwai@suse.de>
Cc: penghao <penghao@uniontech.com>,
Mark Pearson <mpearson@lenovo.com>,
Jaroslav Kysela <perex@perex.cz>,
alexander@tsoy.me, dan.carpenter@oracle.com, crwulff@gmail.com,
gustavoars@kernel.org,
"moderated list:SOUND" <alsa-devel@alsa-project.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo ThinkCentre TI024Gen3 USB-audio
Date: Thu, 20 Aug 2020 09:42:41 +0800 [thread overview]
Message-ID: <fdd0d029-d7b5-ff43-5f84-9d73de867bca@canonical.com> (raw)
In-Reply-To: <74B3A9AD-8B49-4E5F-BE9F-BF88865304B7@canonical.com>
On 2020/8/20 上午2:10, Kai-Heng Feng wrote:
>
>> On Aug 20, 2020, at 01:18, Takashi Iwai <tiwai@suse.de> wrote:
>>
>> [ Adding a few more relevant people to Cc. ]
>>
>> On Wed, 19 Aug 2020 13:57:57 +0200,
>> penghao wrote:
>>> TI024Gen3 USB-audio is controlled by TI024Gen3,when TI024Gens
>>> enter sleep mode, USB-audio will disconnect from USB bus port,
>>> wakup form s3 state
>>>
>>> Signed-off-by: penghao <penghao@uniontech.com>
>>> ---
>>> sound/usb/card.c | 6 ++++++
>>> 1 file changed, 6 insertions(+)
>>>
>>> diff --git a/sound/usb/card.c b/sound/usb/card.c
>>> index 696e788c5d31..6bdbb34009b3 100644
>>> --- a/sound/usb/card.c
>>> +++ b/sound/usb/card.c
>>> @@ -658,6 +658,12 @@ static int usb_audio_probe(struct usb_interface *intf,
>>> }
>>>
>>> dev_set_drvdata(&dev->dev, chip);
>>> + /*
>>> + *ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo
>>> + *ThinkCentre TI024Gen3 usb-audio
>>> + */
>>> + if ((usb_id->idVendor == 0x17ef) && (usb_id->idProduct == 0xa012))
>>> + device_set_wakeup_enable(&dev->dev, 0);
>> Here it's no proper ASCII letter, and this must be broken.
>> Please check the actual patch before submitting.
>>
>> In anyway, before going further, I'd like to hear from other people
>> whether this is really mandatory and appropriate. And whether it's
>> specific to that device, too (not other Lenovo devices?)
> If USB remote wakeup on this device is broken then we need to fix it in USB core instead of USB audio.
> We need USB and xHCI logs to understand the real problem here, the commit message doesn't contain enough information.
>
> Kai-Heng
I checked with our QA, we didn't enable this machine before. And I
tried 2 different usb audio cards, neither of them has wakeup
capability. it is weird that your usb sound card (maybe a built-in usb
sound card) has wakeup capability.
You could file a bug to
https://bugs.launchpad.net/ubuntu/+source/linux/+filebug, then upload
the needed logs, Kai-Heng and I will help investigate this issue.
Thanks,
Hui.
>>
>> thanks,
>>
>> Takashi
next prev parent reply other threads:[~2020-08-20 1:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-19 11:57 penghao
2020-08-19 17:18 ` Takashi Iwai
2020-08-19 18:10 ` Kai-Heng Feng
2020-08-20 1:42 ` Hui Wang [this message]
2020-08-19 17:21 ` kernel test robot
2020-08-19 19:35 ` kernel test robot
2020-08-19 19:47 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2020-08-19 3:34 penghao
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=fdd0d029-d7b5-ff43-5f84-9d73de867bca@canonical.com \
--to=hui.wang@canonical.com \
--cc=alexander@tsoy.me \
--cc=alsa-devel@alsa-project.org \
--cc=crwulff@gmail.com \
--cc=dan.carpenter@oracle.com \
--cc=gustavoars@kernel.org \
--cc=kai.heng.feng@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpearson@lenovo.com \
--cc=penghao@uniontech.com \
--cc=perex@perex.cz \
--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
all inboxes | Powered by JetHome®