android - USB Touch Screen Input device not recognised -
added support lg 17mb15t usb touch screen hid-ids.h , hid-multitouch.c , recompiled kernel. device recognised in dmesg , claimed hid-multitouch :
<6>[ 307.451668] usb 3-1.6: new full-speed usb device number 7 using sw-ehci <6>[ 307.563695] usb 3-1.6: new usb device found, idvendor=16fd, idproduct=d091 <6>[ 307.563753] usb 3-1.6: new usb device strings: mfr=1, product=2, serialnumber=0 <6>[ 307.563803] usb 3-1.6: product: lg ts2009f-usb <6>[ 307.563842] usb 3-1.6: manufacturer: edamak <6>[ 307.582868] input: edamak lg ts2009f-usb /devices/platform/sw-ehci.2/usb3/3-1/3-1.6/3-1.6:1.0/input/input8 <6>[ 307.588181] hid-multitouch 0003:16fd:d091.0006: input: usb hid v1.11 mouse [edamak lg ts2009f-usb] on usb-sw-ehci-1.6/input0
getevent -l lists device input device:
add device 1: /dev/input/event2 name: "edamak lg ts2009f-usb" add device 2: /dev/input/event5 name: "sun7i-ir" not driver version /dev/input/mouse0, not typewriter add device 3: /dev/input/event1 name: "axp20-supplyer" add device 4: /dev/input/event0 name: "sw-keyboard" not driver version /dev/input/mice, not typewriter
however no events fired it. /system/usr/idc/vendor_16fd_product_d091.idc looks this:
touch.devicetype = touchscreen touch.orientationaware = 1 device.internal = 0 keyboard.layout = qwerty keyboard.charactermap = qwerty2 keyboard.orientationaware =1 keyboard.builtin = 1 cursor.mode = navigation cursor.orientationaware = 1
dumsys input
not list device @ all. ive tried touch.devicetype = pointer
- no luck!
however if load stock kernel (allwiner a20) linux 3.4, adroid 4.2.2, device detected :
gen-usb 0003:16fd:d091.0006: input: usb hid v1.11 mouse
and events fired when touching or pressing on screen. dumsys input still not recognise device.
im suspecting issue .idc file cant find information on properties , legal values. alternately there may intermediate file required make work.
the touchscreen works ok on linaro 12 on same hardware (pcduino 3), windows 7, 8 on other hardware.
your , advise appreciated.
Comments
Post a Comment