lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180331004030.2kvdhlgynwmeiuib@earth.universe>
Date:   Sat, 31 Mar 2018 02:40:30 +0200
From:   Sebastian Reichel <sebastian.reichel@...labora.co.uk>
To:     Pavel Machek <pavel@....cz>
Cc:     Tony Lindgren <tony@...mide.com>,
        kernel list <linux-kernel@...r.kernel.org>,
        linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
        linux-omap@...r.kernel.org, nekit1000@...il.com, mpartap@....net
Subject: Re: 4.16-rc5 on Motorola Droid 4

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:
> > 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.

IIRC this is related to runtime PM. It should not be a problem if
you use libiio.

-- Sebastian

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ