Re: 4.16-rc5 on Motorola Droid 4

From: Sebastian Reichel
Date: Fri Mar 30 2018 - 08:20:09 EST


Hi,

On Tue, Mar 27, 2018 at 11:21:56PM +0200, Pavel Machek wrote:
> Also, if you know how to get information from light sensor, that would
> be nice.

You need CONFIG_SENSORS_ISL29028. Once the driver is probed:

$ cat /sys/bus/iio/devices/iio\:device1/name
isl29030
$ cat /sys/bus/iio/devices/iio\:device1/in_illuminance_input
19

-- Sebastian

Attachment: signature.asc
Description: PGP signature