From mboxrd@z Thu Jan 1 00:00:00 1970 From: Freeze Date: Thu, 04 Jul 2002 14:03:49 +0000 Subject: New mousedev device! Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I have a new device that could work with th input/mousedev driver. It is a thrust graic tablet. But it's recognized as a relative mouse, but I'd like to told the mousedev that it is an absolute device. In the hotplug device description, what is the number position that is used for the driver option. Thanks, Freeze --- Here is an extract of the mousedev.c code: I mean, can i change the dev->evbit by changing the hotplug description of my device in the file /etc/hotplug/usb.distmap? --- static struct input_handle *mousedev_connect(struct input_handler *handler, struct input_dev *dev) { struct mousedev *mousedev; int minor = 0; if (!test_bit(EV_KEY, dev->evbit) || (!test_bit(BTN_LEFT, dev->keybit) && !test_bit(BTN_TOUCH, dev->keybit))) return NULL; if ((!test_bit(EV_REL, dev->evbit) || !test_bit(REL_X, dev->relbit)) && (!test_bit(EV_ABS, dev->evbit) || !test_bit(ABS_X, dev->absbit))) return NULL; ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel