Ambient Light and Proximity Sensor with AntiX

Forum Forums Official Releases antiX-21/22 “Grup Yorum” Ambient Light and Proximity Sensor with AntiX

  • This topic has 2 replies, 2 voices, and was last updated Apr 30-2:09 am by bermano.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #82301
    Member
    bermano

      Hello everyone, I’m new with AntiX Linux, I just finished installing my first AntiX linux on my pocket netbook Sony VAIO Pocket Gen.2 (VPCP115KG).
      On the original OS, this series come with ambient light and proximity sensor to adjust brighness automatically and change screen orientation.
      Is there any way to make it works on debian series or Antix Linux?
      I’ve tried to googling and check in folder /sys/bus if there any something like “iio” or “in_illuminance_raw” but doesn’t seem exist

      *sorry for my bad english

      Thank You

      #82308
      Member
      PPC
        Helpful
        Up
        0
        ::

        You probably want the “iio-sensor-proxy” package- but I don’t have hardware to test it, so I can’t say if it does what you want, if it works or, if it works, if it requires you to create a script to read the data from the gyroscope and change your screen orientation and or screen brightness – my bet would be no, you can’t probably do it… if you can’t, the best route is probably creating a script to toggle the screen orienttion (horizontal/vertical) and add it to your toolbar, so you click it to change the screen orientation- something like this: https://github.com/frgomes/bash-scripts/blob/develop/bin/rotate (that I did not test).

        P.

        #82354
        Member
        bermano
          Helpful
          Up
          0
          ::

          Thank You PPC for the response, already installed iio-sensor-proxy, but it doesn’t seem to change anything 😀
          because no readable output from the sensor, my guess is iio-sensor-proxy related or require systemd to running ( https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/ ), which one is not used in AntiXlinux.
          I can make my own script to change brightness or orientation if I can read output value from the sensor, Orientation is not important for me because we very rarely use a laptop with a vertical screen position 😀
          but change brightness is important since my unit using gma 500 which in antix every time it boot brightness value always reset into 100% (no matter how much I set it on control setting).
          for now, my quick solution is add script to session user login to set brigthness level on 60%, (at least it work for now, brihghtness 100% is annoying especially at night #LOL).
          Other than that AntiX is AWESOME.. combine antix,debian and ubuntu repo on built in / pre installed source lists is AWESOME… v^_^

          • This reply was modified 1 year ago by bermano.
        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.