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

  • From: "edglex" <trac@xxxxxxxxxxxx>
  • Date: Sun, 21 Aug 2016 22:43:02 -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:  12749
Has a Patch:  1                 |   Platform:  x86
--------------------------------+----------------------------

Comment (by edglex):

 I've done some more digging. It isn't exactly the same problem as ubuntu
 (not sure how/if it relates to e820 and ACPI CRS) but it does appear to be
 related to memory allocation. I turned on lots of tracing, and with ACPI
 disabled (EHCI works) I get the following:

 {{{
 ...
 usb ehci -1: constructing new EHCI host controller driver
 usb ehci -1: map physical memory 0x942c4000
 add_memory_type_range(148, 0x942c4000, 0x1000, 0)
 usb ehci -1: mapped capability registers: 0x0x81d2b000
 usb ehci -1: mapped operational registers: 0x0x81d2b020
 usb ehci -1: structural parameters: 0x00103208
 usb ehci -1: capability parameters: 0x00006871
 usb ehci -1: extended capabilities register at 104
 usb ehci -1: the host controller is bios owned, claiming ownership
 usb ehci -1: controller is still bios owned, waiting
 usb ehci -1: successfully took ownership of the host controller
 usb ehci -1: creating interrupt entries
 ...
 }}}

 And with ACPI enabled (EHCI not working):

 {{{
 ...
 usb ehci -1: constructing new EHCI host controller driver
 usb ehci -1: map physical memory 0x942c4000
 add_memory_type_range(462, 0x942c4000, 0x1000, 0)
 usb ehci -1: mapped capability registers: 0x0x812b3000
 usb ehci -1: mapped operational registers: 0x0x812b30ff
 usb ehci -1: structural parameters: 0xffffffff
 usb ehci -1: capability parameters: 0xffffffff
 usb ehci -1: extended capabilities register at 255
 PCI: can't read config for domain 0, bus 0, device 29, function 7, offset
 255, size 4
 usb ehci -1: extended capabilities register is not a legacy support
 register
 usb error ehci -1: host controller failed to reset
 usb ehci: bus failed init check
 usb ehci -1: tear down EHCI host controller driver
 remove_memory_type_range(462, 0x942c4000, 0x1000, 0)
 usb_ehci: no devices found
 ...
 }}}

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

Other related posts: