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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 14 Mar 2011 13:27:17 -0700
From:	Guenter Roeck <guenter.roeck@...csson.com>
To:	Jean Delvare <khali@...ux-fr.org>
CC:	Jonathan Cameron <jic23@....ac.uk>, Arnd Bergmann <arnd@...db.de>,
	mems applications <mems.applications@...com>,
	"rdunlap@...otime.net" <rdunlap@...otime.net>,
	"carmine.iascone@...com" <carmine.iascone@...com>,
	"matteo.dameno@...com" <matteo.dameno@...com>,
	"rubini@...vis.unipv.it" <rubini@...l.unipv.it>,
	"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Add STMicroelectronics LPS001WP pressure sensor device
 driver into misc

On Mon, Mar 14, 2011 at 04:18:09PM -0400, Jean Delvare wrote:
> On Mon, 14 Mar 2011 20:14:19 +0000, Jonathan Cameron wrote:
> > On 03/14/11 19:46, Arnd Bergmann wrote:
> > > On Monday 14 March 2011 20:19:20 Jonathan Cameron wrote:
> > >> The big issue raised last time around is that this is not a conventional human
> > >> input device.  Hence Dmitry isn't going to take it into input.  That doesn't
> > >> just mean that you have to move it's physical location; it also means you have
> > >> to not use the input interfaces at all.
> > > 
> > > How about making this a hwmon driver instead?
> > > There are already a number of temperature sensor drivers in
> > > driver/hwmon/, I think it would fit in well there.
> > hwmon are fairly forceful about not taking things that aren't for monitoring
> > hardware.  Even the humidity sensors in there are still controversial.
> > As it has been suggested I've cc'd Guenter and Jean just in case I'm wrong on
> > this.
> 
> Jonathan is correct. Pressure sensors are not hardware monitoring
> devices, their drivers have nothing to do in drivers/hwmon. This is
> something for drivers/misc or staging/iio.
> 

Absolutely agree.

Guenter

> > > This would mean moving it to the other directory,
> > > registering it to the common hwmon api (hwmon_device_register)
> > > and rewriting the user API to blend in with the other
> > > hwmon drivers.
> 
> -- 
> Jean Delvare
--
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