On Fri, Oct 28, 2011 at 9:13 AM, Chris Bagwell <[email protected]> wrote: > On Fri, Oct 28, 2011 at 3:57 AM, Cedric Sodhi <[email protected]> wrote: >> On Thu, Oct 27, 2011 at 11:36:43AM -0500, Chris Bagwell wrote: >>> Linux tends to require white lists for supported touchscreens. So it >>> doesn't matter what drivers you compile it... its OK to compile them >>> ALL in and let whichever says it owns that product ID to claim it. >>> >>> > [ 3.226217] usb 2-1.4: new full speed USB device number 5 using >>> > ehci_hcd >>> > [>>>>>>>>>>>>] input: eGalax_eMPIA Technology Inc. PCAP MultiTouch >>> > Controller as >>> > /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/input/input8 >>> > [ 3.323466] generic-usb 0003:0EEF:A001.0001: input,hiddev0,hidraw0: >>> > USB HID v2.10 Pointer [eGalax_eMPIA Technology Inc. PCAP MultiTouch >>> > Controller] on usb-0000:00:1d.0-1.4/input0 >>> >>> OK, this tells me a little more. Your using the generic HID driver >>> which means your settings to disable hid-multitouch, usbtouchscreen, >>> etc are not really doing anything. >>> >>> The reason its using this driver is because, like I mentioned earlier, >>> your device has to be white listed to be used by a non-generic driver. >>> >>> To start with, someone will need to add your new product ID of 0xa001 >>> to this file: >>> >>> http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=blob;f=drivers/hid/hid-ids.h;h=1680e99b4816a8558291293d38dcc43625640e9c;hb=HEAD >>> >>> It needs to be added around line 234. Then it needs to be add to >>> white list in the hid-multitouch.c file: >>> >>> http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=blob;f=drivers/hid/hid-multitouch.c;h=fa5d7a1ffa9e97e81a8785a5d96c4f1af59cd47d;hb=HEAD >>> >>> Look around line 682 for example of registering a resistive eGalax >>> touch screen and around line 690 for registering a capacitive. >>> >>> This all assumes that eGalax has chosen to be a HID Multitouch >>> compliant device for this model... probably they did. >> >> I patched the two files as you suggested and rebuilded, but the lines in >> dmesg stay the same, hid-multitouch.ko is not autoloaded and the >> behaviour is unchanged. > > Darn. I guess that would have been to easy. I've note added an ID > yet to hid-multitouch so I may have got it wrong. I'll see if I can > find more info.
OK, found out what I missed. When you have a driver that is auto-grabbed by generic-usb then you need to add it to a generic-usb blacklist in addition to adding it to hid-multitouch's whitelist. http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=blob;f=drivers/hid/hid-core.c;h=91adcc5bad284ea6cd28e301a237b554de959bb8;hb=refs/heads/for-next See around line 1407 where its blacklisting other eGalax touchscreens. Add a line for yours. Chris ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
