Accelerometer Data

Iain B. FIndleton ifindleton at videotron.ca
Mon Mar 23 15:08:17 CET 2009


Charles-Henri Gros wrote:
>
> A known issue in 2008.12.
> http://docs.openmoko.org/trac/ticket//2145
>
> Workaround:
> echo 10 > /sys/devices/platform/lis302dl.1/threshold
>
>
>
>   
ls /sys/devices/platform:

drwxr-xr-x   21 root     root            0 Mar 23 12:40 .
drwxr-xr-x    4 root     root            0 Mar 23 12:39 ..
drwxr-xr-x    3 root     root            0 Mar 23 12:39 gta02-led.0
drwxr-xr-x    3 root     root            0 Mar 23 12:39 gta02-pm-wlan.0
drwxr-xr-x    3 root     root            0 Mar 23 12:39 neo1973-memconfig.0
drwxr-xr-x    3 root     root            0 Mar 23 12:39 neo1973-version.0
drwxr-xr-x    3 root     root            0 Mar 23 12:39 physmap-flash.0
drwxr-xr-x    2 root     root            0 Mar 23 13:58 power
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2410-iis
drwxr-xr-x    4 root     root            0 Mar 23 12:40 s3c2410-ohci
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2410-wdt
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2440-i2c
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2440-nand
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2440-sdi
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2440-uart.0
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2440-uart.1
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c2440-uart.2
drwxr-xr-x    4 root     root            0 Mar 23 12:40 s3c2440-usbgadget
drwxr-xr-x    3 root     root            0 Mar 23 12:39 s3c24xx_pwm.0
drwxr-xr-x    6 root     root            0 Mar 23 12:39 sc32440_fiq.0
drwxr-xr-x    3 root     root            0 Mar 23 13:58 soc-audio
-rw-r--r--    1 root     root         4096 Mar 23 13:58 uevent

Something has changed. Where is the device control for the accelerometers?






More information about the community mailing list