Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while operating the device #37

Open
rockywhisper opened this issue Oct 17, 2018 · 0 comments
Open

Error while operating the device #37

rockywhisper opened this issue Oct 17, 2018 · 0 comments

Comments

@rockywhisper
Copy link

rockywhisper commented Oct 17, 2018

Hi, Simo. I got an error:

Phone & OS:

The output of adb shell getevent -lp:

add device 1: /dev/input/event7
  name:     "magnetic_sensor"
  events:
    REL (0002): REL_X                 REL_Y                 REL_Z                 REL_RX
                REL_RY
    ABS (0003): ABS_X                 : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0
                ABS_Y                 : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0
                ABS_Z                 : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0
                ABS_MISC              : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
  input props:
    <none>
add device 2: /dev/input/event6
  name:     "accelerometer_sensor"
  events:
    REL (0002): REL_X                 REL_Y                 REL_Z                 REL_DIAL
                REL_MISC
  input props:
    <none>
add device 3: /dev/input/event5
  name:     "light_sensor"
  events:
    REL (0002): REL_WHEEL             REL_MISC
  input props:
    <none>
add device 4: /dev/input/event4
  name:     "proximity_sensor"
  events:
    ABS (0003): ABS_DISTANCE          : value 1, min 0, max 1, fuzz 0, flat 0, resolution 0
  input props:
    <none>
add device 5: /dev/input/event3
  name:     "qpnp_pon"
  events:
    KEY (0001): KEY_VOLUMEDOWN        KEY_POWER
  input props:
    INPUT_PROP_TOPBUTTONPAD
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 6: /dev/input/event2
  name:     "hbtp_vm"
  events:
    KEY (0001): BTN_MOUSE             BTN_RIGHT
    REL (0002): REL_X                 REL_Y
  input props:
    INPUT_PROP_DIRECT
add device 7: /dev/input/event0
  name:     "meta_event"
  events:
    REL (0002): REL_HWHEEL            REL_DIAL
  input props:
    <none>
could not get driver version for /dev/input/mice, Not a typewriter
add device 8: /dev/input/event1
  name:     "sec_touchscreen"
  events:
    KEY (0001): BTN_TOOL_FINGER*      BTN_TOUCH*
    ABS (0003): ABS_MT_SLOT           : value 0, min 0, max 14, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MINOR    : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
                ABS_MT_ORIENTATION    : value 0, min 65239, max 127, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 1079, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 1919, fuzz 0, flat 0, resolution 0
                ABS_MT_TOOL_TYPE      : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
                ABS_MT_PRESSURE       : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
                ABS_MT_DISTANCE       : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
                ABS_MT_PALM           : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0
    SW  (0005): SW_GLOVE
  input props:
    INPUT_PROP_DIRECT
add device 9: /dev/input/event9
  name:     "hall"
  events:
    SW  (0005): SW_FLIP*
  input props:
    <none>
add device 10: /dev/input/event8
  name:     "gpio-keys"
  events:
    KEY (0001): KEY_VOLUMEUP          KEY_HOMEPAGE
  input props:
    INPUT_PROP_TOPBUTTONPAD
add device 11: /dev/input/event10
  name:     "sec_touchkey"
  events:
    KEY (0001): KEY_BACK              00fe
    LED (0011): LED_MISC
  input props:
    <none>

Error desc:
When I use minitouch, it found the correct input-device "sec_touchscreen"
image
But when I touch the real device with my hand, minitouch print an error, and connection will be broken:
image

Hope you can offer some help. Thank you so much :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant