diff options
author | JP Abgrall <jpa@google.com> | 2012-05-31 20:39:43 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2012-06-01 20:45:40 -0700 |
commit | 5dcc6c98e287eb1a1215778ce075950531624436 (patch) | |
tree | fa19dfd16bfb745bbf869aab5abefed9955f7b47 /ueventd.manta.rc | |
parent | 623b0771d1cd1b43efd05d4134910751bc3ad235 (diff) | |
download | manta-5dcc6c98e287eb1a1215778ce075950531624436.tar.gz |
manta: senors: add HAL for light and pressure sensors
This HAL supports sensors using Industrial I/O subsystem.
These sensor devices will be located in /sys/bus/iio/devices.
Light Sensor:
IIO device name: lightsensor-level
chan_type: IIO_LIGHT
channel: in_illuminance0_input
event: /dev/iio:device? (assigned dynamically)
Pressure Sensor:
IIO device name: barometer
chan_type: IIO_PRESSURE (This is not yet defined in main stream.)
channel: in_pressure0_input
event: /dev/iio:device? (assigned dynamically)
TODO: iio/events.h and iio/types.h should be moved to
external/kernel-headers/original.
Change-Id: Ifbeb2f8e7ef7ac09f5b0727a2376c652e5f9e800
Signed-off-by: Won Hyoung Lee <whlee@sta.samsung.com>
Diffstat (limited to 'ueventd.manta.rc')
-rw-r--r-- | ueventd.manta.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ueventd.manta.rc b/ueventd.manta.rc index f00bc41..82e882d 100644 --- a/ueventd.manta.rc +++ b/ueventd.manta.rc @@ -3,6 +3,15 @@ /dev/ion 0666 system system /dev/video6 0660 media media +# iio devices +/dev/iio:device* 0660 system system +/sys/devices/platform/s3c2440-i2c.1/i2c-1/1-0077/iio:device* events/in_pressure0_thresh_either_en 0660 system system +/sys/devices/platform/s3c2440-i2c.1/i2c-1/1-0077/iio:device* sampling_frequency 0660 system system +/sys/devices/platform/s3c2440-i2c.1/i2c-1/1-0077/iio:device* in_pressure0_input 0660 system system +/sys/devices/platform/s3c2440-i2c.2/i2c-2/2-0023/iio:device* events/in_illuminance0_thresh_either_en 0660 system system +/sys/devices/platform/s3c2440-i2c.2/i2c-2/2-0023/iio:device* sampling_frequency 0660 system system +/sys/devices/platform/s3c2440-i2c.2/i2c-2/2-0023/iio:device* in_illuminance0_input 0660 system system + # gscalers /dev/video23 0660 media media /dev/video26 0660 media media |