You are not logged in.
Pages: 1
How can I enable de power management of my wifi card?
lepton@Potato ~]$ uname -a
Linux Potato 3.5.2-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:54:33 CEST 2012 x86_64 GNU/Linux
[lepton@Potato ~]$ sudo lspci -vvn|grep 43 -A7
03:00.0 0280: 14e4:4331 (rev 02)
Subsystem: 106b:00d6
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 256 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at a0600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
lspci says support for "Power Management version 3", I don't know what actually means, however i try to enable it from powertop tunnables, but the "Bad" tag doesn't change...
Offline
Have a look at the output of
modinfo <yourwifidriver>
That will give you the parameters the driver accepts and powersaving should be among them. Then modprobe the driver again with that parameter enabled.
Offline
Hey Thanks
[lepton@Potato intel_backlight]$ sudo modinfo b43
filename: /usr/lib/modules/3.5.2-1-ARCH/kernel/drivers/net/wireless/b43/b43.ko.gz
firmware: b43/ucode9.fw
firmware: b43/ucode5.fw
firmware: b43/ucode16_mimo.fw
firmware: b43/ucode15.fw
firmware: b43/ucode14.fw
firmware: b43/ucode13.fw
firmware: b43/ucode11.fw
license: GPL
author: Rafał Miłecki
author: Gábor Stefanik
author: Michael Buesch
author: Stefano Brivio
author: Martin Langer
description: Broadcom B43 wireless driver
alias: pcmcia:m02D0c0476f*fn*pfn*pa*pb*pc*pd*
alias: pcmcia:m02D0c0448f*fn*pfn*pa*pb*pc*pd*
alias: bcma:m04BFid0812rev1Dcl*
alias: bcma:m04BFid0812rev11cl*
alias: ssb:v4243id0812rev10*
alias: ssb:v4243id0812rev0F*
alias: ssb:v4243id0812rev0D*
alias: ssb:v4243id0812rev0C*
alias: ssb:v4243id0812rev0B*
alias: ssb:v4243id0812rev0A*
alias: ssb:v4243id0812rev09*
alias: ssb:v4243id0812rev07*
alias: ssb:v4243id0812rev06*
alias: ssb:v4243id0812rev05*
depends: ssb,pcmcia,mac80211,bcma,mmc_core,cfg80211
intree: Y
vermagic: 3.5.2-1-ARCH SMP preempt mod_unload modversions
parm: bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm: fwpostfix:Postfix for the .fw files to load. (string)
parm: hwpctl:Enable hardware-side power control (default off) (int)
parm: nohwcrypt:Disable hardware encryption. (int)
parm: hwtkip:Enable hardware tkip. (int)
parm: qos:Enable QOS support (default on) (int)
parm: btcoex:Enable Bluetooth coexistence (default on) (int)
parm: verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)
parm: pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
then a i loades with
modprobe b43 hwpctl=1
and power usage went from 10W to 8.49W Thxs
Another cuestion, how can i know wich module is controlling a especific hardware?
For example my laptop has a IR Reciver, but i don't kwno what module i have to unload.
Offline
The
lspci -v
actually does list modules in use for the devices. Your grep in the first post just cut that line off (with -A7). So just look at that full output first for your IR receiver.
An alternative would be it is an internal USB device, which you can seek to identify with lsusb. Not sure how to handle that then though. Maybe blacklist the USB device ID somewhere (if necessary at all).
Offline
Pages: 1