X86 platform drivers
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Christian Wehrfritz <cfritz@gmail.com>
Cc: matan@svgalib.org, Hans de Goede <hdegoede@redhat.com>,
	Mark Gross <mgross@linux.intel.com>,
	platform-driver-x86@vger.kernel.org
Subject: Re: lg-laptop and WM_BATT_LIMIT
Date: Mon, 5 Apr 2021 14:42:05 +0300	[thread overview]
Message-ID: <YGr3jcUozaOr0DZj@smile.fi.intel.com> (raw)
In-Reply-To: <CANEs7EkTrP2MygqhPAe=n5K=6inygWFkEpp3Y1_TTgDjSYT16w@mail.gmail.com>

+Cc: mailing list and PDx86 maintainers

On Sun, Apr 04, 2021 at 10:34:09PM +0200, Christian Wehrfritz wrote:
> Hi Matan and Andy,
> 
> I have a recent LG Gram 17 and the lg-laptop module works fine, except for
> the battery limit, that I'd like to set to 80.
> 
> I've been using Linux for a long time (0.97) and I have some experience in
> C, but not in kernel hacking.
> 
> In the module source, I noticed that you also had a different address for
> the battery limit (WMBB_BATT_LIMIT). I tried that, but setting this doesn't
> limit the charging and reading it results in an IO error - apparently the
> returned value is not an integer.
> 
> Is there anything else that I could try? I still have the windows
> partition, so I could set it in the LG software. And then possibly find out
> which address has changed? How do you approach such a problem?

I'm wondering if it uses WMI for that.

In any case, I have Cc'ed this to mailing list, hope there are people who may
advise something useful.

-- 
With Best Regards,
Andy Shevchenko



           reply	other threads:[~2021-04-05 11:42 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CANEs7EkTrP2MygqhPAe=n5K=6inygWFkEpp3Y1_TTgDjSYT16w@mail.gmail.com>]

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=YGr3jcUozaOr0DZj@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=cfritz@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=matan@svgalib.org \
    --cc=mgross@linux.intel.com \
    --cc=platform-driver-x86@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