Nokia X2 sensors
Перейти к навигации
Перейти к поиску
Information about sensors
root@ara:/ # getevent -i add device 1: /dev/input/event10 bus: 0000 vendor 0000 product 0000 version 0000 name: "msm8x10-snd-card Headset Jack" location: "ALSA" id: "" version: 1.0.1 events: SW (0005): 0002 0004 0006 000e 000f 0010 input props: <none> add device 2: /dev/input/event9 bus: 0000 vendor 0000 product 0000 version 0000 name: "msm8x10-snd-card Button Jack" location: "ALSA" id: "" version: 1.0.1 events: KEY (0001): 0072 0073 00e2 0103 0104 0105 0106 0107 input props: <none> add device 3: /dev/input/event7 bus: 0000 vendor 0000 product 0000 version 0000 name: "qpnp_pon" location: "qpnp_pon/input0" id: "" version: 1.0.1 events: KEY (0001): 0072 0074 input props: 0004 add device 4: /dev/input/event1 bus: 0018 vendor 0000 product 0000 version 0000 name: "ddtap" location: "" id: "" version: 1.0.1 events: REL (0002): 0008 0009 input props: <none> add device 5: /dev/input/event0 bus: 0018 vendor 0000 product 0000 version 0000 name: "accel" location: "" id: "" version: 1.0.1 events: ABS (0003): 0000 : value -16, min -512, max 512, fuzz 0, flat 0, resolution 0 0001 : value 860, min -512, max 512, fuzz 0, flat 0, resolution 0 0002 : value 492, min -512, max 512, fuzz 0, flat 0, resolution 0 input props: <none> add device 6: /dev/input/event8 bus: 0019 vendor 0001 product 0001 version 0100 name: "gpio-keys" location: "gpio-keys/input0" id: "" version: 1.0.1 events: KEY (0001): 0073 input props: <none> add device 7: /dev/input/event4 bus: 0000 vendor 0000 product 0000 version 0000 name: "cyttsp4_mt" location: "cyttsp4_mt.main_ttsp_core" id: "" version: 1.0.1 events: ABS (0003): 002f : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0 0030 : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 0031 : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 0034 : value 0, min 65239, max 127, fuzz 0, flat 0, resolution 0 0035 : value 0, min 0, max 479, fuzz 0, flat 0, resolution 0 0036 : value 0, min 0, max 799, fuzz 0, flat 0, resolution 0 0037 : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0 0039 : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0 003a : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 input props: INPUT_PROP_DIRECT add device 8: /dev/input/event2 bus: 0000 vendor 0000 product 0000 version 0000 name: "cyttsp4_proximity" location: "cyttsp4_proximity.main_ttsp_core" id: "" version: 1.0.1 events: ABS (0003): 0019 : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0 input props: <none> add device 9: /dev/input/event3 bus: 0000 vendor 0000 product 0000 version 0000 name: "cyttsp4_btn" location: "cyttsp4_btn.main_ttsp_core" id: "" version: 1.0.1 events: KEY (0001): 009e 00ac input props: <none> add device 10: /dev/input/event6 bus: 0018 vendor 0000 product 0000 version 0000 name: "proximity" location: "" id: "" version: 1.0.1 events: ABS (0003): 0019 : value 10, min 0, max 10, fuzz 0, flat 0, resolution 0 input props: <none> add device 11: /dev/input/event5 bus: 0018 vendor 0000 product 0000 version 0000 name: "light" location: "" id: "" version: 1.0.1 events: REL (0002): 0009 input props: <none>
Sensor device tree
msm8610-ara.dtsi
i2c@f9925000 { bma250_acc@18 { reg = <0x18>; compatible = "bma,bma250_acc"; vdd-supply = <&pm8110_l19>; vddio-supply = <&pm8110_l14>; interrupt-parent = <&msmgpio>; interrupts = <81 0x2>; bma250_acc,min_interval = <0x5>; bma250_acc,poll_interval = <200>; bma250_acc,accel_direction = <6>; bma250_acc,accel_g_range = <3>; }; }; i2c@f9928000 { betamon_prox@23 { reg = <0x23>; compatible = "liteon,betamon_prox"; vdd-supply = <&pm8110_l19>; vddio-supply = <&pm8110_l14>; ltr554,irq-gpio = <&msmgpio 80 0>; }; };