Hi Bill,

  There is a good utility for you to understand the input subsystem
event. You may reference to the source code for details.

http://cgit.freedesktop.org/~whot/evtest/


regards,
Gaggery

2011/6/3 badcc0de <[email protected]>:
> Hello,
> I am having an issue of understanding the raw dumps off /dev/input/
> event3 which is my touch screen. I have read the kernel docs, used mtd-
> tool and read their source and I am still lost; maybe someone can
> straighten me out. So when I cat the aforementioned file I get the
> dump below:
>
> 0011e80: e312 0000 dcd3 0800 0300 3500 bf00 0000  ..........5.....
> 0011e90: e312 0000 6bd4 0800 0300 3600 dd01 0000  ....k.....6.....
> 0011ea0: e312 0000 a1d4 0800 0300 3000 2800 0000  ..........0.(...
> 0011eb0: e312 0000 d4d4 0800 0300 3200 0700 0000  ..........2.....
> 0011ec0: e312 0000 07d5 0800 0000 0200 0000 0000  ................
> 0011ed0: e312 0000 48d5 0800 0000 0000 0000 0000  ....H...........
> 0011ee0: e312 0000 48c2 0900 0300 3500 bf00 0000  ....H.....5.....
> 0011ef0: e312 0000 5ec2 0900 0300 3600 dd01 0000  ....^.....6.....
> 0011f00: e312 0000 65c2 0900 0300 3000 0000 0000  ....e.....0.....
> 0011f10: e312 0000 6cc2 0900 0300 3200 0300 0000  ....l.....2.....
> 0011f20: e312 0000 73c2 0900 0000 0200 0000 0000  ....s...........
> 0011f30: e312 0000 7dc2 0900 0000 0000 0000 0000  ....}...........
>
> I think I got these bytes down (bytes are 0 - 7 inclusive starting at
> the low address)
>
> Byte 5 --> ABS_MT_TOUCH_MAJOR ABS_MT_POSITION_X
> Byte 6/7 --> data related to what byte 5 is, for instance if byte 5 is
> ABS_MT_POSITION_X those bytes have x   coordinate
>
> Can anybody tell me which bytes contain what?
>
> I am running Froyo with a 2.6.32.9 kernel
>
> Thank you...
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



-- 
Regards,
Gaggery

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to