closing the lid doesn't suspend after upgrading to 15.10

Adam Funk a24061 at ducksburg.com
Fri Dec 4 14:12:40 UTC 2015


On 2015-12-04, Colin Law wrote:

> On 4 December 2015 at 10:50, Adam Funk <a24061 at ducksburg.com> wrote:
>> Since I upgraded my laptop to 15.10, closing the lid no longer
>> makes it suspend or even lock the screensaver.  When I close the lid,
>> it leaves the stuff below in the syslog.  If I run 'sudo pm-suspend'
>> from xterm or a virtual console, it suspends correctly.  This happens
>> with both the 4.2.0-18 & 4.2.0-19 kernels.  I'd appreciate any
>> suggestions for fixing this.
>
> Do you have an external monitor connected?  If so then that is likely
> the problem.  Ubuntu no longer suspends on lid close with an external
> monitor.  I think that is a bug but others maintain it is a feature.

There's no external monitor connected, but there is some weirdness
with the system thinking it has two graphics devices --- 3 when I
(rarely) connect an external monitor!  (The xrandr output was showing
two and I had to hack a script around it to get minecraft to work
again.)

The lshw output includes the following:

        *-pci:0
	   ...
           *-display
                description: VGA compatible controller
                product: GT218M [GeForce 310M]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci at 0000:01:00.0
                version: a2
                width: 64 bits
                clock: 33MHz
                capabilities: vga_controller bus_master cap_list rom
                configuration: driver=nouveau latency=0
                resources: irq:16 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1f
fffff ioport:d000(size=128) memory:d3000000-d307ffff
        *-display
             description: VGA compatible controller
             product: Core Processor Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci at 0000:00:02.0
             version: 18
             width: 64 bits
             clock: 33MHz
             capabilities: vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:16 memory:d3400000-d37fffff memory:b0000000-bfffffff ioport:e080(size=8)


> Otherwise have a look to see if there is a BIOS update for your PC.
> If so then that may help.

I'll take a look.

Thanks,
Adam




More information about the ubuntu-users mailing list