[ltp] T410s: suspend when close lid

Michel Filipe linux-thinkpad@linux-thinkpad.org
Tue, 18 Oct 2011 18:45:23 -0200


This is a multi-part message in MIME format.
--------------030800020300040301070600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi!

I'm using Ubuntu-11.10 and when I close lid, my thinkpad doesn't 
suspend. It stays running like if lid was opened. I configured Gnome 
Energy to suspend when lid is closed.

Anyone knows if there is some solution for that?

I attached the xev event log when I close the lid.

Thanks,
--
Michel Filipe
http://mfilipe.eti.br

--------------030800020300040301070600
Content-Type: text/plain;
 name="lid-close-event.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="lid-close-event.txt"

Outer window is 0x2a00001, inner window is 0x2a00002

PropertyNotify event, serial 8, synthetic NO, window 0x2a00001,
    atom 0x27 (WM_NAME), time 12442848, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x2a00001,
    atom 0x22 (WM_COMMAND), time 12442848, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x2a00001,
    atom 0x28 (WM_NORMAL_HINTS), time 12442848, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x2a00001,
    parent 0x2a00001, window 0x2a00002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x2a00001,
    atom 0x15b (WM_PROTOCOLS), time 12442849, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00002, override NO

PropertyNotify event, serial 23, synthetic NO, window 0x2a00001,
    atom 0x1c7 (_NET_WM_ALLOWED_ACTIONS), time 12442867, state PropertyNewValue

ConfigureNotify event, serial 24, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, (0,0), width 178, height 178,
    border_width 0, above 0x300003d, override NO

ReparentNotify event, serial 24, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, parent 0x124d7e7,
    (0,0), override NO

PropertyNotify event, serial 24, synthetic NO, window 0x2a00001,
    atom 0x160 (_NET_FRAME_EXTENTS), time 12442868, state PropertyNewValue

ConfigureNotify event, serial 24, synthetic YES, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, (0,0), width 178, height 178,
    border_width 0, above 0x300003d, override NO

PropertyNotify event, serial 24, synthetic NO, window 0x2a00001,
    atom 0x1f1 (_COMPIZ_WINDOW_DECOR_INPUT_FRAME), time 12442868, state PropertyNewValue

ConfigureNotify event, serial 24, synthetic YES, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, (0,0), width 178, height 178,
    border_width 0, above 0x300003d, override NO

ConfigureNotify event, serial 26, synthetic YES, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, (0,0), width 178, height 178,
    border_width 0, above 0x1213977, override NO

MapNotify event, serial 26, synthetic NO, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, override NO

VisibilityNotify event, serial 26, synthetic NO, window 0x2a00001,
    state VisibilityUnobscured

Expose event, serial 26, synthetic NO, window 0x2a00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 26, synthetic NO, window 0x2a00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 26, synthetic NO, window 0x2a00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 26, synthetic NO, window 0x2a00001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 26, synthetic NO, window 0x2a00001,
    atom 0x169 (_NET_WM_STATE), time 12442870, state PropertyNewValue

FocusIn event, serial 26, synthetic NO, window 0x2a00001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 26, synthetic NO, window 0x0,
    keys:  0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 26, synthetic NO, window 0x2a00001,
    atom 0x163 (_NET_WM_DESKTOP), time 12442870, state PropertyNewValue

PropertyNotify event, serial 28, synthetic NO, window 0x2a00001,
    atom 0x184 (WM_STATE), time 12442873, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0x2a00001,
    atom 0x19f (XKLAVIER_STATE), time 12442875, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0x2a00001,
    atom 0x169 (_NET_WM_STATE), time 12442877, state PropertyNewValue

KeyRelease event, serial 29, synthetic NO, window 0x2a00001,
    root 0xbe, subw 0x0, time 12442898, (886,-152), root:(1787,1221),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

PropertyNotify event, serial 29, synthetic NO, window 0x2a00001,
    atom 0x1ed (_COMPIZ_WINDOW_DECOR), time 12442903, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0x2a00001,
    atom 0x219 (_COMPIZ_WM_WINDOW_BLUR_DECOR), time 12442904, state PropertyNewValue

PropertyNotify event, serial 35, synthetic NO, window 0x2a00001,
    atom 0x1ca (_NET_WM_ICON_GEOMETRY), time 12442969, state PropertyNewValue

PropertyNotify event, serial 36, synthetic NO, window 0x2a00001,
    atom 0x1ca (_NET_WM_ICON_GEOMETRY), time 12443673, state PropertyNewValue

MappingNotify event, serial 36, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

FocusOut event, serial 36, synthetic NO, window 0x2a00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 36, synthetic NO, window 0x2a00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 36, synthetic NO, window 0x0,
    keys:  105 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (0,68), width 178, height 110, count 0

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 37, synthetic NO, window 0x2a00001,
    (0,68), width 178, height 110, count 0

ConfigureNotify event, serial 37, synthetic YES, window 0x2a00001,
    event 0x2a00001, window 0x2a00001, (901,917), width 178, height 178,
    border_width 0, above 0x1213977, override NO

PropertyNotify event, serial 37, synthetic NO, window 0x2a00001,
    atom 0x169 (_NET_WM_STATE), time 12455668, state PropertyNewValue

FocusOut event, serial 37, synthetic NO, window 0x2a00001,
    mode NotifyNormal, detail NotifyNonlinear

MappingNotify event, serial 37, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

--------------030800020300040301070600--