[Bug 203650] Intel NUC Broadwell Generation USB 3 support (solution attached)

2015-10-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203650

Hans Petter Selasky  changed:

   What|Removed |Added

   Assignee|freebsd-usb@FreeBSD.org |hsela...@freebsd.org
 CC||hsela...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 203650] Intel NUC Broadwell Generation USB 3 support (solution attached)

2015-10-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203650

--- Comment #2 from philipp.maech...@mamo.li ---
Created attachment 161840
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161840&action=edit
broadwell nuc patch for freebsd 10.2

the original patch submitted is for head

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 203650] Intel NUC Broadwell Generation USB 3 support (solution attached)

2015-10-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203650

--- Comment #1 from philipp.maech...@mamo.li ---
probably affects all freebsd versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 203650] Intel NUC Broadwell Generation USB 3 support (solution attached)

2015-10-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203650

Bug ID: 203650
   Summary: Intel NUC Broadwell Generation USB 3 support (solution
attached)
   Product: Base System
   Version: 10.2-RELEASE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: usb
  Assignee: freebsd-usb@FreeBSD.org
  Reporter: philipp.maech...@mamo.li

Created attachment 161835
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161835&action=edit
untested patch proposed as solution

+++ This bug was initially created as a clone of Bug #186811 +++

> I bought a Intel Nuc D34010WYK [0]. It has a QS77 Chipset with a Intel 
> Panther Point USB Controller (as far as I can say).

> or even a simple usb 3 memory stick, it was always connected at highspeed 
> (usb2) instead of superspeed (usb3)

I bought another Intel NUC for building another FreeBSD based NAS. And the same
procedure again.

HW: Intel NUC Barebone NUC5I3RYH with Intel i3-5010U Processor with integrated
PHB-LB chipset

Reference: 
https://en.wikipedia.org/wiki/Broadwell_%28microarchitecture%29#Design
-> Broadwell-U

See also the mail from Karl Pielorz on freebsd-usb on the Sep 10 this year, he
has the same problem.

Philipp

note to the attached patch:
As the PHB is integrated into the cpu, I could'nt figure out which chipset name
would match - please adapt the patch accordingly.
The patch is untested yet, but I hope to be able to test it in the next few
days.

Output of pciconf:
# pciconf -lvc
hostb0@pci0:0:0:0:class=0x06 card=0x20578086 chip=0x16048086 rev=0x09
hdr=0x00
vendor = 'Intel Corporation'
class  = bridge
subclass   = HOST-PCI
cap 09[e0] = vendor (length 12) Intel cap 0 version 1
vgapci0@pci0:0:2:0:class=0x03 card=0x20578086 chip=0x16168086 rev=0x09
hdr=0x00
vendor = 'Intel Corporation'
class  = display
subclass   = VGA
cap 05[90] = MSI supports 1 message 
cap 01[d0] = powerspec 2  supports D0 D3  current D0
cap 13[a4] = PCI Advanced Features: FLR TP
hdac0@pci0:0:3:0:class=0x040300 card=0x20578086 chip=0x160c8086 rev=0x09
hdr=0x00
vendor = 'Intel Corporation'
class  = multimedia
subclass   = HDA
cap 01[50] = powerspec 2  supports D0 D3  current D0
cap 05[60] = MSI supports 1 message enabled with 1 message
cap 10[70] = PCI-Express 1 root endpoint max data 128(128) FLR link x0(x0)
xhci0@pci0:0:20:0:class=0x0c0330 card=0x20578086 chip=0x9cb18086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
class  = serial bus
subclass   = USB
cap 01[70] = powerspec 2  supports D0 D3  current D0
cap 05[80] = MSI supports 8 messages, 64 bit enabled with 1 message
none0@pci0:0:22:0:class=0x078000 card=0x20578086 chip=0x9cba8086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
class  = simple comms
cap 01[50] = powerspec 3  supports D0 D3  current D0
cap 05[8c] = MSI supports 1 message, 64 bit 
em0@pci0:0:25:0:class=0x02 card=0x20578086 chip=0x15a38086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
class  = network
subclass   = ethernet
cap 01[c8] = powerspec 2  supports D0 D3  current D0
cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
cap 13[e0] = PCI Advanced Features: FLR TP
hdac1@pci0:0:27:0:class=0x040300 card=0x20578086 chip=0x9ca08086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
class  = multimedia
subclass   = HDA
cap 01[50] = powerspec 3  supports D0 D3  current D0
cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message
pcib1@pci0:0:28:0:class=0x060400 card=0x20578086 chip=0x9c908086 rev=0xe3
hdr=0x01
vendor = 'Intel Corporation'
class  = bridge
subclass   = PCI-PCI
cap 10[40] = PCI-Express 2 root port max data 128(128) link x0(x1)
 speed 0.0(5.0) ASPM L0s/L1(L0s/L1)
cap 05[80] = MSI supports 1 message 
cap 0d[90] = PCI Bridge card=0x20578086
cap 01[a0] = powerspec 3  supports D0 D3  current D0
pcib2@pci0:0:28:3:class=0x060400 card=0x20578086 chip=0x9c968086 rev=0xe3
hdr=0x01
vendor = 'Intel Corporation'
class  = bridge
subclass   = PCI-PCI
cap 10[40] = PCI-Express 2 root port slot max data 128(128) link x1(x1)
 speed 2.5(5.0) ASPM L1(L0s/L1)
cap 05[80] = MSI supports 1 message 
cap 0d[90] = PCI Bridge card=0x20578086
cap 01[a0] = powerspec 3  supports D0 D3  current D0
ecap [100] = unknown 0
ecap 001e[200] = unknown 1
ehci0@pci0:0:29:0:class=0x0c0320 card=0x20578086 chip=0x9ca68086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
class  = serial bus
subclass   = USB
cap 01[50] = powerspec 3  supports D0 D3  current D0
cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14