Openmoko's S3C touchscreen driver porting question

Nelson Castillo arhuaco at freaks-unidos.net
Sat Sep 19 17:24:35 CEST 2009


On Sat, Sep 19, 2009 at 7:07 AM, Maurus Cuelenaere
<mcuelenaere at gmail.com> wrote:
> Op 18-09-09 02:18, Nelson Castillo schreef:
>>
>> #define TS_EVENT_FIFO_SIZE (2<<  6)
>>
>> Should be enough. Try a different number but I think this should be
>> enough.
>> Just for a test try (2<<  10).
>>
>
> I've tried this before, didn't work
>
>> A) I would also check if the coordinates make sense.
>>
>
> not sure how to do that?
>
>> B) I would also check if event_send_timer_f (case 'P') is ever reached.
>>
>
> doesn't get reached

Mmm.

Next thing I would check is whether __kfifo_put() succeeds at least once.

tmp = __kfifo_put(ts.event_fifo, (unsigned char *)buf,sizeof(int) * 3);
printk(..., tmp)

If it does I'd try to check if the timer is working.



More information about the openmoko-kernel mailing list