Re: [PATCH] xhci: Report max device limit when Enable Slot command fails.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 08, 2014 at 07:53:39AM +0000, Amund Hov wrote:
> 
> > I completely understand your frustration, and it actually is relevant to
> > kernel development. :)  Perhaps the attached patch would have at least
> > saved you some time and frustration in debugging the driver and host
> > issue?
> 
> Thanks Sarah. An error like that would allow me to know what the error is
> and where to look for host capabilities. Is this the only case in which
> slot_id would not be properly set?

I believe so.  There's at least one other function that allocates a new
slot ID, but it calls the function I added debugging to.  A device may
also not get enumerated if it fails to respond to a Set Address control
transfer, but that code path already has some nicer printks already.

Sarah Sharp

p.s. You might want to try to remove your footer when communicating with
open source mailing lists.  Some kernel devs will refuse to answer you
back because it really doesn't make any sense to try to impose the
legalise on a public mailing list that sends email copies to everyone.
I know some people just use their personal addresses if their company
slaps the footer on all outgoing messages.

> This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux