On Sun, 22 Mar 2015 10:26:09 +0000
Mick <michaelkintz...@gmail.com> wrote:

> On Sunday 22 Mar 2015 05:19:41 German wrote:
> > On Sun, 22 Mar 2015 09:01:03 +0000
> > Mick <michaelkintz...@gmail.com> wrote:
> 
> > > In addidion, use modinfo to find out what parameters the particular module
> > > has and add these when you modprobe to switch off power management -
> > > which on buggy drivers tends to power down the card.
> > 
> > Where do I have to use "modinfo". Can you give an example. From my research,
> > that is exactly the power management which powers down the buggy drivers,
> > but I don't know what what are these module options which will prevent to
> > power the card down.
> 
> I don't have your NIC, but in a laptop I post this in I get:
> =========================================
> $ modinfo iwlwifi
> filename:       /lib/modules/3.18.7-
> gentoo/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz
> license:        GPL
> author:         Copyright(c) 2003- 2014 Intel Corporation 
> <i...@linux.intel.com>
> version:        in-tree:
> description:    Intel(R) Wireless WiFi driver for Linux
> firmware:       iwlwifi-100-5.ucode
> firmware:       iwlwifi-1000-5.ucode
> firmware:       iwlwifi-135-6.ucode
> firmware:       iwlwifi-105-6.ucode
> firmware:       iwlwifi-2030-6.ucode
> firmware:       iwlwifi-2000-6.ucode
> firmware:       iwlwifi-5150-2.ucode
> firmware:       iwlwifi-5000-5.ucode
> firmware:       iwlwifi-6000g2b-6.ucode
> firmware:       iwlwifi-6000g2a-5.ucode
> firmware:       iwlwifi-6050-5.ucode
> firmware:       iwlwifi-6000-4.ucode
> srcversion:     FDA022BCC86979326790D21
> alias:          pci:v00008086d00000892sv*sd00000462bc*sc*i*
> [snip ...]
> 
> depends:        
> intree:         Y
> vermagic:       3.18.7-gentoo SMP preempt mod_unload 
> parm:           swcrypto:using crypto in software (default 0 [hardware]) (int)
> parm:           11n_disable:disable 11n functionality, bitmap: 1: full, 2: 
> disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
> parm:           amsdu_size_8K:enable 8K amsdu size (default 0) (int)
> parm:           fw_restart:restart firmware in case of error (default true) 
> (bool)
> parm:           antenna_coupling:specify antenna coupling in dB (default: 0 
> dB) (int)
> parm:           wd_disable:Disable stuck queue watchdog timer 0=system 
> default, 1=disable (default: 1) (int)
> parm:           nvm_file:NVM file name (charp)
> parm:           uapsd_disable:disable U-APSD functionality (default: Y) (bool)
> parm:           bt_coex_active:enable wifi/bt co-exist (default: enable) 
> (bool)
> parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off), 
> 2=blinking, 3=Off (default: 0) (int)
> parm:           power_save:enable WiFi power management (default: disable) 
> (bool)
> parm:           power_level:default power save level (range from 1 - 5, 
> default: 1) (int)
> parm:           fw_monitor:firmware monitor - to debug FW (default: false - 
> needs lots of memory) (bool)
> =========================================
> 
> So in my card I have: "parm:   power_save:enable WiFi power management" which 
> is by default disabled.  If I wanted to enable this parameter I would need to 
> use a boolean term, e.g. 'true', or 'on', or '1', or 'enable'.  Yours would 
> be 
> similar, but the exact parameter would be revealed when you run 'modinfo 
> <your_module_name>'
> 
> Then call this parameter when you modprobe the module.  For example:
> 
> modprobe -r <your_module_name>
> modprobe -v <your_module_name>  power_level=0
> 
> Look at dmesg or syslog to see the result of your incantantion.
> 
> If this solves your problem you can permanently define such a parameter in 
> your /etc/conf.d/modules.
> 
> -- 
> Regards,
> Mick
> 
Thanks Mick, I'll take a closer look at it when I have time. Appreciate it.

-- 


Reply via email to