public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
@ 2023-12-04 23:56 bugzilla-daemon
  2023-12-04 23:57 ` [Bug 218223] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-12-04 23:56 UTC (permalink / raw)
  To: linux-iio

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

            Bug ID: 218223
           Summary: Ambient light sensor on Framework 13 AMD laptop stops
                    working in Linux 6.7
           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: michael@michaelmarley.com
        Regression: No

The ambient light sensor on the Framework 13 worked properly with Linux 6.6. 
With 6.7 (currently tested with -rc4), the driver fails to load with:

hid_sensor_als HID-SENSOR-200041.1.auto: failed to setup attributes
hid_sensor_als: probe of HID-SENSOR-200041.1.auto failed with error -1

If I revert 286d528bf0fae9f334fba857825b9701df1675b2,
5f05285df691b1e82108eead7165feae238c95ef, and
ee3710f39f9d0ae5137a866138d005fe1ad18132, it starts working again.

This has also been reported in the Framework forums at
https://community.frame.work/t/tracking-auto-brightness-aka-ambient-light-sensor-in-linux-details/16746.

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
@ 2023-12-04 23:57 ` bugzilla-daemon
  2023-12-06 12:02 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-12-04 23:57 UTC (permalink / raw)
  To: linux-iio

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

Michael Marley (michael@michaelmarley.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Bisected commit-id|                            |286d528bf0fae9f334fba857825
                   |                            |b9701df1675b2
                 CC|                            |michael@michaelmarley.com
     Kernel Version|                            |6.7-rc4
         Regression|No                          |Yes

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
  2023-12-04 23:57 ` [Bug 218223] " bugzilla-daemon
@ 2023-12-06 12:02 ` bugzilla-daemon
  2023-12-06 12:22 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-12-06 12:02 UTC (permalink / raw)
  To: linux-iio

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

Bagas Sanjaya (bagasdotme@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bagasdotme@gmail.com

--- Comment #1 from Bagas Sanjaya (bagasdotme@gmail.com) ---
(In reply to Michael Marley from comment #0)
> The ambient light sensor on the Framework 13 worked properly with Linux 6.6.
> With 6.7 (currently tested with -rc4), the driver fails to load with:
> 
> hid_sensor_als HID-SENSOR-200041.1.auto: failed to setup attributes
> hid_sensor_als: probe of HID-SENSOR-200041.1.auto failed with error -1
> 
> If I revert 286d528bf0fae9f334fba857825b9701df1675b2,
> 5f05285df691b1e82108eead7165feae238c95ef, and
> ee3710f39f9d0ae5137a866138d005fe1ad18132, it starts working again.
> 
> This has also been reported in the Framework forums at
> https://community.frame.work/t/tracking-auto-brightness-aka-ambient-light-
> sensor-in-linux-details/16746.

What is full dmesg log?

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
  2023-12-04 23:57 ` [Bug 218223] " bugzilla-daemon
  2023-12-06 12:02 ` bugzilla-daemon
@ 2023-12-06 12:22 ` bugzilla-daemon
  2023-12-15 16:09 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-12-06 12:22 UTC (permalink / raw)
  To: linux-iio

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

--- Comment #2 from Michael Marley (michael@michaelmarley.com) ---
Created attachment 305549
  --> https://bugzilla.kernel.org/attachment.cgi?id=305549&action=edit
Full output of dmesg on an affected kernel

I attached the dmesg output.

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2023-12-06 12:22 ` bugzilla-daemon
@ 2023-12-15 16:09 ` bugzilla-daemon
  2023-12-15 16:54 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-12-15 16:09 UTC (permalink / raw)
  To: linux-iio

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

Srinivas Pandruvada (srinivas.pandruvada@linux.intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srinivas.pandruvada@linux.i
                   |                            |ntel.com

--- Comment #3 from Srinivas Pandruvada (srinivas.pandruvada@linux.intel.com) ---
Created attachment 305607
  --> https://bugzilla.kernel.org/attachment.cgi?id=305607&action=edit
Patch to fix this issue

Please try the attached patch. I also posted upstream. This issue broke ALS on
almost all Intel systems.

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2023-12-15 16:09 ` bugzilla-daemon
@ 2023-12-15 16:54 ` bugzilla-daemon
  2024-09-09 14:32 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-12-15 16:54 UTC (permalink / raw)
  To: linux-iio

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

--- Comment #4 from Michael Marley (michael@michaelmarley.com) ---
With the patch, the light sensor is working again.  Thanks!

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2023-12-15 16:54 ` bugzilla-daemon
@ 2024-09-09 14:32 ` bugzilla-daemon
  2024-09-09 14:37 ` bugzilla-daemon
  2024-09-09 15:19 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-09-09 14:32 UTC (permalink / raw)
  To: linux-iio

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

Andy Shevchenko (andy.shevchenko@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #305607|0                           |1
           is patch|                            |
 Attachment #305607|application/mbox            |text/plain
          mime type|                            |

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2024-09-09 14:32 ` bugzilla-daemon
@ 2024-09-09 14:37 ` bugzilla-daemon
  2024-09-09 15:19 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-09-09 14:37 UTC (permalink / raw)
  To: linux-iio

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

Andy Shevchenko (andy.shevchenko@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andy.shevchenko@gmail.com
         Resolution|---                         |CODE_FIX

--- Comment #5 from Andy Shevchenko (andy.shevchenko@gmail.com) ---
AFAIU the commit f2a71ebdf231 ("iio: hid-sensor-als: Assign channels
dynamically") has to fix this. Correct me, if I'm wrong.

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218223] Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7
  2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2024-09-09 14:37 ` bugzilla-daemon
@ 2024-09-09 15:19 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-09-09 15:19 UTC (permalink / raw)
  To: linux-iio

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

--- Comment #6 from Srinivas Pandruvada (srinivas.pandruvada@linux.intel.com) ---
That is correct. This issue should be closed.

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-09-09 15:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04 23:56 [Bug 218223] New: Ambient light sensor on Framework 13 AMD laptop stops working in Linux 6.7 bugzilla-daemon
2023-12-04 23:57 ` [Bug 218223] " bugzilla-daemon
2023-12-06 12:02 ` bugzilla-daemon
2023-12-06 12:22 ` bugzilla-daemon
2023-12-15 16:09 ` bugzilla-daemon
2023-12-15 16:54 ` bugzilla-daemon
2024-09-09 14:32 ` bugzilla-daemon
2024-09-09 14:37 ` bugzilla-daemon
2024-09-09 15:19 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox