Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2015 11:02:44 +0100
From:      Philipp Wuensche <cryx-freebsd@h3q.com>
To:        Neel Natu <neelnatu@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve and PCI Passthrough a USB Controller
Message-ID:  <54E46344.607@h3q.com>
In-Reply-To: <CAFgRE9HF7xgmYBf0-9%2BPE_JN1M9ZTQLB6X5hS=BgnZq3uDSN_g@mail.gmail.com>
References:  <54DC8B98.4090902@h3q.com> <54DD321C.80808@freebsd.org> <54E1CFDE.5050200@h3q.com> <CAFgRE9HF7xgmYBf0-9%2BPE_JN1M9ZTQLB6X5hS=BgnZq3uDSN_g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Neel Natu wrote:
> Hi Philipp,
> 
> On Mon, Feb 16, 2015 at 3:09 AM, Philipp Wuensche <cryx-freebsd@h3q.com> wrote:
>> Peter Grehan wrote:
>>>  Would you be willing to try a patch that relaxes that check ?
>> Yes! The system isn't in production yet so I can try out stuff.
>>
> 
> Can you try this patch?
> https://people.freebsd.org/~neel/patches/bhyve_ignore_unsupported_pba.patch

Just works! I'm seeing the usb controller from within the VM and I can
use it.

>From within the VM:

xhci0: <XHCI (generic) USB 3.0 controller> mem 0xc0004000-0xc0005fff irq
40 at device 7.0 on pci0
xhci0: 64 byte context size.
usbus0 on xhci0

ugen0.2: <Corsair> at usbus0
umass0: <Corsair Voyager 3.0, class 0/0, rev 3.00/0.00, addr 1> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4100
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <Corsair Voyager 3.0 1.00> Removable Direct Access SCSI-4 device
da0: Serial Number 22110508350000010125
da0: 400.000MB/s transfers
da0: 15300MB (31334400 512 byte sectors: 255H 63S/T 1950C)
da0: quirks=0x2<NO_6_BYTE>

xhci0@pci0:0:7:0:       class=0x0c0330 card=0x00151912 chip=0x00151912
rev=0x02 hdr=0x00
    vendor     = 'Renesas Technology Corp.'
    class      = serial bus
    subclass   = USB

# usbconfig list
ugen0.1: <XHCI root HUB 0x1912> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Voyager 3.0 Corsair> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (224mA)

Greetings,
Philipp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E46344.607>