← Back to team overview

kernel-packages team mailing list archive

[Bug 1293134] Re: [Samsung 700Z3A-S02DE] Laptop does not resume from suspend upon lid open


I have seen that the behavior gets activated since 4.0-rc1

I have downloaded Mainline 4.0-rc6 and testes but it did not work. Then I found out, that the author did not activated the behavior for all Samsung laptops. https://bugzilla.kernel.org/show_bug.cgi?id=75901 shows the commands to enable this behavior:
cd /sys/kernel/debug/samsung-laptop/
echo 0x81 >d0
echo 0 >d1
echo 0 >d2
echo 0 >d3
echo 0x6e > command
cat call

Then I can close the lid and it goes sleep instantly. After lid open it wakes up from sleep.
This has to be enabled by default for my laptop.

** Bug watch added: Linux Kernel Bug Tracker #75901

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  [Samsung 700Z3A-S02DE] Laptop does not resume from suspend upon lid

Status in linux package in Ubuntu:

Bug description:
  In 13.10-14.10, what is expected in to happen is when I close the lid,
  it puts the computer to sleep, and when I reopen the lid, it
  automatically resumes from sleep.

  What happens instead, is that the computer goes to sleep, but opening
  the lid does not make it resume.

  With acpi_listen I see that it fires and recognizes the events for lid close and open. /proc/acpi/button/lid/LID0/state shows the correct state for each lid position. With:
  acpid -d -f -l

  I see that those events trigger /etc/acpi/events/. I tried writing an
  event that matches lid close/open and calls pm-suspend, uncommenting
  lines in /etc/systemd/logind.conf regarding hibernate and suspend,
  echoing LID0 into /etc/acpi/wakeup, passing different acpi_osi strings
  with grub but the ACPI table does not change nor make it any
  difference for the suspend/resume problem.

  WORKAROUND: To resume, open the lid and press the power button once.

  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  DistroRelease: Ubuntu 13.10
  InstallationDate: Installed on 2013-12-02 (104 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  NonfreeKernelModules: wl
  Package: pm-utils 1.4.1-12ubuntu1
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 3.11.0-18.32-generic
  Tags:  saucy
  Uname: Linux 3.11.0-18-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
   /dev/snd/controlC0:  lars       4065 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.10
  HibernationDevice: RESUME=UUID=63d413ce-f76a-4aef-8728-6b94c8328c5a
  InstallationDate: Installed on 2014-11-19 (16 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 700Z3A/700Z4A/700Z5A/700Z5B
  NonfreeKernelModules: wl
  Package: linux (not installed)
   0 inteldrmfb
   1 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-25-generic root=UUID=44843d26-d39a-43f4-bfd7-bb8b6bb69a91 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
   linux-restricted-modules-3.16.0-25-generic N/A
   linux-backports-modules-3.16.0-25-generic  N/A
   linux-firmware                             1.138
  Tags:  utopic
  Uname: Linux 3.16.0-25-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 11/06/2012
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: 15FD
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 700Z3A/700Z4A/700Z5A/700Z5B
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr15FD:bd11/06/2012:svnSAMSUNGELECTRONICSCO.,LTD.:pn700Z3A/700Z4A/700Z5A/700Z5B:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rn700Z3A/700Z4A/700Z5A/700Z5B:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
  dmi.product.name: 700Z3A/700Z4A/700Z5A/700Z5B
  dmi.product.version: 0.1
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

To manage notifications about this bug go to: