[haiku-bugs] Re: [Haiku] #11619: No USB on Poulsbo hardware

  • From: "edglex" <trac@xxxxxxxxxxxx>
  • Date: Sun, 31 May 2015 02:25:31 -0000

#11619: No USB on Poulsbo hardware
--------------------------------+----------------------------
Reporter: edglex | Owner: mmlr
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Drivers/USB/EHCI | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: x86
--------------------------------+----------------------------

Comment (by edglex):

I think that the offset for the extended capabilities pointer is wrong,
this seems to be the only reason why the reads and writes would fail: in
PCI::ReadConfig and WriteConfig we have (size == 4 && (offset & 3) != 0)
as a condition for failure without even to make a read/write. So
extendedCapPointer should not be 0xFF/255 as it is (see the read failure
in "these lines are of interest" comment above).

I suspect that if this is corrected the writes to disable interrupts/BIOS
control may work and then the controller might reset correctly. However at
the moment I have no idea why the offset would be wrong (or even if I am
just barking up the wrong tree).

--
Ticket URL: <https://dev.haiku-os.org/ticket/11619#comment:14>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: