ISL(4)
π isl(4) β the Intersil(TM) I2C ISL29018 sensor driver, bestie edition π
okay so you wanna read your laptop's ambient light sensor and proximity vibes straight from the kernel? say less. this is the isl man page, section 4 (that's kernel interfaces, iykyk), and it's giving light sensor main character energy β¨
β¨ NAME β¨
isl β the Intersil(TM) I2C ISL29018 sensor driver π¦
β¨ SYNOPSIS β¨
so to compile this driver into the kernel, you literally just drop these lines into the kernel configuration file:
device isl
device ig4
device iicbus
or, if you'd rather load it as a module at boot time (which is lowkey the move), you put this line in loader.conf(5):
isl_load="YES"
ig4_load="YES"
on a lot of Chromebook models this driver can be automatically configured with the help of the chromebook_platform(4) driver π
alternatively, you can configure the isl driver manually in /boot/device.hints, like:
hint.isl.0.at="iicbus0"
hint.isl.0.addr="0x88"
hint.isl.1.at="iicbus1"
hint.isl.1.addr="0x88"
β¨ DESCRIPTION β¨
the isl driver gives you access to sensor data from the Intersil(TM) I2C ISL29018 Digital Ambient Light Sensor and Proximity Sensor with Interrupt Function. π the functionality is basic, and it's provided through the sysctl(8) interface.
on a system using device.hints(5), these values are configurable for isl:
β¨ SYSCTL VARIABLES β¨
these sysctl(8) variables are available, and yes you're gonna want all of them:
dev.isl.X.alsβ current ALS (Ambient Light Sensor) readout. πdev.isl.X.irβ current IR (InfraRed) sensor readout.dev.isl.X.proxβ current proximity sensor readout.dev.isl.X.resolutionβ current sensor resolution.dev.isl.X.rangeβ current sensor range.
β¨ EXAMPLES β¨
πΈ Ambient light sensor read out
$ sysctl dev.isl.0.als
dev.isl.0.als: 64
literally one command and you know how bright it is. ate. π₯
πΈ Automatically adjust brightness
heads up bestie: this requires the port graphics/intel-backlight, and it only works with laptops using a supported Intel(R) GPU. no cap.
$ pkg install intel-backlight
$ sh /usr/local/share/examples/intel-backlight/isl_backlight.sh
β¨ SEE ALSO β¨
chromebook_platform(4), ig4(4), iicbus(4)
β¨ AUTHORS β¨
the isl driver was written by Michael Gmelin <freebsd@grem.de>.
this manual page was written by Michael Gmelin <freebsd@grem.de>.
β¨ BUGS β¨
π the isl driver detects the device based from the I2C address. this might have unforeseen consequences if the initialization sequence is sent to an unknown device at that address. fr fr, be careful.
and that's the whole page, bestie π«Ά this one came from Debian, dated December 18, 2018 β go forth and vibe check your ambient light πβ¨
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2015 Michael Gmelin <freebsd@grem.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms