Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L librem5-base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • librem5-base
  • Merge requests
  • !292

udev: add rules to reload the vcnl4000 driver on any hks-on

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Martin Kepplinger requested to merge martin.kepplinger/librem5-base:vcnl4040_hks_workaround into pureos/byzantium Jan 14, 2022
  • Overview 13
  • Commits 1
  • Pipelines 7
  • Changes 4

the light sensor is being cut off when wwan-hks, wlan-hks and camera-hks are being switched off. it's powered again when only one of these 3 hks are being switched on again.

Since I couldn't come up with a simple rule that does such an "OR" relationship, this reloads the driver on every HKS on-switching. That is of course more often than needed, but shouldn't hurt.

Fixes: https://source.puri.sm/Librem5/linux-next/-/issues/202

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: vcnl4040_hks_workaround