Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. Did you know your MacBook has a sensor that knows the exact angle of the screen hinge
Welcome to Caint!

Issues? Post in Comments & Feedback
You can now view, reply, and favourite posts from the Fediverse. You can click here or click on the on the navigation bar on the left.

Did you know your MacBook has a sensor that knows the exact angle of the screen hinge

Scheduled Pinned Locked Moved Uncategorized
7 Posts 3 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sam henri goldS This user is from outside of this forum
    sam henri goldS This user is from outside of this forum
    sam henri gold
    wrote last edited by
    #1

    Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?

    It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door.

    Source code and a downloadable app to try it yourself: https://github.com/samhenrigold/LidAngleSensor

    Sean O'BrienP slyborgS 2 Replies Last reply
    1
    0
    • R ActivityRelay shared this topic
    • sam henri goldS sam henri gold

      Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?

      It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door.

      Source code and a downloadable app to try it yourself: https://github.com/samhenrigold/LidAngleSensor

      Sean O'BrienP This user is from outside of this forum
      Sean O'BrienP This user is from outside of this forum
      Sean O'Brien
      wrote last edited by
      #2

      @samhenrigold oof. there's got to be a way this can be used for #surveillance.

      How accessible is this to any developer besides Apple (who likely already knows what device you're on, when you're sleeping etc.) ?

      sam henri goldS 1 Reply Last reply
      1
      0
      • Sean O'BrienP Sean O'Brien

        @samhenrigold oof. there's got to be a way this can be used for #surveillance.

        How accessible is this to any developer besides Apple (who likely already knows what device you're on, when you're sleeping etc.) ?

        sam henri goldS This user is from outside of this forum
        sam henri goldS This user is from outside of this forum
        sam henri gold
        wrote last edited by
        #3

        @profdiggity why do you think it’s surveillance and not related to keyboard backlight dimming or speaker EQ adjustments or a backup system for clamshell sleep mode or anything else?

        Sean O'BrienP 1 Reply Last reply
        0
        • sam henri goldS sam henri gold

          @profdiggity why do you think it’s surveillance and not related to keyboard backlight dimming or speaker EQ adjustments or a backup system for clamshell sleep mode or anything else?

          Sean O'BrienP This user is from outside of this forum
          Sean O'BrienP This user is from outside of this forum
          Sean O'Brien
          wrote last edited by
          #4

          @samhenrigold oh, I don't think it was put there for the purpose of surveillance.

          but we know all these sensors in phones can be used for similar purposes, gyroscopes accelerometers etc. So I am always looking the the potential privacy harm / security hole 🙂

          sam henri goldS 1 Reply Last reply
          1
          0
          • Sean O'BrienP Sean O'Brien

            @samhenrigold oh, I don't think it was put there for the purpose of surveillance.

            but we know all these sensors in phones can be used for similar purposes, gyroscopes accelerometers etc. So I am always looking the the potential privacy harm / security hole 🙂

            sam henri goldS This user is from outside of this forum
            sam henri goldS This user is from outside of this forum
            sam henri gold
            wrote last edited by
            #5

            @profdiggity moderate to severe pain in the ass. it’s not documented anywhere, i had to disassemble a system binary, it’s extremely brittle since i had to hard code it to one magic number that works on my device and, according to some people here, doesn’t work on theirs. it’s also extremely noisy and jittery.

            if someone can figure out how to turn this into useful, robust tracking data, they’ve earned it tbh.

            Sean O'BrienP 1 Reply Last reply
            0
            • sam henri goldS sam henri gold

              @profdiggity moderate to severe pain in the ass. it’s not documented anywhere, i had to disassemble a system binary, it’s extremely brittle since i had to hard code it to one magic number that works on my device and, according to some people here, doesn’t work on theirs. it’s also extremely noisy and jittery.

              if someone can figure out how to turn this into useful, robust tracking data, they’ve earned it tbh.

              Sean O'BrienP This user is from outside of this forum
              Sean O'BrienP This user is from outside of this forum
              Sean O'Brien
              wrote last edited by
              #6

              @samhenrigold thanks! just curious mostly.

              seems like very unlikely to be a privacy issue and maybe a security issue in contexts where you might be worried about side channel attacks and should be airgapping anyway.

              1 Reply Last reply
              1
              0
              • sam henri goldS sam henri gold

                Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?

                It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door.

                Source code and a downloadable app to try it yourself: https://github.com/samhenrigold/LidAngleSensor

                slyborgS This user is from outside of this forum
                slyborgS This user is from outside of this forum
                slyborg
                wrote last edited by
                #7

                @samhenrigold @clive

                1 Reply Last reply
                1
                0
                • R AodeRelay shared this topic
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • All Topics
                • Popular
                • World
                • Users
                • Groups