Re: Lenovo P50 headphone issue

2020-10-09 Thread Hui Wang
experiencing issues with a Lenovo P50 regarding headphones. It has some similarities with the issue fixed in 5.8.13 with commit ad0643252831ede7d6ab7b70a4f03768e032e6b4 Author: Hui Wang Date: Mon Sep 14 14:51:18 2020 +0800 ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged

Re: [PATCH] ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520

2020-09-14 Thread Hui Wang
OK,  then looks fine to me. Acked-by:Hui Wang On 2020/9/14 下午4:07, Kai-Heng Feng wrote: Hi Hui, On Sep 14, 2020, at 16:04, Hui Wang wrote: Thanks Kaiheng, and we just had one P520 in the Beijing office and I also worked on this issue happenly. Does the led change according to jack

Re: [PATCH] ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520

2020-09-14 Thread Hui Wang
On 2020/9/14 下午4:07, Kai-Heng Feng wrote: Hi Hui, On Sep 14, 2020, at 16:04, Hui Wang wrote: Thanks Kaiheng, and we just had one P520 in the Beijing office and I also worked on this issue happenly. Does the led change according to jack plugging in or plugging out with your patch

Re: [PATCH] ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520

2020-09-14 Thread Hui Wang
Thanks Kaiheng, and we just had one P520 in the Beijing office and I also worked on this issue happenly. Does the led change according to jack plugging in or plugging out with your patch? I also prepared a patchset but my patchset has more code than yours, please take a look. :-) Thanks.

Re: [PATCH] ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo ThinkCentre TI024Gen3 USB-audio

2020-08-19 Thread Hui Wang
On 2020/8/20 上午2:10, Kai-Heng Feng wrote: On Aug 20, 2020, at 01:18, Takashi Iwai 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

Re: audio lost from speaker after reboot from windows on the device ALC295

2019-07-04 Thread Hui Wang
Maybe your machine has an external amplifier which needs to be set by software before it can work. On 2019/7/4 下午8:02, He, Bo wrote: Hi, patch_realtek.c maintainer: I see one issue that reboot from windows and boot to ubuntu, the audio lost from speaker, I suspect there are some bugs

Re: 答复: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-18 Thread Hui Wang
Shona -邮件原件- 发件人: Pali Rohár 发送时间: Wednesday, June 12, 2019 1:39 AM 收件人: dmitry.torok...@gmail.com 抄送: Hui Wang ; 劉 曉曉 Xiaoxiao Liu ; XiaoXiao Liu ; peter.hutte...@who-t.net; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; 曹 曉建 Xiaojian Cao ; zhang...@lenovo.com; 斉藤 直樹 Naoki Saito ; 川瀬 英夫 Hideo Kawase

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-10 Thread Hui Wang
On 2019/6/11 上午11:23, Hui Wang wrote: On 2019/6/11 上午11:05, Xiaoxiao Liu wrote: Hi Pali, I discussed with our FW team about this problem. We think the V8 method means a touchpad feature  and does not fit the CS19 trackpoint device. CS19 TrackPoint needn't  use any Absolute (Raw) mode

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-10 Thread Hui Wang
On 2019/6/11 上午11:05, Xiaoxiao Liu wrote: Hi Pali, I discussed with our FW team about this problem. We think the V8 method means a touchpad feature and does not fit the CS19 trackpoint device. CS19 TrackPoint needn't use any Absolute (Raw) mode and is usually use standard mouse data. CS19

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue the special alps trackpoint do not work.

2019-05-24 Thread Hui Wang
On 2019/5/24 下午6:58, Peter Hutterer wrote: On Fri, May 24, 2019 at 06:43:58PM +0800, Hui Wang wrote: On 2019/5/24 下午5:37, Peter Hutterer wrote: On Fri, May 24, 2019 at 03:37:57PM +0800, Hui Wang wrote: OK, that is sth we need to do.  But anyway it is a bit risky to backport that much code

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue the special alps trackpoint do not work.

2019-05-24 Thread Hui Wang
On 2019/5/24 下午3:26, Pali Rohár wrote: On Friday 24 May 2019 13:50:53 Hui Wang wrote: On 2019/5/24 下午1:36, Peter Hutterer wrote: On Fri, May 24, 2019 at 01:25:52PM +0800, Hui Wang wrote: On 2019/5/23 下午2:01, Peter Hutterer wrote: On Wed, May 22, 2019 at 09:40:30AM +0200, Pali Rohár wrote

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue the special alps trackpoint do not work.

2019-05-23 Thread Hui Wang
On 2019/5/24 下午1:36, Peter Hutterer wrote: On Fri, May 24, 2019 at 01:25:52PM +0800, Hui Wang wrote: On 2019/5/23 下午2:01, Peter Hutterer wrote: On Wed, May 22, 2019 at 09:40:30AM +0200, Pali Rohár wrote: On Wednesday 22 May 2019 07:30:43 Xiaoxiao Liu wrote: Hi Pali, Ok, and cannot you set

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue the special alps trackpoint do not work.

2019-05-23 Thread Hui Wang
On 2019/5/23 下午2:01, Peter Hutterer wrote: On Wed, May 22, 2019 at 09:40:30AM +0200, Pali Rohár wrote: On Wednesday 22 May 2019 07:30:43 Xiaoxiao Liu wrote: Hi Pali, Ok, and cannot you set ALPS_DUALPOINT flag based on that alps_check_is_trackpoint() result and then update

Re: 答复: [PATCH] input: alps-fix the issue the special alps trackpoint do not work.

2019-05-20 Thread Hui Wang
Tested-by: Hui Wang On 2019/5/21 上午9:07, Xiaoxiao Liu wrote: Add Pali Rohár. -邮件原件- 发件人: XiaoXiao Liu 发送时间: Monday, May 20, 2019 7:02 PM 收件人: dmitry.torok...@gmail.com 抄送: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; hui.w...@canonical.com; 曹 曉建 Xiaojian Cao ; zhang

[tip:x86/cpu] x86/topology: Use total_cpus for max logical packages calculation

2018-12-18 Thread tip-bot for Hui Wang
Commit-ID: aa02ef099cff042c2a9109782ec2bf1bffc955d4 Gitweb: https://git.kernel.org/tip/aa02ef099cff042c2a9109782ec2bf1bffc955d4 Author: Hui Wang AuthorDate: Wed, 7 Nov 2018 10:36:43 +0800 Committer: Thomas Gleixner CommitDate: Tue, 18 Dec 2018 13:38:37 +0100 x86/topology: Use

Re: [PATCH 4.19 096/139] ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops

2018-12-12 Thread Hui Wang
patch to fix this LED regression, after applying this patch Hello, On Tue, Dec 04, 2018 at 11:49:37AM +0100, Greg Kroah-Hartman wrote: 4.19-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit c4cfcf6f4297c9256b53790bacbbbd6901fef468 u

Re: [alsa-devel] [PATCH] ALSA: hda/realtek - Add quirks for Dell Optiplex 5060, 7060 for audio out while using headphones

2018-12-11 Thread Hui Wang
On 2018/12/12 上午6:49, Girija Kumar Kasinadhuni wrote: There are two audio ports on these machines - headset and mic. Looks like the two audio ports are headset and lineout. There' s no sound when hp is inserted into the headset port, though the hp is detected. Without pulseaudio, this issue is

[PATCH] x86/topology: use total_cpus for max logical packages calculation

2018-11-06 Thread Hui Wang
, for example: taskset -c 26 echo c > /proc/sysrq-trigger Use total_cpus which will not be limited by nr_cpus command line to calculate the value of __max_logical_packages. Signed-off-by: Hui Wang --- arch/x86/kernel/smpboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a

[PATCH] x86/topology: use total_cpus for max logical packages calculation

2018-11-06 Thread Hui Wang
, for example: taskset -c 26 echo c > /proc/sysrq-trigger Use total_cpus which will not be limited by nr_cpus command line to calculate the value of __max_logical_packages. Signed-off-by: Hui Wang --- arch/x86/kernel/smpboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-07-01 Thread Hui Wang
On 06/29/2015 08:49 AM, Hui Wang wrote: On 06/27/2015 11:03 AM, Raymond Yau wrote: Most Thinkpad Edge series laptops use conexant codec, so far although Is there anything I can debug or any information I can collect from my box to examine this? What is the linux distribution on your machine

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-07-01 Thread Hui Wang
On 06/29/2015 08:49 AM, Hui Wang wrote: On 06/27/2015 11:03 AM, Raymond Yau wrote: Most Thinkpad Edge series laptops use conexant codec, so far although snip Is there anything I can debug or any information I can collect from my box to examine this? What is the linux distribution on your

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-28 Thread Hui Wang
On 06/27/2015 11:03 AM, Raymond Yau wrote: Most Thinkpad Edge series laptops use conexant codec, so far although Is there anything I can debug or any information I can collect from my box to examine this? What is the linux distribution on your machine? And use showkey to catch the keycode of

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-28 Thread Hui Wang
On 06/27/2015 11:03 AM, Raymond Yau wrote: Most Thinkpad Edge series laptops use conexant codec, so far although snip Is there anything I can debug or any information I can collect from my box to examine this? What is the linux distribution on your machine? And use showkey to catch the

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-25 Thread Hui Wang
On 06/25/2015 07:02 PM, Jan Kiszka wrote: On 2015-06-24 10:46, Hui Wang wrote: On 06/24/2015 01:37 PM, Jan Kiszka wrote: On 2015-05-23 18:22, Jan Kiszka wrote: On 2015-05-23 18:06, Raymond Yau wrote: 2015-5-23 下午4:50 於 "Jan Kiszka" 寫道: Most Thinkpad Edge series laptops use cone

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-25 Thread Hui Wang
On 06/25/2015 07:02 PM, Jan Kiszka wrote: On 2015-06-24 10:46, Hui Wang wrote: On 06/24/2015 01:37 PM, Jan Kiszka wrote: On 2015-05-23 18:22, Jan Kiszka wrote: On 2015-05-23 18:06, Raymond Yau wrote: 2015-5-23 下午4:50 於 Jan Kiszka jan.kis...@web.de 寫道: Most Thinkpad Edge series laptops use

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-24 Thread Hui Wang
On 06/24/2015 01:37 PM, Jan Kiszka wrote: On 2015-05-23 18:22, Jan Kiszka wrote: On 2015-05-23 18:06, Raymond Yau wrote: 2015-5-23 下午4:50 於 "Jan Kiszka" 寫道: Most Thinkpad Edge series laptops use conexant codec, so far although Is there anything I can debug or any information I can collect

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-24 Thread Hui Wang
On 06/24/2015 01:37 PM, Jan Kiszka wrote: On 2015-05-23 18:22, Jan Kiszka wrote: On 2015-05-23 18:06, Raymond Yau wrote: 2015-5-23 下午4:50 於 Jan Kiszka jan.kis...@web.de 寫道: Most Thinkpad Edge series laptops use conexant codec, so far although snip Is there anything I can debug or any

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-07-03 Thread Hui Wang
On 07/03/2014 05:05 PM, Jan Kiszka wrote: On 2014-07-03 10:59, Hui Wang wrote: On 07/03/2014 03:04 PM, Jan Kiszka wrote: On 2014-07-01 11:26, Hui Wang wrote: On 07/01/2014 03:38 PM, Jan Kiszka wrote: On 2014-07-01 04:15, Hui Wang wrote: On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-07-03 Thread Hui Wang
On 07/03/2014 03:04 PM, Jan Kiszka wrote: On 2014-07-01 11:26, Hui Wang wrote: On 07/01/2014 03:38 PM, Jan Kiszka wrote: On 2014-07-01 04:15, Hui Wang wrote: On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06-30 04:04, Hui Wang wrote: On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-07-03 Thread Hui Wang
On 07/03/2014 03:04 PM, Jan Kiszka wrote: On 2014-07-01 11:26, Hui Wang wrote: On 07/01/2014 03:38 PM, Jan Kiszka wrote: On 2014-07-01 04:15, Hui Wang wrote: On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06-30 04:04, Hui Wang wrote: On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-07-03 Thread Hui Wang
On 07/03/2014 05:05 PM, Jan Kiszka wrote: On 2014-07-03 10:59, Hui Wang wrote: On 07/03/2014 03:04 PM, Jan Kiszka wrote: On 2014-07-01 11:26, Hui Wang wrote: On 07/01/2014 03:38 PM, Jan Kiszka wrote: On 2014-07-01 04:15, Hui Wang wrote: On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-07-01 Thread Hui Wang
On 07/01/2014 03:38 PM, Jan Kiszka wrote: On 2014-07-01 04:15, Hui Wang wrote: On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06-30 04:04, Hui Wang wrote: On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11-27 07:47, Hui Wang wrote: Most Thinkpad Edge series laptops use conexant codec

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-07-01 Thread Hui Wang
On 07/01/2014 03:38 PM, Jan Kiszka wrote: On 2014-07-01 04:15, Hui Wang wrote: On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06-30 04:04, Hui Wang wrote: On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11-27 07:47, Hui Wang wrote: Most Thinkpad Edge series laptops use conexant codec

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-06-30 Thread Hui Wang
On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06-30 04:04, Hui Wang wrote: On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11-27 07:47, Hui Wang wrote: Most Thinkpad Edge series laptops use conexant codec, so far although the codecs have different minor Vendor Id and minor Subsystem Id

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-06-30 Thread Hui Wang
On 06/30/2014 02:45 PM, Jan Kiszka wrote: On 2014-06-30 04:04, Hui Wang wrote: On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11-27 07:47, Hui Wang wrote: Most Thinkpad Edge series laptops use conexant codec, so far although the codecs have different minor Vendor Id and minor Subsystem Id

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-06-29 Thread Hui Wang
On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11-27 07:47, Hui Wang wrote: Most Thinkpad Edge series laptops use conexant codec, so far although the codecs have different minor Vendor Id and minor Subsystem Id, they all belong to the cxt5066 family, this change can make the mute/mic-mute

Re: [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2014-06-29 Thread Hui Wang
On 06/29/2014 07:33 PM, Jan Kiszka wrote: On 2013-11-27 07:47, Hui Wang wrote: Most Thinkpad Edge series laptops use conexant codec, so far although the codecs have different minor Vendor Id and minor Subsystem Id, they all belong to the cxt5066 family, this change can make the mute/mic-mute

Re: [PATCH v4 02/13] ARM: LPAE: use phys_addr_t in alloc_init_pud()

2013-01-31 Thread Hui Wang
Nicolas Pitre wrote: On Fri, 1 Feb 2013, Hui Wang wrote: Cyril Chemparathy wrote: From: Vitaly Andrianov This patch fixes the alloc_init_pud() function to use phys_addr_t instead of unsigned long when passing in the phys argument. This is an extension to commit

Re: [PATCH v4 02/13] ARM: LPAE: use phys_addr_t in alloc_init_pud()

2013-01-31 Thread Hui Wang
Cyril Chemparathy wrote: From: Vitaly Andrianov This patch fixes the alloc_init_pud() function to use phys_addr_t instead of unsigned long when passing in the phys argument. This is an extension to commit 97092e0c56830457af0639f6bd904537a150ea4a (ARM: pgtable: use phys_addr_t for physical

Re: [PATCH v4 02/13] ARM: LPAE: use phys_addr_t in alloc_init_pud()

2013-01-31 Thread Hui Wang
Cyril Chemparathy wrote: From: Vitaly Andrianov vita...@ti.com This patch fixes the alloc_init_pud() function to use phys_addr_t instead of unsigned long when passing in the phys argument. This is an extension to commit 97092e0c56830457af0639f6bd904537a150ea4a (ARM: pgtable: use phys_addr_t

Re: [PATCH v4 02/13] ARM: LPAE: use phys_addr_t in alloc_init_pud()

2013-01-31 Thread Hui Wang
Nicolas Pitre wrote: On Fri, 1 Feb 2013, Hui Wang wrote: Cyril Chemparathy wrote: From: Vitaly Andrianov vita...@ti.com This patch fixes the alloc_init_pud() function to use phys_addr_t instead of unsigned long when passing in the phys argument. This is an extension to commit