First LID close works, but state never changes back to open

I am using a Razer Blade 14" with linux-ck kernel (although I have tested in the main kernel and the issue remains).
I like to be able to close the lid to suspend. But it is not working properly.
Note: I am using
cat /proc/acpi/button/lid/LID0/state
to figure out the state of the lid.
When I start the laptop, the lid is correctly reported as open. When I first close it, the laptop goes to sleep, and when I open it again, it wakes up.
However, it is now reported as closed, although I just woke it up by opening the lid.
If I close the lid, it also does not suspend (I have to manually suspend).
A related bug: when I manually suspend, if I close the lid before it is done suspending, the laptop just hangs and needs to be hard-rebooted.
I am not sure what logs I can post here, but will provide anything that people think is useful.
Thanks in advance for the help!
Rodrigo
EDIT: After some investigation, the related bug seems to be unrelated. It seems like suspend randomly hangs, and I got lucky enough to hang on the few times I tried to close the lid while it was suspended.
Last edited by rgomes (2013-11-23 19:03:59)

dmesg doesn't report anything about the lid.
It it's of any use, here's the report when I close the lid for the first time, it suspends, I open it and it wakes back up, and I close and open it again (no action happens then).
[ 855.735445] PM: Syncing filesystems ... done.
[ 855.743716] PM: Preparing system for mem sleep
[ 855.743832] bbswitch: enabling discrete graphics
[ 856.273631] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 856.275441] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
[ 856.276063] PM: Entering mem sleep
[ 856.276116] Suspending console(s) (use no_console_suspend to debug)
[ 856.276512] wlan0: deauthenticating from 00:21:d8:49:a1:b3 by local choice (reason=3)
[ 856.303042] cfg80211: Calling CRDA for country: US
[ 856.303058] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 856.305387] sd 0:0:0:0: [sda] Stopping disk
[ 856.337313] mei_me 0000:00:16.0: suspend
[ 856.902051] PM: suspend of devices complete after 625.631 msecs
[ 856.902253] PM: late suspend of devices complete after 0.198 msecs
[ 856.913157] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
[ 856.924119] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
[ 856.946045] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[ 856.957112] PM: noirq suspend of devices complete after 54.857 msecs
[ 856.957425] ACPI: Preparing to enter system sleep state S3
[ 856.957634] PM: Saving platform NVS memory
[ 856.958313] Disabling non-boot CPUs ...
[ 856.959891] smpboot: CPU 1 is now offline
[ 856.961339] smpboot: CPU 2 is now offline
[ 856.963019] smpboot: CPU 3 is now offline
[ 856.964410] smpboot: CPU 4 is now offline
[ 856.965803] smpboot: CPU 5 is now offline
[ 856.967169] smpboot: CPU 6 is now offline
[ 856.968529] smpboot: CPU 7 is now offline
[ 856.968709] ACPI: Low-level resume complete
[ 856.968709] PM: Restoring platform NVS memory
[ 856.968709] Enabling non-boot CPUs ...
[ 856.968709] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 856.981274] Intel pstate controlling: cpu 1
[ 856.981329] CPU1 is up
[ 856.981355] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 856.993715] Intel pstate controlling: cpu 2
[ 856.993767] CPU2 is up
[ 856.993787] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 857.006143] Intel pstate controlling: cpu 3
[ 857.006193] CPU3 is up
[ 857.006215] smpboot: Booting Node 0 Processor 4 APIC 0x1
[ 857.018466] Intel pstate controlling: cpu 4
[ 857.018516] CPU4 is up
[ 857.018536] smpboot: Booting Node 0 Processor 5 APIC 0x3
[ 857.030876] Intel pstate controlling: cpu 5
[ 857.030919] CPU5 is up
[ 857.030936] smpboot: Booting Node 0 Processor 6 APIC 0x5
[ 857.043269] Intel pstate controlling: cpu 6
[ 857.043311] CPU6 is up
[ 857.043328] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 857.055674] Intel pstate controlling: cpu 7
[ 857.055712] CPU7 is up
[ 857.063860] ACPI: Waking up from system sleep state S3
[ 857.097072] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[ 857.119078] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
[ 857.141070] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
[ 857.163187] PM: noirq resume of devices complete after 98.903 msecs
[ 857.163364] PM: early resume of devices complete after 0.147 msecs
[ 857.163388] i915 0000:00:02.0: setting latency timer to 64
[ 857.163399] xhci_hcd 0000:00:14.0: setting latency timer to 64
[ 857.163433] mei_me 0000:00:16.0: irq 45 for MSI/MSI-X
[ 857.163449] ahci 0000:00:1f.2: setting latency timer to 64
[ 857.163521] ehci-pci 0000:00:1a.0: setting latency timer to 64
[ 857.163538] snd_hda_intel 0000:00:03.0: irq 46 for MSI/MSI-X
[ 857.163595] mei_me 0000:00:16.0: version message write failed
[ 857.163596] mei_me 0000:00:16.0: unexpected reset: dev_state = RESETTING
[ 857.163602] snd_hda_intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[ 857.163717] ehci-pci 0000:00:1d.0: setting latency timer to 64
[ 857.468028] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 857.470879] ata1.00: configured for UDMA/133
[ 857.470917] sd 0:0:0:0: [sda] Starting disk
[ 857.494196] usb 1-13: reset full-speed USB device number 3 using xhci_hcd
[ 857.505658] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802225df540
[ 857.505659] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802225df5c0
[ 857.505660] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802225df580
[ 857.505660] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880222be98c0
[ 857.505661] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880222be9880
[ 857.658222] usb 1-14: reset high-speed USB device number 4 using xhci_hcd
[ 857.714527] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880037982080
[ 857.873499] PM: resume of devices complete after 712.120 msecs
[ 857.875809] PM: Finishing wakeup.
[ 857.875918] ath9k 0000:03:00.0: no hotplug settings from platform
[ 857.875810] Restarting tasks ... done.
[ 857.877445] video LNXVIDEO:00: Restoring backlight state
[ 857.877449] video LNXVIDEO:01: Restoring backlight state
[ 857.877452] bbswitch: disabling discrete graphics
[ 857.877462] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
[ 858.699065] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[ 861.567705] wlan0: authenticate with c8:4c:75:d1:0f:ec
[ 861.582025] wlan0: direct probe to c8:4c:75:d1:0f:ec (try 1/3)
[ 861.783072] wlan0: send auth to c8:4c:75:d1:0f:ec (try 2/3)
[ 861.784100] wlan0: authenticated
[ 861.785101] wlan0: associate with c8:4c:75:d1:0f:ec (try 1/3)
[ 861.787455] wlan0: RX AssocResp from c8:4c:75:d1:0f:ec (capab=0x11 status=0 aid=1)
[ 861.787524] wlan0: associated
The only thing that seems to error is mei_me, but I don't know if that would be associated with the lid switch.
Last edited by rgomes (2013-11-22 17:59:44)

Similar Messages

  • I use the weather add-on, which says it can change locations every 5 minutes, but it never changes...how can I make that option work?

    The weather add-on allows for entering multiple locations, and asks how often you'd like it to switch the display to show the current weather in different places. I chose "5 minutes", but it never changes.

    Does the author of the add-on provide any support? If they do provide support you would be better off asking the author.
    What add-on is it, there are quite a few weather add-ons.

  • HT5330 I'm confused. Apple support person assisted me making move to Cloud, without Lion. But I never changed Mail acct settings.

    I'm confused. I am in Snow Leopard and have had a .Mac (.me) address for years. I made the move to Cloud, without Lion. Had an Apple support person on the phone to assist since I wanted to be sure about not losing my email address. Got an email from Apple confirming. It says "Your mail will be moved to iCloud after June 30th. You can continue to send and receive mail at your [email protected] address after MobileMe ends on June 30, 2012."
    But I never changed any Mail accountt settings. When I look at my Mail preferences-account info, it says Account Type: MobileMe IMAP, but Incoming server is still mail.me.com and Outgoing drop down shows Mail-mobile me.

    Yes, shortly before the switch over on June 30, apple announced that the mail settings for the old MobileMe account would continue to work after the switch over.
    Some people have found that this has not been the case and have addressed the situation by manually setting up their mail settings as follows:
    Delete your mail account from Mail preferences and set it up again using the Mail Server Information.
    Some users have apparently encountered issues using this information in pre-Lion set ups (I haven't), Roger Wilmut has kindly provided instructions for those who find themselves with this problem.
    Entering iCloud email settings manually in Snow Leopard or Leopard

  • On my Iphone, i'm not able to purchase with itunes from the game clash of clans! I did it the first time, it worked, but now it wont work and says : contact support.

    i'm not able to purchase with itunes from the game clash of clans! I did it the first time, it worked, but now it wont work and says : contact support.

    What they mean is iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html

  • I updated my mac from 10.6.5 to 10.6.8 and now my CS 3 doesent start, its asking for a new license, but i never changed anything. Any Help with that thanks

    I updated my mac from 10.6.5 to 10.6.8 and now my CS 3 doesent start, its asking for a new license, but i never changed anything. Any Help with that thanks

    I don't know if this update involved rewwriting the entire operating system whereby you essentially transferred the software from one system to another, but if so, then you need to uninstall and reinstall the software and reactivate it using your serial number.

  • I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files the error message is  could not be opened. The movie's file format isn't recognized. "  Any help or are they corrupted

    I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files, the error message is  "could not be opened". The movie's file format isn't recognized. "  Any help or are they corrupted?

    Sounds to me like the file is probably corrupt. If you had hard drive corruption or damage, that could easily result in recovered files not being fully intact. If you were trying to recover accidentally deleted files, it's possible they might have been partially overwritten before recovering. There are never any guarantees with file recovery.
    Without more information on the circumstances that led you to try recovery, it's hard to give advice on what to try from here. You could always try another file recovery tool, like Data Rescue 3. Just be sure you're taking appropriate precautions when doing recovery. See Recovering deleted files.

  • I have apple TV  this is second time   My money goes down to drain  not even load a movie   To night   I was watching  movie but  stop never come back .what  could be the reason?

    I have apple TV  this is second time   My money goes down to drain  first time not even load a movie   To night   I was watching  movie but  stop never come back .what  could be the reason?

    I had the exact same thing happen ... for the second time.  I'm done renting movies on Apple TV that I cannot watch, and don't get my money back.  I have a strong Internet connection, and about 10 minutes into a movie and it stops and says that the movie will be ready to view in 55 hours.  Rediculous ... and frustrating.  I don't know how to fix this, and I disagee with the other person responding to you who said it was your network.  I have a strong network, running through an Airport Extreme -- and this problem persists.  I'm done.

  • I down loaded the update for 4 and when I get to the end where is you click finish, it tells me to close firefox, but I do not have it open. Now I can not get in to Firefox at all. PLEASE Help.

    I down loaded the update for 4 and when I get to the end where is you click finish, it tells me to close firefox, but I do not have it open. Now I can not get in to Firefox at all. PLEASE Help.

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    You should still have your profile folder, so when you install 3. you will get your bookmarks and other user data back.
    There is a third party version of Firefox that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox

  • I have just downloaded firefox 3.6.11 and adobe flashplayer update and adobe reader update. Now I cannot get firefox to open. I have tried removing the program but when I try to do that it says that I need to close firefox - but of course it is not open

    I have just downloaded firefox 3.6.11 and adobe flashplayer update and adobe reader update. Now I cannot get firefox to open. I have tried removing Firefox but when I try to do that it says that I need to close firefox - but of course it is not open. I have waited a long time but nothing has happened so I am getting desperate Thanks -- Jerry

    Do a clean (re)install:
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can initially skip the step to create a new profile, that may not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • I had my iPod 5th generation in the wash for about 3-5 minutes, i took it out of my jacket and made the mistake of trying to turn it on. The first time it came on, then never came back on, its been in rice for 6 days, should I try anything else?

    I had my iPod 5th generation in the wash for about 3-5 minutes, I took it out of my jacket and made the mistake of trying to turn it on. The first time it came on, then never came back on, its been in rice for 6 days, should I try anything else? Please help!

    Try:                           
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              
    Apple will exchange your iPod for a refurbished one for $99 for a 16 GB 5G and $149 for the other 5Gs. They do not fix yours.
      Apple - iPod Repair price             

  • I can't read acsm files on my e-reader after transferring them from the pc with ADE. it seems to work, but then when I try to open the files on the e-reader it says "open failure". what's wrong?

    I can't read acsm files on my e-reader after transferring them from the pc with ADE. it seems to work, but then when I try to open the files on the e-reader it says "open failure". what's wrong?

    The acsm file is not the book, it is a ticket to get the book.  I sometimes get library books online, here is what I do.
    1. Start ADE on the computer
    2. Go to library website and find the book I want to download.
    3. Click on the download link
    4. In windows 7 a box opens asking whether I want to open( or run) or save the acsm file
    5. Click open/run and ADE downloads the book into the "Library"
    6. Transfer the book (epub file) to the reader.

  • I can not get into my adobe photoshop elements.  It shows it is working but photos never show.

    My photshop elements program never loads.  It shows it is working but no photos ever show up.

    Does the app window show up on launch? Is it Organizer or Editor you are facing the issue with?
    Thanks
    Andaleeb

  • MBP Late 2007 Snow Leopard 10.6.8 finder randomly (but now always!) crashing current app still works, but can't change apps dialog: "application Finder can't be opened -10810". Any ideas?

    Keyboard won't  work after waking from sleep.  Finder not working.  When I hard restart, it works for a little while, but then the finder drops out on its own accord.  The current app will still function nearly normally, but can't change apps.  Can't quit any apps.  Force Quit shows no apps?
    All this has started in the last few days.  Fine (if a little slow, too long on beach balls, but nothing like the one minute rolls I'm reading about ...) up until then.  Only new update was last iTunes update! and I haven't opened iTunes?
    any ideas?

    Keyboard won't  work after waking from sleep.  Finder not working.  When I hard restart, it works for a little while, but then the finder drops out on its own accord.  The current app will still function nearly normally, but can't change apps.  Can't quit any apps.  Force Quit shows no apps?
    All this has started in the last few days.  Fine (if a little slow, too long on beach balls, but nothing like the one minute rolls I'm reading about ...) up until then.  Only new update was last iTunes update! and I haven't opened iTunes?
    any ideas?

  • Okay before my ipod power and volume buttons werent working but i never dropped it, then one day i was in a app and my ipod froze so i held the home button down and the screen went a bright green color and isnt showing up in itunes

    okay I just recently bought a ipod touch 4thG and im already having issues. recently the power and volume buttons stopped working after i syncd my ipod, i shrugged it off figuring it would come back i could live without it. but today I was on my ipod while it was charging and the screen just froze so i pressed and held the home button (being that's the only button that actually works) then the screen turned this bright yellowish lime green color and its not responding to ANYTHING! my computer isnt even reading it when i plug it up into itunes! so what should i do? can anyone help me? i feel like i just wasted $200...

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • My tablet started this new update about 4 hours ago, it said it would take 30 minutes...... in the progress bar it shows its downloading but its never changed from 0%. how pr what do i do? am i supposed to let it run all night?

    My tablet has been downloading the new update for over 4 hours now, though the progress bar still shows 0%!!! What do I do???

    Reply to myself...... Thank you, thank you, thank you chersgroupie!!!!  Turning the WiFi off worked and the update finished in about 5 minutes on 4G!!! Note: at the start of update my instructions  were: plug in if not full battery and use WiFi!!!!!  Hard to explain to your 3 year old why they can't have their tablet and you've done what you were instructed to do!!! I pay too much a month for this kind of preventable aggravation!!!

Maybe you are looking for