All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.31 regression: iwlagn power_level no longer works
@ 2009-09-01 21:26 Andy Lutomirski
  2009-09-01 21:39 ` Gábor Stefanik
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Lutomirski @ 2009-09-01 21:26 UTC (permalink / raw)
  To: linux-wireless

On 2.6.30.5, I can echo 1 >/sys/class/net/wlan0/device/power_level, and 
the value changes to 1, my wakeup rate goes way down, and my power 
consumption (as measured by powertop) drops noticeably.

On 2.6.31-rc7, I can still echo 1 to that file, but nothing happens, and 
the value I get if I 'cat power_level' remains at 0.

My kernel configs are as identical as 'make oldconfig' knows how to make 
them.

Any ideas?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.31 regression: iwlagn power_level no longer works
  2009-09-01 21:26 2.6.31 regression: iwlagn power_level no longer works Andy Lutomirski
@ 2009-09-01 21:39 ` Gábor Stefanik
  2009-09-01 21:49   ` Andrew Lutomirski
  0 siblings, 1 reply; 3+ messages in thread
From: Gábor Stefanik @ 2009-09-01 21:39 UTC (permalink / raw)
  To: Andy Lutomirski; +Cc: linux-wireless

On Tue, Sep 1, 2009 at 11:26 PM, Andy Lutomirski<luto@mit.edu> wrote:
> On 2.6.30.5, I can echo 1 >/sys/class/net/wlan0/device/power_level, and the
> value changes to 1, my wakeup rate goes way down, and my power consumption
> (as measured by powertop) drops noticeably.
>
> On 2.6.31-rc7, I can still echo 1 to that file, but nothing happens, and the
> value I get if I 'cat power_level' remains at 0.
>
> My kernel configs are as identical as 'make oldconfig' knows how to make
> them.
>
> Any ideas?

Power saving has been disabled temporarily in recent versions, as it
caused too many problems. AFAIK either there is either a modparam to
re-enable it or you can re-enable it using iwconfig (it is simply off
by default). There was talk on the mailing list whether to use a
modparam or iwconfig - I don't remember what the outcome was.

> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.31 regression: iwlagn power_level no longer works
  2009-09-01 21:39 ` Gábor Stefanik
@ 2009-09-01 21:49   ` Andrew Lutomirski
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lutomirski @ 2009-09-01 21:49 UTC (permalink / raw)
  To: Gábor Stefanik; +Cc: linux-wireless

2009/9/1 Gábor Stefanik <netrolller.3d@gmail.com>:
> On Tue, Sep 1, 2009 at 11:26 PM, Andy Lutomirski<luto@mit.edu> wrote:
>> On 2.6.30.5, I can echo 1 >/sys/class/net/wlan0/device/power_level, and the
>> value changes to 1, my wakeup rate goes way down, and my power consumption
>> (as measured by powertop) drops noticeably.
>>
>> On 2.6.31-rc7, I can still echo 1 to that file, but nothing happens, and the
>> value I get if I 'cat power_level' remains at 0.
>>
>> My kernel configs are as identical as 'make oldconfig' knows how to make
>> them.
>>
>> Any ideas?
>
> Power saving has been disabled temporarily in recent versions, as it
> caused too many problems. AFAIK either there is either a modparam to
> re-enable it or you can re-enable it using iwconfig (it is simply off
> by default). There was talk on the mailing list whether to use a
> modparam or iwconfig - I don't remember what the outcome was.

I can't find it in modinfo on iwlcore, iwlagn, cfg80211, or mac80211.
And iwconfig power <n> fails for all the <n> I tried.

If it's intentionally disabled, shouldn't writes to the file fail?  A
printk explaining what's going on might also be nice.  (I bet I won't
be the only one to report a regression of 2.6.31 is released like
this.)

--Andy

>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-01 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 21:26 2.6.31 regression: iwlagn power_level no longer works Andy Lutomirski
2009-09-01 21:39 ` Gábor Stefanik
2009-09-01 21:49   ` Andrew Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.