Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262836AbTKELDN (ORCPT ); Wed, 5 Nov 2003 06:03:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262844AbTKELDM (ORCPT ); Wed, 5 Nov 2003 06:03:12 -0500 Received: from f17.mail.ru ([194.67.57.47]:52749 "EHLO f17.mail.ru") by vger.kernel.org with ESMTP id S262836AbTKELDL (ORCPT ); Wed, 5 Nov 2003 06:03:11 -0500 From: =?koi8-r?Q?=22?=Andrey Borzenkov=?koi8-r?Q?=22=20?= To: =?koi8-r?Q?=22?=Herbert Xu=?koi8-r?Q?=22=20?= Cc: linux-kernel@vger.kernel.org Subject: Re: [MOUSE] Alias for /dev/psaux Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: unknown via proxy [212.30.182.96] Date: Wed, 05 Nov 2003 14:03:10 +0300 Reply-To: =?koi8-r?Q?=22?=Andrey Borzenkov=?koi8-r?Q?=22=20?= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 27 > This patch creates an alias for /dev/psaux so that mousedev is loaded > automatically. [...] > Index: kernel-source-2.5/drivers/input/mousedev.c [...] > +#ifdef CONFIG_INPUT_MOUSEDEV_PSAUX > +MODULE_ALIAS_CHARDEV(MISC_MAJOR, PSMOUSE_MINOR); > +#endif Well if you intend to go this way you have to add aliases for all low-level mouse drivers, e.g. HID etc. What makes psmouse so special? And if new mouse driver is added (worst case - off tree) it won't be catched. I like hotplug approach better ... -andrey Please Cc me on reply. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/