lkml.org 
[lkml]   [2010]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BISECTED] Suspend regression in v2.6.31 with Lenovo 3000 v200
Alan Stern wrote:

>
> The content of the power/wakeup file depends on two values: the
> can_wakeup flag and the should_wakeup flag. If can_wakeup is false
> then the file will be empty; otherwise it will contain "disabled" or
> "enabled" according to the value of should_wakeup.
>
> Now, device_init_wakeup() sets both flags whereas
> device_set_wakeup_capable() affects only the can_wakeup flag. After
> this change is made there should be nothing in the kernel that turns on
> the should_wakeup flag, and consequently remote wakeup should remain
> disabled.
>
> You can check this by grepping for occurrences of "should_wakeup" or
> "dev_set_wakeup_enable" (which affects the should_wakeup flag).
>
> Alan Stern
>

Okay the patch fixed the issue for the users. Thanks again for all your
helps,

Regards,
Ozan Caglayan


\
 
 \ /
  Last update: 2010-06-24 17:43    [W:0.065 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site