Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759497AbXHQOub (ORCPT ); Fri, 17 Aug 2007 10:50:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752049AbXHQOuZ (ORCPT ); Fri, 17 Aug 2007 10:50:25 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:49251 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751485AbXHQOuY (ORCPT ); Fri, 17 Aug 2007 10:50:24 -0400 Date: Fri, 17 Aug 2007 10:50:23 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Andreas Jellinghaus [c]" cc: linux-kernel@vger.kernel.org, Subject: Re: [linux-usb-devel] why was MODALIAS removed from usb kernel events? [u] In-Reply-To: <200708171622.05115.aj@ciphirelabs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 22 On Fri, 17 Aug 2007, Andreas Jellinghaus [c] wrote: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9f8b17e643fe6aa505629658445849397bda4e4f > > removes MODALIAS from one of the events, this breaks user space applications > like openct - everything that depends on getting an event that has both the > DEVICE= path to the usb device and any information on the interface, so it > can check if the device is something it supports (in case of openct: > smart card reader, i.e. bInterfaceClass 0b). There is no MODALIAS for these events because there are no drivers for the devices they report. Perhaps you should be looking at usb_if_uevent() in drivers/usb/core/message.c instead. Is the problem that this routine doesn't set DEVICE, BUSNUM, or DEVNUM? Alan Stern - 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/