Re: [linux-usb-devel] why was MODALIAS removed from usb kernel events? [u]

Alan Stern <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.usb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.