OSDN Git Service

android-x86/hardware-libsensors.git
7 years agoiio-sensors: add the missing closedir marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3
Chih-Wei Huang [Mon, 25 Jul 2016 08:07:20 +0000 (16:07 +0800)]
iio-sensors: add the missing closedir

8 years agoiio-sensors: support conversion matrix gyroscope
Mario Holzinger [Fri, 25 Mar 2016 22:46:15 +0000 (23:46 +0100)]
iio-sensors: support conversion matrix gyroscope

With the prop hal.sensors.iio.anglvel.matrix=f1x,f1y,f1z,f2x,f2y,f2z,f3x,f3y,f3z
it is possible to manipulate the sensors directions and assignment to the
corresponding axes. The default is
hal.sensors.iio.anglvel.matrix=1,0,0,0,1,0,0,0,1

8 years agoiio-sensors: support conversion matrix magnetic field
Mario Holzinger [Fri, 25 Mar 2016 22:39:24 +0000 (23:39 +0100)]
iio-sensors: support conversion matrix magnetic field

With the prop hal.sensors.iio.magn.matrix=f1x,f1y,f1z,f2x,f2y,f2z,f3x,f3y,f3z
it is possible to manipulate the sensors directions and assignment to the
corresponding axes. The default is
hal.sensors.iio.magn.matrix=1,0,0,0,1,0,0,0,1

8 years agoiio-sensors: support conversion matrix acceleration
Mario Holzinger [Fri, 25 Mar 2016 13:09:21 +0000 (14:09 +0100)]
iio-sensors: support conversion matrix acceleration

With the prop hal.sensors.iio.accel.matrix=f1x,f1y,f1z,f2x,f2y,f2z,f3x,f3y,f3z
it is possible to manipulate accel sensors directions and assignment to the
corresponding axes. The default is
hal.sensors.iio.accel.matrix=-1,0,0,0,1,0,0,0,-1

8 years agoFix iio sensors crashing
Chih-Wei Huang [Tue, 29 Dec 2015 17:30:23 +0000 (01:30 +0800)]
Fix iio sensors crashing

Fix the incorrect condition to end the loop of probing.

8 years agoFix the building issues on Android 6.0
Chih-Wei Huang [Sat, 10 Oct 2015 17:51:33 +0000 (01:51 +0800)]
Fix the building issues on Android 6.0

The stlport is gone.

8 years agoenable multiarch builds for iio-sensors lollipop-x86
Chih-Wei Huang [Fri, 5 Jun 2015 23:35:02 +0000 (07:35 +0800)]
enable multiarch builds for iio-sensors

8 years agoMerge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86
Chih-Wei Huang [Fri, 5 Jun 2015 23:37:08 +0000 (07:37 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86

8 years agoiio-sensors: initial porting for iio based sensors kitkat-x86 android-x86-4.4-r3
Chih-Wei Huang [Sun, 24 May 2015 16:36:41 +0000 (00:36 +0800)]
iio-sensors: initial porting for iio based sensors

9 years agoenable multiarch builds
Chih-Wei Huang [Thu, 6 Nov 2014 02:58:59 +0000 (10:58 +0800)]
enable multiarch builds

Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
to support 64-bit targets.

9 years agokbdsensor: fix building issues on Android 5.0
Chih-Wei Huang [Mon, 20 Oct 2014 10:20:36 +0000 (18:20 +0800)]
kbdsensor: fix building issues on Android 5.0

More fields are added to struct sensor_t.

9 years agohdaps: add support for ST LIS302DL (Acer 1425P/1825PTZ) android-x86-4.4-r1 android-x86-4.4-r2
Tanguy Pruvot [Sat, 14 Jun 2014 13:06:39 +0000 (15:06 +0200)]
hdaps: add support for ST LIS302DL (Acer 1425P/1825PTZ)

Allow also to tune axis signs and to swap axis like X<>Y

setprop hal.sensors.axis.revert "1,-1,1" # to revert Y axis
setprop hal.sensors.axis.order "1,0,2" # for Y,X,Z

This could be required for tablet pc with Accelerometers in Base
and not in Screen part (Acer 1425P has a rotative screen)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years agokbdsensor: fix crashing if no device found
Chih-Wei Huang [Fri, 27 Jun 2014 11:55:39 +0000 (19:55 +0800)]
kbdsensor: fix crashing if no device found

9 years agow500: fix loop segfault in input devices list
Tanguy Pruvot [Fri, 13 Jun 2014 21:44:41 +0000 (23:44 +0200)]
w500: fix loop segfault in input devices list

9 years agohdaps: support Pegatron Lucid Tablet Accelerometer
Chih-Wei Huang [Wed, 26 Feb 2014 02:24:00 +0000 (10:24 +0800)]
hdaps: support Pegatron Lucid Tablet Accelerometer

10 years agoadd reverse button rotation
Kyle Evans [Mon, 10 Jun 2013 15:43:02 +0000 (10:43 -0500)]
add reverse button rotation

10 years agoallow one button rotation to be soft coded.
Kyle Evans [Mon, 10 Jun 2013 15:35:52 +0000 (10:35 -0500)]
allow one button rotation to be soft coded.

10 years agokbdsensor: fix kitkat-x86 building errors
Chih-Wei Huang [Wed, 25 Sep 2013 02:24:00 +0000 (10:24 +0800)]
kbdsensor: fix kitkat-x86 building errors

11 years agoadd WMI hotkey support
Kyle Evans [Tue, 12 Feb 2013 18:38:26 +0000 (13:38 -0500)]
add WMI hotkey support

SW_TABLET_MODE & KEY_DIRECTION, these are two events common to tablet
PC's. The first detects when the laptop is entering tablet mode and
rotates the screen to 90 if not already rotated, then back to 0 when
returning to laptop mode. The second is just a single button rotation
that can still be used when the keyboard is covered up.

11 years agoupdate for jb-x86
Chih-Wei Huang [Mon, 4 Feb 2013 08:35:44 +0000 (16:35 +0800)]
update for jb-x86

Now all sensors libraries are built into the iso image.
Use the property hal.sensors to select the correct one.

11 years agoallow to select rotation keys at runtime
Chih-Wei Huang [Sun, 3 Feb 2013 02:28:21 +0000 (10:28 +0800)]
allow to select rotation keys at runtime

hal.sensors.kbd.keys - define all keys configuration
hal.sensors.kbd.type - predefined configuration type

11 years agoadd s103t_sensor.c for S10-3t tablet
Chih-Wei Huang [Sun, 15 Jul 2012 11:04:08 +0000 (19:04 +0800)]
add s103t_sensor.c for S10-3t tablet

Moved from libsensors_s103t of device/lenovo/s103t with a bugfix.

12 years agoadd alternate button config, F5-F8
Kyle Evans [Thu, 1 Mar 2012 18:44:57 +0000 (13:44 -0500)]
add alternate button config, F5-F8

12 years agoadd module for HDAPS accelerometer found in many IBM Thinkpads
Stefan Seidel [Fri, 10 Feb 2012 16:24:24 +0000 (17:24 +0100)]
add module for HDAPS accelerometer found in many IBM Thinkpads

12 years agoremove remapping keys via uinput
Chih-Wei Huang [Fri, 3 Feb 2012 06:49:22 +0000 (14:49 +0800)]
remove remapping keys via uinput

Now we use the keylayout file to remap or ignore key events.

12 years agofix ics rotation issue
Chih-Wei Huang [Thu, 2 Feb 2012 14:03:35 +0000 (22:03 +0800)]
fix ics rotation issue

The ics framework checks the events more restrictly.
The timestamp delta must be less than one second.

Use clock_gettime() to get more precise timestamp,
suggested by RvdB.

12 years agosupport rotation keys configuration honeycomb-x86
Chih-Wei Huang [Sun, 13 Nov 2011 07:25:02 +0000 (15:25 +0800)]
support rotation keys configuration

12 years agofix issues on honeycomb-x86
Chih-Wei Huang [Tue, 16 Aug 2011 02:21:05 +0000 (10:21 +0800)]
fix issues on honeycomb-x86

13 years agoupdate to use new sensor interface of gingerbread gingerbread-x86
Chih-Wei Huang [Wed, 20 Apr 2011 08:37:39 +0000 (16:37 +0800)]
update to use new sensor interface of gingerbread

13 years agochange to C++ style struct initializer
Chih-Wei Huang [Tue, 19 Apr 2011 07:54:10 +0000 (15:54 +0800)]
change to C++ style struct initializer

13 years agoinitial import of kbdsensor
Chih-Wei Huang [Thu, 24 Mar 2011 08:05:10 +0000 (16:05 +0800)]
initial import of kbdsensor