From: German <gentgerman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] RTL8192CU
Date: Sun, 22 Mar 2015 06:35:47 -0400 [thread overview]
Message-ID: <20150322063547.c0e259d69973c5623d588833@gmail.com> (raw)
In-Reply-To: <13340043.fcPFpTpKDM@aspire>
On Sun, 22 Mar 2015 10:26:09 +0000
Mick <michaelkintzios@gmail.com> wrote:
> On Sunday 22 Mar 2015 05:19:41 German wrote:
> > On Sun, 22 Mar 2015 09:01:03 +0000
> > Mick <michaelkintzios@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
> <ilw@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.
--
prev parent reply other threads:[~2015-03-22 10:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 17:42 [gentoo-user] RTL8192CU German
2015-03-19 18:46 ` Ralf
2015-03-21 6:03 ` [gentoo-user] RTL-tm NICs (Was RTL8192CU) Matti Nykyri
2015-03-21 10:06 ` German
2015-03-21 10:30 ` Matti Nykyri
2015-03-21 16:44 ` Stroller
2015-03-21 8:36 ` [gentoo-user] RTL8192CU Alexander Kapshuk
2015-03-21 8:36 ` Alexander Kapshuk
2015-03-21 10:00 ` German
2015-03-21 10:10 ` Neil Bothwick
2015-03-22 9:01 ` Mick
2015-03-22 9:19 ` German
2015-03-22 10:26 ` Mick
2015-03-22 10:35 ` German [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150322063547.c0e259d69973c5623d588833@gmail.com \
--to=gentgerman@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox