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: <20140915211358.GA64909@vmdeb7>
Date:	Mon, 15 Sep 2014 14:13:58 -0700
From:	Darren Hart <dvhart@...radead.org>
To:	"H. Peter Anvin" <hpa@...ux.intel.com>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Azael Avalos <coproscefalo@...il.com>,
	platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
	"Rafael J. Wysocki" <rjw@...ysocki.net>,
	Jonathan Cameron <jic23@...nel.org>, linux-iio@...r.kernel.org
Subject: Re: [PATCH v2 3/5] toshiba_acpi: Fix accelerometer direction
 reporting

On Mon, Sep 15, 2014 at 02:01:23PM -0700, H. Peter Anvin wrote:
> On 09/15/2014 12:56 PM, Greg Kroah-Hartman wrote:
> > 
> >> I have also suggested this device (2 actually) would be better supported as an
> >> IIO accelerometer device, but even that would change the sysfs interface by
> >> removing these altogether and using the IIO standardized path and accelerometer
> >> interface.
> > 
> > That's a better goal overall, then the "odd" sysfs files are now gone,
> > to be replaced with the standard interface which all tools should
> > already be using.
> > 
> 
> I would definitely agree with that, although I understood there were
> technical concerns with that?
> 
> 	-hpa

Yes, the accelerometer is hidden behind two ACPI HIDs with a very limited polled
position and acceleration threshold interface. I've asked the IIO maintainer if
this would be feasible to use as an IIO device, but have not yet heard back.

Jonathan and linux-iio added to Cc.

-- 
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ