From: Pavel Machek <pavel@ucw.cz>
To: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Cc: Tony Lindgren <tony@atomide.com>,
kernel list <linux-kernel@vger.kernel.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-omap@vger.kernel.org, nekit1000@gmail.com, mpartap@gmx.net
Subject: Re: 4.16-rc5 on Motorola Droid 4
Date: Fri, 30 Mar 2018 23:17:29 +0200 [thread overview]
Message-ID: <20180330211729.GA3389@amd> (raw)
In-Reply-To: <20180330121959.uxx6kcl7v5w777vq@earth.universe>
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
On Fri 2018-03-30 14:19:59, Sebastian Reichel wrote:
> 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
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.
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: 4.16-rc5 on Motorola Droid 4
Date: Fri, 30 Mar 2018 23:17:29 +0200 [thread overview]
Message-ID: <20180330211729.GA3389@amd> (raw)
In-Reply-To: <20180330121959.uxx6kcl7v5w777vq@earth.universe>
On Fri 2018-03-30 14:19:59, Sebastian Reichel wrote:
> 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
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.
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180330/c115bccd/attachment.sig>
next prev parent reply other threads:[~2018-03-30 21:17 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-18 22:04 4.16-rc5 on Motorola Droid 4 Pavel Machek
2018-03-18 22:04 ` Pavel Machek
2018-03-20 14:03 ` Tony Lindgren
2018-03-20 14:03 ` Tony Lindgren
2018-03-20 17:00 ` Sebastian Reichel
2018-03-20 17:00 ` Sebastian Reichel
2018-03-21 19:32 ` Pavel Machek
2018-03-21 19:32 ` Pavel Machek
2018-03-21 19:32 ` Pavel Machek
2018-03-21 20:31 ` Pavel Machek
2018-03-21 20:31 ` Pavel Machek
2018-03-21 21:57 ` Tony Lindgren
2018-03-21 21:57 ` Tony Lindgren
2018-03-21 22:13 ` Pavel Machek
2018-03-21 22:13 ` Pavel Machek
2018-03-27 21:21 ` Pavel Machek
2018-03-27 21:21 ` Pavel Machek
2018-03-30 12:19 ` Sebastian Reichel
2018-03-30 12:19 ` Sebastian Reichel
2018-03-30 21:17 ` Pavel Machek [this message]
2018-03-30 21:17 ` Pavel Machek
2018-03-31 0:40 ` Sebastian Reichel
2018-03-31 0:40 ` Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180330211729.GA3389@amd \
--to=pavel@ucw.cz \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mpartap@gmx.net \
--cc=nekit1000@gmail.com \
--cc=sebastian.reichel@collabora.co.uk \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.