Atmel maXTouch Digitizer and KitKat

Discuss Android on the Wandboard, as well as app development for or on the Wandboard.

Atmel maXTouch Digitizer and KitKat

Postby SITAComnet » Thu Jan 21, 2016 3:43 pm

I have a USB connected "Atmel maXTouch Digitizer" that doesnt seem to work with KitKat. The touchscreen shows up as an HID device, and getevent shows the touch information coming through.

Any suggestions on how to enable the touch screen in Android KitKat, on a WandBoard Quad?

logcat|grep EventHub shows

Code: Select all
I/EventHub( 1843): New device: id=3, fd=106, path='/dev/input/event1', name='Atmel Atmel maXTouch Digitizer', classes=0x80000014, configuration='/system/usr/idc/Atmel_Atmel_maXTouch_Digitizer.idc', keyLayout='', keyCharacterMap='', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
E/EventHub( 1843): could not get driver version for /dev/input/mouse1, Not a typewriter
I/EventHub( 1843): New device: id=4, fd=116, path='/dev/input/event0', name='ADS7846 Touchscreen', classes=0x4, configuration='/system/usr/idc/ADS7846_Touchscreen.idc', keyLayout='', keyCharacterMap='', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
E/EventHub( 1843): could not get driver version for /dev/input/mouse0, Not a typewriter


I've manually added the Atmel_Atmel_maXTouch_Digitizer.idc file.

getevent -lp shows

Code: Select all
add device 1: /dev/input/event1
  name:     "Atmel Atmel maXTouch Digitizer"
  events:
    KEY (0001): BTN_TOOL_PEN          BTN_TOOL_RUBBER       BTN_TOOL_BRUSH        BTN_TOOL_PENCIL
                BTN_TOOL_AIRBRUSH     BTN_TOOL_FINGER       BTN_TOOL_MOUSE        BTN_TOOL_LENS
                BTN_TOUCH
    ABS (0003): ABS_X                 : value 2008, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_Y                 : value 1562, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_Z                 : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_RX                : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_RY                : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_RZ                : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_THROTTLE          : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_RUDDER            : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_WHEEL             : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_GAS               : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_BRAKE             : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                000b                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                000c                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                000d                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                000e                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                000f                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_MISC              : value 1, min 0, max 31, fuzz 0, flat 0, resolution 0
                0029                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                002a                  : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
                002b                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                002c                  : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
                002d                  : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                002e                  : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
                ABS_MT_SLOT           : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MAJOR    : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
                ABS_MT_TOUCH_MINOR    : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_MT_WIDTH_MAJOR    : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
                ABS_MT_WIDTH_MINOR    : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_MT_ORIENTATION    : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_X     : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_MT_POSITION_Y     : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
                ABS_MT_TOOL_TYPE      : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
                ABS_MT_BLOB_ID        : value 0, min 0, max 31, fuzz 0, flat 0, resolution 0
    MSC (0004): MSC_SCAN
  input props:


getevent shows

Code: Select all
add device 1: /dev/input/event1
  name:     "Atmel Atmel maXTouch Digitizer"
could not get driver version for /dev/input/mouse1, Not a typewriter
could not get driver version for /dev/input/mice, Not a typewriter
add device 2: /dev/input/event3
  name:     "Dell Dell USB Mouse"
could not get driver version for /dev/input/mouse2, Not a typewriter
add device 3: /dev/input/event2
  name:     "Dell Dell USB Keyboard"
add device 4: /dev/input/event0
  name:     "ADS7846 Touchscreen"
could not get driver version for /dev/input/mouse0, Not a typewriter
/dev/input/event1: 0004 0004 000d0042  [color=#008000]/* **** THIS HAPPENS AS I TOUCH THE SCREEN **** */[/color]
/dev/input/event1: 0001 014a 00000001
/dev/input/event1: 0001 0140 00000001
/dev/input/event1: 0003 0000 00000d1a
[color=#008000]/* *** more touch events *** */[/color]
SITAComnet
 
Posts: 4
Joined: Mon Jan 11, 2016 5:16 pm

Return to Software - Android

Who is online

Users browsing this forum: No registered users and 27 guests