From mboxrd@z Thu Jan 1 00:00:00 1970 From: pavel@ucw.cz (Pavel Machek) Date: Fri, 30 Mar 2018 23:17:29 +0200 Subject: 4.16-rc5 on Motorola Droid 4 In-Reply-To: <20180330121959.uxx6kcl7v5w777vq@earth.universe> References: <20180318220418.GA22880@amd> <20180320140322.GU5799@atomide.com> <20180320170029.rv3u5wlvqxfl7z2v@earth.universe> <20180327212156.GA10834@amd> <20180330121959.uxx6kcl7v5w777vq@earth.universe> Message-ID: <20180330211729.GA3389@amd> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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: