This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

accelerometer driver for Froyo on Pandaboard

Other Parts Discussed in Thread: 4430

Hi

I am trying to write an accelerometer driver in android froyo on the pandaboard.

The problem I encounter is that pandaboard has an accelerometer (VTI) which android choose to work with him.

Internal  accelerometer gets /dev/input/event2, while we get /dev/input/event7, so Android ignores us,

It’s seems android support only one device (accelerometer) for each device,

My question is what is the name of the driver, or configuration parameter in the kernel so I can disable it.

I am using Froyo Kernel2-6.35 configuration file android_4430_defconfig.

 

See below event file Description

There is an internal sensor in

Input driver version is 1.0.0

Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0

Input device name: "sensors"

Supported events:

  Event type 0 (Sync)

  Event type 3 (Absolute)

    Event code 0 (X)

      Value      0

      Min    -8000

      Max     8000

    Event code 1 (Y)

      Value      0

      Min    -8000

      Max     8000

    Event code 2 (Z)

      Value      0

      Min    -8000

      Max     8000

    Event code 10 (Brake)

      Value      0

      Min    -8000

      Max     8000

    Event code 16 (Hat0X)

      Value      0

      Min    -8000

      Max     8000

    Event code 17 (Hat0Y)

      Value      0

      Min    -8000

      Max     8000

    Event code 24 (Pressure)

      Value      0

      Min    -8000

      Max     8000

    Event code 25 (Distance)

      Value      0

      Min    -8000

      Max     8000

    Event code 40 (Misc)

      Value      0

      Min    -8000

      Max     8000

  Event type 17 (LED)

    Event code 8 (Misc)