login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
21
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on Toshiba Satellite A40
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Rafael J. Wysocki <rjw@...>
To: Alexey Starikovskiy <aystarik@...>
Cc: Frans Pop <elendil@...>, Pavel Machek <pavel@...>, <linux-acpi@...>, <linux-kernel@...>, Maciek Rutecki <maciej.rutecki@...>
Subject:
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on Toshiba Satellite A40
Date: Friday, September 21, 2007 - 10:33 am
On Friday, 21 September 2007 16:04, Alexey Starikovskiy wrote:
quoted text
> Rafael J. Wysocki wrote: > > On Thursday, 20 September 2007 22:32, Frans Pop wrote: > >> On Thursday 20 September 2007, Rafael J. Wysocki wrote: > >>> On Thursday, 20 September 2007 20:33, Alexey Starikovskiy wrote: > >>>> Frans Pop wrote: > >>>>> On Thursday 20 September 2007, you wrote: > >>>>>> Please try this patch. > >>>>> Works. All states are now listed again. > >>>>> I've not tested suspend to disk, but suspend to ram and power off > >>>>> work fine. > >>>>> > >>>>>> +printk(KERN_INFO PREFIX "(supports"); > >> Note that this printk should be indented. > >> > >>>>>> #ifdef CONFIG_SUSPEND > >>>>>> - printk(KERN_INFO PREFIX "(supports"); > >>>>>> for (i = ACPI_STATE_S0; i < ACPI_STATE_S4; i++) { > >>>>> Isn't there a risk now that we now end up printing > >>>>> ACPI: (supports) > >>>>> if CONFIG_SUSPEND is not enabled and >S4 is not supported? > >>>>> > >>>>> Or, more probably, it would print > >>>>> ACPI: (supports S5) > >>>> Don't know what does it mean to support S0 exactly... :) > >> Agreed, though arguably the same goes for S5. I guess you could say they are > >> all states that can be switched to. > >> > >>>>> as it is unlikely that "off" is not supported :-) > >>>>> > >>>>> Maybe S0 should be taken outside the #ifdef and the loop as that > >>>>> state is also basically always there? > >>>> Don't think it is worth the trouble. We already have this loop almost > >>>> completely unrolled, let's not make it complete mess... > >>> Well, you could use "(supports S0" instead of just "(supports". ;-) > >> After thinking about this a bit more, I think this does make sense for three > >> (admittedly minor) reasons: > >> - consistency between messages with and without CONFIG_SUSPEND > >> - consistency with /proc/acpi/sleep > >> - avoiding unnecessary change from previous versions. > >> > >> Please consider the attached patch which applies on top of Alexey's. Feel > >> free to integrate it in his patch. > >> > >> Signed-off-by: Frans Pop <elendil@planet.nl> > > > > Alexey, do you agree? > Yes, was thinking to do it myself, but my ISP died this morning....
OK I'll push the Frans' patch to Len if you don't mind. Greetings, Rafael -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
2.6.23-rc6: S4 and S5 no longer listed as supported on Toshi...
, Frans Pop
, (Wed Sep 19, 2:14 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Pavel Machek
, (Thu Sep 20, 6:53 am)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Frans Pop
, (Thu Sep 20, 8:37 am)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Maciek Rutecki
, (Thu Sep 20, 12:33 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Alexey Starikovskiy
, (Thu Sep 20, 1:29 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Frans Pop
, (Thu Sep 20, 2:17 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Alexey Starikovskiy
, (Thu Sep 20, 2:33 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Rafael J. Wysocki
, (Thu Sep 20, 4:07 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Frans Pop
, (Thu Sep 20, 4:32 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Frans Pop
, (Thu Sep 20, 5:18 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Rafael J. Wysocki
, (Thu Sep 20, 4:53 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Alexey Starikovskiy
, (Fri Sep 21, 10:04 am)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Rafael J. Wysocki
, (Fri Sep 21, 10:33 am)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Frans Pop
, (Thu Sep 20, 12:33 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Maciek Rutecki
, (Thu Sep 20, 12:01 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on ...
, Romano Giannetti
, (Thu Sep 20, 12:59 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Alexey Starikovskiy
, (Thu Sep 20, 12:34 pm)
Re: 2.6.23-rc6: S4 and S5 no longer listed as supported on T...
, Rafael J. Wysocki
, (Thu Sep 20, 4:01 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
David Miller
Slow DOWN, please!!!
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
591 guests
online.
Online users
belgranos87
Syndicate