All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-iio@vger.kernel.org
Subject: [Bug 220867] New: illuminance goes to zero after suspend
Date: Wed, 17 Dec 2025 18:11:20 +0000	[thread overview]
Message-ID: <bug-220867-217253@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=220867

            Bug ID: 220867
           Summary: illuminance goes to zero after suspend
           Product: Drivers
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: IIO
          Assignee: drivers_iio@kernel-bugs.kernel.org
          Reporter: xaver.hugl@kde.org
        Regression: No

Every time the system suspends, illuminance_raw reads zero, until it's not read
for a few seconds, at which point it recovers and reads correct measurement
values again.

Reproduction steps are
1. run "watch -n 1 cat /sys/bus/iio/devices/iio:device0/in_illuminance_raw"
2. suspend, wake the device again. The output is now zero
3. interrupt the process, wait for a few seconds, run it again. The output is
now a correct measurement value

This is on a Framework 13 with a Ryzen 7840U, tested with kernel version
6.17.11.
It's not a recent regression, when I looked into automatic brightness control
for KDE Plasma a few months ago, I already saw the zero readings once (but
didn't look into it further).

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

                 reply	other threads:[~2025-12-17 18:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bug-220867-217253@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-iio@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 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.