Thread (11 messages) 11 messages, 4 authors, 2018-03-31

4.16-rc5 on Motorola Droid 4

From: Sebastian Reichel <hidden>
Date: 2018-03-31 00:40:36
Also in: linux-omap, lkml

Hi,

On Fri, Mar 30, 2018 at 11:17:29PM +0200, Pavel Machek wrote:
On Fri 2018-03-30 14:19:59, Sebastian Reichel wrote:
quoted
Hi,

On Tue, Mar 27, 2018 at 11:21:56PM +0200, Pavel Machek wrote:
quoted
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
Thanks, that works.

I was also able to get accelerometers to work, but they are extremely
slow to read (6 seconds for all 3 axis). Interesting, but probably not
too important for now.
IIRC this is related to runtime PM. It should not be a problem if
you use libiio.

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180331/ef7bb4d9/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help