Hello, unlike the HID driver in Linux 2.4, the HID driver in Linux 2.6 blacklists some USB devices like the Aiptek 6000U/8000U tablet, apparently in favour of the Aiptek driver now included.
Sadly, because of that it isn't possible any more to run the tablet using the HID driver (it's working fine with HID in relative positioning mode). Because I only need relative positioning, I'm completely satisfied with HID, I don't need an extra module doing the same job. To get it working again, I made a simple patch which allows the user to disable the ignore blacklist using a module parameter. Diff against Linux 2.6.0: --- linux-2.6.0-orig/drivers/usb/input/hid-core.c 2003-12-31 17:24:18.000000000 +0100 +++ linux/drivers/usb/input/hid-core.c 2003-12-31 19:50:43.228490872 +0100 @@ -13,6 +13,7 @@ */ #include <linux/module.h> +#include <linux/moduleparam.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/kernel.h> @@ -44,6 +45,8 @@ static char *hid_types[] = {"Device", "Pointer", "Mouse", "Device", "Joystick", "Gamepad", "Keyboard", "Keypad", "Multi-Axis Controller"}; +static int useblacklist = 1; +module_param (useblacklist, bool, 0); /* * Register a new report for a device. @@ -1447,7 +1450,7 @@ (hid_blacklist[n].idProduct == dev->descriptor.idProduct)) quirks = hid_blacklist[n].quirks; - if (quirks & HID_QUIRK_IGNORE) + if ((quirks & HID_QUIRK_IGNORE) && useblacklist) return NULL; if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && ((!interface->desc.bNumEndpoints) || As soon as hid-core.c is patched, the ignoring of the blacklisted devices can be disabled using modprobe hid useblacklist=0 A happy new year Stefan Pflueger ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel