All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: sre@debian.org, sre@ring0.de,
	kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org,
	aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com,
	patrikbachan@gmail.com, serge@hallyn.com
Subject: Re: Nokia N900: annoying yellow LED while battery is charging (and some progress with free userspace)
Date: Sun, 17 Jan 2016 00:27:38 +0100	[thread overview]
Message-ID: <201601170027.38572@pali> (raw)
In-Reply-To: <20160116232222.GB10962@amd>

[-- Attachment #1: Type: Text/Plain, Size: 539 bytes --]

On Sunday 17 January 2016 00:22:22 Pavel Machek wrote:
> Hi!
> 
> While battery is charging, 3 color LED produces yellow light.. at
> quite high intensity, which makes screen unpleasant to look at (with
> 4.4 kernel).
> 
> I'm pretty sure original Maemo did not try to blind me.
> 
> It looks like CHRG_IND signal goes from charger to LEDs, and
> BOOT_MODE pin may be involved.
> 
> Any idea how to get rid of the light?

echo 0 > /sys/class/power_supply/bq24150a-0/stat_pin_enable

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: pali.rohar@gmail.com (Pali Rohár)
To: linux-arm-kernel@lists.infradead.org
Subject: Nokia N900: annoying yellow LED while battery is charging (and some progress with free userspace)
Date: Sun, 17 Jan 2016 00:27:38 +0100	[thread overview]
Message-ID: <201601170027.38572@pali> (raw)
In-Reply-To: <20160116232222.GB10962@amd>

On Sunday 17 January 2016 00:22:22 Pavel Machek wrote:
> Hi!
> 
> While battery is charging, 3 color LED produces yellow light.. at
> quite high intensity, which makes screen unpleasant to look at (with
> 4.4 kernel).
> 
> I'm pretty sure original Maemo did not try to blind me.
> 
> It looks like CHRG_IND signal goes from charger to LEDs, and
> BOOT_MODE pin may be involved.
> 
> Any idea how to get rid of the light?

echo 0 > /sys/class/power_supply/bq24150a-0/stat_pin_enable

-- 
Pali Roh?r
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160117/46ca50a3/attachment.sig>

  reply	other threads:[~2016-01-16 23:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-16 23:22 Nokia N900: annoying yellow LED while battery is charging (and some progress with free userspace) Pavel Machek
2016-01-16 23:22 ` Pavel Machek
2016-01-16 23:27 ` Pali Rohár [this message]
2016-01-16 23:27   ` Pali Rohár

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=201601170027.38572@pali \
    --to=pali.rohar@gmail.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=ivo.g.dimitrov.75@gmail.com \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=patrikbachan@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=serge@hallyn.com \
    --cc=sre@debian.org \
    --cc=sre@ring0.de \
    --cc=tony@atomide.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.