(In reply to Michael J Gruber from comment #273) > (In reply to Zhang Rui from comment #271) > > The revert patch has been merged by Rafael, and it will show up in v5.1 > > Just for anyone wondering: it's in the stable kernel 5.0.9, also.
I can confirm that the bug has been fixed in the stable kernel 5.0.9 downloaded from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.9/ Thank you! You can find some test I did to check the correct behavior. ~$ uname -sr Linux 5.0.9-050009-generic Plugged ~$ cat /sys/class/power_supply/BAT1/status Charging Unplugged ~$ cat /sys/class/power_supply/ADP1/online 0 ~$ cat /sys/class/power_supply/BAT1/status Discharging Replugged ~$ cat /sys/class/power_supply/ADP1/online 1 ~$ cat /sys/class/power_supply/BAT1/status Charging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1283589 Title: [Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1283589/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
