linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Anton Sviridenko <anton@picapica.im>, linux-wireless@vger.kernel.org
Subject: Re: RTL8188ETV chip, r8188eu module and power management
Date: Thu, 18 Jul 2019 10:58:03 -0500	[thread overview]
Message-ID: <f0680746-0a0a-b33e-b4ef-246b08949d99@lwfinger.net> (raw)
In-Reply-To: <20190717060609.GA21298@picapica.im>

On 7/17/19 1:06 AM, Anton Sviridenko wrote:
> 
> Hello
> 
> we are using FN-8112MET PCB module having RTL8188ETV chip on it.
> Device is running customized Linux version based on Linux 4.19 release.
> Driver module "r8188eu" is not modified, taken from vanilla sources as
> is.
> Wi-Fi connection is used occasionally, and rest of the time it is
> preferable to have minimal power consumption.
> 
> Such situation is observed:
> 
> 1) Linux kernel is started, driver module is not loaded
> 2) module "r8188eu" is loaded manually with parameters "rtw_power_mgnt=2
> rtw_enusbss=1"
> 3) device starts consuming more current (+20mA)
> 3) after the module is unloaded, current consumption remains at the same
> level
> 
> We still have to double-check this, but looks like driver module does
> not leave the device in the same state on module unload.
> 
> Few questions:
> 1) Is "r8188eu" driver from the mainline kernel the best possible option
> available for this chip?
> 
> 2) Where can I look for some documentation about kernel module
> parameters related to power management and their meanings?
> Source code is not very descriptive, and I was not able to google
> anything better, looks like this chip specifications are not available in
> public.
> 
> 3) Is there some option to completely poweroff this chip using software
> and then bring it back when needed?

1. No. There is a newer driver for the RTL8188EU chips at 
http://github.com/lwfinger/rtl8188eu.git. The v5.2.2.4 branch has what I think 
is the best.

2. The source code is the only documentation available.

3. The page at 
https://unix.stackexchange.com/questions/165447/turning-off-power-to-usb-port-or-turn-off-power-to-entire-usb-subsystem 
has some info on disabling USB hubs that support per-port power switching.

Larry




      reply	other threads:[~2019-07-18 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-17  6:06 RTL8188ETV chip, r8188eu module and power management Anton Sviridenko
2019-07-18 15:58 ` Larry Finger [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=f0680746-0a0a-b33e-b4ef-246b08949d99@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=anton@picapica.im \
    --cc=linux-wireless@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).