FORUMS
Remove All Ads from XDA

Touchscreen driver issue

19 posts
Thanks Meter: 3
 
By DangerD, Junior Member on 8th December 2014, 12:38 PM
Post Reply Email Thread
Please help, currently have issue, touchscreen works for only part of screen, it works as 480x854 but screen size is 720x1280, so maximum x returned by ABS_MT_POSITION_X is 480 (top right position)
Tried to add idc config mtk-tpd.idc :
Code:
touch.deviceType = touchScreen
output.x = raw.x * 2
But it didn't make any changes.


Device:
Code:
add device 3: /dev/input/event3
  bus:      0000
  vendor    0000
  product   0000
  version   0000
  name:     "mtk-tpd"
  location: ""
  id:       ""
  version:  1.0.1
  events:
    KEY (0001): KEY_MENU              KEY_BACK              KEY_HOMEPAGE   BTN_TOUCH
    ABS (0003): ABS_X                 : value 0, min 0, max 720, fuzz 0, flat 0,  resolution 720
                ABS_Y                 : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 1280
                ABS_PRESSURE          : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 100, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MINOR    : value 0, min 0, max 100, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 720, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
  input props:
    INPUT_PROP_DIRECT
What else you could advice to add to idc file?
 
 
9th July 2019, 08:43 PM |#2  
Doubletop12's Avatar
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by DangerD

Please help, currently have issue, touchscreen works for only part of screen, it works as 480x854 but screen size is 720x1280, so maximum x returned by ABS_MT_POSITION_X is 480 (top right position)
Tried to add idc config mtk-tpd.idc :

Code:
touch.deviceType = touchScreen
output.x = raw.x * 2
But it didn't make any changes.


Device:
Code:
add device 3: /dev/input/event3
  bus:      0000
  vendor    0000
  product   0000
  version   0000
  name:     "mtk-tpd"
  location: ""
  id:       ""
  version:  1.0.1
  events:
    KEY (0001): KEY_MENU              KEY_BACK              KEY_HOMEPAGE   BTN_TOUCH
    ABS (0003): ABS_X                 : value 0, min 0, max 720, fuzz 0, flat 0,  resolution 720
                ABS_Y                 : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 1280
                ABS_PRESSURE          : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 100, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MINOR    : value 0, min 0, max 100, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 720, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 1280, fuzz 0, flat 0, resolution 0
                ABS_MT_TRACKING_ID    : value 0, min 0, max 0, fuzz 0, flat 0, resolution 0
  input props:
    INPUT_PROP_DIRECT
What else you could advice to add to idc file?

I've got a similar problem with an mtk based device. I don't have an mtk-tpd.idc file, which may be the problem.

Did you get this resolved?

Pete
Post Reply Subscribe to Thread

Tags
idc, touchscreen

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes