Results 1 to 9 of 9

Thread: How Do I Shutdown?

  1. #1

    How Do I Shutdown?

    I have Kubuntu 8.04/KDE4.1b2 on a Thinkpad X41, and the typical methods for turning of the machine don't seem to work!

    Power button has no effect (though it turns the computer on when it's off, so it's not that the button is disconnected). It's worth mentioning that I couldn't power off via this method when Windows was installed either.

    The shutdown tab of the K menu? Also no effect.

    Ctrl-Alt-Del used to pop up a menu in the middle of the screen for shutting down that worked. Now that I've upgraded to KDE 4.1, Ctrl-Alt-Del just logs me out. Selecting "Shutdown" from there works, but this seems a roundabout way to get there.

    Any advice?

  2. #2
    Join Date
    Jun 2008
    Location
    darwin australia
    Beans
    6
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How Do I Shutdown?

    i had a similar problem on my T40 and corrected it by turning off the power management in the bios.

  3. #3
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,798
    Distro
    Ubuntu Development Release

    Re: How Do I Shutdown?

    Quote Originally Posted by Jonathan Harford View Post
    Ctrl-Alt-Del just logs me out. Selecting "Shutdown" from there works, but this seems a roundabout way to get there.
    No workaround/solution to why the power button refuses to co-operate, but does
    Code:
    sudo shutdown -P now
    not work?
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  4. #4

    Re: How Do I Shutdown?

    Quote Originally Posted by be1952 View Post
    i had a similar problem on my T40 and corrected it by turning off the power management in the bios.
    Can you be specific? There are loads of power management option and (as I do like to maximize battery life) I'd like to disable as few as possible.

    Also, to the other poster: that shutdown command does, indeed, work.

  5. #5
    Join Date
    May 2008
    Location
    India
    Beans
    194
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How Do I Shutdown?

    Quoting from http://fosswire.com/2007/09/08/fix-a...ic-sysrq-keys/

    1. Hold down the Alt and SysRq (Print Screen) keys.
    2. While holding those down, type the following in order. Nothing will appear to happen until the last letter is pressed: REISUB
    3. Watch your computer reboot magically.

  6. #6
    Join Date
    Nov 2007
    Location
    Vancouver, BC
    Beans
    223
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How Do I Shutdown?

    [erased duplicate]
    Last edited by kevmitch; July 2nd, 2008 at 06:55 PM.

  7. #7
    Join Date
    Nov 2007
    Location
    Vancouver, BC
    Beans
    223
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How Do I Shutdown?

    You can likely get the power button to work. Let's see if the power button is generating an acpi event. First we'll temporarily stop acpid if it's running

    Code:
    sudo /etc/init.d/acpid stop
    Now let's watch for events

    Code:
    sudo cat /proc/acpi/events
    Now hit the power button, you might have to hold it for a second, but not too long, or you'll get a BIOS poweroff. Does anything show up?

    If not, do you have the "button" module loaded?

    Code:
    lsmod | grep button
    If not, try loading it

    Code:
    modprobe button
    Does the power button generate an event now?

    If that still doesn't work, see if you've got thinkpad_acpi loaded

    Code:
    lsmod | grep thinkpad_acpi
    if not, load it and check to see if an event is generated

    Code:
    sudo modprobe thikpad_acpi
    Once you manage to get an event see if acpid will respond to it by shutting down.

    Code:
    sudo /etc/init.d/acpid start
    To get thinkpad_acpi to load on boot

    Code:
    sudo echo thikpad_acpi >> /etc/modules
    Acpid should be loading "button" on boot. If it is not, your /etc/default/acpid should look something like this

    Code:
    OPTIONS="-d -c /etc/acpi/events"
    # Specify modules to load on acpid's startup
    # MODULES may be uncommented to load "none", contain the string "all"
    # to load all acpi related modules or simply a space seperated list
    # of modules to be probed.
    MODULES="battery ac processor button fan thermal video"
    # using all allows us to drop extra modules in drivers/acpi and have them
    # be autoloaded.
    #MODULES="all"

  8. #8

    Re: How Do I Shutdown?

    Wow, what a thorough reply! Thank you!

    Unfortunately, though lsmod reveals that thinkpad_acpi and button are loaded, my two power buttons (one above the kb, the other under the screen) are the only "special" buttons that do not seem to trigger events!

  9. #9
    Join Date
    Nov 2007
    Location
    Vancouver, BC
    Beans
    223
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How Do I Shutdown?

    Darn, I guess they've improved the ACPI standards compliance for the T60's. Are you sure you're pressing the power button for long enough? The one way to be sure is to press it until it does actually give a BIOS poweroff which you very well may already have tried. If not, such a brutal experiment might necessitate shutting down as many services as possible, including the xserver. You could then login via the console.

    On the other hand, the fact that it doesn't work with the officially supported OS is not encouraging.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •