Openmoko Bug #1808: No accelerometer data
Openmoko Public Trac
bugs at docs.openmoko.org
Mon Aug 11 20:55:45 CEST 2008
#1808: No accelerometer data
---------------------+------------------------------------------------------
Reporter: Mercury | Owner: openmoko-devel
Type: defect | Status: new
Priority: normal | Milestone: Om2008.8
Component: unknown | Version: GTA02v5
Severity: normal | Resolution:
Keywords: | Blocking:
Blockedby: |
---------------------+------------------------------------------------------
Comment(by Mercury):
The accelerometers seem to be working on some level. I'm suspecting
something strange with the kernel.
root at lisa:~# echo 1 >
/sys/devices/platform/spi_s3c24xx_gpio.1/spi0.0/power/wakeup
root at lisa:~# cat /sys/devices/platform/spi_s3c24xx_gpio.1/spi0.0/dump
(lying flat on desk)
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3b
09 84 89 01 00 08 12 94 11 1e 0e 01 00 00 00 00
47 00 e4 00 00 00 00 ff 00 fe 00 00 00 35 00 00
95 25 14 00 00 00 00 00 00 00 00 00 00 00 00 00
root at lisa:~# cat /sys/devices/platform/spi_s3c24xx_gpio.1/spi0.0/dump
(perpendicular to desk)
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3b
09 84 89 01 00 08 12 94 11 1e 0e 01 00 00 00 00
47 00 e4 00 00 00 00 ff 00 d7 00 da 00 02 00 00
95 1a 14 00 00 00 00 00 00 00 00 00 00 00 00 00
root at lisa:~# cat /sys/devices/platform/spi_s3c24xx_gpio.1/spi0.0/dump
(flat on desk again)
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3b
09 84 89 01 00 08 12 94 11 1e 0e 01 00 00 00 00
47 00 e4 00 00 00 00 ff 00 fe 00 01 00 34 00 00
95 25 14 00 00 00 00 00 00 00 00 00 00 00 00 00
Looks like it's able to tell what orientation my phone is in, but the
input event interface device gives me nothing.
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/1808#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list