Code Monkey home page Code Monkey logo

intel_backlight_fbsd's Introduction

========================================================================
!!! This repo only exists for historic purposes, it's not maintained !!!
!!! and issues won't be resolved here.                               !!!
!!! Please check this fork and report issues there:                  !!!
!!!                                                                  !!!
!!!     https://github.com/FreeBSDDesktop/intel_backlight_fbsd       !!!
!!!                                                                  !!!
========================================================================

This is part of FreeBSD ports.

Please install from ports:
  cd /usr/ports/graphics/intel-backlight
  make install clean

or from packages:
  pkg install intel-backlight

This allows to control the backlight level on certain Intel(R) GPUs,
including i915.

This has been taken from intel-gpu-tools which can be found
here: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

Originally ported to FreeBSD by "emmex" of the FreeBSD forums.

Build:
  pkg install libpciaccess libdrm
  make
  make install

(this installs intel_backlight setuid root, so any user can execute it).

Usage:
  $ intel_backlight
  current backlight value: 30% (281/937)
  $ intel_backlight 50
  current backlight value: 15% (141/937)
  set backlight to 50% (469/937)
  $ intel_backlight incr
  current backlight value: 50% (469/937)
  set backlight to 51% (478/937)
  $ intel_backlight incr
  current backlight value: 51% (478/937)
  set backlight to 60% (562/937)
  $ intel_backlight incr
  current backlight value: 60% (562/937)
  set backlight to 70% (656/937)
  $ intel_backlight decr
  current backlight value: 70% (656/937)
  set backlight to 60% (562/937)
  $ intel_backlight decr
  current backlight value: 60% (562/937)
  set backlight to 51% (478/937)

The included example allows adjusting brightness automatically based on the
input of the isl driver (currently not part of standard FreeBSD).

Usage:
  ./isl_backlight.sh &

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.