Noah Berger/Special to The Chronicle

BART service was recovering Wednesday after riders were stuck with major delays for hours due to an equipment problem in downtown Oakland — a problem that was fixed late in the morning, officials said.

In addition to causing delays, the problem had cut off direct BART service from Richmond to Millbrae. The shutdown of the line was required to allow maintenance crews to access the problem area, BART said.