On Tue, 24 Jan 2006, David Brownell wrote:

> On Monday 23 January 2006 10:43 am, Alan Stern wrote:
> > On Sun, 22 Jan 2006, Helmut Toplitzer wrote:
> > > @@ -300,11 +162,11 @@
> > >    bPwrOn2PwrGood       10 * 2 milli seconds
> > >    bHubContrCurrent      0 milli Ampere
> > >    DeviceRemovable    0x08
> > > -  PortPwrCtrlMask    0xe8
> > > +  PortPwrCtrlMask    0x68
> > 
> > The Port Power Control Mask field is obsolete.  It doesn't mean anything.
> 
> True, but I'm puzzled why it has any value other than the 0xff it
> was assigned in ehci_hub_descriptor() ... and why DeviceRemovable
> has any value other than the 0x00 assigned in that routine.
> 
> That should be something that can be tracked down by someone who
> doesn't know the EHCI code at all.  I see that OHCI does much
> the same thing, and I _know_ that it didn't work that way the
> last time I looked at that part of "lususb" output.

Apparently this is a bug in lsusb.  According to usbmon, the request to 
transfer the hub descriptor only asks for 7 bytes of data.  Hence the 
program never reads the DeviceRemovable or PortPwrCtrlMask values.

That's using lsusb version 0.11.  Maybe other versions behave differently.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to