Re: [Bug #22562] Regression in 2.6.37-rc1 - logs spammed with "unable to enumerate USB port" - bisected to commit 3df7169e

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

 



On Sun, 19 Dec 2010, Larry Finger wrote:

> On 12/19/2010 10:03 PM, Alan Stern wrote:
> 
> I posted the USB debug messages from runs with the statement
> writel(control & OHCI_CTRL_MASK, base + OHCI_CONTROL); from
> quirk_usb_handoff_ohci() disabled and enabled.
> 
> Any suggestions on further debugging would be appreciated.

The statement you removed takes the controller out of the OPERATIONAL
state and puts it into the RESET state.  This action should be undone
by the following lines in ohci_run():

	/* start controller operations */
	ohci->hc_control &= OHCI_CTRL_RWC;
	ohci->hc_control |= OHCI_CONTROL_INIT | OHCI_USB_OPER;
	ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);

This should put the controller back into the OPERATIONAL state.  You
should compare the controller state after executing these lines, with
and without the pci-quirks.c statement.

Alan Stern

--
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