Re: [PATCH] io_ti: export the port number in sysfs

Roman Kagan <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, Aug 17, 2007 at 10:50:01PM +0200, Oliver Neukum wrote:
> Am Freitag 17 August 2007 schrieb Roman Kagan:
> > However, for the purpose of stable naming with udev this is
> > insufficient: when udev handles the ADD event for one of the ports it
> > doesn't know what minor number the other one has.
> > 
> > To make stable naming easier, export the port number via sysfs.
> 
> Is there any reason not to do this on the generic level?

Hmm, indeed, no reason.

It was just that I saw this problem with only this kind of usb-serial
devices; all others I've dealt with had a separate usb interface per
serial port, or single port on a device.

Looks like the attribute is perfectly generic, I'll move it there and
resend today.

Roman.

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