--- kernel-mid-2.6.24/drivers/input/mousedev.c 2008-05-07 10:23:15.000000000 +0800 +++ /home/feng/test/hardy-ppa/hardy-src/drivers/input/mousedev.c 2008-07-23 12:33:49.000000000 +0800 @@ -1044,6 +1044,18 @@ static const struct input_device_id mous MODULE_DEVICE_TABLE(input, mousedev_ids); +static const struct input_device_id mousedev_black_ids[] = { + { + .flags = INPUT_DEVICE_ID_MATCH_VENDOR | + INPUT_DEVICE_ID_MATCH_PRODUCT, + .vendor = 0x14e1, + .product = 0x6000, + }, /* This is a touchscreen device used on Crown-Beach */ + + { }, /* Terminating entry */ +}; + + static struct input_handler mousedev_handler = { .event = mousedev_event, .connect = mousedev_connect, @@ -1052,6 +1064,7 @@ static struct input_handler mousedev_han .minor = MOUSEDEV_MINOR_BASE, .name = "mousedev", .id_table = mousedev_ids, + .blacklist = mousedev_black_ids, }; #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX