Tag Info

Hot answers tagged

3

Inspired by @ByteCommanders second comment, the script below does what you describe: assuming the downloads folder is the directory you download into, it disables suspend during download, and subsequently waits for five minutes (arbitrary to set) before re- enabling suspend, to make sure the download is really finished. You can set any other directory to be ...


3

There are two approaches to choose from: Using the /lib/systemd/system-sleep/ directory: Create another script called 00start_my_connection: #!/bin/sh if [ $1 = post ] && [ $2 = suspend ] then /usr/local/bin/start_my_connection fi $1 is "post" on resume/thaw and "pre" otherwise. In either case, $2 contains either "suspend", "hibernate", or ...


2

You can downgrade only the kernel. Run sudo apt-get install linux-generic-lts-utopic Then start synaptic and remove 3.19 kernel image and headers. Then reboot. This is probably the kernel issue. If this does not help, then downgrade xorg by sudo apt-get install xserver-xorg-lts-utopic libqt5gui5 libgles1-mesa-lts-utopic libgles2-mesa-lts-utopic ...


1

You can find cd images of old/unsupported releases of Ubuntu here, so can choose a 14.04.1 release, or even 14.04 , if you'd like to start from a known installation. There's also the option of manually downgrading your kernel by installing a previous kernel, as Pilot6 mentions. (too quick!)


1

The solution was to update the BIOS. The old BIOS which didn't work was version F.19. It worked after updating to version F.39.


1

Create a file 01myscript in /etc/pm/sleep.d/ directory. Contents of that file should be: #!/bin/bash case $1 in thaw|resume) /usr/local/bin/start_my_connection ;; esac Make that script executable: sudo chmod +x /etc/pm/sleep.d/01myscript. Try to suspend


1

Open your command line(terminal) and put this to edit the config file: sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla Copy and paste below lines into the file and save it. [Re-enable hibernate by default in upower] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes ...


1

First of all I suggest upgrading kernel by running sudo apt-get install linux-generic-lts-vivid If the problem persists after reboot, install a driver this way sudo add-apt-repository ppa:hanipouspilot/rtlwifi sudo apt-get update sudo apt-get install rtlwifi-new-dkms linux-firmware


1

Based on the answer provided here, I have modified @Jacob Vlijm 's script as follows, so as to prevent Ubuntu from suspend while any upload or download in progress. You have to install xprintidle first. #!/usr/bin/env python3 #install xprintidle first, it is a binary written in C; see https://packages.debian.org/sid/xprintidle #This script is for ...


1

here is another example of ubuntu 14.04 cryptsetup luks suspend/resume root partition "almost works" :-) one reason it works for arch and "almost works" for ubuntu could be that ubuntu kernel as of Linux system 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux is still "too old": the following patch ...


1

As user Josiah Stevenson said, the problem really references USB 3 option in BIOS. Happy to inform you, that the latest BIOS update v.2.20 fully solves this problem. You can download the update from Lenovo Downloads, flash your BIOS and use both USB 3.0 and suspend in Ubuntu.


1

I had the same problem and was also stumped by my USBs not appearing in /proc/acpi/wakeup. In the end, however, despite many solutions suggesting this was required I did not need to enable USBs in ACPI. Instead, enabling wakeup on the USB port my IR device was connected to was was enough. Find your device ID: $ lsusb Bus 002 Device 002: ID 8087:8001 ...



Only top voted, non community-wiki answers of a minimum length are eligible