Am Dienstag, den 20.04.2010, 06:47 -0700 schrieb Greg KH: > On Tue, Apr 20, 2010 at 03:37:41PM +0200, Karin Pavjlik wrote: > > Im' a newbie, trying to program my first driver. I'll try to make an > > additional driver for the second USB mouse plugged into my laptop > > (genius netscroll+). > > Hm, why? Does the in-kernel driver not already work for you? No. just for learning, I have to make a project. > How do I disable the second mouse from behiving like a > > mouse? > Unbind it from userspace through sysfs if you really want to do this. > Or make the usbfs ioctl call to disable it. Either will work. Cool. > > b) Where is the current usb mouse driver source code for this? > usbhid. > > c) any tips? I'm reading the oreilly book. > What exactly are you trying to do? There are already drivers for your > device written (one very complete, one tiny) in the kernel tree, so > rewriting them, while fun, might not be needed :) Just trying to understand a little bit of USB, I thought starting with something simple as a mouse, from zero, could be nice. usbhid seems *BIG*. Thanks a lot. Best regards. -- Karin Pavjlik <karin.pavjlik@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html