linux

1210

on a dell xps...

Slackware 12

screenshots

navigate

Slackware on a Dell XPS 1210: Acpi

Enable the following in your kernel to use the linux acpi options such as suspend to disk and standby.

Power management options (ACPI, APM)  --->
    --- Power Management support
    [*] Legacy Power Management API
    [ ] Software Suspend
    ACPI (Advanced Configuration and Power Interface) Support  --->
        [*] ACPI Support
        <*> AC Adapter
        <*> Battery
        <*> Button
        <*> Video
        < > Generic Hotkey (EXPERIMENTAL)
        <*> Fan
        <*> Processor
        <*> Thermal Zone
        APM (Advanced Power Management) BIOS Support  --->
        CPU Frequency scaling  --->

Select ‘AC Adapter’, ‘Battery’, ‘Button’, ‘Fan’, ‘Processor’ and ‘Thermal Zone’ for improving the laptop’s power management.

ACPI Events

This is still a work in progress but my acpi_handler.sh script will perform the following:

  • Turn the screen off when the lid is closed
  • Set screen off times for the ac adapter state (6 sec running on batt, 60s running on ac)
  • Set CPU throttling for the ac adapter state (50% running on batt, 0% running on ac)
  • Power button runs “shutdown -h now” command

Download my acpi_handler.sh to ‘/etc/acpi‘ and default to ‘/etc/acpi/events.’ The ‘default’ file monitors for all events and executes the ‘acpi_handler.sh’ script once a matching event has been detected.

Restart the acpid daemon for changes to be in effect:
# /etc/rc.d/rc.acpid restart

With the nVidia graphics card, the monitor does not turn off when you close the lid. The solution is to add the following to the Monitor section of your ‘/etc/X11/xorg.conf‘ file (View my xorg.conf under ’system files’ to the left):
Option "DPMS" "true"
The “true” part is specifically required by nVidia cards. Restart X for changes to take effect.

Suspend to Disk

Works using suspend2 kernel patch and the hibernate script. Does NOT work using the nvidia module. I successfully suspended to disk from the console and from X (tested with nv module). More info to follow.

2 Responses to this post

  1. What about suspend to disk? Did you get it to work?

  2. Eduardo,
    I’ve just installed Slackware 12 and I will be adding more info on ACPI. I haven’t got round to suspend to disk yet but I’m sure I will soon.

View Comment Policy & allowed tags

In effect as of 27th January 2006. ALL comments have to be reviewed before being accepted.

Relevance

Keep comments relevant to DesignLegion, article content, suggestions, requests, praise or critiques.

Formatting

The following tags are enabled for comments:

  • <a> (hyperlinks)
  • <code> (code section or quotes)
  • <cite> (Cite text)
  • <strong> or <b> (bold text)
  • <u> (underline)
  • <em> or <i> (italics)

The following classes are enabled:

  • .exclamation (for highlighting)

Spammers beware

If a comment has been classed as spam it will be deleted. Comments must be approved by the moderator and will not be displayed until approved.

If a comment seems to be relevant but the name/website seems to be an advertisement, then the given web url will be deleted and even changed to "Anonymous."

Private Matters?

If needing to contact me about private issues, please use the contact page.

XX

XX