Matt, David,

I was just wondering how little/how much was needed.
I'd prefer to see something more like:

  USB bus #1 (UHCI)
  USB bus #2 (OHCI)

Actually I would have done this yesterday but I ran
out of time.

David Brownell wrote:
> What sort of thing did you have in mind -- something on the order of a
> serial number?  (Could just be a pointer to the controller, turned into
> a string.)  For purely informative purposes, it might be nice to see
> some of the PCI information show up too -- e.g. what /proc/pci says.

A serial number based on a pointer would be dynamic, not the
same on each boot.  That sounds confusing to users.
I also wouldn't try to read /proc/pci -- it's not meant for
program consumption, just human.  Actually you can't depend
on /proc-fs being there.

A modification of the list above could be (adding some PCI info):

  USB bus #1 (UHCI; vendor=xxxx, device=xxxx)
  USB bus #2 (OHCI; vendor=xxxx, device=xxxx)


~Randy
___________________________________________________
|Randy Dunlap     Intel Corp., DAL    Sr. SW Engr.|
|randy.dunlap.at.intel.com            503-696-2055|
|NOTE:  Any views presented here are mine alone   |
|and may not represent the views of my employer.  |
|_________________________________________________|

> -----Original Message-----
> From: Matthew Dharm [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 20, 2000 11:28 AM
> To: Dunlap, Randy
> Subject: RE: [linux-usb] request: virtual root hubs
> 
> 
> That would, at least, be a good start.  As I just posted 
> (like 30 seconds
> ago), bus number would be good, but I'd settle for anything 
> at this point.
> 
> Matt Dharm
> 
> On Mon, 20 Mar 2000, Dunlap, Randy wrote:
> 
> > Hi Matt,
> > 
> > I've been thinking about this a little.
> > I think it would be easy to add some static strings
> > that say (e.g.) "UHCI root hub" or "OHCI root hub".
> > Would this be enough?  It wouldn't help with
> > identifying which UHCI root hub was which, though.
> > 
> > ~Randy
> > ___________________________________________________
> > |Randy Dunlap     Intel Corp., DAL    Sr. SW Engr.|
> > |randy.dunlap.at.intel.com            503-696-2055|
> > |NOTE:  Any views presented here are mine alone   |
> > |and may not represent the views of my employer.  |
> > |_________________________________________________|
> > 
> > > -----Original Message-----
> > > From: Matthew Dharm [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, March 16, 2000 1:37 PM
> > > To: Linux USB Developement Mailing List
> > > Subject: [linux-usb] request: virtual root hubs
> > > 
> > > 
> > > Could someone with more experience than I with the virtual 
> > > root hub code
> > > hack somehting in for me?  I'd like some of the string 
> > > descriptors to be
> > > usable to identify which one it is.  On my system, I have a 
> > > Tyan MB which
> > > has two uhci controllers, and I have an ohci controller.  
> > > With usb-uhci
> > > and usb-ohci loaded, I can see 3 virtual root hubs, but I 
> > > can't tell which
> > > is which -- this is problematic when I'm trying to figure out 
> > > which device > is misbehaving.
> > > 
> > > Matt Dharm
> > > 
> > > -- 
> > > Matthew Dharm                              Home: 
> > > [EMAIL PROTECTED] 
> > > Engineer, Qualcomm, Inc.                         Work: 
> > > [EMAIL PROTECTED]
> > 
> 
> -- 
> Matthew Dharm                              Home: 
> [EMAIL PROTECTED] 
> Engineer, Qualcomm, Inc.                         Work: 
> [EMAIL PROTECTED]
> 
> G:   Baaap booop BAHHHP.
> Mir: 9600 Baud?
> Mik: No, no!  9600 goes baap booop, not booop bahhhp!
>                                       -- Greg, Miranda and Mike
> User Friendly, 12/31/1998
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to