2014-02-22 23:18:49 |
juanmanuel |
bug |
|
|
added bug |
2014-02-22 23:22:32 |
juanmanuel |
description |
LID close and AC and battery status events not produced anymore on samsung ultrabook.
I have a Samsung Series 5 NP530U3C-A01 ultrabook.
This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested with the latest ubuntu and the situation is the same (tested with trusty-desktop-amd64.iso from http://cdimage.ubuntu.com/daily-live/current/ the ISO is dated 2014-02-22).
I created a blog post where I can put all the information related to this bug here:
http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. CHICKEN AND EGG SITUATION :-) THe issue persists between restarts and shutdowns, and even after re-suspending/re-resuming.
Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
I diagnosed the issue and made a workaround fix, posted first to this launchpad issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
Also see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/100
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that you lost the ability to suspend by closing the LID.
or:
echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
To bring back the normal behaviour, you can: hit turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
Another way to bring back the normal behavior, is to force query the accumulated events in the Embedded Controller. That is what my little C program does, and I offered it as a workaround here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
From the feedback I gathered, the following samsung models are affected and can be fixed by querying the EC:
Samsung Series 5 (models NP530U3C, NP535U3C, NP530U3B, NP550P5C)
Samsung Series 9 (models NP900X3F, NP900X4B, NP900X4C, NP900X4D, NP900X3C)
which are roughly series 5 and series 9 from 2011 and 2012. This issue has been frustrating us users for years.
A kernel patch has been made here, based on my research, by Lan Tianyu:
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135
The patch properly queries the EC properly after resume from sleep, instead of my original quick and dirty approach. I tested it myself and it works.
--
Juan Manuel Cabo
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
LID close and AC and battery status events not produced anymore on samsung ultrabook.
I have a Samsung Series 5 NP530U3C-A01 ultrabook.
This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested with the latest ubuntu and the situation is the same (tested with trusty-desktop-amd64.iso from http://cdimage.ubuntu.com/daily-live/current/ the ISO is dated 2014-02-22).
I created a blog post where I can put all the information related to this bug here:
http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. CHICKEN AND EGG SITUATION :-) THe issue persists between restarts and shutdowns, and even after re-suspending/re-resuming.
Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
I diagnosed the issue and made a workaround fix, posted first to this launchpad issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
Also see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/100
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c129
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
or:
echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
To bring back the normal behaviour, I can: turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
Another way to bring back the normal behavior, is to force query the accumulated events in the Embedded Controller. That is what my little C program does, and I offered it as a workaround here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
From the feedback I gathered, the following samsung models are affected and can be fixed by querying the EC:
Samsung Series 5 (models NP530U3C, NP535U3C, NP530U3B, NP550P5C)
Samsung Series 9 (models NP900X3F, NP900X4B, NP900X4C, NP900X4D, NP900X3C)
which are roughly series 5 and series 9 from 2011 and 2012. This issue has been frustrating us users for years.
A kernel patch has been made here, based on my research, by Lan Tianyu:
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135
The patch properly queries the EC properly after resume from sleep, instead of my original quick and dirty approach. I tested it myself and it works.
--
Juan Manuel Cabo
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
|
2014-02-22 23:24:01 |
juanmanuel |
description |
LID close and AC and battery status events not produced anymore on samsung ultrabook.
I have a Samsung Series 5 NP530U3C-A01 ultrabook.
This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested with the latest ubuntu and the situation is the same (tested with trusty-desktop-amd64.iso from http://cdimage.ubuntu.com/daily-live/current/ the ISO is dated 2014-02-22).
I created a blog post where I can put all the information related to this bug here:
http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. CHICKEN AND EGG SITUATION :-) THe issue persists between restarts and shutdowns, and even after re-suspending/re-resuming.
Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
I diagnosed the issue and made a workaround fix, posted first to this launchpad issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
Also see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/100
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c129
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
or:
echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
To bring back the normal behaviour, I can: turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
Another way to bring back the normal behavior, is to force query the accumulated events in the Embedded Controller. That is what my little C program does, and I offered it as a workaround here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
From the feedback I gathered, the following samsung models are affected and can be fixed by querying the EC:
Samsung Series 5 (models NP530U3C, NP535U3C, NP530U3B, NP550P5C)
Samsung Series 9 (models NP900X3F, NP900X4B, NP900X4C, NP900X4D, NP900X3C)
which are roughly series 5 and series 9 from 2011 and 2012. This issue has been frustrating us users for years.
A kernel patch has been made here, based on my research, by Lan Tianyu:
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135
The patch properly queries the EC properly after resume from sleep, instead of my original quick and dirty approach. I tested it myself and it works.
--
Juan Manuel Cabo
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
LID close and AC and battery status events not produced anymore on samsung ultrabook.
I have a Samsung Series 5 NP530U3C-A01 ultrabook.
This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested with the latest ubuntu and the situation is the same (tested with trusty-desktop-amd64.iso from http://cdimage.ubuntu.com/daily-live/current/ the ISO is dated 2014-02-22).
I created a blog post where I can put all the information related to this bug here:
http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. CHICKEN AND EGG SITUATION :-) THe issue persists between restarts and shutdowns, and even after re-suspending/re-resuming.
Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
I diagnosed the issue and made a workaround fix, posted first to this launchpad issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
Also see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/100
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c129
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
or:
echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
To bring back the normal behaviour, I can: turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
Another way to bring back the normal behavior, is to force query the accumulated events in the Embedded Controller. That is what my little C program does, and I offered it as a workaround here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
From the feedback I gathered, the following samsung models are affected and can be fixed by querying the EC:
Samsung Series 5 (models NP530U3C, NP535U3C, NP530U3B, NP550P5C)
Samsung Series 9 (models NP900X3F, NP900X4B, NP900X4C, NP900X4D, NP900X3C)
which are roughly series 5 and series 9 from 2011 and 2012. This issue has been frustrating us users for years.
A kernel patch has been made here, based on my research, by Lan Tianyu:
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135
The patch properly queries the EC properly after resume from sleep, instead of my original quick and dirty approach. I tested it myself and it works.
I hope it gets included some day in the kernel, so that non-tech saavy people can benefit too.
--
Juan Manuel Cabo
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
|
2014-02-22 23:27:12 |
juanmanuel |
attachment added |
|
DSDT_SamsungSeries5-NP530U3c-AB1_WithBios_P14AAJ.dsl https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3992105/+files/DSDT_SamsungSeries5-NP530U3c-AB1_WithBios_P14AAJ.dsl |
|
2014-02-22 23:28:14 |
juanmanuel |
attachment added |
|
samsung_fix_ec_events.c https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3992106/+files/samsung_fix_ec_events.c |
|
2014-02-22 23:29:38 |
juanmanuel |
attachment added |
|
99samsung_fix_ec_events https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3992107/+files/99samsung_fix_ec_events |
|
2014-02-22 23:30:13 |
Brad Figg |
linux (Ubuntu): status |
New |
Confirmed |
|
2014-02-22 23:33:25 |
juanmanuel |
bug watch added |
|
http://bugzilla.kernel.org/show_bug.cgi?id=44161 |
|
2014-02-22 23:33:25 |
juanmanuel |
attachment added |
|
ec_kernel_patch.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3992108/+files/ec_kernel_patch.patch |
|
2014-02-22 23:35:37 |
juanmanuel |
description |
LID close and AC and battery status events not produced anymore on samsung ultrabook.
I have a Samsung Series 5 NP530U3C-A01 ultrabook.
This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested with the latest ubuntu and the situation is the same (tested with trusty-desktop-amd64.iso from http://cdimage.ubuntu.com/daily-live/current/ the ISO is dated 2014-02-22).
I created a blog post where I can put all the information related to this bug here:
http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. CHICKEN AND EGG SITUATION :-) THe issue persists between restarts and shutdowns, and even after re-suspending/re-resuming.
Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
I diagnosed the issue and made a workaround fix, posted first to this launchpad issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
Also see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/100
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c129
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
or:
echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
To bring back the normal behaviour, I can: turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
Another way to bring back the normal behavior, is to force query the accumulated events in the Embedded Controller. That is what my little C program does, and I offered it as a workaround here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
From the feedback I gathered, the following samsung models are affected and can be fixed by querying the EC:
Samsung Series 5 (models NP530U3C, NP535U3C, NP530U3B, NP550P5C)
Samsung Series 9 (models NP900X3F, NP900X4B, NP900X4C, NP900X4D, NP900X3C)
which are roughly series 5 and series 9 from 2011 and 2012. This issue has been frustrating us users for years.
A kernel patch has been made here, based on my research, by Lan Tianyu:
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135
The patch properly queries the EC properly after resume from sleep, instead of my original quick and dirty approach. I tested it myself and it works.
I hope it gets included some day in the kernel, so that non-tech saavy people can benefit too.
--
Juan Manuel Cabo
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
LID close and AC and battery status events not produced anymore on samsung ultrabook.
I have a Samsung Series 5 NP530U3C-A01 ultrabook.
This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested with the latest ubuntu and the situation is the same (tested with trusty-desktop-amd64.iso from http://cdimage.ubuntu.com/daily-live/current/ the ISO is dated 2014-02-22).
I created a blog post where I can put all the information related to this bug here:
http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. CHICKEN AND EGG SITUATION :-) THe issue persists between restarts and shutdowns, and even after re-suspending/re-resuming.
Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
I diagnosed the issue and made a workaround fix, posted first to this launchpad issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
Also see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/100
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c129
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
or:
echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
To bring back the normal behaviour, I can: turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
Another way to bring back the normal behavior, is to force query the accumulated events in the Embedded Controller. That is what my little C program does, and I offered it as a workaround here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
From the feedback I gathered, the following samsung models are affected and can be fixed by querying the EC:
Samsung Series 5 (models NP530U3C, NP535U3C, NP530U3B, NP550P5C)
Samsung Series 9 (models NP900X3F, NP900X4B, NP900X4C, NP900X4D, NP900X3C)
which are roughly series 5 and series 9 from 2011 and 2012. This issue has been frustrating us users for years.
A kernel patch has been made here, based on my research, by Lan Tianyu:
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135
The patch properly queries the EC properly after resume from sleep, instead of my original quick and dirty approach. I tested it myself and it works.
I hope it gets included some day in the kernel, so that non-tech saavy people can benefit too.
--
Juan Manuel Cabo
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
|
2014-02-22 23:47:07 |
Andrea Lazzarotto (Lazza) |
bug |
|
|
added subscriber Andrea Lazzarotto (Lazza) |
2014-02-22 23:51:50 |
Tomás Cohen Arazi |
bug |
|
|
added subscriber Tomás Cohen Arazi |
2014-02-23 00:22:35 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug trusty |
amd64 apport-bug patch trusty |
|
2014-02-23 00:22:36 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Joseph Salisbury |
2014-02-23 02:33:18 |
penalvch |
summary |
LID close and AC and battery status events not produced anymore on samsung ultrabook. |
[Samsung NP530U3C-A01] LID close and AC and battery status events not produced anymore |
|
2014-02-23 02:36:55 |
penalvch |
summary |
[Samsung NP530U3C-A01] LID close and AC and battery status events not produced anymore |
[Samsung NP530U3C-A01] LID close, AC, and battery status events not produced anymore |
|
2014-02-23 02:43:35 |
penalvch |
description |
LID close and AC and battery status events not produced anymore on samsung ultrabook.
I have a Samsung Series 5 NP530U3C-A01 ultrabook.
This is an old issue with a new workaround fix. I just posted here to give information for my computer, and to confirm that I've tested with the latest ubuntu and the situation is the same (tested with trusty-desktop-amd64.iso from http://cdimage.ubuntu.com/daily-live/current/ the ISO is dated 2014-02-22).
I created a blog post where I can put all the information related to this bug here:
http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. CHICKEN AND EGG SITUATION :-) THe issue persists between restarts and shutdowns, and even after re-suspending/re-resuming.
Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
I diagnosed the issue and made a workaround fix, posted first to this launchpad issue:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
Also see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/100
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c129
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
or:
echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
To bring back the normal behaviour, I can: turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
Another way to bring back the normal behavior, is to force query the accumulated events in the Embedded Controller. That is what my little C program does, and I offered it as a workaround here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971061/comments/102
From the feedback I gathered, the following samsung models are affected and can be fixed by querying the EC:
Samsung Series 5 (models NP530U3C, NP535U3C, NP530U3B, NP550P5C)
Samsung Series 9 (models NP900X3F, NP900X4B, NP900X4C, NP900X4D, NP900X3C)
which are roughly series 5 and series 9 from 2011 and 2012. This issue has been frustrating us users for years.
A kernel patch has been made here, based on my research, by Lan Tianyu:
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
https://bugzilla.kernel.org/show_bug.cgi?id=44161#c135
The patch properly queries the EC properly after resume from sleep, instead of my original quick and dirty approach. I tested it myself and it works.
I hope it gets included some day in the kernel, so that non-tech saavy people can benefit too.
--
Juan Manuel Cabo
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
On my Samsung Series 5 NP530U3C-A01 the LID close, AC, and battery status events not produced anymore. The situation is the same (tested with trusty-desktop-amd64.iso 2014-02-22). I created a blog post where I can put all the information related to this bug here: http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. The issue persists between restarts and shutdowns, and even after re-suspending/re-resuming. Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
4) echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
WORKAROUND: Turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
WORKAROUND: https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133 .
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
|
2014-02-23 07:50:08 |
Mattia Guidi |
bug |
|
|
added subscriber Mattia Guidi |
2014-02-23 09:19:38 |
penalvch |
tags |
amd64 apport-bug patch trusty |
amd64 apport-bug cherry-pick patch trusty |
|
2014-02-23 10:51:44 |
Guillaume LAURENT |
attachment added |
|
dsdt.aml https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3992614/+files/dsdt.aml |
|
2014-02-23 13:11:09 |
mmalmeida |
bug |
|
|
added subscriber mmalmeida |
2014-02-23 16:15:04 |
Tomer |
bug |
|
|
added subscriber Tomer |
2014-02-23 17:51:01 |
paolo.mgi |
bug |
|
|
added subscriber paolo.mgi |
2014-02-23 18:39:29 |
Tim Edwards |
bug |
|
|
added subscriber Tim Edwards |
2014-02-23 19:13:32 |
juanmanuel |
attachment added |
|
samsung_fix_ec_events_v2.c https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3993249/+files/samsung_fix_ec_events_v2.c |
|
2014-02-23 19:50:24 |
Marcello |
bug |
|
|
added subscriber Marcello |
2014-02-23 19:58:45 |
juanmanuel |
description |
On my Samsung Series 5 NP530U3C-A01 the LID close, AC, and battery status events not produced anymore. The situation is the same (tested with trusty-desktop-amd64.iso 2014-02-22). I created a blog post where I can put all the information related to this bug here: http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. The issue persists between restarts and shutdowns, and even after re-suspending/re-resuming. Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
4) echo disable > /sys/firmware/acpi/interrupts/gpe17
plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
echo enable > /sys/firmware/acpi/interrupts/gpe17
WORKAROUND: Turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
WORKAROUND: https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133 .
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
On my Samsung Series 5 NP530U3C-A01 the LID close, AC, and battery status events not produced anymore. The situation is the same (tested with trusty-desktop-amd64.iso 2014-02-22). I created a blog post where I can put all the information related to this bug here: http://zenstep.com.ar/samsung-linux/
In summary, after a suspend sleep with many events (8 plug/unplug, or battery dropping or increasing about 16%, maybe less), the Embedded Controller accumulates those events and stops producing GPE 0x17. Neither Windows nor Linux query those accumulated events, because the EC doesn't produce GPE 0x17 anymore. The issue persists between restarts and shutdowns, and even after re-suspending/re-resuming. Hitting the reset button through the hole in the back fixes the problem temporarily. That is, until the next unlucky suspend.
IMPORTANT: if the laptop is never ever suspended, the issue never comes back.
To force the issue to happen, you can either:
1) Sleep the computer in linux (by closing the lid or any other means).
2) Unplug from the wall, plug, unplug, plug, unplug, plug, unplug, plug (8 actions or more).
3) Resume from sleep. You'll note that the battery icon is fixed, and unplugging or plugging doesn't update battery status anymore. Also note that the ability to suspend by closing the LID is lost.
OR:
1) echo disable > /sys/firmware/acpi/interrupts/gpe17
2) plug, unplug, plug, unplug, plug, unplug, plug, unplug (8 actions)
3) echo enable > /sys/firmware/acpi/interrupts/gpe17
WORKAROUND: Turn off the computer, unplug it, hit the reset button in the back of the laptop, and then plug it again.
WORKAROUND (kernel patch 1): https://bugzilla.kernel.org/show_bug.cgi?id=44161#c133
BETTER WORKAROUND (kernel patch 2): https://bugzilla.kernel.org/show_bug.cgi?id=44161#c149
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-11-generic 3.13.0-11.31
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2546 F.... pulseaudio
CasperVersion: 1.337
Date: Sat Feb 22 22:57:34 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140222)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.13.0-11-generic N/A
linux-backports-modules-3.13.0-11-generic N/A
linux-firmware 1.125
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD. |
|
2014-02-24 14:44:55 |
juanmanuel |
attachment added |
|
BETTER_ec_kernel_patch.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283589/+attachment/3994501/+files/BETTER_ec_kernel_patch.patch |
|
2014-02-24 15:53:03 |
Joseph Salisbury |
tags |
amd64 apport-bug cherry-pick patch trusty |
amd64 apport-bug cherry-pick kernel-da-key patch trusty |
|
2014-02-24 15:53:08 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2014-02-24 15:53:10 |
Joseph Salisbury |
linux (Ubuntu): status |
Confirmed |
Triaged |
|
2014-02-24 17:56:54 |
Joseph Salisbury |
bug task added |
|
linux |
|
2014-02-26 19:20:18 |
Gery Isas |
bug |
|
|
added subscriber Gery Isas |
2014-03-07 18:26:52 |
Marcus Sundman |
bug |
|
|
added subscriber Marcus Sundman |
2014-03-10 11:33:11 |
Sergey Tryuber |
bug |
|
|
added subscriber Sergey Tryuber |
2014-03-17 10:49:25 |
Rob Golding |
bug |
|
|
added subscriber Rob Golding |
2018-06-13 03:59:26 |
Bug Watch Updater |
linux: status |
Unknown |
Confirmed |
|
2018-06-13 03:59:26 |
Bug Watch Updater |
linux: importance |
Unknown |
High |
|
2018-06-13 03:59:33 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=43031 |
|
2018-06-13 03:59:33 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=57271 |
|
2018-06-13 03:59:33 |
Bug Watch Updater |
bug watch added |
|
https://bugzilla.kernel.org/show_bug.cgi?id=45461 |
|
2018-06-13 03:59:33 |
Bug Watch Updater |
bug watch added |
|
https://bugs.freedesktop.org/show_bug.cgi?id=80773 |
|
2018-08-09 06:06:24 |
Tomer |
removed subscriber Tomer |
|
|
|
2018-08-28 16:32:47 |
Bug Watch Updater |
linux: status |
Confirmed |
Incomplete |
|
2018-09-14 21:11:06 |
Guillaume LAURENT |
removed subscriber Guillaume LAURENT |
|
|
|
2019-01-23 07:57:48 |
Mattia Guidi |
removed subscriber Mattia Guidi |
|
|
|
2019-02-28 13:14:10 |
Bug Watch Updater |
linux: status |
Incomplete |
Fix Released |
|
2019-02-28 20:21:03 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Terry Rudd |
2019-07-24 21:06:29 |
Brad Figg |
tags |
amd64 apport-bug cherry-pick kernel-da-key patch trusty |
amd64 apport-bug cherry-pick cscc kernel-da-key patch trusty |
|