[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2022-01-06 Thread Ping-Ke Shih
The rtw88 is rewritten from out of tree driver, so ideally they should be the same. Have you tried the out of tree driver on this platform? Does it work well? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu.

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2022-01-06 Thread Ping-Ke Shih
Reply #66 > So the L0s is fine to be up in LNKCTL? As I know, L0s is a single direction function. I mean rtl8821ce can decide to enter L0s or not; don't need peer support this simultaneously. > what's the possible difference between rtw88 and the old rtl8821ce What do you mean about the "old

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2022-01-06 Thread Ping-Ke Shih
By default, 8821ce doesn't not enter L0s. Do you have any finding about this? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu. https://bugs.launchpad.net/bugs/1927808 Title: rtw88_8821ce causes freeze Status

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-08 Thread Ping-Ke Shih
> I put the laptop to sleep > I use the sleep button from the GUI and it works well I guess these two sleep methods are different. Maybe, you can try to change the behavior of laptop automatic sleep. -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1952403] Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

2021-12-02 Thread Ping-Ke Shih
> add the options `rtw_pci disable_aspm=1` and `rtw_pci disable_msi=1` but they didn't help. Please confirm the module parameters by /sys/module/rtw88_pci/parameters/ if they are set properly. > kernel boot parameters `pcie_aspm.policy=performance` Since your CPU is AMD, please also add

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-06 Thread Ping-Ke Shih
I have sent the patch to upstream: https://lore.kernel.org/linux-wireless/20210607012254.6306-1-pks...@realtek.com/T/#u I add your description of this bug in the commit message. If there is anything wrong, please let me know. About the warnings "timed out to flush queue 2", my colleague told

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-04 Thread Ping-Ke Shih
For #28. Thank you, Kai-Heng. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927808 Title: rtw88_8821ce causes freeze Status in linux package in Ubuntu: Confirmed Bug description:

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-04 Thread Ping-Ke Shih
Please do below step-by-step: 1. install compiler $ sudo apt install build-essential 2. untar attached driver into any place you want $ tar zxvf rtw88_.tar.gz 3. enter the folder 4. compiler driver $ make -f Makefile-rtw88 -j8 5. remove module $ sudo rmmod rtw88_8821ce rtw88_8821c

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-03 Thread Ping-Ke Shih
Could you tell me your version of Ubuntu kernel by 'uname -a'? I can send you a tarball of rtw88 driver with my patch, and then you can only build the driver as long as you have kernel header and essential build tools. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-03 Thread Ping-Ke Shih
Please try attached patch, and see if it works. Note. Don't apply kernel command, and remove /etc/modprobe.d/rtw88_pci.conf Without a 8821CE, I can't diagnose the symptom, so I contact my colleague to check if we can reproduce this symptom. If any update, I'll let you know. ** Patch added:

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-03 Thread Ping-Ke Shih
The first message, "rtw_8821ce :04:00.0: timed out to flush queue 2", means the buffered data isn't transmitted properly. I think this isn't a big deal. The second message, "rtw_8821ce :04:00.0: firmware failed to leave lps state", means firmware doesn't respond the request of leaving

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-02 Thread Ping-Ke Shih
My propose method is to fix ASPM issue by driver instead. So, don't apply "pcie_aspm=force pcie_aspm.policy=performance" to kernel parameter, but add a file /etc/modprobe.d/rtw88_pci.conf with below content options rtw88_pci disable_aspm=1 (Sorry, disable_aspm=0 in #17 is typo) Then,

[Kernel-packages] [Bug 1927808] Re: rtw88_8821ce causes freeze

2021-06-02 Thread Ping-Ke Shih
Could you please try disable_aspm=0 when loading rtw88_pci.ko? If it works, we may add a quirk in driver by vendor and product name. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927808