Copyright (c) 2015 Michael Gmelin <email@example.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the docume...
NAMEisl - Intersil(TM) I2C ISL29018 sensor driver
SYNOPSISTo compile this driver into the kernel, place the following lines into the kernel configuration file:
device isl device ig4 device smbus
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
DESCRIPTIONThe driver provides access to sensor data provided by the Intersil(TM) I2C ISL29018 Digital Ambient Light Sensor and Proximity Sensor with Interrupt Function. Functionality is basic and provided through the sysctl(8) interface.
SYSCTL VARIABLESThe following sysctl(8) variables are available:
- Current ALS (Ambient Light Sensor) readout.
- Current IR (InfraRed) sensor readout.
- Current proximity sensor readout.
- Current sensor resolution.
- Current sensor range.
Ambient light sensor read out
$ sysctl dev.isl.0.als dev.isl.0.als: 64
Automatically adjust brightnessThis requires the port graphics/intel-backlight and only works with laptops using a supported Intel(R) GPU.
$ pkg install intel-backlight $ sh /usr/local/share/examples/intel-backlight/isl_backlight.sh
SEE ALSOig4(4), smbus(4)
AUTHORSAn -nosplit The driver was written by An Michael Gmelin Aq Mt firstname.lastname@example.org .
This manual page was written by An Michael Gmelin Aq Mt email@example.com .