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

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.kernel
Message-ID <[email protected]>
On Fri, Aug 17, 2007 at 04:22:04PM +0200, 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,

Which event?

If you enable CONFIG_USB_DEVICE_CLASS, does everything work the same
again?

> 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).

What specific udev rule are you matching against here that is now
broken?

> The text does not mention MODALIAS nor the reason for it's removal.

The reason is we don't need the usb_device class anymore, but we still
provide for the compatibility if you have an old distro with old udev
rules that is expecting it (only rule we ran into was the one for the
usbfs /dev nodes, but there might be more.)

confused,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
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.