Hello. I'm following up, but unfortunately cannot contribute back in a
meaningful way to this bug report, as I decided to go ahead with a clean
install.

Now, both pm-suspend and lid closing seem to work.

Note, however, that in order to get the wireless working reliable, I've
created the following script in /etc/pm/sleep.d/30_wifiup

#!/bin/bash

case "$1" in
    suspend_hybrid|hibernate|suspend)
        # executed on suspend
           rfkill block bluetooth
        ;;
    thaw|resume) 
        # executed on resume
                # restart wireless, just in case
        restart network-manager > /dev/null

                #wake up the speakers
                hda-verb /dev/snd/hwC1D0 0x1 set_gpio_mask 1
                sleep 1
                hda-verb /dev/snd/hwC1D0 0x1 set_gpio_direction 1
                sleep 1
                hda-verb /dev/snd/hwC1D0 0x1 set_gpio_data 1
           
                #bluetooth
                rfkill unblock bluetooth
        ;;
    *)
        ;;
esac


I'm mostly adding this information just in case someone is searching as I did 
for solutions!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1313382

Title:
  After upgrade to 14.04, lid-closing suspend causes freeze

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  On a Macbookpro 11,1 running 14.04 lid-closure causes system freeze.
  When I had 13.10 installed it worked without problem. I used do-
  release-upgrade to upgrade to trusty and the problem started. I've now
  tried installing trusty from scratch, but get the same behavior.

  This does not happen when using pm-suspend to initiate suspend. I
  consider this a security issue, as some users may be inclined to leave
  their PC on rather than suspend and locking screen.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.2
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Sun Apr 27 17:59:44 2014
  InstallationDate: Installed on 2014-04-27 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313382/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to