Skip to content

Disabling CONFIG_IIO breaks laptops' ALS sensor (and very likely more others) #35

Description

@Chenghao-Tan

Symptom

By disabling IIO subsystem, /sys/bus/iio simply doesn't exist, even though laptops' sensors are correctly loaded with firmware and running, consuming battery. This at least breaks GNOME's auto brightness, since it cannot read /sys/bus/iio/xxx. On modern high-end laptops, ALS sensor is a common thing, and IIO is not "unused" like described in copr_script.sh. So, please consider to restore IIO support.

Reproducible on ASUS UX5406SA + GNOME (ALS sensor through Intel ISH Hub). Switching to silverblue's kernel immediately solves the problem but comprises security.

Suggestion

Stop disabling CONFIG_IIO. Maybe compile that as kernel module and add ujust like bluetooth does (or not, leaving that to users in need).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions