1 |
On Sun, 22 Mar 2015 10:26:09 +0000 |
2 |
Mick <michaelkintzios@×××××.com> wrote: |
3 |
|
4 |
> On Sunday 22 Mar 2015 05:19:41 German wrote: |
5 |
> > On Sun, 22 Mar 2015 09:01:03 +0000 |
6 |
> > Mick <michaelkintzios@×××××.com> wrote: |
7 |
> |
8 |
> > > In addidion, use modinfo to find out what parameters the particular module |
9 |
> > > has and add these when you modprobe to switch off power management - |
10 |
> > > which on buggy drivers tends to power down the card. |
11 |
> > |
12 |
> > Where do I have to use "modinfo". Can you give an example. From my research, |
13 |
> > that is exactly the power management which powers down the buggy drivers, |
14 |
> > but I don't know what what are these module options which will prevent to |
15 |
> > power the card down. |
16 |
> |
17 |
> I don't have your NIC, but in a laptop I post this in I get: |
18 |
> ========================================= |
19 |
> $ modinfo iwlwifi |
20 |
> filename: /lib/modules/3.18.7- |
21 |
> gentoo/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz |
22 |
> license: GPL |
23 |
> author: Copyright(c) 2003- 2014 Intel Corporation |
24 |
> <ilw@×××××××××××.com> |
25 |
> version: in-tree: |
26 |
> description: Intel(R) Wireless WiFi driver for Linux |
27 |
> firmware: iwlwifi-100-5.ucode |
28 |
> firmware: iwlwifi-1000-5.ucode |
29 |
> firmware: iwlwifi-135-6.ucode |
30 |
> firmware: iwlwifi-105-6.ucode |
31 |
> firmware: iwlwifi-2030-6.ucode |
32 |
> firmware: iwlwifi-2000-6.ucode |
33 |
> firmware: iwlwifi-5150-2.ucode |
34 |
> firmware: iwlwifi-5000-5.ucode |
35 |
> firmware: iwlwifi-6000g2b-6.ucode |
36 |
> firmware: iwlwifi-6000g2a-5.ucode |
37 |
> firmware: iwlwifi-6050-5.ucode |
38 |
> firmware: iwlwifi-6000-4.ucode |
39 |
> srcversion: FDA022BCC86979326790D21 |
40 |
> alias: pci:v00008086d00000892sv*sd00000462bc*sc*i* |
41 |
> [snip ...] |
42 |
> |
43 |
> depends: |
44 |
> intree: Y |
45 |
> vermagic: 3.18.7-gentoo SMP preempt mod_unload |
46 |
> parm: swcrypto:using crypto in software (default 0 [hardware]) (int) |
47 |
> parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: |
48 |
> disable agg TX, 4: disable agg RX, 8 enable agg TX (uint) |
49 |
> parm: amsdu_size_8K:enable 8K amsdu size (default 0) (int) |
50 |
> parm: fw_restart:restart firmware in case of error (default true) |
51 |
> (bool) |
52 |
> parm: antenna_coupling:specify antenna coupling in dB (default: 0 |
53 |
> dB) (int) |
54 |
> parm: wd_disable:Disable stuck queue watchdog timer 0=system |
55 |
> default, 1=disable (default: 1) (int) |
56 |
> parm: nvm_file:NVM file name (charp) |
57 |
> parm: uapsd_disable:disable U-APSD functionality (default: Y) (bool) |
58 |
> parm: bt_coex_active:enable wifi/bt co-exist (default: enable) |
59 |
> (bool) |
60 |
> parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), |
61 |
> 2=blinking, 3=Off (default: 0) (int) |
62 |
> parm: power_save:enable WiFi power management (default: disable) |
63 |
> (bool) |
64 |
> parm: power_level:default power save level (range from 1 - 5, |
65 |
> default: 1) (int) |
66 |
> parm: fw_monitor:firmware monitor - to debug FW (default: false - |
67 |
> needs lots of memory) (bool) |
68 |
> ========================================= |
69 |
> |
70 |
> So in my card I have: "parm: power_save:enable WiFi power management" which |
71 |
> is by default disabled. If I wanted to enable this parameter I would need to |
72 |
> use a boolean term, e.g. 'true', or 'on', or '1', or 'enable'. Yours would be |
73 |
> similar, but the exact parameter would be revealed when you run 'modinfo |
74 |
> <your_module_name>' |
75 |
> |
76 |
> Then call this parameter when you modprobe the module. For example: |
77 |
> |
78 |
> modprobe -r <your_module_name> |
79 |
> modprobe -v <your_module_name> power_level=0 |
80 |
> |
81 |
> Look at dmesg or syslog to see the result of your incantantion. |
82 |
> |
83 |
> If this solves your problem you can permanently define such a parameter in |
84 |
> your /etc/conf.d/modules. |
85 |
> |
86 |
> -- |
87 |
> Regards, |
88 |
> Mick |
89 |
> |
90 |
Thanks Mick, I'll take a closer look at it when I have time. Appreciate it. |
91 |
|
92 |
-- |