On Sat, 26 Jan 2008, Oliver Neukum wrote:

> Am Freitag, 25. Januar 2008 23:28:09 schrieb Greg KH:
> > On Fri, Jan 25, 2008 at 09:44:32PM +0100, Oliver Neukum wrote:
> > > Am Freitag, 25. Januar 2008 17:58:56 schrieben Sie:
> > > > Right now we use a "fake" vendor and product id for root hubs in the
> > > > kernel.  However, I'm happy to announce that the Linux Foundation has
> > > > joined the USB-IF and gotten an "official" usb vendor id assigned to it.
> > > > 
> > > > I'm still working on setting up the infrastructure for how to assign
> > > > product ids out of this numberspace, but someone mentioned the other day
> > > > that we should probably use the first id for our root hubs within the
> > > > kernel.
> > > > 
> > > > Does anyone have an objection to me making that change?
> > > 
> > > What's the benefit? You'll break all scripts that look for 0:0 to identify
> > > a root hub.
> > 
> > We have scripts that do that?  Where?  You should be looking at the bus
> > id and level and other stuff for that I would hope, not the vendor and
> > product id.  At least that's the way the scripts I've written over the
> > years do it :)
> 
> "should" doesn't mean do. You want to make a change visible to user space.
> That needs a reason beyond coolness.

There was a reason.  Some device was using ID 0, and Greg wanted to 
avoid a clash.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to