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-next>] [day] [month] [year] [list]
Date:	Mon, 2 Apr 2012 18:04:20 -0500
From:	"Jon Brenner" <jbrenner@...Sinc.com>
To:	<jic23@...nel.org>, <gregkh@...uxfoundation.org>
Cc:	<linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Proposed addition to 'IIO interface' for color light sensing devices

I would like to propose the following addition to the 'IIO device
interface' for color light sensing devices to accommodate CCT (AKA color
temperature) and access to the raw RGB channel data for user analysis.

IIO channel type name: CCT

The CCT ABI should be documented similar to as follows: 
In sys-bus-iio-light:
What:		/sys/bus/iio/devices/device[n]/cct[_input|_raw]
KernelVersion:	3.3.0
Contact:	linux-iio@...r.kernel.org
Description:
		This should return the correlated color temperature from
the RGBC color sensor
		expressed as SI unit (degree kelvin). 
		If it comes back in SI units, it should also
include_input else it
		should include _raw to signify it is not in SI units.

IIO modifiers:
IIO_MOD_LIGHT_RED
IIO_MOD_LIGHT_GREEN
IIO_MOD_LIGHT_BLUE

The 'clear' and IR channels are already covered by the use of IIO_LIGHT
and IIO ILLUMINANCE (and respective modifiers).
The RGB modifiers will help to express the relative frequencies to their
respective channel, and appear to fit well with the overall convention.

And last but not least, the textual modifier names "red", "green", and
"blue" be accommodated within 'industrialio-core'.

Channel specific interrupt event / sources are not presented at this
time.

Any thoughts or comments are welcomed.

Jon Brenner

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