From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272450AbTHAXsZ (ORCPT ); Fri, 1 Aug 2003 19:48:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272457AbTHAXsZ (ORCPT ); Fri, 1 Aug 2003 19:48:25 -0400 Received: from dp.samba.org ([66.70.73.150]:18339 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S272450AbTHAXsY (ORCPT ); Fri, 1 Aug 2003 19:48:24 -0400 From: Rusty Russell To: Andrey Borzenkov Cc: linux-kernel@vger.kernel.org Subject: Re: module-init-tools - input devices id support In-reply-to: Your message of "Sat, 02 Aug 2003 01:29:51 +0400." <200308020129.51737.arvidjaar@mail.ru> Date: Sat, 02 Aug 2003 09:13:48 +1000 Message-Id: <20030801234824.A199E2C129@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org In message <200308020129.51737.arvidjaar@mail.ru> you write: > this adds support for generating modules.inputmap with input handler match > table that is used by input hotplug agent posted separately. Using hotplug > allowed me to completely eliminate any manual (input handler) module loading > in 2.6, it is also compatible with 2.4 in that usb.agent for 2.4 includes > fake usb table that maps device class to input handlers so this is mostly > transparent to users. Hi Andrey, For 2.6 you should not be using the maps generated by depmod. You should be adding to scripts/file2alias.c, and using those aliases to insert modules. This is much more flexible. Hope that helps, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.