Re: amd5536udc interrupts bug

From: Vadim Lobanov
Date: Mon Jan 12 2009 - 14:02:58 EST


On Saturday 10 January 2009 12:28:20 Thomas Dahlmann wrote:
> Vadim Lobanov schrieb:
> > Nope, nothing at all shows up in the logs or the interrupt counts when
> > the cable is plugged, neither for the host drivers nor the device
> > drivers. (The quickest test I have is to hook the device up to itself -
> > one A port and one B port.)
> >
> > The BIOS is configured "correctly" if the manuals are to be trusted. Here
> > are the relevant settings
> > OHCI: Enabled
> > EHCI: Enabled
> > UDC: Enabled
> > UOC: Disabled
> > Overcurrent reporting: Disabled
> > Port 4 assignment: Device
>
> UOC has to be enabled. This controller switches the UDC PHY to port 4
> and owns the mentioned
> PAD_EN and APU bits. These bits live in the memory mapped register space
> of UOC. I use a
> company intern tools to look at memory spaces of PCI devices. Lets
> forget these bits so far as I am
> pretty sure that enabling UOC fixes the problem.

That'll teach me for trusting the board vendor's documentation. :)

[ ... doing some tests ... ]

Unfortunately, however, even enabling UOC in the BIOS does not make the
USB connection work. The symptoms are exactly the same as before.

I'm going to try to figure out how to get at those two bits, and also will
start talking with the board vendor as well (since it's starting to look more
and more like a BIOS and/or HW problem).

Thanks for your help so far!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/