[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-06-06 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-azure/5.19.0-1028.31 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exis

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-05-25 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-aws/5.19.0-1027.28 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-05-22 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux- allwinner/5.19.0-1012.12 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification- done-kinetic'. If the problem stil

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-05-17 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-gcp/5.19.0-1024.26 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-05-15 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.19.0-42.43 --- linux (5.19.0-42.43) kinetic; urgency=medium * kinetic/linux: 5.19.0-42.43 -proposed tracker (LP: #2016503) * selftest: fib_tests: Always cleanup before exit (LP: #2015956) - selftest: fib_tests: Always cleanup befo

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-04-26 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux- nvidia-5.19/5.19.0-1010.10 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still e

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-04-22 Thread Niall Murphy
Distributor ID: Ubuntu Description:Ubuntu 22.10 Release:22.10 Codename: kinetic Kernel: 5.19.0-42-generic Suspends and resumes, Light detector works after resume. ** Tags removed: verification-needed-kinetic ** Tags added: verification-done-kinetic -- You received this bug n

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-04-21 Thread Stefan Bader
** Also affects: linux (Ubuntu Kinetic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Kinetic) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Kinetic) Status: New => Fix Committed -- You received this bug notification because you are a member o

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-04-19 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/5.19.0-41.42 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists, chan

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-03-24 Thread Johannes Mayrhofer
Hi, sorry for this incredibly delayed response. I have been running on 6.2.x versions (on Manjaro still) since early February and with one minor version it was all working fine again with suspend and hibernate. Not sure if it is the same fix, but thanks a ton to look into this! -- You received

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-03-05 Thread Niall Murphy
6.1.0-1008-oem is working fine. Suspends and resumes with now issues so far. I think i have changed the tag from verification-needed-jammy to verification-done-jammy ** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- You received this bug notification because

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-03-03 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-oem-6.1/6.1.0-1008.8 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists,

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-02-22 Thread Kai-Heng Feng
https://git.kernel.org/torvalds/c/ee3c5b644a0fdcfed27515a39fb2dd3a016704c1 ** Changed in: linux (Ubuntu) Assignee: Kai-Heng Feng (kaihengfeng) => (unassigned) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://b

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-01-17 Thread Kai-Heng Feng
Please let me know if anyone needs prebuilt Ubuntu kernel binary. -- 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/1988346 Title: cm32181 module error blocking suspend Status in linux pac

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-01-17 Thread Kai-Heng Feng
Please give this patch a try, thanks! ** Patch added: "cm32181-fix.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988346/+attachment/5641897/+files/cm32181-fix.patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-01-11 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- 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/1988346 Title: cm32181 module error blocking suspend Status in linux package in Ubuntu: Confirmed Bug description:

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-01-11 Thread Kai-Heng Feng
Hi, Please apply this patch, then run `echo 1 | sudo tee /sys/bus/iio/devices/iio\:device0/disable`, assuming the cm32181 sensor is "iio:device0". And check what's being printed in dmesg. ** Patch added: "cm32181.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988346/+attachment

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-01-10 Thread Johannes Mayrhofer
Hi, also sorry, now for my delayed response. My `/sys/power/mem_sleep` says: s2idle [deep] So, if I read this correctly, this means s3 is selected, right? (Currently checking from a session in Kernel 5.15, as I was testing other things not being smooth with 6.1 for me. But I presume this would be

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2023-01-05 Thread Kai-Heng Feng
Sorry for belated respose. Johannes, does your system use S3 or S2idle? -- 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/1988346 Title: cm32181 module error blocking suspend Status in li

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-12-31 Thread Johannes Mayrhofer
Hi, I am experiencing this exact same bug on Manjaro with Kernels 6.0.x and 6.1.x. @Kai-Heng Feng, could you please provide the patch you used for `lp1988346-5` so I could test if this fixes in those kernels as well? Thanks for your work! -- You received this bug notification because you are a m

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-23 Thread Niall Murphy
Kernel lp1988346-5 successful suspend resume. ** Attachment added: "with_module_successful_suspend_resume_dmseg_lp1988346-5.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988346/+attachment/5626101/+files/with_module_successful_suspend_resume_dmseg_lp1988346-5.log -- You receiv

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-23 Thread Niall Murphy
Kernel lp1988346-5 successful suspend/resume DMSEG -- 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/1988346 Title: cm32181 module error blocking suspend Status in linux package in Ubuntu:

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-23 Thread Niall Murphy
Kernel lp1988346-5 boot DMSEG ** Attachment added: "Kernel lp1988346-5 boot DMSEG" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988346/+attachment/5626100/+files/boot_dmseg_lp1988346-5.log -- You received this bug notification because you are a member of Kernel Packages, which is su

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-23 Thread Niall Murphy
Sorry for the delay. Thank for for continuing to work on this. I have tested kernel 5. * It suspends correctly and resumes correctly. * Light sensor does not work after suspend. I attach the DMSEG logs for the boot and suspend/resume cycle. -- You received this bug notification because you

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-19 Thread Kai-Heng Feng
Thanks for your testing so far! Please give this kernel a try: https://people.canonical.com/~khfeng/lp1988346-5/ I made CM32181's suspend/resume routine dummy functions. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. ht

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-07 Thread Niall Murphy
Yes, with kernel number 4, if I unload the kernel module it suspends and resumes fine. I attach the DMESG log of the successful suspend/resume without cm32181. ** Attachment added: "kernel_lp1988346-4_dmesg_unload_successful_suspend" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/19883

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-07 Thread Kai-Heng Feng
This is very weird. The suspend function of cm32181 shouldn't be called on your laptop. Does removing cm32181 before suspend help? -- 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/1988346 T

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-06 Thread Niall Murphy
With Kernel 4 when I suspend: * screen goes black and the computer stops responding * Keyboard light, adaptive function keys, and fan stay on After 5 minutes, the situation does not change, so I force reboot. DMSEG starting at suspend, then the forced reboot. ** Attachment added: "kernel_lp1988

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-06 Thread Kai-Heng Feng
Please give this kernel a try. It disables suspend for cm3218. https://people.canonical.com/~khfeng/lp1988346-4/ -- 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/1988346 Title: cm32181 mo

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-04 Thread Niall Murphy
Boot Dmesg ** Attachment added: "kernel_lp1988346-3_dmesg_01_boot" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988346/+attachment/5621233/+files/kernel_lp1988346-3_dmesg_01_boot -- You received this bug notification because you are a member of Kernel Packages, which is subscribed t

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-04 Thread Niall Murphy
Unload the module, then suspend succeeds Dmesg. Reloading the module results in. [ 308.882904] i2c i2c-0: Failed to register i2c client dummy at 0x48 (-16) [ 308.882977] cm32181: probe of i2c-CPLM3218:00 failed with error -16 ** Attachment added: "kernel_lp1988346-3_dmesg_03_unload_module_susp

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-04 Thread Niall Murphy
Suspend Fail Dmesg ** Attachment added: "kernel_lp1988346-3_dmesg_02_suspend_fail_with_module" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988346/+attachment/5621234/+files/kernel_lp1988346-3_dmesg_02_suspend_fail_with_module -- You received this bug notification because you are a

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-03 Thread Kai-Heng Feng
Can you please install and boot this kernel, and attach dmesg here? Thanks! https://people.canonical.com/~khfeng/lp1988346-3/ -- 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/1988346 Title:

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-10-01 Thread Niall Murphy
Hi Kai-Heng, Thanks for the new kernel. * When my laptop suspends a red light should slowly pulse on the laptop, with this kernel the light stays on. * the adaptive function keys (Lenovo X1 Carbon 2nd Gen) stay on. * The laptop does not wake up from suspend, I have to force restart. Journalct

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-30 Thread Kai-Heng Feng
Sorry for the belated response. Can you please give this one a try: https://people.canonical.com/~khfeng/lp1988346-2/ -- 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/1988346 Title: cm3218

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-12 Thread Niall Murphy
Thanks for trying to solve this. After removing the module the device directory looks like this. $ ls -a /sys/devices/pci:00/INT33C3:00/i2c-0/i2c-CPLM3218:00 total 0 drwxr-xr-x 3 root root0 Sep 13 2022 . drwxr-xr-x 6 root root0 Sep 13 2022 .. lrwxrwxrwx 1 root root0 Sep 13 00:01

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-11 Thread Kai-Heng Feng
Thanks for testing. Following #31, does running `sudo modprobe cm32181` after resume make the sensor working? -- 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/1988346 Title: cm32181 modul

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-07 Thread Niall Murphy
After running `sudo modprobe -r cm32181` suspend works and it wakes up from suspend perfectly. As expected `find /sys/devices | grep illu` cannot find anything. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-06 Thread Kai-Heng Feng
Thanks for the testing. First, let's make sure the resume fail was caused by cm32181. So can you please run `sudo modprobe -r cm32181`, and see if your system can resume successfully? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-06 Thread Niall Murphy
I have removed the repository 5.15.0-48 kernel and installed the kernels you linked to. (using dpkg -i *.deb). The system suspends successfully, but it does not wake from suspend. Here is the log showing the end of the suspend. At 23:10 I started suspend. At 23:13 I attempted to wake the mach

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-06 Thread Niall Murphy
Update on the kernel 5.15.0-46 status. The light sensor does work after resuming from suspend, however the numbers reported are an order of magnitude greater than before. During day light it maxes out at 16941, but at night it will report 0, then if we shine light on it, return numbers > 1000 (

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-06 Thread Kai-Heng Feng
Thanks, please give this kernel a try: https://people.canonical.com/~khfeng/lp1988346/ -- 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/1988346 Title: cm32181 module error blocking suspen

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-02 Thread Niall Murphy
I have booted with kernel 5.15.0-46. Before suspend, the light detector is working ```bash while true; do cat /sys/devices/pci:00/INT33C3:00/i2c-0/i2c-CPLM3218:00/iio:device0/in_illuminance_input; sleep 0.1; done ``` spits out a stream of numbers that change with light levels. I can then

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-01 Thread Kai-Heng Feng
Can you please see if it's working after suspend on previous kernel versions like 5.15.0-46? -- 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/1988346 Title: cm32181 module error blocking s

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-01 Thread Niall Murphy
The previous Kernel I used was 5.4.0-81-generic on ubuntu 20.04. Grepping through /var/log there is no mention of cm32181 before the upgrade data (August 19th). After the upgrade to 5.15.0-47-generic and Ubuntu 22.04 the "cm32181 i2c-CPLM3218:00: PM: failed to suspend: error -121" appears. The

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-01 Thread Kai-Heng Feng
You can find the value of ambient light by reading "in_illuminance_input". $ find /sys 2>/dev/null | grep in_illuminance_input ...to find it's full path. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launch

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-09-01 Thread Niall Murphy
I did not know my laptop (Lenovo X1 Carbon Gen2) had an ambient light sensor until I upgraded to 22.04 so I cannot say it was working after suspend. I can say that with Ubuntu 20.04 suspend would proceed as normal and waking from suspend worked as normal. I can scan some log files and see if

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-08-31 Thread Kai-Heng Feng
Thanks for the bug report. Does the ambient light sensor works after system suspend, prior to the kernel upgrade? ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1988346] Re: cm32181 module error blocking suspend

2022-08-31 Thread Niall Murphy
apport information ** Tags added: apport-collected jammy wayland-session ** Description changed: After updating to 22.04.1 (from 20.04) suspend gets interrupted and the system returns after a few seconds. journalctl output ``` Aug 31 19:59:32 nmurphy-laptop kernel: PM: suspend entry