Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
L
linux-emcraft
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Librem5
  • linux-emcraft
  • Issues
  • #7

Closed
Open
Opened Dec 21, 2018 by Guido Gunther@guido.gunther
  • Report abuse
Report abuse

Magnetometer and Accelerometer support for ST LSM9DS1

The current situation looks as follows to me:

  • The kernel driver for the LSM9DSI only supports the Gyro part (iio/gyro/st_gyro_*.c)
  • iio-sensor-proxy (used for detecting screen orientation in GNOME) only supports reading accel and magn parts (see /lib/udev/rules.d/80-iio-sensor-proxy.rules)
  • One iio-sensor-proxy works it exposes a DBus interface that phosh can pick up

In order to support detecting screen rotation we can either extend the kernel driver or modify iio-sensor-proxy.

The former would be the better thing to do since the device has these features and we should support them. In case somebody wants to pick this up please read https://patchwork.kernel.org/patch/10138321/ . We should get in touch with upstream to see if we can help here.

Edited Jun 07, 2019 by David Boddie
  • Discussion
  • Designs

The one place for your designs

To enable design management, you'll need to meet the requirements. If you need help, reach out to our support team for assistance.

Assignee
Assign to
Last: Fuschia (W30-32)
Milestone
Last: Fuschia (W30-32)
Assign milestone
Time tracking
None
Due date
None
1
Labels
devkit
Assign labels
  • View project labels
Reference: Librem5/linux-emcraft#7