From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordon Lack Date: Fri, 02 Feb 2001 00:49:38 +0000 Subject: Re: hotplug-2001_01_23 and kernel 2.4.1 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------F5AE4B948460969DF7E73777" Message-Id: List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org This is a multi-part message in MIME format. --------------F5AE4B948460969DF7E73777 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit David Brownell wrote: > > > Try this patch. If it works, it should go to Linus. > > ... but it won't, it needs to use the new macros that got > introduced in the 2.4.0 "final" kernel. That one was > against test12-pre3, which doesn't have them. A working > version should go to Linus, that much is true! :-) Well, it seems to work at 2.4.1 once (trivially) converted to the new macros. \switching on the printer now gets the printer module loaded. Thanks. Patch against 2.1.4 appended (I've just got the modified and original file in one dir). --------------F5AE4B948460969DF7E73777 Content-Type: text/plain; charset=us-ascii; name="printer-2.4.1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="printer-2.4.1.patch" --- printer.c.orig Thu Jan 4 21:15:32 2001 +++ printer.c Fri Feb 2 00:24:52 2001 @@ -613,6 +613,9 @@ }; static struct usb_device_id usblp_ids [] = { + { USB_DEVICE_INFO(7, 1, 1) }, + { USB_DEVICE_INFO(7, 1, 2) }, + { USB_DEVICE_INFO(7, 1, 3) }, { USB_INTERFACE_INFO(7, 1, 1) }, { USB_INTERFACE_INFO(7, 1, 2) }, { USB_INTERFACE_INFO(7, 1, 3) }, --------------F5AE4B948460969DF7E73777-- _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel