/** *ehci_xilinx_port_handed_over-handtheportoutiffailedtoenableit *@hcd:Pointertotheusb_hcddevicetowhichthehostcontrollerbound *@portnum:Portnumbertowhichthedeviceisattached. * *ThisfunctionisusedasaplacetotelltheuserthattheXilinxUSBhost *controllerdoessupportLSdevices.AndinanHSonlyconfiguration,it *doesnotsupportFSdeviceseither.Itishopedthatthiscanhelpa *confuseduser. * *Therearecaseswhenthehostcontrollerfailstoenabletheportdueto, *forexample,insufficientpowerthatcanbesuppliedtothedevicefrom *theUSBbus.Inthosecases,themessagesprintedherearenothelpful. * *Return:Alwaysreturn0
*/ staticint ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum)
{
dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); if (hcd->has_tt) {
dev_warn(hcd->self.controller, "Maybe you have connected a low speed device?\n");
dev_warn(hcd->self.controller, "We do not support low speed devices\n");
} else {
dev_warn(hcd->self.controller, "Maybe your device is not a high speed device?\n");
dev_warn(hcd->self.controller, "The USB host controller does not support full speed nor low speed devices\n");
dev_warn(hcd->self.controller, "You can reconfigure the host controller to have full speed support\n");
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.