Coder Social home page Coder Social logo

mba6x_bl's Introduction

Installation

You need to have the kernel headers (e.g. linux-header-generic) installed for the kernel you're compiling for. You also need the build tools (build-essential or similar).

  • git clone git://github.com/patjak/mba6x_bl
  • cd mba6x_bl
  • make
  • sudo make install
  • sudo depmod -a

Note: You no longer need to specify mba6x_bl as your backlight device in /etc/X11/xorg.conf. This is now handled automatically by promoting the driver above the ACPI backlight interface.

At this point you can load the module

sudo modprobe mba6x_bl

Then restart X (usually log in / log out will do the trick). The module should automatically load on next boot on any MacBook Air 6,x.

Debian dkms package

You can either follow the long route https://wiki.kubuntu.org/Kernel/Dev/DKMSPackaging, or download a pre-made .deb file from http://miek.nl/downloads/2015/mba6xbl-dkms_1.0.0_all.deb, which can be installed with dpkg -i.

Ubuntu specific instructions

https://help.ubuntu.com/community/MacBookAir6-2/Trusty#Backlight

Arch Linux dkms package

An Arch Linux prepared package can be found at https://aur.archlinux.org/packages/mba6x_bl-dkms/

Gentoo ebuild

A Gentoo ebuild can be had at https://github.com/chrisperelstein/gentoo-overlay/blob/master/x11-drivers/mba6x_bl/mba6x_bl-9999.ebuild. You can install with layman -o https://github.com/chrisperelstein/gentoo-overlay/raw/master/overlay.xml -a chrisperelstein, unmasking by adding =x11-drivers/mba6x_bl-9999::chrisperelstein ** to /etc/portage/package.accept_keywords, followed by emerge mba6x_bl.

mba6x_bl's People

Contributors

patjak avatar miekg avatar atodorov avatar chrisperelstein avatar yyyjajp avatar

Watchers

CHADDA Chakib avatar

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.