Results 1 to 7 of 7

Thread: [SOLVED] Computer insists power button has been pressed

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

    [SOLVED] Computer insists power button has been pressed

    Hello,

    I'm facing a small but irritating issue over the past couple of days.
    $ dmesg | tail
    Aug 28 22:32:30 desktop -- MARK --
    Aug 28 22:52:30 desktop -- MARK --
    Aug 28 22:56:44 desktop gnome-power-manager: (user) GNOME interactive logout. Reason: The power button has been pressed.
    Aug 28 23:12:30 desktop -- MARK --
    Aug 28 23:15:39 desktop gnome-power-manager: (user) GNOME interactive logout. Reason: The power button has been pressed.
    Aug 28 23:32:30 desktop -- MARK --
    Aug 28 23:42:43 desktop gnome-power-manager: (user) GNOME interactive logout. Reason: The power button has been pressed.
    My desktop, at random intervals, pops up the "quit" options (as thought the quit/poweroff button has been pressed.)

    The poweroff button (on the tower case) has not been pressed, and i've checked it for shorts, getting stuck etc, it's in perfect condition, no problems.

    I usually leave the system on 24/7, and, after a long period (6-12 hours) these dialogs seem to be "queued" up, one after another, as though the power button has been pressed multiple times. (And, dmesg shows that the power button seems to have been pressed, at random intervals). I have to press ESC to cancel them one by one. But I'm dead sure that no one has pushed the power button. It also happens when I'm working, suddenly the screen goes dark (not "not responding" dark), and the quit options dialog box pops up on the screen. I can dismiss it with cancel and everything continues to work fine.

    A point I suspect, but have not yet had the time to confirm it 100%, is that this is happening only when Transmission/Deluge is active; otherwise it doesn't seem to have a problem (Eg, I ran it without any torrent clients for three-four hours, and received no button press events).

    Live CD works fine, but then again, I didn't run any torrent clients at that time.

    Questions:
    a) Is anyone else facing something similar?
    b) Is it possible that I've opened up some esoteric port access in the computer that allows a remote shutdown signal to be sent? (I'm behind hardware firewall and iptables, no remote access).
    c) Who'm I gonna call? The GhostBusters?

    All suggestions, comments and requests will be scrutinized and appreciated.
    Last edited by prshah; August 28th, 2008 at 07:36 PM.
    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."

  2. #2
    Join Date
    Dec 2005
    Location
    OHIO
    Beans
    326
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Computer insists power button has been pressed

    Check the settings in the torrent applications you have. Make sure you don't have shut-down after completion is done.

    Another choice, remove completely all torrent applications and reboot. Then see if the problem pops up.

    Then call "Ghostbusters".
    Registered Linux User # 414690
    Registered Ubuntu User # 24355

  3. #3
    Join Date
    Oct 2006
    Location
    Montreal
    Beans
    228
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Computer insists power button has been pressed

    I have exactly the same problem.
    My server has been doing this for the last 3 days.
    If I am logged in, it displays logout window, but if GDM login screen is on, then the server simply shuts down.

    Prints the same messages in the log.

    I tried to disable ACPI "button" in /etc/default/acpid and now it happens less frequently, but it still happens...

    I don't run any torrent-related apps on this server. It only has samba, bacula, apache+php, mysql and vsftpd installed. No aps of any kind, not even OpenOffice.

    If you can cast some light on this intriguing problem, I would much appreciate it.

    Boruch
    Last edited by druhboruch; September 6th, 2008 at 02:28 AM.

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

    Re: Computer insists power button has been pressed

    Quote Originally Posted by druhboruch View Post
    If you can cast some light on this intriguing problem, I would much appreciate it.
    I have not yet found any solution/workaround to this problem, but that's mainly because I've not find the time to space.

    However, I'm going to be attacking it over this weekend, so if I find anything, I will definitely post back here.

    And, yes, the frequency has reduced for me as well; but I've not done anything!
    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."

  5. #5
    Join Date
    Oct 2006
    Location
    Montreal
    Beans
    228
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Computer insists power button has been pressed

    I just blacklisted "button" kernel module and hope it is going to fix this problem.

    If it doesn't work i will sign-up to this ghostbusters.com forum.

    I will let you know in a few hours.

  6. #6
    Join Date
    Oct 2006
    Location
    Montreal
    Beans
    228
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Computer insists power button has been pressed

    It has been over 22 hours and my server is working OK.

    1. modprobe -r button
    2. blacklisted button module in /etc/modprobe.d/blacklist

    Another scientific explanation of a supernatural event

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

    Re: Computer insists power button has been pressed

    Quote Originally Posted by prshah View Post
    My desktop, at random intervals, pops up the "quit" options (as thought the quit/poweroff button has been pressed.)
    OK it's cleared; after a fashion.

    Apparently, connecting the IR remote receiver of my "Mercury" brand TV card causes these "quit" / "power button pressed" signals. It has nothing to do with any IR signals, I suspect a short in the wire. (Remote is without batteries).

    Unplugging the remote receiver wire from the TV tuner card cleared this up (but in parting, gave me 113 power-off signals! It's no joke dismissing so many "quit" option dialogs!)

    Solved.
    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."

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
  •