Skip to contentSkip to conversation

Touch screen driver for the SuperH MigoR board

PATCH Nicholas Beck 2 participants 2 messages Jul 1, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Magnus,

Firstly, thanks for the great work. I have one issue with the touch screen driver for the MigoR board though.

I don't get any BTN_TOUCH release events using the touch screen driver for the MigoR board. Do you experience the same problem?

I only see the first BTN_TOUCH down and then the absolute x-y pairs. The input framework gobbles up the subsequent BTN_TOUCH down events until it detects a BTN_TOUCH release event, as it should do. But the release event does not occur at the moment (for me at least), so a tap cannot be performed.

I have a patch that adds a timer to perform the BTN_TOUCH release event (kind of like a WDT), that I can submit if this is of any interest?

Thanks in advance,
Nicholas Beck

#1 lore raw

Hi Nicholas,

Thanks for your email!

Quoted 7 lines · Nicholas Beck

Hi Magnus,

Firstly, thanks for the great work. I have one issue with the touch screen driver for the MigoR board though.

I don't get any BTN_TOUCH release events using the touch screen driver for the MigoR board. Do you experience the same problem?

This problem has been fixed by Dmitry Torokhov. The linux-input archives seem gone though.

The updated patch below did not make it into 2.6.26, but it should be included in 2.6.27.

http://git.kernel.org/?p=linux/kernel/git/dtor/input.git;a=commit;h=885c316d776b64728b4ed30e3af60d23c9e46825

Quoted 2 lines

I have a patch that adds a timer to perform the BTN_TOUCH release event (kind of like a WDT), that I can submit if this is of any interest?

Does Dmitrys patch above solve your problem? If not, please post your patch and I'll have a look.

Thank you!

/ magnus