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] [thread-next>] [day] [month] [year] [list]
Message-ID: <550C03FC.1020303@theobroma-systems.com>
Date:	Fri, 20 Mar 2015 12:26:52 +0100
From:	Martin Kepplinger <martin.kepplinger@...obroma-systems.com>
To:	Bastien Nocera <hadess@...ess.net>,
	Martin Kepplinger <martink@...teo.de>
CC:	Alexander Stein <alexander.stein@...tec-electronic.com>,
	robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
	ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
	dmitry.torokhov@...il.com, akpm@...ux-foundation.org,
	gregkh@...uxfoundation.org, linux-api@...r.kernel.org,
	devicetree@...r.kernel.org, linux-input@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Christoph Muellner <christoph.muellner@...obroma-systems.com>
Subject: Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

Am 2015-03-19 um 11:22 schrieb Bastien Nocera:
> On Wed, 2015-03-18 at 19:28 +0100, Martin Kepplinger wrote:
>> Am 2015-03-18 um 19:05 schrieb Bastien Nocera:
>>> On Wed, 2015-03-18 at 19:02 +0100, Martin Kepplinger wrote:
>>>> Am 2015-03-18 um 17:59 schrieb Bastien Nocera:
>>>>> On Wed, 2015-03-18 at 17:42 +0100, Martin Kepplinger wrote:
>>>>>>
>>>>> <snip>
>>>>>> It could have gone to drivers/iio/accel if it would use an 
>>>>>> iio   interface, which would make more sense, you are right, 
>>>>>> but I 
>>>>>> simply  don't have the time to merge it in to iio.
>>>>>>
>>>>>> It doesn't use an input interface either but I don't see a 
>>>>>> good   place for an accelerometer that uses sysfs only.
>>>>>>
>>>>>> It works well, is a relatively recent chip and a clean 
>>>>>> dirver.  But  this is all I can provide.
>>>>>
>>>>> As a person who works on the user-space interaction of those 
>>>>> with   desktops [1]: Urgh.
>>>>>
>>>>> I already have 3 (probably 4) types of accelerometers to 
>>>>> contend  with,  I'm not fond of adding yet another type.
>>>>>
>>>>> Is there any way to get this hardware working outside the SoCs 
>>>>> it's  designed for (say, a device with I2C like a Raspberry 
>>>>> Pi),  so that a  kind soul could handle getting this using the 
>>>>> right  interfaces?
>>>>>
>>>>
>>>> It works on basically any SoC and is in no way limited in this  
>>>> regard. Sure, userspace has to expicitely support it and I hear 
>>>> you.  Using the iio interface would make more sense. I can only 
>>>> say I'd  love to have the time to move this driver over. I'm 
>>>> very sorry.
>>>
>>> How can we get the hardware for somebody to use on their own  
>>> laptops/embedded boards to implement this driver?
>>>
>>
>> It's connected over I2C. If the included documentation is not clear 
>> please tell me what exacly. Thanks!
> 
> 
> I'll ask the question a different way: can you please give the address 
> of a shop where that hardware is available?
> 

there is
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDMMA865x&lang_cd=
and http://linux-sunxi.org/Inet_K970 for example. I think I saw Android
devices with it too, and I would guess it would be used more often if it
were in linux.

Please refer to v4 of the patch for different questions. thanks!
--
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