Thanks for sharing your work guys, it has allowed us mere mortals to follow in your footsteps along the beaten track
Did you compile the mtev driver from git or have you found some binaries somewhere?
Update: I compiled mtev and added a xorg.conf entry. The Xorg log indicates that mtev loads, sets up a new mouse device then unloads on an error (EN_SYN needed but missing). The touchscreen now works put X has no left click facility. Looking at the mtev source it would seem that mtev quits before configuring the mouse buttons -
int caps_read(struct mtev_caps *caps, int fd)
{
unsigned long evbits[nlongs(EV_MAX)];
unsigned long absbits[nlongs(ABS_MAX)];
unsigned long keybits[nlongs(KEY_MAX)];
int rc;
memset(caps, 0, sizeof(struct mtev_caps));
SYSCALL(rc = ioctl(fd, EVIOCGBIT(EV_SYN, sizeof(evbits)), evbits));
if (rc < 0) {
xf86Msg(X_ERROR, "mtev: EV_SYN needed but missing\n");
return rc;
}
SYSCALL(rc = ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybits)), keybits));
if (rc < 0) {
xf86Msg(X_ERROR, "mtev: EV_KEY needed but missing\n");
return rc;
}
SYSCALL(rc = ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbits)), absbits));
if (rc < 0) {
xf86Msg(X_ERROR, "mtev: EV_ABS needed but missing\n");
return rc;
}
caps->has_left = getbit(keybits, BTN_LEFT);
caps->has_middle = getbit(keybits, BTN_MIDDLE);
caps->has_right = getbit(keybits, BTN_RIGHT);
Is this something to do with how kernel events are sent by the kernel?
PS here is a photo of my debian install

Edited by Michael_llewellyn, 12 March 2011 - 10:58 AM.