From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bw0-f219.google.com ([209.85.218.219]:64219 "EHLO mail-bw0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbZIAVtc convert rfc822-to-8bit (ORCPT ); Tue, 1 Sep 2009 17:49:32 -0400 Received: by bwz19 with SMTP id 19so319570bwz.37 for ; Tue, 01 Sep 2009 14:49:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <69e28c910909011439g6eb94e33m3bbfc2e2bbcf47e9@mail.gmail.com> References: <4A9D9168.2070608@mit.edu> <69e28c910909011439g6eb94e33m3bbfc2e2bbcf47e9@mail.gmail.com> Date: Tue, 1 Sep 2009 17:49:32 -0400 Message-ID: Subject: Re: 2.6.31 regression: iwlagn power_level no longer works From: Andrew Lutomirski To: =?ISO-8859-1?Q?G=E1bor_Stefanik?= Cc: linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2009/9/1 Gábor Stefanik : > On Tue, Sep 1, 2009 at 11:26 PM, Andy Lutomirski 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 fails for all the 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. :-) >