On Thu, March 23, 2006 8:40 am, Corey Burger said: >> Hi Corey, >> >> can you send the proper patch or explain quickly the proper fix >> in the corresponding Debian bug report (it's cced) ? >> >> For Mattia, apparently Ubuntu has a fix for the problem in their >> dapper package xorg-input-synaptics_0.14.3+seriouslythistime-0ubuntu3
Thanks Raphael. [...] > Matthew Garrett did a dirty hack to get around it. CC'ing on this, as > he is the best person to ask. The culprit is: +#define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */ and +static Bool +event_query_is_alps(int fd) +{ + char name[5]=""; + ioctl(fd, EVIOCGNAME(sizeof(name)),name); + name[4]='\0'; + if (strcmp(name, "Alps") == 0) + return TRUE; + return FALSE; +} Did any of you (at ubuntu) forwarded the patch upstream already? thanks -- mattia :wq!