Sleep ACPI in X

From: Sensei (noone_at_nowhere.org)
Date: 07/31/04


Date: Sat, 31 Jul 2004 15:11:54 +0200

Hi.

I've got a T41 laptop, and I use the kernel 2.6.5 with sysfs and udev.
How can I set the sleep feature? It works in console, though sometimes
it hangs, but in X won't work.

Until now, I use

$ echo -n "mem" > /sys/power/state

-- 
Sensei    <mailto:senseiwa@tin.it>
           <icqnum:241572242>
           <msn-id:Sensei_Sen@hotmail.com>
Error: Keyboard not found. Press F1 to continue...


Relevant Pages

  • Re: Documentation for sysfs, hotplug, and firmware loading.
    ... I want to document a stable API, including the subset of sysfs that will ... and udev should be in the kernel source tarball. ... If you recurse down under /sys/class following symlinks, ...
    (Linux-Kernel)
  • Re: Documentation for sysfs, hotplug, and firmware loading.
    ... hotplug, populating /dev, and things like firmware loading that fall out ... This requires use of sysfs, and I'm only trying to document as ... and reinventing udev for their own enjoyment would not at least look at ... kernel to work with an old udev, and they say it with a straight face. ...
    (Linux-Kernel)
  • Re: [PATCH] Export device_add_attributes() so drivers can use it.
    ... They are debug ... but I've been happily using sysfs for simple ... People expect to be able to hook into device events to *configure* ... You can hook into all that with a few simple instructions from udev, ...
    (Linux-Kernel)
  • Re: devfs vs udev, thoughts from a devfs user
    ... into sysfs, what about a little thought experiment. ... contest is basically the same thing for the kernel. ... devfs is just one more filesystem of many. ... But again, you're talking about udev and devfs, when you ...
    (Linux-Kernel)
  • Re: State of devfs in 2.6?
    ... Patch for sysfs support for this has been posted by Hanna Linder. ... There is a udev config file that was just posted to linux-hotplug-devel ... that supports a lot of devfs names. ...
    (Linux-Kernel)