77dc2db6d1
There is a bug in the current version of the itmtouch USB touchscreen driver. The if statment that checks if pressure is being applied to the touch screen is now missing a ! (not), so events are no longer being reported correctly. The original source code for this line was as follows: #define UCP(x) ((unsigned char*)(x)) #define UCOM(x,y,z) ((UCP((x)->transfer_buffer)[y]) & (z)) ... if (!UCOM(urb, 7, 0x20)) { And was cleaned to: unsigned char *data = urb->transfer_buffer; .... if (data[7] & 0x20) { (note the lack of '!') This has been tested on an LG L1510BF and an LG1510SF touch screen. Signed-off-by: Mark Assad <massad@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
acecad.c | ||
aiptek.c | ||
appletouch.c | ||
ati_remote2.c | ||
ati_remote.c | ||
hid-core.c | ||
hid-debug.h | ||
hid-ff.c | ||
hid-input.c | ||
hid-lgff.c | ||
hid-pidff.c | ||
hid-tmff.c | ||
hid-zpff.c | ||
hid.h | ||
hiddev.c | ||
itmtouch.c | ||
kbtab.c | ||
Kconfig | ||
keyspan_remote.c | ||
Makefile | ||
map_to_7segment.h | ||
mtouchusb.c | ||
powermate.c | ||
touchkitusb.c | ||
trancevibrator.c | ||
usbkbd.c | ||
usbmouse.c | ||
usbtouchscreen.c | ||
wacom_sys.c | ||
wacom_wac.c | ||
wacom_wac.h | ||
wacom.h | ||
xpad.c | ||
yealink.c | ||
yealink.h |