[Bug 1277] no data from 2nd accellerometer
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Mon Mar 17 15:36:03 CET 2008
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1277
------- Additional Comments From andy at openmoko.com 2008-03-17 15:36 -------
Hi Mickey -
I believe you want event2 and event3, not 4:
# cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="Neo1973 Buttons"
P: Phys=neo1973kbd/input0
S: Sysfs=/devices/platform/neo1973-button.0/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=23
B: KEY=200 0 800000 0 0 0
B: SW=4
I: Bus=0013 Vendor=dead Product=beef Version=0101
N: Name="s3c2410 TouchScreen"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=event1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="lis302-1 (top)"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=event2
B: EV=5
B: REL=7
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="lis302-2 (bottom)"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3
B: EV=5
B: REL=7
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="GTA02 PMU events"
P: Phys=FIXME
S: Sysfs=/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/input/input4
U: Uniq=
H: Handlers=kbd event4
B: EV=400003
B: KEY=10 0 0 0 1000 0 0 0 100000 0 0 0
The accelerometers are done so they only create interrupts when you have
their /dev/input node open, so it makes sense one of their interrupt counts
does not go up if you had the wrong node open.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the buglog
mailing list