Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2017 09:10:23 -0600
From:      Rajil Saraswat <rajil.s@gmail.com>
To:        freebsd-virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: Onboard USB controller passthrough
Message-ID:  <CAFoaQoCFofOJ30cC8=KV%2BRKSd1pWj3C8CwPKHZEZBcPMv7cHCA@mail.gmail.com>
In-Reply-To: <75ebab85-8259-10d7-687e-c77b9098387e@gmail.com>
References:  <201711051632.vA5GWF2u005895@pdx.rh.CN85.dnsmgr.net> <9207cb98-6c53-0173-4842-7f5c5f7324de@freebsd.org> <75ebab85-8259-10d7-687e-c77b9098387e@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 November 2017 at 13:26, Rajil Saraswat <rajil.s@gmail.com> wrote:
> The onboard xHCI controller (C610/X99 series chipset) does support MSI,
>
> # pciconf -l -BbcV xhci0@pci0:0:20:0
> xhci0@pci0:0:20:0:      class=0x0c0330 card=0x72708086 chip=0x8d318086
> rev=0x05 hdr=0x00
>     bar   [10] = type Memory, range 64, base 0xc6100000, size 65536, enabled
>     cap 01[70] = powerspec 2  supports D0 D3  current D0
>     cap 05[80] = MSI supports 8 messages, 64 bit enabled with 1 message
>
> I will give this a try.
>
>
> Thanks,
>
> Rajil

I passed the xHCI controller to a VM and it worked. The VM can see all
the usb devices. However, I dont have any devices showing up as
connected to the EHCI controller on the host,

# usbconfig list
ugen0.1: <Intel EHCI root HUB> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen0.2: <vendor 0x8087 product 0x800a> at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <vendor 0x8087 product 0x8002> at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (0mA)


I do have USB-2.0 devices plugged into these onboard controllers. Why
are they being connected to the xHCI controller?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFoaQoCFofOJ30cC8=KV%2BRKSd1pWj3C8CwPKHZEZBcPMv7cHCA>